Simple Question (Direct)
Simple Question
Q1078910
P641
Q349
USER
Which sport was Christian Bauer a part of ?
(Q1078910,P641,c(Q349))
action filter_type
action find
entity Q1078910
relation P641
type Q349
['Q1078910', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q1078910 property:P641 ?l }
Christian Bauer
action filter_type
action find
entity Christian Bauer
relation sport
type sport
['Christian Bauer', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:Christian_Bauer property:sport ?l }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1078910,P641,c(Q349))
action filter_type
action find
entity Q1078910
relation P641
type Q349
Christian Bauer was an [ANSWER]
['Q1078910', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q1078910 property:P641 ?l }
association football
Christian Bauer was an association football
association football
action filter_type
action find
entity Christian Bauer
relation sport
type sport
['Christian Bauer', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:Christian_Bauer property:sport ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1078910
P27
Q1048835
USER
Which political territory is Christian Bauer an inhabitant of ?
(Q1078910,P27,c(Q1048835))
action filter_type
action find
entity Q1078910
relation P27
type Q1048835
['Q1078910', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q1078910 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Christian Bauer
action filter_type
action find
entity Christian Bauer
relation country of citizenship
type political territorial entity
['Christian Bauer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Christian_Bauer property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1078910,P27,c(Q1048835))
action filter_type
action find
entity Q1078910
relation P27
type Q1048835
The [ANSWER] is Christian Bauer an inhabitant of
['Q1078910', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q1078910 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Germany
The Germany is Christian Bauer an inhabitant of
Germany
action filter_type
action find
entity Christian Bauer
relation country of citizenship
type political territorial entity
['Christian Bauer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Christian_Bauer property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1624642
Q1048835
USER
And what about Holger Thews?
(Q1624642,P27,c(Q1048835))
action filter_type
action find
entity Q1624642
relation P27
type Q1048835
['Q1624642', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q1624642 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Holger Thews
action filter_type
action find
entity Holger Thews
relation country of citizenship
type political territorial entity
['Holger Thews', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Holger_Thews property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1624642,P27,c(Q1048835))
action filter_type
action find
entity Q1624642
relation P27
type Q1048835
[ANSWER]
['Q1624642', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q1624642 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Holger Thews
relation country of citizenship
type political territorial entity
['Holger Thews', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Holger_Thews property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q82330
P27
Q15617994
USER
How many administrative territories are the native countriesof Brian Thompson ?
(Q82330,P27,c(Q15617994))
action count
action filter_type
action find
entity Q82330
relation P27
type Q15617994
['Q82330', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q82330 property:P27 ?h }
Brian Thompson
action count
action filter_type
action find
entity Brian Thompson
relation country of citizenship
type designation for an administrative territorial entity
['Brian Thompson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Brian_Thompson property:country_of_citizenship ?h }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q82330,P27,c(Q15617994))
action count
action filter_type
action find
entity Q82330
relation P27
type Q15617994
[ANSWER]
['Q82330', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q82330 property:P27 ?h }
United States of America
1
action count
action filter_type
action find
entity Brian Thompson
relation country of citizenship
type designation for an administrative territorial entity
['Brian Thompson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Brian_Thompson property:country_of_citizenship ?h }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q27484337
Q15617994
USER
And what about Eliécer Bravo?
(Q27484337,P27,c(Q15617994))
action count
action filter_type
action find
entity Q27484337
relation P27
type Q15617994
['Q27484337', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:Q15617994 . resource:Q27484337 property:P27 ?v }
Eliécer Bravo
action count
action filter_type
action find
entity Eliécer Bravo
relation country of citizenship
type designation for an administrative territorial entity
['Eliécer Bravo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Eliécer_Bravo property:country_of_citizenship ?v }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q27484337,P27,c(Q15617994))
action count
action filter_type
action find
entity Q27484337
relation P27
type Q15617994
[ANSWER]
['Q27484337', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:Q15617994 . resource:Q27484337 property:P27 ?v }
1
action count
action filter_type
action find
entity Eliécer Bravo
relation country of citizenship
type designation for an administrative territorial entity
['Eliécer Bravo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Eliécer_Bravo property:country_of_citizenship ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27484337
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
action filter_type
action find
entity Q27484337
relation P19
type Q56061
SELECT DISTINCT ?k WHERE { resource:Q27484337 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Eliécer Bravo
action filter_type
action find
entity Eliécer Bravo
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?k WHERE { resource:Eliécer_Bravo property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2756591
SYSTEM
Chone
Q2756591
action filter_type
action find
entity Q27484337
relation P19
type Q56061
[ANSWER] is the place of birth of that person
SELECT DISTINCT ?k WHERE { resource:Q27484337 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Chone
Chone is the place of birth of that person
Chone
action filter_type
action find
entity Eliécer Bravo
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?k WHERE { resource:Eliécer_Bravo property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27484337
P20
Q56061
USER
Where did Eliécer Bravo die ?
(Q27484337,P20,c(Q56061))
action filter_type
action find
entity Q27484337
relation P20
type Q56061
['Q27484337', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q27484337 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Eliécer Bravo
action filter_type
action find
entity Eliécer Bravo
relation place of death
type administrative territorial entity
['Eliécer Bravo', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Eliécer_Bravo property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2756591
SYSTEM
Chone
Q2756591
(Q27484337,P20,c(Q56061))
action filter_type
action find
entity Q27484337
relation P20
type Q56061
Eliécer Bravo died in [ANSWER]
['Q27484337', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q27484337 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Chone
Eliécer Bravo died in Chone
Chone
action filter_type
action find
entity Eliécer Bravo
relation place of death
type administrative territorial entity
['Eliécer Bravo', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Eliécer_Bravo property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2756591 Q736
P17
Q15617994
USER
Is that administrative territory present in Ecuador ?
(Q2756591,P17,Q736)
action is_in
entity Q736
action find
entity Q2756591
relation P17
['Q2756591', 'P17', 'Q736']
ASK WHERE { resource:Q2756591 property:P17 resource:Q736 }
Chone Ecuador
action is_in
entity Ecuador
action find
entity Chone
relation country
['Chone', 'country', 'Ecuador']
ASK WHERE { resource:Chone property:country resource:Ecuador }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q2756591,P17,Q736)
action is_in
entity Q736
action find
entity Q2756591
relation P17
[ANSWER]
['Q2756591', 'P17', 'Q736']
ASK WHERE { resource:Q2756591 property:P17 resource:Q736 }
Yes
action is_in
entity Ecuador
action find
entity Chone
relation country
['Chone', 'country', 'Ecuador']
ASK WHERE { resource:Chone property:country resource:Ecuador }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q15973918 Q1078910
P39 P106
Q12737077
USER
Which occupations have Christian Bauer as his/her as a career or were the positions held by Gustave Bouvier ?
OR((Q1078910,P106,c(Q12737077)), (Q15973918,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q1078910
relation P106
action find
entity Q15973918
relation P39
type Q12737077
{'OR': [['Q1078910', 'P106', {'concept': 'Q12737077'}], ['Q15973918', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . { { resource:Q1078910 property:P106 ?h } UNION { resource:Q15973918 property:P39 ?h } } }
Gustave Bouvier Christian Bauer
action filter_type
action union
action find
entity Christian Bauer
relation occupation
action find
entity Gustave Bouvier
relation position held
type occupation
{'OR': [['Christian Bauer', 'occupation', {'concept': 'occupation'}], ['Gustave Bouvier', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . { { resource:Christian_Bauer property:occupation ?h } UNION { resource:Gustave_Bouvier property:position_held ?h } } }
[]
occupation
Q382617 Q3044918 Q937857
SYSTEM
maire, member of the French National Assembly, association football player
Q382617 Q3044918 Q937857
OR((Q1078910,P106,c(Q12737077)), (Q15973918,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q1078910
relation P106
action find
entity Q15973918
relation P39
type Q12737077
[ANSWERS]
{'OR': [['Q1078910', 'P106', {'concept': 'Q12737077'}], ['Q15973918', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . { { resource:Q1078910 property:P106 ?h } UNION { resource:Q15973918 property:P39 ?h } } }
maire member of the French National Assembly association football player
Maire, member of the French National Assembly and association football player have Christian Bauer as his/her as a career or were the positions held by Gustave Bouvier
maire member of the French National Assembly association football player
action filter_type
action union
action find
entity Christian Bauer
relation occupation
action find
entity Gustave Bouvier
relation position held
type occupation
{'OR': [['Christian Bauer', 'occupation', {'concept': 'occupation'}], ['Gustave Bouvier', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . { { resource:Christian_Bauer property:occupation ?h } UNION { resource:Gustave_Bouvier property:position_held ?h } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q42620
P530
Q1048835
USER
How many political territories have tactful political relations with Germany or Palestinian National Authority ?
(c(Q1048835),P530,Q183) (c(Q1048835),P530,Q42620)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q42620
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q183'] [{'concept': 'Q1048835'}, 'P530', 'Q42620']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { ?g rdf:type ontology:Q1048835 . ?g property:P530 resource:Q42620 } UNION { ?g property:P530 resource:Q183 . ?g rdf:type ontology:Q1048835 } }
Germany Palestinian National Authority
action count
action union
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Palestinian National Authority
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Germany'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Palestinian National Authority']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { ?g rdf:type ontology:political_territorial_entity . ?g property:diplomatic_relation resource:Palestinian_National_Authority } UNION { ?g property:diplomatic_relation resource:Germany . ?g rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
SYSTEM
6
Q408 Q1000 Q35 Q40 Q16 Q664
(c(Q1048835),P530,Q183) (c(Q1048835),P530,Q42620)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q42620
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q183'] [{'concept': 'Q1048835'}, 'P530', 'Q42620']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { ?g rdf:type ontology:Q1048835 . ?g property:P530 resource:Q42620 } UNION { ?g property:P530 resource:Q183 . ?g rdf:type ontology:Q1048835 } }
Australia Gabon Denmark Austria Canada New Zealand
6
action count
action union
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Palestinian National Authority
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Germany'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Palestinian National Authority']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { ?g rdf:type ontology:political_territorial_entity . ?g property:diplomatic_relation resource:Palestinian_National_Authority } UNION { ?g property:diplomatic_relation resource:Germany . ?g rdf:type ontology:political_territorial_entity } }
[]