What is the {lighthouse} for {country} of {Ancient Egypt}
What is Antiquated Egypt's lighthouse?
What is Ancient Egypt's lighthouse?
SELECT DISTINCT ?s WHERE { ?s property:country resource:Ancient_Egypt . ?s rdf:type ontology:lighthouse }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P17> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q11768> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q39715> } 
 select distinct ?sbj where { ?sbj wdt:P17 wd:Q11768 . ?sbj wdt:P31 wd:Q39715 } 