Simple Question (Direct)
Simple Question
Q4948421
P641
Q349
USER
Which sport was Hanna Folkesson a part of ?
(Q4948421,P641,c(Q349))
action filter_type
action find
entity Q4948421
relation P641
type Q349
['Q4948421', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q4948421 property:P641 ?a . ?a rdf:type ontology:Q349 }
Hanna Folkesson
action filter_type
action find
entity Hanna Folkesson
relation sport
type sport
['Hanna Folkesson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Hanna_Folkesson property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4948421,P641,c(Q349))
action filter_type
action find
entity Q4948421
relation P641
type Q349
Which sport was Hanna Folkesson a part of
['Q4948421', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q4948421 property:P641 ?a . ?a rdf:type ontology:Q349 }
association football
Which sport was Hanna Folkesson a part of
association football
action filter_type
action find
entity Hanna Folkesson
relation sport
type sport
['Hanna Folkesson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Hanna_Folkesson property:sport ?a . ?a rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Where did that sport originate ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?g WHERE { resource:Q2736 property:P495 ?g . ?g 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 ?g WHERE { resource:association_football property:country_of_origin ?g . ?g 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
That sport originated in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?g WHERE { resource:Q2736 property:P495 ?g . ?g rdf:type ontology:Q1496967 }
England
That sport originated in England
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 ?g WHERE { resource:association_football property:country_of_origin ?g . ?g rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P38
Q8142
USER
What is accepted as the currency of that territory ?
(Q21,P38,c(Q8142))
action filter_type
action find
entity Q21
relation P38
type Q8142
['Q21', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?b WHERE { resource:Q21 property:P38 ?b . ?b rdf:type ontology:Q8142 }
England
action filter_type
action find
entity England
relation currency
type currency
['England', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?b WHERE { resource:England property:currency ?b . ?b rdf:type ontology:currency }
[]
currency
Q25224
SYSTEM
pound sterling
Q25224
(Q21,P38,c(Q8142))
action filter_type
action find
entity Q21
relation P38
type Q8142
[ANSWER] is accepted as the currency of that territory
['Q21', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?b WHERE { resource:Q21 property:P38 ?b . ?b rdf:type ontology:Q8142 }
pound sterling
Pound sterling is accepted as the currency of that territory
pound sterling
action filter_type
action find
entity England
relation currency
type currency
['England', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?b WHERE { resource:England property:currency ?b . ?b rdf:type ontology:currency }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P38
Q8142 Q2221906
USER
Which currencies are the currencies of greater number of geographic locations than that currency ?
(c(Q2221906),P38,c(Q8142))
action greater
action find_reverse_tuple_counts
relation P38
type Q8142
type Q2221906
action count
action filter_type
action find
entity Q25224
relation P38
type Q8142
[{'concept': 'Q2221906'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?d ) WHERE { ?t rdf:type ontology:Q8142 . ?a rdf:type ontology:Q2221906 . ?a property:P38 ?t } GROUP BY ?t } . FILTER ( ?d > ?y ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q25224 property:P38 ?w . ?w rdf:type ontology:Q8142 } } }
action greater
action find_reverse_tuple_counts
relation currency
type currency
type geographic location
action count
action filter_type
action find
entity pound sterling
relation currency
type currency
[{'concept': 'geographic location'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?d ) WHERE { ?t rdf:type ontology:currency . ?a rdf:type ontology:geographic_location . ?a property:currency ?t } GROUP BY ?t } . FILTER ( ?d > ?y ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:pound_sterling property:currency ?w . ?w rdf:type ontology:currency } } }
[]
currency geographic location
Q4917
SYSTEM
United States dollar
Q4917
(c(Q2221906),P38,c(Q8142))
action greater
action find_reverse_tuple_counts
relation P38
type Q8142
type Q2221906
action count
action filter_type
action find
entity Q25224
relation P38
type Q8142
[ANSWER] is the currencies of greater number of geographic locations than that currency
[{'concept': 'Q2221906'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?d ) WHERE { ?t rdf:type ontology:Q8142 . ?a rdf:type ontology:Q2221906 . ?a property:P38 ?t } GROUP BY ?t } . FILTER ( ?d > ?y ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q25224 property:P38 ?w . ?w rdf:type ontology:Q8142 } } }
United States dollar
United States dollar is the currencies of greater number of geographic locations than that currency
United States dollar
action greater
action find_reverse_tuple_counts
relation currency
type currency
type geographic location
action count
action filter_type
action find
entity pound sterling
relation currency
type currency
[{'concept': 'geographic location'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?d ) WHERE { ?t rdf:type ontology:currency . ?a rdf:type ontology:geographic_location . ?a property:currency ?t } GROUP BY ?t } . FILTER ( ?d > ?y ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:pound_sterling property:currency ?w . ?w rdf:type ontology:currency } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P36
Q56061
USER
Which administrative territory is associated to England as the capital ?
(Q21,P36,c(Q56061))
action filter_type
action find
entity Q21
relation P36
type Q56061
['Q21', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q21 property:P36 ?h . ?h rdf:type ontology:Q56061 }
England
action filter_type
action find
entity England
relation capital
type administrative territorial entity
['England', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:England property:capital ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q21,P36,c(Q56061))
action filter_type
action find
entity Q21
relation P36
type Q56061
[ANSWER] is associated to England as the capital
['Q21', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q21 property:P36 ?h . ?h rdf:type ontology:Q56061 }
London
London is associated to England as the capital
London
action filter_type
action find
entity England
relation capital
type administrative territorial entity
['England', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:England property:capital ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1646683
Q56061
USER
And also tell me about Jizzakh District?
(Q1646683,P36,c(Q56061))
action filter_type
action find
entity Q1646683
relation P36
type Q56061
['Q1646683', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q1646683 property:P36 ?a }
Jizzakh District
action filter_type
action find
entity Jizzakh District
relation capital
type administrative territorial entity
['Jizzakh District', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Jizzakh_District property:capital ?a }
[]
administrative territorial entity
Q13640283
SYSTEM
Uchtepa
Q13640283
(Q1646683,P36,c(Q56061))
action filter_type
action find
entity Q1646683
relation P36
type Q56061
[ANSWER]
['Q1646683', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q1646683 property:P36 ?a }
Uchtepa
Uchtepa
action filter_type
action find
entity Jizzakh District
relation capital
type administrative territorial entity
['Jizzakh District', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Jizzakh_District property:capital ?a }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q13640283 Q30946
P17
Q15617994
USER
Is that administrative territory situated in Kafr el-Sheikh Governorate ?
(Q13640283,P17,Q30946)
action is_in
entity Q30946
action find
entity Q13640283
relation P17
['Q13640283', 'P17', 'Q30946']
ASK WHERE { resource:Q13640283 property:P17 resource:Q30946 }
Uchtepa Kafr el-Sheikh Governorate
action is_in
entity Kafr el-Sheikh Governorate
action find
entity Uchtepa
relation country
['Uchtepa', 'country', 'Kafr el-Sheikh Governorate']
ASK WHERE { resource:Uchtepa property:country resource:Kafr_el-Sheikh_Governorate }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q13640283,P17,Q30946)
action is_in
entity Q30946
action find
entity Q13640283
relation P17
[ANSWER]
['Q13640283', 'P17', 'Q30946']
ASK WHERE { resource:Q13640283 property:P17 resource:Q30946 }
No
action is_in
entity Kafr el-Sheikh Governorate
action find
entity Uchtepa
relation country
['Uchtepa', 'country', 'Kafr el-Sheikh Governorate']
ASK WHERE { resource:Uchtepa property:country resource:Kafr_el-Sheikh_Governorate }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q25224 Q145
P17
Q15617994
USER
Is pound sterling located in United Kingdom ?
(Q25224,P17,Q145)
action is_in
entity Q145
action find
entity Q25224
relation P17
['Q25224', 'P17', 'Q145']
ASK WHERE { resource:Q25224 property:P17 resource:Q145 }
pound sterling United Kingdom
action is_in
entity United Kingdom
action find
entity pound sterling
relation country
['pound sterling', 'country', 'United Kingdom']
ASK WHERE { resource:pound_sterling property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q25224,P17,Q145)
action is_in
entity Q145
action find
entity Q25224
relation P17
[ANSWER]
['Q25224', 'P17', 'Q145']
ASK WHERE { resource:Q25224 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity pound sterling
relation country
['pound sterling', 'country', 'United Kingdom']
ASK WHERE { resource:pound_sterling property:country resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q84 Q60 Q6362848
P190
Q56061
USER
Is London sister town of New York City and Kangpar ?
(Q84,P190,Q60) (Q84,P190,Q6362848)
action is_in
entity Q84
action intersection
action find_reverse
entity Q60
relation P190
action find_reverse
entity Q6362848
relation P190
['Q84', 'P190', 'Q60'] ['Q84', 'P190', 'Q6362848']
ASK WHERE { resource:Q84 property:P190 resource:Q60 . resource:Q84 property:P190 resource:Q6362848 }
London New York City Kangpar
action is_in
entity London
action intersection
action find_reverse
entity New York City
relation sister city
action find_reverse
entity Kangpar
relation sister city
['London', 'sister city', 'New York City'] ['London', 'sister city', 'Kangpar']
ASK WHERE { resource:London property:sister_city resource:New_York_City . resource:London property:sister_city resource:Kangpar }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q84,P190,Q60) (Q84,P190,Q6362848)
action is_in
entity Q84
action intersection
action find_reverse
entity Q60
relation P190
action find_reverse
entity Q6362848
relation P190
[ANSWER]
['Q84', 'P190', 'Q60'] ['Q84', 'P190', 'Q6362848']
ASK WHERE { resource:Q84 property:P190 resource:Q60 . resource:Q84 property:P190 resource:Q6362848 }
YES and NO respectively
action is_in
entity London
action intersection
action find_reverse
entity New York City
relation sister city
action find_reverse
entity Kangpar
relation sister city
['London', 'sister city', 'New York City'] ['London', 'sister city', 'Kangpar']
ASK WHERE { resource:London property:sister_city resource:New_York_City . resource:London property:sister_city resource:Kangpar }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P559
Q56061 Q628179 Q83620
USER
Which administrative territories are the endpoints for max number of trails or thoroughfares ?
(c(Q628179)|c(Q83620),P559,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
[[{'concept': 'Q628179'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?a WHERE { VALUES ( ?r ) { ( ontology:Q628179 ) ( ontology:Q83620 ) } . ?j rdf:type ?r } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?u WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:Q628179 ) ( ontology:Q83620 ) } } GROUP BY ?u } . FILTER ( ?k = ?c ) }
action argmax
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
[[{'concept': 'trail'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?a WHERE { VALUES ( ?r ) { ( ontology:trail ) ( ontology:thoroughfare ) } . ?j rdf:type ?r } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?u WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:trail ) ( ontology:thoroughfare ) } } GROUP BY ?u } . FILTER ( ?k = ?c ) }
[]
administrative territorial entity trail thoroughfare
Q12892 Q172157 Q3001
SYSTEM
Antwerp, Winchester, Paramaribo
Q172157 Q3001 Q1318695 Q12892
(c(Q628179)|c(Q83620),P559,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
[ANSWERS] are the endpoints for max number of trails or thoroughfares
[[{'concept': 'Q628179'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?a WHERE { VALUES ( ?r ) { ( ontology:Q628179 ) ( ontology:Q83620 ) } . ?j rdf:type ?r } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?u WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:Q628179 ) ( ontology:Q83620 ) } } GROUP BY ?u } . FILTER ( ?k = ?c ) }
Winchester Paramaribo Apoera Antwerp
Antwerp, Winchester and Paramaribo are the endpoints for max number of trails or thoroughfares
Antwerp Winchester Paramaribo
action argmax
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
[[{'concept': 'trail'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?a WHERE { VALUES ( ?r ) { ( ontology:trail ) ( ontology:thoroughfare ) } . ?j rdf:type ?r } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?u WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:trail ) ( ontology:thoroughfare ) } } GROUP BY ?u } . FILTER ( ?k = ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q12892
P190
Q515
USER
How many cities are twin towns of Antwerp ?
(Q12892,P190,c(Q515))
action count
action filter_type
action find
entity Q12892
relation P190
type Q515
['Q12892', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Q12892 property:P190 ?r . ?r rdf:type ontology:Q515 }
Antwerp
action count
action filter_type
action find
entity Antwerp
relation sister city
type city
['Antwerp', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Antwerp property:sister_city ?r . ?r rdf:type ontology:city }
[]
city
SYSTEM
2
Q23482 Q2910
(Q12892,P190,c(Q515))
action count
action filter_type
action find
entity Q12892
relation P190
type Q515
[ANSWER]
['Q12892', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Q12892 property:P190 ?r . ?r rdf:type ontology:Q515 }
Marseille Ludwigshafen
2
action count
action filter_type
action find
entity Antwerp
relation sister city
type city
['Antwerp', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Antwerp property:sister_city ?r . ?r rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1489
Q515
USER
And how about Mexico City?
(Q1489,P190,c(Q515))
action count
action filter_type
action find
entity Q1489
relation P190
type Q515
['Q1489', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:Q1489 property:P190 ?d . ?d rdf:type ontology:Q515 }
Mexico City
action count
action filter_type
action find
entity Mexico City
relation sister city
type city
['Mexico City', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:Mexico_City property:sister_city ?d . ?d rdf:type ontology:city }
[]
city
SYSTEM
9
(Q1489,P190,c(Q515))
action count
action filter_type
action find
entity Q1489
relation P190
type Q515
[ANSWER]
['Q1489', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:Q1489 property:P190 ?d . ?d rdf:type ontology:Q515 }
9
action count
action filter_type
action find
entity Mexico City
relation sister city
type city
['Mexico City', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:Mexico_City property:sister_city ?d . ?d rdf:type ontology:city }
[]