What is {twinned administrative body} of {Cairo Governorate} that is {start time} is {1990-10-23} ?
On October 23, 1990, what was the administrative body of Cairo Governate?
What was the administrative body of Cairo Governate on 1990-10-23?
SELECT ?c WHERE { FILTER ( CONTAINS ( YEAR ( ?s ) , '1990' ) ) . ?k property:twinned_administrative_body ?c . resource:Cairo_Governorate property:twinned_administrative_body ?k . ?k property:start_time ?s }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q30805> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P190> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1990-10-23>
} 

SELECT ?obj WHERE { wd:Q30805 p:P190 ?s . ?s ps:P190 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1990')) }