Simple Question (Direct)
Simple Question
Q1353081
P20
Q56061
USER
Where did the demise of Erich Rommerskirch occur ?
(Q1353081,P20,c(Q56061))
action filter_type
action find
entity Q1353081
relation P20
type Q56061
['Q1353081', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q1353081 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Erich Rommerskirch
action filter_type
action find
entity Erich Rommerskirch
relation place of death
type administrative territorial entity
['Erich Rommerskirch', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Erich_Rommerskirch property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3869
SYSTEM
Marburg
Q3869
(Q1353081,P20,c(Q56061))
action filter_type
action find
entity Q1353081
relation P20
type Q56061
The demise of Erich Rommerskirch occurred in [ANSWER]
['Q1353081', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q1353081 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Marburg
The demise of Erich Rommerskirch occurred in Marburg
Marburg
action filter_type
action find
entity Erich Rommerskirch
relation place of death
type administrative territorial entity
['Erich Rommerskirch', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Erich_Rommerskirch property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1353081
P140
Q874405
USER
Which social group does that person correspond to ?
(Q3869,P140,c(Q874405))
action filter_type
action find
entity Q1353081
relation P140
type Q874405
['Q3869', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q1353081 property:P140 ?h . ?h rdf:type ontology:Q874405 }
Erich Rommerskirch
action filter_type
action find
entity Erich Rommerskirch
relation religion
type social group
['Marburg', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Erich_Rommerskirch property:religion ?h . ?h rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q3869,P140,c(Q874405))
action filter_type
action find
entity Q1353081
relation P140
type Q874405
That person corresponds to [ANSWER]
['Q3869', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q1353081 property:P140 ?h . ?h rdf:type ontology:Q874405 }
Catholicism
That person corresponds to Catholicism
Catholicism
action filter_type
action find
entity Erich Rommerskirch
relation religion
type social group
['Marburg', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Erich_Rommerskirch property:religion ?h . ?h rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3869
P69
Q502895
USER
Who was a student at Marburg ?
(c(Q502895),P69,Q3869)
action filter_type
action find_reverse
entity Q3869
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q3869']
SELECT DISTINCT ?o WHERE { ?o property:P69 resource:Q3869 . ?o rdf:type ontology:Q502895 }
Marburg
action filter_type
action find_reverse
entity Marburg
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Marburg']
SELECT DISTINCT ?o WHERE { ?o property:educated_at resource:Marburg . ?o rdf:type ontology:common_name }
[]
common name
Q96597
SYSTEM
Elisabeth Rotten
Q96597
(c(Q502895),P69,Q3869)
action filter_type
action find_reverse
entity Q3869
relation P69
type Q502895
[ANSWER] was a student at Marburg
[{'concept': 'Q502895'}, 'P69', 'Q3869']
SELECT DISTINCT ?o WHERE { ?o property:P69 resource:Q3869 . ?o rdf:type ontology:Q502895 }
Elisabeth Rotten
Elisabeth Rotten was a student at Marburg
Elisabeth Rotten
action filter_type
action find_reverse
entity Marburg
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Marburg']
SELECT DISTINCT ?o WHERE { ?o property:educated_at resource:Marburg . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3869
P138
Q2057971
USER
Which health problem has that administrative territory as its namesake ?
(c(Q2057971),P138,Q96597)
action filter_type
action find_reverse
entity Q3869
relation P138
type Q2057971
[{'concept': 'Q2057971'}, 'P138', 'Q96597']
SELECT DISTINCT ?a WHERE { ?a property:P138 resource:Q3869 . ?a rdf:type ontology:Q2057971 }
Marburg
action filter_type
action find_reverse
entity Marburg
relation named after
type health problem
[{'concept': 'health problem'}, 'named after', 'Elisabeth Rotten']
SELECT DISTINCT ?a WHERE { ?a property:named_after resource:Marburg . ?a rdf:type ontology:health_problem }
[]
health problem
Q167264
SYSTEM
Marburg hemorrhagic fever
Q167264
(c(Q2057971),P138,Q96597)
action filter_type
action find_reverse
entity Q3869
relation P138
type Q2057971
[ANSWER] has that administrative territory as its namesake
[{'concept': 'Q2057971'}, 'P138', 'Q96597']
SELECT DISTINCT ?a WHERE { ?a property:P138 resource:Q3869 . ?a rdf:type ontology:Q2057971 }
Marburg hemorrhagic fever
Marburg hemorrhagic fever has that administrative territory as its namesake
Marburg hemorrhagic fever
action filter_type
action find_reverse
entity Marburg
relation named after
type health problem
[{'concept': 'health problem'}, 'named after', 'Elisabeth Rotten']
SELECT DISTINCT ?a WHERE { ?a property:named_after resource:Marburg . ?a rdf:type ontology:health_problem }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q681619 Q1353081
P27
Q1048835
USER
Which political territories are Erich Rommerskirch or Mahbub Ali Khan, Asaf Jah VI a civilian of ?
OR((Q1353081,P27,c(Q1048835)), (Q681619,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1353081
relation P27
action find
entity Q681619
relation P27
type Q1048835
{'OR': [['Q1353081', 'P27', {'concept': 'Q1048835'}], ['Q681619', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { ?r property:P27 ?n . VALUES ( ?r ) { ( resource:Q1353081 ) ( resource:Q681619 ) } } . ?n rdf:type ontology:Q1048835 }
Mahbub Ali Khan, Asaf Jah VI Erich Rommerskirch
action filter_type
action union
action find
entity Erich Rommerskirch
relation country of citizenship
action find
entity Mahbub Ali Khan, Asaf Jah VI
relation country of citizenship
type political territorial entity
{'OR': [['Erich Rommerskirch', 'country of citizenship', {'concept': 'political territorial entity'}], ['Mahbub Ali Khan, Asaf Jah VI', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { ?r property:country_of_citizenship ?n . VALUES ( ?r ) { ( resource:Erich_Rommerskirch ) ( resource:Mahbub_Ali_Khan,_Asaf_Jah_VI ) } } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q129286 Q183
SYSTEM
British Raj, Germany
Q129286 Q183
OR((Q1353081,P27,c(Q1048835)), (Q681619,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1353081
relation P27
action find
entity Q681619
relation P27
type Q1048835
[ANSWERS] are Erich Rommerskirch or Mahbub Ali Khan, Asaf Jah VI a civilian of
{'OR': [['Q1353081', 'P27', {'concept': 'Q1048835'}], ['Q681619', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { ?r property:P27 ?n . VALUES ( ?r ) { ( resource:Q1353081 ) ( resource:Q681619 ) } } . ?n rdf:type ontology:Q1048835 }
British Raj Germany
British Raj and Germany are Erich Rommerskirch or Mahbub Ali Khan, Asaf Jah VI a civilian of
British Raj Germany
action filter_type
action union
action find
entity Erich Rommerskirch
relation country of citizenship
action find
entity Mahbub Ali Khan, Asaf Jah VI
relation country of citizenship
type political territorial entity
{'OR': [['Erich Rommerskirch', 'country of citizenship', {'concept': 'political territorial entity'}], ['Mahbub Ali Khan, Asaf Jah VI', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { ?r property:country_of_citizenship ?n . VALUES ( ?r ) { ( resource:Erich_Rommerskirch ) ( resource:Mahbub_Ali_Khan,_Asaf_Jah_VI ) } } . ?n rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories are known to have diplomatic connections with max number of political territories ?
(c(Q1048835),P530,c(Q1048835))
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?z ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?d ) WHERE { ?g property:P530 ?w . ?g rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q1048835 } GROUP BY ?g } } . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?b ) WHERE { ?c property:P530 ?a . ?c rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q1048835 } GROUP BY ?c } . FILTER ( ?b = ?z ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?z ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?d ) WHERE { ?g property:diplomatic_relation ?w . ?g rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:political_territorial_entity } GROUP BY ?g } } . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?b ) WHERE { ?c property:diplomatic_relation ?a . ?c rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?c } . FILTER ( ?b = ?z ) }
[]
political territorial entity political territorial entity
Q408
SYSTEM
Australia
Q408
(c(Q1048835),P530,c(Q1048835))
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
[ANSWER] is known to have diplomatic connections with max number of political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?z ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?d ) WHERE { ?g property:P530 ?w . ?g rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q1048835 } GROUP BY ?g } } . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?b ) WHERE { ?c property:P530 ?a . ?c rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q1048835 } GROUP BY ?c } . FILTER ( ?b = ?z ) }
Australia
Australia is known to have diplomatic connections with max number of political territories
Australia
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?z ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?d ) WHERE { ?g property:diplomatic_relation ?w . ?g rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:political_territorial_entity } GROUP BY ?g } } . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?b ) WHERE { ?c property:diplomatic_relation ?a . ?c rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?c } . FILTER ( ?b = ?z ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q681619
P21 P40
Q502895
USER
Which people have Mahbub Ali Khan, Asaf Jah VI as a child and have the gender as male ?
AND((c(Q502895),P40,Q681619), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q681619
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q681619'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P40 resource:Q681619 . ?h property:P21 resource:Q6581097 }
male Mahbub Ali Khan, Asaf Jah VI
action filter_type
action intersection
action find_reverse
entity Mahbub Ali Khan, Asaf Jah VI
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Mahbub Ali Khan, Asaf Jah VI'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:child resource:Mahbub_Ali_Khan,_Asaf_Jah_VI . ?h property:gender resource:male }
[]
common name
Q720313
SYSTEM
Afzal ad-Dawlah, Asaf Jah V
Q720313
AND((c(Q502895),P40,Q681619), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q681619
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Mahbub Ali Khan, Asaf Jah VI as a child and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q681619'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P40 resource:Q681619 . ?h property:P21 resource:Q6581097 }
Afzal ad-Dawlah, Asaf Jah V
Afzal ad-Dawlah, Asaf Jah V have Mahbub Ali Khan, Asaf Jah VI as a child and have the gender as male
Afzal ad-Dawlah, Asaf Jah V
action filter_type
action intersection
action find_reverse
entity Mahbub Ali Khan, Asaf Jah VI
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Mahbub Ali Khan, Asaf Jah VI'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:child resource:Mahbub_Ali_Khan,_Asaf_Jah_VI . ?h property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q720313 Q5530129
P140
Q874405
USER
Is Geikristlaste Kogu the religion associated with that person ?
(Q720313,P140,Q5530129)
action is_in
entity Q5530129
action find
entity Q720313
relation P140
['Q720313', 'P140', 'Q5530129']
ASK WHERE { resource:Q720313 property:P140 resource:Q5530129 }
Afzal ad-Dawlah, Asaf Jah V Geikristlaste Kogu
action is_in
entity Geikristlaste Kogu
action find
entity Afzal ad-Dawlah, Asaf Jah V
relation religion
['Afzal ad-Dawlah, Asaf Jah V', 'religion', 'Geikristlaste Kogu']
ASK WHERE { resource:Afzal_ad-Dawlah,_Asaf_Jah_V property:religion resource:Geikristlaste_Kogu }
[]
social group
SYSTEM
NO
(Q720313,P140,Q5530129)
action is_in
entity Q5530129
action find
entity Q720313
relation P140
[ANSWER]
['Q720313', 'P140', 'Q5530129']
ASK WHERE { resource:Q720313 property:P140 resource:Q5530129 }
No
action is_in
entity Geikristlaste Kogu
action find
entity Afzal ad-Dawlah, Asaf Jah V
relation religion
['Afzal ad-Dawlah, Asaf Jah V', 'religion', 'Geikristlaste Kogu']
ASK WHERE { resource:Afzal_ad-Dawlah,_Asaf_Jah_V property:religion resource:Geikristlaste_Kogu }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P194
Q11204
USER
Which legislature represents Germany ?
(Q183,P194,c(Q11204))
action filter_type
action find
entity Q183
relation P194
type Q11204
['Q183', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?i WHERE { resource:Q183 property:P194 ?i . ?i rdf:type ontology:Q11204 }
Germany
action filter_type
action find
entity Germany
relation legislative body
type legislature
['Germany', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?i WHERE { resource:Germany property:legislative_body ?i . ?i rdf:type ontology:legislature }
[]
legislature
Q146138
SYSTEM
Bundesrat
Q146138
(Q183,P194,c(Q11204))
action filter_type
action find
entity Q183
relation P194
type Q11204
[ANSWER] represents Germany
['Q183', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?i WHERE { resource:Q183 property:P194 ?i . ?i rdf:type ontology:Q11204 }
Bundesrat
Bundesrat represents Germany
Bundesrat
action filter_type
action find
entity Germany
relation legislative body
type legislature
['Germany', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?i WHERE { resource:Germany property:legislative_body ?i . ?i rdf:type ontology:legislature }
[]