What is {stockholder} of {Figure}, that has {deathdate} is {1798-3-22} ?
What is the percentage of people on March 22, 1798 who died?
What is the percentage of people that died on March 22nd, 1798?
SELECT ?h WHERE { FILTER ( CONTAINS ( YEAR ( ?t ) , '1798' ) ) . resource:Figure property:owned_by ?h . ?h property:date_of_death ?t }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q5448002> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P127>. ?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/P570> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <1798-3-22> . }
SELECT ?answer WHERE { wd:Q5448002 wdt:P127 ?answer . ?answer wdt:P570 ?x FILTER(contains(YEAR(?x),'1798'))}
Justin Morgan