Simple Question (Direct)
Simple Question
Q21003863
P27
Q15617994
USER
Which administrative territory is Riccardo Calder an inhabitant of ?
(Q21003863,P27,c(Q15617994))
action filter_type
action find
entity Q21003863
relation P27
type Q15617994
['Q21003863', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q21003863 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Riccardo Calder
action filter_type
action find
entity Riccardo Calder
relation country of citizenship
type designation for an administrative territorial entity
['Riccardo Calder', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Riccardo_Calder property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q21003863,P27,c(Q15617994))
action filter_type
action find
entity Q21003863
relation P27
type Q15617994
[ANSWER] is Riccardo Calder an inhabitant of
['Q21003863', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q21003863 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is Riccardo Calder an inhabitant of
United Kingdom
action filter_type
action find
entity Riccardo Calder
relation country of citizenship
type designation for an administrative territorial entity
['Riccardo Calder', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Riccardo_Calder property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21003863
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q145,P106,c(Q12737077))
action filter_type
action find
entity Q21003863
relation P106
type Q12737077
['Q145', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q21003863 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Riccardo Calder
action filter_type
action find
entity Riccardo Calder
relation occupation
type occupation
['United Kingdom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Riccardo_Calder property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q145,P106,c(Q12737077))
action filter_type
action find
entity Q21003863
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q145', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q21003863 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Riccardo Calder
relation occupation
type occupation
['United Kingdom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Riccardo_Calder property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21003863
P21
Q290
USER
Which sex does that person possess ?
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q21003863
relation P21
type Q290
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q21003863 property:P21 ?o . ?o rdf:type ontology:Q290 }
Riccardo Calder
action filter_type
action find
entity Riccardo Calder
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Riccardo_Calder property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q21003863
relation P21
type Q290
That person possesses a [ANSWER]
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q21003863 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Riccardo Calder
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Riccardo_Calder property:gender ?o . ?o rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q4715807 Q21003863
P641
Q349
USER
Which sports did Riccardo Calder and Aleksei Kharitonov participate in ?
AND((Q21003863,P641,c(Q349)), (Q4715807,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q21003863
relation P641
action find
entity Q4715807
relation P641
type Q349
{'AND': [['Q21003863', 'P641', {'concept': 'Q349'}], ['Q4715807', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?x WHERE { resource:Q21003863 property:P641 ?x . resource:Q4715807 property:P641 ?x . ?x rdf:type ontology:Q349 }
Aleksei Kharitonov Riccardo Calder
action filter_type
action intersection
action find
entity Riccardo Calder
relation sport
action find
entity Aleksei Kharitonov
relation sport
type sport
{'AND': [['Riccardo Calder', 'sport', {'concept': 'sport'}], ['Aleksei Kharitonov', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?x WHERE { resource:Riccardo_Calder property:sport ?x . resource:Aleksei_Kharitonov property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q21003863,P641,c(Q349)), (Q4715807,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q21003863
relation P641
action find
entity Q4715807
relation P641
type Q349
Riccardo Calder and Aleksei Kharitonov participated in [ANSWER]
{'AND': [['Q21003863', 'P641', {'concept': 'Q349'}], ['Q4715807', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?x WHERE { resource:Q21003863 property:P641 ?x . resource:Q4715807 property:P641 ?x . ?x rdf:type ontology:Q349 }
association football
Riccardo Calder and Aleksei Kharitonov participated in association football
association football
action filter_type
action intersection
action find
entity Riccardo Calder
relation sport
action find
entity Aleksei Kharitonov
relation sport
type sport
{'AND': [['Riccardo Calder', 'sport', {'concept': 'sport'}], ['Aleksei Kharitonov', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?x WHERE { resource:Riccardo_Calder property:sport ?x . resource:Aleksei_Kharitonov property:sport ?x . ?x rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q937857
P106
Q188451 Q20724701
USER
How many music genres or city or town in Armenias have the profession as association football player ?
(c(Q188451),P106,Q937857) (c(Q20724701),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q188451
action filter_type
action find_reverse
entity Q937857
relation P106
type Q20724701
[{'concept': 'Q188451'}, 'P106', 'Q937857'] [{'concept': 'Q20724701'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a rdf:type ?w . VALUES ( ?w ) { ( ontology:Q20724701 ) ( ontology:Q188451 ) } }
association football player
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type music genre
action filter_type
action find_reverse
entity association football player
relation occupation
type city or town in Armenia
[{'concept': 'music genre'}, 'occupation', 'association football player'] [{'concept': 'city or town in Armenia'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a rdf:type ?w . VALUES ( ?w ) { ( ontology:city_or_town_in_Armenia ) ( ontology:music_genre ) } }
[]
music genre city or town in Armenia
SYSTEM
2
Q4933787 Q2817360
(c(Q188451),P106,Q937857) (c(Q20724701),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q188451
action filter_type
action find_reverse
entity Q937857
relation P106
type Q20724701
[ANSWER]
[{'concept': 'Q188451'}, 'P106', 'Q937857'] [{'concept': 'Q20724701'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a rdf:type ?w . VALUES ( ?w ) { ( ontology:Q20724701 ) ( ontology:Q188451 ) } }
Bob Ridley Masis Voskanyan
2
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type music genre
action filter_type
action find_reverse
entity association football player
relation occupation
type city or town in Armenia
[{'concept': 'music genre'}, 'occupation', 'association football player'] [{'concept': 'city or town in Armenia'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a rdf:type ?w . VALUES ( ?w ) { ( ontology:city_or_town_in_Armenia ) ( ontology:music_genre ) } }
[]