What is {developer of} of {gunpowder}, that has {birthdate} is {1318-0-0} ?
What explosive designer includes a 1318-0-0 birthdate? ?
What gunpowder developer has a 1318-0-0 birthdate?
SELECT ?o WHERE { resource:gunpowder property:discoverer_or_inventor ?o . FILTER ( CONTAINS ( YEAR ( ?f ) , '1318' ) ) . ?o property:date_of_birth ?f }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q12861> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P61>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P569> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <1318-0-0> . }
SELECT ?answer WHERE { wd:Q12861 wdt:P61 ?answer . ?answer wdt:P569 ?x FILTER(contains(YEAR(?x),'1318'))}
Berthold Schwarz