Question: What countries with armies smaller than 10000 that are members of the security council?
Answer(s):
answer: Burkina Faso
answer: Burkina Faso
answer: Burkina Faso
answer: Costa Rica
answer: Costa Rica
answer: Costa Rica

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.07vnr)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07vnr ns:base.unitednations.united_nations_body.members ?y .
?y ns:base.unitednations.united_nations_body_membership.member ?x .
FILTER(NOT EXISTS {?y ns:base.unitednations.united_nations_body_membership.from ?sk0} || 
EXISTS {?y ns:base.unitednations.united_nations_body_membership.from ?sk1 . 
FILTER(xsd:datetime(?sk1) <= "2015-08-10"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:base.unitednations.united_nations_body_membership.to ?sk2} || 
EXISTS {?y ns:base.unitednations.united_nations_body_membership.to ?sk3 . 
FILTER(xsd:datetime(?sk3) >= "2015-08-10"^^xsd:dateTime) })
?x ns:location.statistical_region.size_of_armed_forces ?c .
?c ns:measurement_unit.dated_integer.number "10000" . 
}