Simple Question (Direct)
Simple Question
Q101743
P27
Q1048835
USER
Which political territory is the country of citizenship of Friedrich Schwally ?
(Q101743,P27,c(Q1048835))
action filter_type
action find
entity Q101743
relation P27
type Q1048835
['Q101743', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . resource:Q101743 property:P27 ?b }
Friedrich Schwally
action filter_type
action find
entity Friedrich Schwally
relation country of citizenship
type political territorial entity
['Friedrich Schwally', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . resource:Friedrich_Schwally property:country_of_citizenship ?b }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q101743,P27,c(Q1048835))
action filter_type
action find
entity Q101743
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Friedrich Schwally
['Q101743', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . resource:Q101743 property:P27 ?b }
Germany
Germany is the country of citizenship of Friedrich Schwally
Germany
action filter_type
action find
entity Friedrich Schwally
relation country of citizenship
type political territorial entity
['Friedrich Schwally', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . resource:Friedrich_Schwally property:country_of_citizenship ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q101743
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q183,P19,c(Q56061))
action filter_type
action find
entity Q101743
relation P19
type Q56061
['Q183', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q101743 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Friedrich Schwally
action filter_type
action find
entity Friedrich Schwally
relation place of birth
type administrative territorial entity
['Germany', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Friedrich_Schwally property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q569680
SYSTEM
Butzbach
Q569680
(Q183,P19,c(Q56061))
action filter_type
action find
entity Q101743
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q183', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q101743 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Butzbach
Butzbach is the place of birth of that person
Butzbach
action filter_type
action find
entity Friedrich Schwally
relation place of birth
type administrative territorial entity
['Germany', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Friedrich_Schwally property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3922636 Q101743
P19
Q56061
USER
Or Teun van Ringelenstein?
OR((Q101743,P19,c(Q56061)), (Q3922636,P19,c(Q56061)))
action filter_type
action union
action find
entity Q101743
relation P19
action find
entity Q3922636
relation P19
type Q56061
{'OR': [['Q101743', 'P19', {'concept': 'Q56061'}], ['Q3922636', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q101743 property:P19 ?g } UNION { resource:Q3922636 property:P19 ?g } } . ?g rdf:type ontology:Q56061 }
Teun van Ringelenstein Friedrich Schwally
action filter_type
action union
action find
entity Friedrich Schwally
relation place of birth
action find
entity Teun van Ringelenstein
relation place of birth
type administrative territorial entity
{'OR': [['Friedrich Schwally', 'place of birth', {'concept': 'administrative territorial entity'}], ['Teun van Ringelenstein', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Friedrich_Schwally property:place_of_birth ?g } UNION { resource:Teun_van_Ringelenstein property:place_of_birth ?g } } . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q569680 Q47887
SYSTEM
Butzbach, Nijmegen
Q569680 Q47887
OR((Q101743,P19,c(Q56061)), (Q3922636,P19,c(Q56061)))
action filter_type
action union
action find
entity Q101743
relation P19
action find
entity Q3922636
relation P19
type Q56061
[ANSWERS]
{'OR': [['Q101743', 'P19', {'concept': 'Q56061'}], ['Q3922636', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q101743 property:P19 ?g } UNION { resource:Q3922636 property:P19 ?g } } . ?g rdf:type ontology:Q56061 }
Butzbach Nijmegen
Butzbach Nijmegen
action filter_type
action union
action find
entity Friedrich Schwally
relation place of birth
action find
entity Teun van Ringelenstein
relation place of birth
type administrative territorial entity
{'OR': [['Friedrich Schwally', 'place of birth', {'concept': 'administrative territorial entity'}], ['Teun van Ringelenstein', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Friedrich_Schwally property:place_of_birth ?g } UNION { resource:Teun_van_Ringelenstein property:place_of_birth ?g } } . ?g rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3922636
P19
Q56061
USER
How many administrative territories were Teun van Ringelenstein born ?
(Q3922636,P19,c(Q56061))
action count
action filter_type
action find
entity Q3922636
relation P19
type Q56061
['Q3922636', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c rdf:type ontology:Q56061 . resource:Q3922636 property:P19 ?c }
Teun van Ringelenstein
action count
action filter_type
action find
entity Teun van Ringelenstein
relation place of birth
type administrative territorial entity
['Teun van Ringelenstein', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Teun_van_Ringelenstein property:place_of_birth ?c }
[]
administrative territorial entity
SYSTEM
1
Q47887
(Q3922636,P19,c(Q56061))
action count
action filter_type
action find
entity Q3922636
relation P19
type Q56061
[ANSWER]
['Q3922636', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c rdf:type ontology:Q56061 . resource:Q3922636 property:P19 ?c }
Nijmegen
1
action count
action filter_type
action find
entity Teun van Ringelenstein
relation place of birth
type administrative territorial entity
['Teun van Ringelenstein', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Teun_van_Ringelenstein property:place_of_birth ?c }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1689057
Q56061
USER
And also tell me about Jim Campbell?
(Q1689057,P19,c(Q56061))
action count
action filter_type
action find
entity Q1689057
relation P19
type Q56061
['Q1689057', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Q1689057 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Jim Campbell
action count
action filter_type
action find
entity Jim Campbell
relation place of birth
type administrative territorial entity
['Jim Campbell', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Jim_Campbell property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q1689057,P19,c(Q56061))
action count
action filter_type
action find
entity Q1689057
relation P19
type Q56061
[ANSWER]
['Q1689057', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Q1689057 property:P19 ?o . ?o rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Jim Campbell
relation place of birth
type administrative territorial entity
['Jim Campbell', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Jim_Campbell property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1689057
P27
Q15617994
USER
How many administrative territories are Jim Campbell a civilian of ?
(Q1689057,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1689057
relation P27
type Q15617994
['Q1689057', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q1689057 property:P27 ?w }
Jim Campbell
action count
action filter_type
action find
entity Jim Campbell
relation country of citizenship
type designation for an administrative territorial entity
['Jim Campbell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jim_Campbell property:country_of_citizenship ?w }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q1689057,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1689057
relation P27
type Q15617994
[ANSWER]
['Q1689057', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q1689057 property:P27 ?w }
United States of America
1
action count
action filter_type
action find
entity Jim Campbell
relation country of citizenship
type designation for an administrative territorial entity
['Jim Campbell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jim_Campbell property:country_of_citizenship ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16616983
P21
Q290
USER
Which sex does Patricia Herrera Fernández possess ?
(Q16616983,P21,c(Q290))
action filter_type
action find
entity Q16616983
relation P21
type Q290
['Q16616983', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q16616983 property:P21 ?h . ?h rdf:type ontology:Q290 }
Patricia Herrera Fernández
action filter_type
action find
entity Patricia Herrera Fernández
relation gender
type sex
['Patricia Herrera Fernández', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Patricia_Herrera_Fernández property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q16616983,P21,c(Q290))
action filter_type
action find
entity Q16616983
relation P21
type Q290
Patricia Herrera Fernández possesses a [ANSWER]
['Q16616983', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q16616983 property:P21 ?h . ?h rdf:type ontology:Q290 }
female
Patricia Herrera Fernández possesses a female
female
action filter_type
action find
entity Patricia Herrera Fernández
relation gender
type sex
['Patricia Herrera Fernández', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Patricia_Herrera_Fernández property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16616983
P106
Q12737077
USER
What is the profession of that person ?
(Q6581072,P106,c(Q12737077))
action filter_type
action find
entity Q16616983
relation P106
type Q12737077
['Q6581072', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q16616983 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Patricia Herrera Fernández
action filter_type
action find
entity Patricia Herrera Fernández
relation occupation
type occupation
['female', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Patricia_Herrera_Fernández property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q17524364
SYSTEM
water polo player
Q17524364
(Q6581072,P106,c(Q12737077))
action filter_type
action find
entity Q16616983
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q6581072', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q16616983 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
water polo player
The profession of that person is a water polo player
water polo player
action filter_type
action find
entity Patricia Herrera Fernández
relation occupation
type occupation
['female', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Patricia_Herrera_Fernández property:occupation ?j . ?j rdf:type ontology:occupation }
[]