Question: Which countries does Portugal trade with, where the population is less than 5,362,099?
Answer(s):
answer: Saudi Arabia
answer: Angola
answer: Libya
answer: Singapore
answer: Tunisia
answer: United Arab Emirates
answer: Jordan

SPARQL query:
#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x 
WHERE {
	FILTER (?x != ns:m.05r4w)
	{ 
	  ns:m.05r4w ns:location.statistical_region.places_exported_to ?y .
	  ?y ns:location.imports_and_exports.exported_to ?x . 
	}
	UNION
	{
	  ns:m.05r4w ns:location.statistical_region.places_imported_from ?y .
	  ?y ns:location.imports_and_exports.imported_from ?x . 
	}?x ns:topic_server.population_number ?num .
FILTER (xsd:integer(?num) < 5362099) . 
}