What is {stock exchange} of {Sinopec} that is {start time} is {2000-10-19} ?
On October the 19th, 2000 what was Sinopec's stock exchange
What is Sinopec's stock exchange on October 19, 2000.
SELECT ?i WHERE { ?j property:start_time ?w . FILTER ( CONTAINS ( YEAR ( ?w ) , '2000' ) ) . ?j property:stock_exchange ?i . resource:Sinopec property:stock_exchange ?j }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q831445> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P414> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <2000-10-19>
} 

SELECT ?obj WHERE { wd:Q831445 p:P414 ?s . ?s ps:P414 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'2000')) }