Simple Question (Direct)
Simple Question
Q469641
P19
Q56061
USER
Where was Grace Ogot born ?
(Q469641,P19,c(Q56061))
action filter_type
action find
entity Q469641
relation P19
type Q56061
['Q469641', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q469641 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Grace Ogot
action filter_type
action find
entity Grace Ogot
relation place of birth
type administrative territorial entity
['Grace Ogot', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Grace_Ogot property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q214485
SYSTEM
City of Kisumu
Q214485
(Q469641,P19,c(Q56061))
action filter_type
action find
entity Q469641
relation P19
type Q56061
Grace Ogot was born in [ANSWER]
['Q469641', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q469641 property:P19 ?l . ?l rdf:type ontology:Q56061 }
City of Kisumu
Grace Ogot was born in City of Kisumu
City of Kisumu
action filter_type
action find
entity Grace Ogot
relation place of birth
type administrative territorial entity
['Grace Ogot', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Grace_Ogot property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q469641
P26
Q502895
USER
Which person is the spouse of that one ?
(Q214485,P26,c(Q502895))
action filter_type
action find
entity Q469641
relation P26
type Q502895
['Q214485', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q469641 property:P26 ?a }
Grace Ogot
action filter_type
action find
entity Grace Ogot
relation spouse
type common name
['City of Kisumu', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Grace_Ogot property:spouse ?a }
[]
common name
Q2900101
SYSTEM
Bethwell Allan Ogot
Q2900101
(Q214485,P26,c(Q502895))
action filter_type
action find
entity Q469641
relation P26
type Q502895
[ANSWER] is the spouse of that one
['Q214485', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q469641 property:P26 ?a }
Bethwell Allan Ogot
Bethwell Allan Ogot is the spouse of that one
Bethwell Allan Ogot
action filter_type
action find
entity Grace Ogot
relation spouse
type common name
['City of Kisumu', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Grace_Ogot property:spouse ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2900101
P26
Q502895
USER
How many people are married to Bethwell Allan Ogot ?
(c(Q502895),P26,Q2900101)
action count
action filter_type
action find_reverse
entity Q2900101
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2900101']
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:P26 resource:Q2900101 . ?c rdf:type ontology:Q502895 }
Bethwell Allan Ogot
action count
action filter_type
action find_reverse
entity Bethwell Allan Ogot
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Bethwell Allan Ogot']
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:spouse resource:Bethwell_Allan_Ogot . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q469641
(c(Q502895),P26,Q2900101)
action count
action filter_type
action find_reverse
entity Q2900101
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q2900101']
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:P26 resource:Q2900101 . ?c rdf:type ontology:Q502895 }
Grace Ogot
1
action count
action filter_type
action find_reverse
entity Bethwell Allan Ogot
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Bethwell Allan Ogot']
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:spouse resource:Bethwell_Allan_Ogot . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2900101
P69
Q3918
USER
Which university was Bethwell Allan Ogot educated at ?
(Q2900101,P69,c(Q3918))
action filter_type
action find
entity Q2900101
relation P69
type Q3918
['Q2900101', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?a WHERE { resource:Q2900101 property:P69 ?a . ?a rdf:type ontology:Q3918 }
Bethwell Allan Ogot
action filter_type
action find
entity Bethwell Allan Ogot
relation educated at
type university
['Bethwell Allan Ogot', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?a WHERE { resource:Bethwell_Allan_Ogot property:educated_at ?a . ?a rdf:type ontology:university }
[]
university
Q216273
SYSTEM
University of St Andrews
Q216273
(Q2900101,P69,c(Q3918))
action filter_type
action find
entity Q2900101
relation P69
type Q3918
Bethwell Allan Ogot was educated by [ANSWER]
['Q2900101', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?a WHERE { resource:Q2900101 property:P69 ?a . ?a rdf:type ontology:Q3918 }
University of St Andrews
Bethwell Allan Ogot was educated by University of St Andrews
University of St Andrews
action filter_type
action find
entity Bethwell Allan Ogot
relation educated at
type university
['Bethwell Allan Ogot', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?a WHERE { resource:Bethwell_Allan_Ogot property:educated_at ?a . ?a rdf:type ontology:university }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1563726
Q3918
USER
And also tell me about Anomie Belle?
(Q1563726,P69,c(Q3918))
action filter_type
action find
entity Q1563726
relation P69
type Q3918
['Q1563726', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?j WHERE { resource:Q1563726 property:P69 ?j . ?j rdf:type ontology:Q3918 }
Anomie Belle
action filter_type
action find
entity Anomie Belle
relation educated at
type university
['Anomie Belle', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?j WHERE { resource:Anomie_Belle property:educated_at ?j . ?j rdf:type ontology:university }
[]
university
Q219563
SYSTEM
University of Washington
Q219563
(Q1563726,P69,c(Q3918))
action filter_type
action find
entity Q1563726
relation P69
type Q3918
[ANSWER]
['Q1563726', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?j WHERE { resource:Q1563726 property:P69 ?j . ?j rdf:type ontology:Q3918 }
University of Washington
University of Washington
action filter_type
action find
entity Anomie Belle
relation educated at
type university
['Anomie Belle', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?j WHERE { resource:Anomie_Belle property:educated_at ?j . ?j rdf:type ontology:university }
[]