Simple Question (Direct)
Simple Question
Q5560765
P27
Q15617994
USER
Which administrative territory is Gilbert Alsop an inhabitant of ?
(Q5560765,P27,c(Q15617994))
action filter_type
action find
entity Q5560765
relation P27
type Q15617994
['Q5560765', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q5560765 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Gilbert Alsop
action filter_type
action find
entity Gilbert Alsop
relation country of citizenship
type designation for an administrative territorial entity
['Gilbert Alsop', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Gilbert_Alsop property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q5560765,P27,c(Q15617994))
action filter_type
action find
entity Q5560765
relation P27
type Q15617994
[ANSWER]
['Q5560765', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q5560765 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action find
entity Gilbert Alsop
relation country of citizenship
type designation for an administrative territorial entity
['Gilbert Alsop', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Gilbert_Alsop property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5560765
P641
Q349
USER
Which sport was Gilbert Alsop a part of ?
(Q5560765,P641,c(Q349))
action filter_type
action find
entity Q5560765
relation P641
type Q349
['Q5560765', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q5560765 property:P641 ?o . ?o rdf:type ontology:Q349 }
Gilbert Alsop
action filter_type
action find
entity Gilbert Alsop
relation sport
type sport
['Gilbert Alsop', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Gilbert_Alsop property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5560765,P641,c(Q349))
action filter_type
action find
entity Q5560765
relation P641
type Q349
[ANSWER]
['Q5560765', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q5560765 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Gilbert Alsop
relation sport
type sport
['Gilbert Alsop', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Gilbert_Alsop property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Where did that sport originate ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?h WHERE { resource:Q2736 property:P495 ?h . ?h rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:association_football property:country_of_origin ?h . ?h rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
[ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?h WHERE { resource:Q2736 property:P495 ?h . ?h rdf:type ontology:Q1496967 }
England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:association_football property:country_of_origin ?h . ?h rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P172
Q502895
USER
Who have that territory as his/her race ?
(c(Q502895),P172,Q21)
action filter_type
action find_reverse
entity Q21
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q21']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P172 resource:Q21 }
England
action filter_type
action find_reverse
entity England
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'England']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:ethnic_group resource:England }
[]
common name
Q21151748 Q7341902 Q5730252
SYSTEM
Rosemary Stjernstedt, Robert Barrington-Ward, Henry William Wilberforce
Q6829817 Q7683973 Q4767120 Q5424077 Q5107509 Q7519325 Q8006577 Q7341902 Q5730252 Q21151748
(c(Q502895),P172,Q21)
action filter_type
action find_reverse
entity Q21
relation P172
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P172', 'Q21']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P172 resource:Q21 }
Michael Derrick Tanya Beckett Anna Jones F. W. Micklethwaite Chris Morris Simon McCoy William Carpenter Robert Barrington-Ward Henry William Wilberforce Rosemary Stjernstedt
Rosemary Stjernstedt Robert Barrington-Ward Henry William Wilberforce
action filter_type
action find_reverse
entity England
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'England']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:ethnic_group resource:England }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P551
Q15617994
USER
How many administrative territories were the place of residence of that person ?
(Q21151748,P551,c(Q15617994))
['Q21151748', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21151748 property:Q27150063 ?z . ?z rdf:type ontology:Q15617994 }
['Rosemary Stjernstedt', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Rosemary_Stjernstedt property:residence ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q7341902
SYSTEM
Did you mean Robert Barrington-Ward ?
(Q21151748,P551,c(Q15617994)) (Q7341902,P551,c(Q15617994)) (Q5730252,P551,c(Q15617994))
[ANSWER]
['Q21151748', 'P551', {'concept': 'Q15617994'}] ['Q7341902', 'P551', {'concept': 'Q15617994'}] ['Q5730252', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21151748 property:Q27150063 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Robert Barrington-Ward ?
Robert Barrington-Ward
['Rosemary Stjernstedt', 'residence', {'concept': 'designation for an administrative territorial entity'}] ['Robert Barrington-Ward', 'residence', {'concept': 'designation for an administrative territorial entity'}] ['Henry William Wilberforce', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Rosemary_Stjernstedt property:residence ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Rosemary Stjernstedt. Could you tell me the answer for that?
(Q21151748,P551,c(Q15617994))
Q21151748
['Q21151748', 'P551', {'concept': 'Q15617994'}]
['Rosemary Stjernstedt', 'residence', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q34
(Q21151748,P551,c(Q15617994))
[ANSWER]
['Q21151748', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21151748 property:Q27150063 ?z . ?z rdf:type ontology:Q15617994 }
Sweden
1
['Rosemary Stjernstedt', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Rosemary_Stjernstedt property:residence ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P937
Q502895
USER
Which people have England as their work location ?
(c(Q502895),P937,Q21)
action filter_type
action find_reverse
entity Q21
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q21']
SELECT DISTINCT ?d WHERE { ?d property:P937 resource:Q21 . ?d rdf:type ontology:Q502895 }
England
action filter_type
action find_reverse
entity England
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'England']
SELECT DISTINCT ?d WHERE { ?d property:work_location resource:England . ?d rdf:type ontology:common_name }
[]
common name
Q698102 Q2651847 Q1900421
SYSTEM
William Patrick Stuart-Houston, Ramón Labayen Sansinenea, Marcus Schwaner
Q1900421 Q20924962 Q698102 Q2651847
(c(Q502895),P937,Q21)
action filter_type
action find_reverse
entity Q21
relation P937
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P937', 'Q21']
SELECT DISTINCT ?d WHERE { ?d property:P937 resource:Q21 . ?d rdf:type ontology:Q502895 }
Marcus Schwaner Louis James William Patrick Stuart-Houston Ramón Labayen Sansinenea
William Patrick Stuart-Houston Ramón Labayen Sansinenea Marcus Schwaner
action filter_type
action find_reverse
entity England
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'England']
SELECT DISTINCT ?d WHERE { ?d property:work_location resource:England . ?d rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1900421
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q1900421,P20,c(Q56061))
action filter_type
action find
entity Q1900421
relation P20
type Q56061
['Q1900421', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1900421 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Marcus Schwaner
action filter_type
action find
entity Marcus Schwaner
relation place of death
type administrative territorial entity
['Marcus Schwaner', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Marcus_Schwaner property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q1900421
SYSTEM
Did you mean Marcus Schwaner ?
Q698102 Q2651847 Q1900421
(Q698102,P20,c(Q56061)) (Q2651847,P20,c(Q56061)) (Q1900421,P20,c(Q56061))
[ANSWER]
['Q698102', 'P20', {'concept': 'Q56061'}] ['Q2651847', 'P20', {'concept': 'Q56061'}] ['Q1900421', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1900421 property:P20 ?u . ?u rdf:type ontology:Q56061 }
William Patrick Stuart-Houston Ramón Labayen Sansinenea Marcus Schwaner
Did you mean Marcus Schwaner ?
Marcus Schwaner
['William Patrick Stuart-Houston', 'place of death', {'concept': 'administrative territorial entity'}] ['Ramón Labayen Sansinenea', 'place of death', {'concept': 'administrative territorial entity'}] ['Marcus Schwaner', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Marcus_Schwaner property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1900421,P20,c(Q56061))
['Q1900421', 'P20', {'concept': 'Q56061'}]
['Marcus Schwaner', 'place of death', {'concept': 'administrative territorial entity'}]
[]
Q84
SYSTEM
London
Q84
(Q1900421,P20,c(Q56061))
action filter_type
action find
entity Q1900421
relation P20
type Q56061
[ANSWER]
['Q1900421', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1900421 property:P20 ?u . ?u rdf:type ontology:Q56061 }
London
London
action filter_type
action find
entity Marcus Schwaner
relation place of death
type administrative territorial entity
['Marcus Schwaner', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Marcus_Schwaner property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q84 Q23564 Q3630
P190
Q56061
USER
Is that administrative territory twin city of Podgorica and Jakarta ?
(Q84,P190,Q23564) (Q84,P190,Q3630)
action is_in
entity Q84
action intersection
action find_reverse
entity Q23564
relation P190
action find_reverse
entity Q3630
relation P190
['Q84', 'P190', 'Q23564'] ['Q84', 'P190', 'Q3630']
ASK WHERE { resource:Q84 property:P190 resource:Q23564 . resource:Q84 property:P190 resource:Q3630 }
London Podgorica Jakarta
action is_in
entity London
action intersection
action find_reverse
entity Podgorica
relation sister city
action find_reverse
entity Jakarta
relation sister city
['London', 'sister city', 'Podgorica'] ['London', 'sister city', 'Jakarta']
ASK WHERE { resource:London property:sister_city resource:Podgorica . resource:London property:sister_city resource:Jakarta }
[]
administrative territorial entity
SYSTEM
YES
(Q84,P190,Q23564) (Q84,P190,Q3630)
action is_in
entity Q84
action intersection
action find_reverse
entity Q23564
relation P190
action find_reverse
entity Q3630
relation P190
[ANSWER]
['Q84', 'P190', 'Q23564'] ['Q84', 'P190', 'Q3630']
ASK WHERE { resource:Q84 property:P190 resource:Q23564 . resource:Q84 property:P190 resource:Q3630 }
Yes
action is_in
entity London
action intersection
action find_reverse
entity Podgorica
relation sister city
action find_reverse
entity Jakarta
relation sister city
['London', 'sister city', 'Podgorica'] ['London', 'sister city', 'Jakarta']
ASK WHERE { resource:London property:sister_city resource:Podgorica . resource:London property:sister_city resource:Jakarta }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3300375 Q7341902
P27
Q15617994
USER
Which administrative territories are Robert Barrington-Ward or Maurice Bayenet an inhabitant of ?
OR((Q7341902,P27,c(Q15617994)), (Q3300375,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7341902
relation P27
action find
entity Q3300375
relation P27
type Q15617994
{'OR': [['Q7341902', 'P27', {'concept': 'Q15617994'}], ['Q3300375', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?h ) { ( resource:Q7341902 ) ( resource:Q3300375 ) } . ?h property:P27 ?e } . ?e rdf:type ontology:Q15617994 }
Maurice Bayenet Robert Barrington-Ward
action filter_type
action union
action find
entity Robert Barrington-Ward
relation country of citizenship
action find
entity Maurice Bayenet
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Robert Barrington-Ward', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Maurice Bayenet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?h ) { ( resource:Robert_Barrington-Ward ) ( resource:Maurice_Bayenet ) } . ?h property:country_of_citizenship ?e } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q145
SYSTEM
Belgium, United Kingdom
Q31 Q145
OR((Q7341902,P27,c(Q15617994)), (Q3300375,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7341902
relation P27
action find
entity Q3300375
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q7341902', 'P27', {'concept': 'Q15617994'}], ['Q3300375', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?h ) { ( resource:Q7341902 ) ( resource:Q3300375 ) } . ?h property:P27 ?e } . ?e rdf:type ontology:Q15617994 }
Belgium United Kingdom
Belgium United Kingdom
action filter_type
action union
action find
entity Robert Barrington-Ward
relation country of citizenship
action find
entity Maurice Bayenet
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Robert Barrington-Ward', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Maurice Bayenet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?h ) { ( resource:Robert_Barrington-Ward ) ( resource:Maurice_Bayenet ) } . ?h property:country_of_citizenship ?e } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]