Simple Question (Direct)
Simple Question
Q20744169
P641
Q349
USER
Which sport did Sergei Smelov participate in ?
(Q20744169,P641,c(Q349))
action filter_type
action find
entity Q20744169
relation P641
type Q349
['Q20744169', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q20744169 property:P641 ?g . ?g rdf:type ontology:Q349 }
Sergei Smelov
action filter_type
action find
entity Sergei Smelov
relation sport
type sport
['Sergei Smelov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Sergei_Smelov property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q20744169,P641,c(Q349))
action filter_type
action find
entity Q20744169
relation P641
type Q349
Sergei Smelov participated in [ANSWER]
['Q20744169', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q20744169 property:P641 ?g . ?g rdf:type ontology:Q349 }
association football
Sergei Smelov participated in association football
association football
action filter_type
action find
entity Sergei Smelov
relation sport
type sport
['Sergei Smelov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Sergei_Smelov property:sport ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Which territory is the origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?v WHERE { resource:Q2736 property:P495 ?v . ?v 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 ?v WHERE { resource:association_football property:country_of_origin ?v . ?v 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] is the origin of that sport
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?v WHERE { resource:Q2736 property:P495 ?v . ?v rdf:type ontology:Q1496967 }
England
England is the origin of that sport
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 ?v WHERE { resource:association_football property:country_of_origin ?v . ?v rdf:type ontology:territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q21
P921
Q2342494 Q386724
USER
How many collectables or works are England a main subject of ?
(c(Q2342494),P921,Q21) (c(Q386724),P921,Q21)
action count
action union
action filter_type
action find_reverse
entity Q21
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q21
relation P921
type Q386724
[{'concept': 'Q2342494'}, 'P921', 'Q21'] [{'concept': 'Q386724'}, 'P921', 'Q21']
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { { ?u property:P921 resource:Q21 . ?u rdf:type ontology:Q2342494 } UNION { ?u property:P921 resource:Q21 . ?u rdf:type ontology:Q386724 } }
England
action count
action union
action filter_type
action find_reverse
entity England
relation main subject
type collectable
action filter_type
action find_reverse
entity England
relation main subject
type work
[{'concept': 'collectable'}, 'main subject', 'England'] [{'concept': 'work'}, 'main subject', 'England']
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { { ?u property:main_subject resource:England . ?u rdf:type ontology:collectable } UNION { ?u property:main_subject resource:England . ?u rdf:type ontology:work } }
[]
collectable work
SYSTEM
3
Q26990369 Q21601944 Q16822863
(c(Q2342494),P921,Q21) (c(Q386724),P921,Q21)
action count
action union
action filter_type
action find_reverse
entity Q21
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q21
relation P921
type Q386724
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', 'Q21'] [{'concept': 'Q386724'}, 'P921', 'Q21']
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { { ?u property:P921 resource:Q21 . ?u rdf:type ontology:Q2342494 } UNION { ?u property:P921 resource:Q21 . ?u rdf:type ontology:Q386724 } }
England and Wales delineated Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales Beauties of England and Wales
3
action count
action union
action filter_type
action find_reverse
entity England
relation main subject
type collectable
action filter_type
action find_reverse
entity England
relation main subject
type work
[{'concept': 'collectable'}, 'main subject', 'England'] [{'concept': 'work'}, 'main subject', 'England']
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { { ?u property:main_subject resource:England . ?u rdf:type ontology:collectable } UNION { ?u property:main_subject resource:England . ?u rdf:type ontology:work } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P417
Q502895
USER
Which person is the patron saint of that territory ?
action filter_type
action find
entity Q21
relation P417
type Q502895
SELECT DISTINCT ?c WHERE { resource:Q21 property:P417 ?c . ?c rdf:type ontology:Q502895 }
England
action filter_type
action find
entity England
relation patron saint
type common name
SELECT DISTINCT ?c WHERE { resource:England property:patron_saint ?c . ?c rdf:type ontology:common_name }
[]
common name
Q48438
SYSTEM
Saint George
Q48438
action filter_type
action find
entity Q21
relation P417
type Q502895
[ANSWER] is the patron saint of that territory
SELECT DISTINCT ?c WHERE { resource:Q21 property:P417 ?c . ?c rdf:type ontology:Q502895 }
Saint George
Saint George is the patron saint of that territory
Saint George
action filter_type
action find
entity England
relation patron saint
type common name
SELECT DISTINCT ?c WHERE { resource:England property:patron_saint ?c . ?c rdf:type ontology:common_name }
[]