Simple Question (Direct)
Simple Question
Q3378975
P119
Q43229
USER
Which organization is the tomb of Philip Danforth Armour ?
(Q3378975,P119,c(Q43229))
action filter_type
action find
entity Q3378975
relation P119
type Q43229
['Q3378975', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { resource:Q3378975 property:P119 ?o . ?o rdf:type ontology:Q43229 }
Philip Danforth Armour
action filter_type
action find
entity Philip Danforth Armour
relation place of burial
type organization
['Philip Danforth Armour', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { resource:Philip_Danforth_Armour property:place_of_burial ?o . ?o rdf:type ontology:organization }
[]
organization
Q4148426
SYSTEM
Graceland Cemetery
Q4148426
(Q3378975,P119,c(Q43229))
action filter_type
action find
entity Q3378975
relation P119
type Q43229
Cemetery [ANSWER] is the tomb of Philip Danforth Armour
['Q3378975', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { resource:Q3378975 property:P119 ?o . ?o rdf:type ontology:Q43229 }
Graceland Cemetery
Cemetery Graceland Cemetery is the tomb of Philip Danforth Armour
Graceland Cemetery
action filter_type
action find
entity Philip Danforth Armour
relation place of burial
type organization
['Philip Danforth Armour', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { resource:Philip_Danforth_Armour property:place_of_burial ?o . ?o rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4148426
P20
Q502895
USER
Which person has that organization as the location of death ?
(c(Q502895),P20,Q4148426)
action filter_type
action find_reverse
entity Q4148426
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q4148426']
SELECT DISTINCT ?r WHERE { ?r property:P20 resource:Q4148426 . ?r rdf:type ontology:Q502895 }
Graceland Cemetery
action filter_type
action find_reverse
entity Graceland Cemetery
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Graceland Cemetery']
SELECT DISTINCT ?r WHERE { ?r property:place_of_death resource:Graceland_Cemetery . ?r rdf:type ontology:common_name }
[]
common name
Q474672
SYSTEM
Bertha Palmer
Q474672
(c(Q502895),P20,Q4148426)
action filter_type
action find_reverse
entity Q4148426
relation P20
type Q502895
[ANSWER] has that organization as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q4148426']
SELECT DISTINCT ?r WHERE { ?r property:P20 resource:Q4148426 . ?r rdf:type ontology:Q502895 }
Bertha Palmer
Bertha Palmer has that organization as the location of death
Bertha Palmer
action filter_type
action find_reverse
entity Graceland Cemetery
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Graceland Cemetery']
SELECT DISTINCT ?r WHERE { ?r property:place_of_death resource:Graceland_Cemetery . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q474672
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q474672,P19,c(Q56061))
action filter_type
action find
entity Q474672
relation P19
type Q56061
['Q474672', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q474672 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Bertha Palmer
action filter_type
action find
entity Bertha Palmer
relation place of birth
type administrative territorial entity
['Bertha Palmer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Bertha_Palmer property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q43668
SYSTEM
Louisville
Q43668
(Q474672,P19,c(Q56061))
action filter_type
action find
entity Q474672
relation P19
type Q56061
That person was born in [ANSWER]
['Q474672', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q474672 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Louisville
That person was born in Louisville
Louisville
action filter_type
action find
entity Bertha Palmer
relation place of birth
type administrative territorial entity
['Bertha Palmer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Bertha_Palmer property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23038676 Q3378975
P27
Q15617994
USER
Which administrative territories are Philip Danforth Armour or Marjo van Soest an inhabitant of ?
OR((Q3378975,P27,c(Q15617994)), (Q23038676,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3378975
relation P27
action find
entity Q23038676
relation P27
type Q15617994
{'OR': [['Q3378975', 'P27', {'concept': 'Q15617994'}], ['Q23038676', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q3378975 property:P27 ?w } UNION { resource:Q23038676 property:P27 ?w } } . ?w rdf:type ontology:Q15617994 }
Marjo van Soest Philip Danforth Armour
action filter_type
action union
action find
entity Philip Danforth Armour
relation country of citizenship
action find
entity Marjo van Soest
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Philip Danforth Armour', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Marjo van Soest', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Philip_Danforth_Armour property:country_of_citizenship ?w } UNION { resource:Marjo_van_Soest property:country_of_citizenship ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q29999
SYSTEM
United States of America, Kingdom of the Netherlands
Q30 Q29999
OR((Q3378975,P27,c(Q15617994)), (Q23038676,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3378975
relation P27
action find
entity Q23038676
relation P27
type Q15617994
[ANSWERS] are Philip Danforth Armour or Marjo van Soest an inhabitant of
{'OR': [['Q3378975', 'P27', {'concept': 'Q15617994'}], ['Q23038676', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q3378975 property:P27 ?w } UNION { resource:Q23038676 property:P27 ?w } } . ?w rdf:type ontology:Q15617994 }
United States of America Kingdom of the Netherlands
United States of America and Kingdom of the Netherlands are Philip Danforth Armour or Marjo van Soest an inhabitant of
United States of America Kingdom of the Netherlands
action filter_type
action union
action find
entity Philip Danforth Armour
relation country of citizenship
action find
entity Marjo van Soest
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Philip Danforth Armour', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Marjo van Soest', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Philip_Danforth_Armour property:country_of_citizenship ?w } UNION { resource:Marjo_van_Soest property:country_of_citizenship ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q183
P530
Q15617994
USER
How many administrative territories have ambassadorial relations with United States of America and Germany ?
(c(Q15617994),P530,Q30) (c(Q15617994),P530,Q183)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q183
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q30'] [{'concept': 'Q15617994'}, 'P530', 'Q183']
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:P530 resource:Q30 . ?t rdf:type ontology:Q15617994 . ?t property:P530 resource:Q183 . ?t rdf:type ontology:Q15617994 }
United States of America Germany
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United States of America'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Germany']
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:diplomatic_relation resource:United_States_of_America . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation resource:Germany . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
24
Q801 Q184 Q668 Q414 Q142 Q222 Q148 Q347 Q17 Q929 Q38 Q902 Q948 Q953 Q1011 Q252 Q403 Q230 Q212 Q159 Q155 Q796 Q889 Q884
(c(Q15617994),P530,Q30) (c(Q15617994),P530,Q183)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q183
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q30'] [{'concept': 'Q15617994'}, 'P530', 'Q183']
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:P530 resource:Q30 . ?t rdf:type ontology:Q15617994 . ?t property:P530 resource:Q183 . ?t rdf:type ontology:Q15617994 }
Israel Belarus India Argentina France Albania People's Republic of China Liechtenstein Japan Central African Republic Italy Bangladesh Tunisia Zambia Cape Verde Indonesia Serbia Georgia Ukraine Russia Brazil Iraq Afghanistan South Korea
24
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United States of America'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Germany']
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:diplomatic_relation resource:United_States_of_America . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation resource:Germany . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]