What is {commanded by} of {Warsaw Pact} that is {start time} is {1967-4-12} ?
Effective as of the 12th of March, 1967, what does the Warsaw pact govern?
What is governed by the Warsaw Pact effective from 12th March 1967?
SELECT ?z WHERE { resource:Warsaw_Pact property:commanded_by ?d . ?d property:start_time ?i . ?d property:commanded_by ?z . FILTER ( CONTAINS ( YEAR ( ?i ) , '1967' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q41644> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P4791> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1967-4-12>
} 

SELECT ?obj WHERE { wd:Q41644 p:P4791 ?s . ?s ps:P4791 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1967')) }