Simple Question (Direct)
Simple Question
Q19568032
P21
Q290
USER
What is the sex of Jimmy Jay ?
(Q19568032,P21,c(Q290))
action filter_type
action find
entity Q19568032
relation P21
type Q290
['Q19568032', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q19568032 property:P21 ?w . ?w rdf:type ontology:Q290 }
Jimmy Jay
action filter_type
action find
entity Jimmy Jay
relation gender
type sex
['Jimmy Jay', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Jimmy_Jay property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q19568032,P21,c(Q290))
action filter_type
action find
entity Q19568032
relation P21
type Q290
The sex of Jimmy Jay is the [ANSWER]
['Q19568032', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q19568032 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
The sex of Jimmy Jay is the male
male
action filter_type
action find
entity Jimmy Jay
relation gender
type sex
['Jimmy Jay', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Jimmy_Jay property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19568032
P19
Q56061
USER
Which administrative territory was Jimmy Jay born at ?
(Q19568032,P19,c(Q56061))
action filter_type
action find
entity Q19568032
relation P19
type Q56061
['Q19568032', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q19568032 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Jimmy Jay
action filter_type
action find
entity Jimmy Jay
relation place of birth
type administrative territorial entity
['Jimmy Jay', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Jimmy_Jay property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1247835
SYSTEM
Kingswood, South Gloucestershire
Q1247835
(Q19568032,P19,c(Q56061))
action filter_type
action find
entity Q19568032
relation P19
type Q56061
Jimmy Jay was born in [ANSWER]
['Q19568032', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q19568032 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Kingswood, South Gloucestershire
Jimmy Jay was born in Kingswood, South Gloucestershire
Kingswood, South Gloucestershire
action filter_type
action find
entity Jimmy Jay
relation place of birth
type administrative territorial entity
['Jimmy Jay', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Jimmy_Jay property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4286426
Q56061
USER
And what about Vladimir Mayat?
(Q4286426,P19,c(Q56061))
action filter_type
action find
entity Q4286426
relation P19
type Q56061
['Q4286426', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q4286426 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Vladimir Mayat
action filter_type
action find
entity Vladimir Mayat
relation place of birth
type administrative territorial entity
['Vladimir Mayat', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Vladimir_Mayat property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q184322
SYSTEM
Pushkino
Q184322
(Q4286426,P19,c(Q56061))
action filter_type
action find
entity Q4286426
relation P19
type Q56061
[ANSWER]
['Q4286426', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q4286426 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Pushkino
Pushkino
action filter_type
action find
entity Vladimir Mayat
relation place of birth
type administrative territorial entity
['Vladimir Mayat', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Vladimir_Mayat property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories do that administrative territory belong to ?
(Q184322,P17,c(Q15617994))
action count
action filter_type
action find
entity Q184322
relation P17
type Q15617994
['Q184322', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Q184322 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Pushkino
relation country
type designation for an administrative territorial entity
['Pushkino', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Pushkino property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q159
(Q184322,P17,c(Q15617994))
action count
action filter_type
action find
entity Q184322
relation P17
type Q15617994
[ANSWER]
['Q184322', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Q184322 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Russia
1
action count
action filter_type
action find
entity Pushkino
relation country
type designation for an administrative territorial entity
['Pushkino', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Pushkino property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q18085864 Q19568032
P641
Q349
USER
Which sports did Jimmy Jay and Ron Harrison participate in ?
AND((Q19568032,P641,c(Q349)), (Q18085864,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q19568032
relation P641
action find
entity Q18085864
relation P641
type Q349
{'AND': [['Q19568032', 'P641', {'concept': 'Q349'}], ['Q18085864', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?k WHERE { resource:Q19568032 property:P641 ?k . resource:Q18085864 property:P641 ?k . ?k rdf:type ontology:Q349 }
Ron Harrison Jimmy Jay
action filter_type
action intersection
action find
entity Jimmy Jay
relation sport
action find
entity Ron Harrison
relation sport
type sport
{'AND': [['Jimmy Jay', 'sport', {'concept': 'sport'}], ['Ron Harrison', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?k WHERE { resource:Jimmy_Jay property:sport ?k . resource:Ron_Harrison property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q19568032,P641,c(Q349)), (Q18085864,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q19568032
relation P641
action find
entity Q18085864
relation P641
type Q349
Jimmy Jay and Ron Harrison participated in [ANSWER]
{'AND': [['Q19568032', 'P641', {'concept': 'Q349'}], ['Q18085864', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?k WHERE { resource:Q19568032 property:P641 ?k . resource:Q18085864 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
Jimmy Jay and Ron Harrison participated in association football
association football
action filter_type
action intersection
action find
entity Jimmy Jay
relation sport
action find
entity Ron Harrison
relation sport
type sport
{'AND': [['Jimmy Jay', 'sport', {'concept': 'sport'}], ['Ron Harrison', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?k WHERE { resource:Jimmy_Jay property:sport ?k . resource:Ron_Harrison property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18085864
P106
Q12737077
USER
What is the job of Ron Harrison ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q18085864
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q18085864 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Ron Harrison
action filter_type
action find
entity Ron Harrison
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Ron_Harrison property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q18085864
relation P106
type Q12737077
The job of Ron Harrison is an [ANSWER]
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q18085864 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
association football player
The job of Ron Harrison is an association football player
association football player
action filter_type
action find
entity Ron Harrison
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Ron_Harrison property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q937857 Q16996906
P425
Q349
USER
Does Indoor American football have that one as the associated field of occupation ?
(Q937857,P425,Q16996906)
action is_in
entity Q16996906
action find
entity Q937857
relation P425
['Q937857', 'P425', 'Q16996906']
ASK WHERE { resource:Q937857 property:P425 resource:Q16996906 }
association football player Indoor American football
action is_in
entity Indoor American football
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'Indoor American football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:Indoor_American_football }
[]
sport
SYSTEM
NO
(Q937857,P425,Q16996906)
action is_in
entity Q16996906
action find
entity Q937857
relation P425
[ANSWER]
['Q937857', 'P425', 'Q16996906']
ASK WHERE { resource:Q937857 property:P425 resource:Q16996906 }
No
action is_in
entity Indoor American football
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'Indoor American football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:Indoor_American_football }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q5427816 Q19568032
P641
Q349
USER
Which sports did Jimmy Jay and Fabio Ferraresi participate in ?
AND((Q19568032,P641,c(Q349)), (Q5427816,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q19568032
relation P641
action find
entity Q5427816
relation P641
type Q349
{'AND': [['Q19568032', 'P641', {'concept': 'Q349'}], ['Q5427816', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q5427816 property:P641 ?v . resource:Q19568032 property:P641 ?v }
Fabio Ferraresi Jimmy Jay
action filter_type
action intersection
action find
entity Jimmy Jay
relation sport
action find
entity Fabio Ferraresi
relation sport
type sport
{'AND': [['Jimmy Jay', 'sport', {'concept': 'sport'}], ['Fabio Ferraresi', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:Fabio_Ferraresi property:sport ?v . resource:Jimmy_Jay property:sport ?v }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q19568032,P641,c(Q349)), (Q5427816,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q19568032
relation P641
action find
entity Q5427816
relation P641
type Q349
Jimmy Jay and Fabio Ferraresi participated in [ANSWER]
{'AND': [['Q19568032', 'P641', {'concept': 'Q349'}], ['Q5427816', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q5427816 property:P641 ?v . resource:Q19568032 property:P641 ?v }
association football
Jimmy Jay and Fabio Ferraresi participated in association football
association football
action filter_type
action intersection
action find
entity Jimmy Jay
relation sport
action find
entity Fabio Ferraresi
relation sport
type sport
{'AND': [['Jimmy Jay', 'sport', {'concept': 'sport'}], ['Fabio Ferraresi', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:Fabio_Ferraresi property:sport ?v . resource:Jimmy_Jay property:sport ?v }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2069857 Q19568032
P641
Q349
USER
Which sports were Jimmy Jay or Per-Inge Walfridson a part of ?
OR((Q19568032,P641,c(Q349)), (Q2069857,P641,c(Q349)))
action filter_type
action union
action find
entity Q19568032
relation P641
action find
entity Q2069857
relation P641
type Q349
{'OR': [['Q19568032', 'P641', {'concept': 'Q349'}], ['Q2069857', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q19568032 property:P641 ?l } UNION { resource:Q2069857 property:P641 ?l } } . ?l rdf:type ontology:Q349 }
Per-Inge Walfridson Jimmy Jay
action filter_type
action union
action find
entity Jimmy Jay
relation sport
action find
entity Per-Inge Walfridson
relation sport
type sport
{'OR': [['Jimmy Jay', 'sport', {'concept': 'sport'}], ['Per-Inge Walfridson', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Jimmy_Jay property:sport ?l } UNION { resource:Per-Inge_Walfridson property:sport ?l } } . ?l rdf:type ontology:sport }
[]
sport
Q7856 Q2736
SYSTEM
rallying, association football
Q7856 Q2736
OR((Q19568032,P641,c(Q349)), (Q2069857,P641,c(Q349)))
action filter_type
action union
action find
entity Q19568032
relation P641
action find
entity Q2069857
relation P641
type Q349
The [ANSWERS] were Jimmy Jay or Per-Inge Walfridson a part of
{'OR': [['Q19568032', 'P641', {'concept': 'Q349'}], ['Q2069857', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q19568032 property:P641 ?l } UNION { resource:Q2069857 property:P641 ?l } } . ?l rdf:type ontology:Q349 }
rallying association football
The rallying and association football were Jimmy Jay or Per-Inge Walfridson a part of
rallying association football
action filter_type
action union
action find
entity Jimmy Jay
relation sport
action find
entity Per-Inge Walfridson
relation sport
type sport
{'OR': [['Jimmy Jay', 'sport', {'concept': 'sport'}], ['Per-Inge Walfridson', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Jimmy_Jay property:sport ?l } UNION { resource:Per-Inge_Walfridson property:sport ?l } } . ?l rdf:type ontology:sport }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7856
P136
Q166142
USER
Which application has that sport as genre ?
(c(Q166142),P136,Q7856)
action filter_type
action find_reverse
entity Q7856
relation P136
type Q166142
[{'concept': 'Q166142'}, 'P136', 'Q7856']
SELECT DISTINCT ?z WHERE { ?z property:P136 resource:Q7856 . ?z rdf:type ontology:Q166142 }
rallying
action filter_type
action find_reverse
entity rallying
relation genre
type application
[{'concept': 'application'}, 'genre', 'rallying']
SELECT DISTINCT ?z WHERE { ?z property:genre resource:rallying . ?z rdf:type ontology:application }
[]
application
Clarification for simple ques.
Q7856
SYSTEM
Did you mean rallying ?
Q7856 Q2736
(c(Q166142),P136,Q7856) (c(Q166142),P136,Q2736)
[ANSWER]
[{'concept': 'Q166142'}, 'P136', 'Q7856'] [{'concept': 'Q166142'}, 'P136', 'Q2736']
SELECT DISTINCT ?z WHERE { ?z property:P136 resource:Q7856 . ?z rdf:type ontology:Q166142 }
rallying association football
Did you mean rallying ?
rallying
[{'concept': 'application'}, 'genre', 'rallying'] [{'concept': 'application'}, 'genre', 'association football']
SELECT DISTINCT ?z WHERE { ?z property:genre resource:rallying . ?z rdf:type ontology:application }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q166142),P136,Q7856)
[{'concept': 'Q166142'}, 'P136', 'Q7856']
[{'concept': 'application'}, 'genre', 'rallying']
[]
Q8044966
SYSTEM
Xpand Rally
Q8044966
(c(Q166142),P136,Q7856)
action filter_type
action find_reverse
entity Q7856
relation P136
type Q166142
[ANSWER] has that sport as genre
[{'concept': 'Q166142'}, 'P136', 'Q7856']
SELECT DISTINCT ?z WHERE { ?z property:P136 resource:Q7856 . ?z rdf:type ontology:Q166142 }
Xpand Rally
Xpand Rally has that sport as genre
Xpand Rally
action filter_type
action find_reverse
entity rallying
relation genre
type application
[{'concept': 'application'}, 'genre', 'rallying']
SELECT DISTINCT ?z WHERE { ?z property:genre resource:rallying . ?z rdf:type ontology:application }
[]