Simple Question (Direct)
Simple Question
Q1738848
P641
Q31629
USER
What was the type of sport that Kenneth Cheruiyot was a part of ?
(Q1738848,P641,c(Q31629))
action filter_type
action find
entity Q1738848
relation P641
type Q31629
['Q1738848', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?j WHERE { resource:Q1738848 property:P641 ?j . ?j rdf:type ontology:Q31629 }
Kenneth Cheruiyot
action filter_type
action find
entity Kenneth Cheruiyot
relation sport
type type of sport
['Kenneth Cheruiyot', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?j WHERE { resource:Kenneth_Cheruiyot property:sport ?j . ?j rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q1738848,P641,c(Q31629))
action filter_type
action find
entity Q1738848
relation P641
type Q31629
The type of sport that Kenneth Cheruiyot was a part of was p [ANSWER]
['Q1738848', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?j WHERE { resource:Q1738848 property:P641 ?j . ?j rdf:type ontology:Q31629 }
athletics
The type of sport that Kenneth Cheruiyot was a part of was p athletics
athletics
action filter_type
action find
entity Kenneth Cheruiyot
relation sport
type type of sport
['Kenneth Cheruiyot', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?j WHERE { resource:Kenneth_Cheruiyot property:sport ?j . ?j rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1738848
P21
Q290
USER
What is the sex of Kenneth Cheruiyot ?
(Q1738848,P21,c(Q290))
action filter_type
action find
entity Q1738848
relation P21
type Q290
['Q1738848', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q1738848 property:P21 ?q . ?q rdf:type ontology:Q290 }
Kenneth Cheruiyot
action filter_type
action find
entity Kenneth Cheruiyot
relation gender
type sex
['Kenneth Cheruiyot', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Kenneth_Cheruiyot property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1738848,P21,c(Q290))
action filter_type
action find
entity Q1738848
relation P21
type Q290
The sex of Kenneth Cheruiyot is the [ANSWER]
['Q1738848', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q1738848 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
The sex of Kenneth Cheruiyot is the male
male
action filter_type
action find
entity Kenneth Cheruiyot
relation gender
type sex
['Kenneth Cheruiyot', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Kenneth_Cheruiyot property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17388242
Q290
USER
And also tell me about Robert Chaloner?
(Q17388242,P21,c(Q290))
action filter_type
action find
entity Q17388242
relation P21
type Q290
['Q17388242', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q17388242 property:P21 ?s }
Robert Chaloner
action filter_type
action find
entity Robert Chaloner
relation gender
type sex
['Robert Chaloner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Robert_Chaloner property:gender ?s }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q17388242,P21,c(Q290))
action filter_type
action find
entity Q17388242
relation P21
type Q290
[ANSWER]
['Q17388242', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q17388242 property:P21 ?s }
male
male
action filter_type
action find
entity Robert Chaloner
relation gender
type sex
['Robert Chaloner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Robert_Chaloner property:gender ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1738848
P26
Q502895
USER
How many people are married to Kenneth Cheruiyot ?
(c(Q502895),P26,Q1738848)
action count
action filter_type
action find_reverse
entity Q1738848
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q1738848']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l rdf:type ontology:Q502895 . ?l property:P26 resource:Q1738848 }
Kenneth Cheruiyot
action count
action filter_type
action find_reverse
entity Kenneth Cheruiyot
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Kenneth Cheruiyot']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l rdf:type ontology:common_name . ?l property:spouse resource:Kenneth_Cheruiyot }
[]
common name
SYSTEM
1
Q233714
(c(Q502895),P26,Q1738848)
action count
action filter_type
action find_reverse
entity Q1738848
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q1738848']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l rdf:type ontology:Q502895 . ?l property:P26 resource:Q1738848 }
Nancy Langat
1
action count
action filter_type
action find_reverse
entity Kenneth Cheruiyot
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Kenneth Cheruiyot']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l rdf:type ontology:common_name . ?l property:spouse resource:Kenneth_Cheruiyot }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1738848
P26
Q502895
USER
Which person is the spouse of that one ?
action filter_type
action find
entity Q1738848
relation P26
type Q502895
SELECT DISTINCT ?v WHERE { resource:Q1738848 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Kenneth Cheruiyot
action filter_type
action find
entity Kenneth Cheruiyot
relation spouse
type common name
SELECT DISTINCT ?v WHERE { resource:Kenneth_Cheruiyot property:spouse ?v . ?v rdf:type ontology:common_name }
[]
common name
Q233714
SYSTEM
Nancy Langat
Q233714
action filter_type
action find
entity Q1738848
relation P26
type Q502895
[ANSWER] is the spouse of that one
SELECT DISTINCT ?v WHERE { resource:Q1738848 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Nancy Langat
Nancy Langat is the spouse of that one
Nancy Langat
action filter_type
action find
entity Kenneth Cheruiyot
relation spouse
type common name
SELECT DISTINCT ?v WHERE { resource:Kenneth_Cheruiyot property:spouse ?v . ?v rdf:type ontology:common_name }
[]