Simple Question (Direct)
Simple Question
Q5186234
P21
Q290
USER
Which sex does Cristian Neagu possess ?
(Q5186234,P21,c(Q290))
action filter_type
action find
entity Q5186234
relation P21
type Q290
['Q5186234', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q5186234 property:P21 ?e . ?e rdf:type ontology:Q290 }
Cristian Neagu
action filter_type
action find
entity Cristian Neagu
relation gender
type sex
['Cristian Neagu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Cristian_Neagu property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5186234,P21,c(Q290))
action filter_type
action find
entity Q5186234
relation P21
type Q290
Cristian Neagu possesses a [ANSWER]
['Q5186234', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q5186234 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
Cristian Neagu possesses a male
male
action filter_type
action find
entity Cristian Neagu
relation gender
type sex
['Cristian Neagu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Cristian_Neagu property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5186234
P641
Q349
USER
What did Cristian Neagu participate in ?
(Q5186234,P641,c(Q349))
action filter_type
action find
entity Q5186234
relation P641
type Q349
['Q5186234', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q5186234 property:P641 ?a . ?a rdf:type ontology:Q349 }
Cristian Neagu
action filter_type
action find
entity Cristian Neagu
relation sport
type sport
['Cristian Neagu', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Cristian_Neagu property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5186234,P641,c(Q349))
action filter_type
action find
entity Q5186234
relation P641
type Q349
Cristian Neagu participated in [ANSWER]
['Q5186234', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q5186234 property:P641 ?a . ?a rdf:type ontology:Q349 }
association football
Cristian Neagu participated in association football
association football
action filter_type
action find
entity Cristian Neagu
relation sport
type sport
['Cristian Neagu', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Cristian_Neagu property:sport ?a . ?a rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5186234
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q5186234
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q5186234 property:P106 ?d }
Cristian Neagu
action filter_type
action find
entity Cristian Neagu
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Cristian_Neagu property:occupation ?d }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q5186234
relation P106
type Q12737077
Player [ANSWERS] have that person as his/her 's career
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q5186234 property:P106 ?d }
association football manager association football player
Player association football manager and association football player have that person as his/her 's career
association football manager association football player
action filter_type
action find
entity Cristian Neagu
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Cristian_Neagu property:occupation ?d }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q18692861 Q937857
P425 P641
Q349
USER
Which sports have association football player as the associated fields of occupation and did Daryl Werker participate in ?
AND((Q937857,P425,c(Q349)), (Q18692861,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q18692861
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q18692861', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?x WHERE { resource:Q937857 property:P425 ?x . resource:Q18692861 property:P641 ?x . ?x rdf:type ontology:Q349 }
Daryl Werker association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Daryl Werker
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Daryl Werker', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?x WHERE { resource:association_football_player property:field_of_this_occupation ?x . resource:Daryl_Werker property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q18692861,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q18692861
relation P641
type Q349
Team [ANSWER] have [ANSWER] player as the associated fields of occupation and did Daryl Werker participate in
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q18692861', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?x WHERE { resource:Q937857 property:P425 ?x . resource:Q18692861 property:P641 ?x . ?x rdf:type ontology:Q349 }
association football
Team association football have association football player as the associated fields of occupation and did Daryl Werker participate in
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Daryl Werker
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Daryl Werker', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?x WHERE { resource:association_football_player property:field_of_this_occupation ?x . resource:Daryl_Werker property:sport ?x . ?x rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q183018
P366
Q349 Q1076486 Q41176
USER
How many sports are considered to be the main utilization of less number of sports venues or buildings than bandy ?
(c(Q1076486)|c(Q41176),P366,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q183018
relation P366
type Q1076486
type Q41176
[[{'concept': 'Q1076486'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P366 resource:Q183018 . { { ?h rdf:type ontology:Q1076486 } UNION { ?h rdf:type ontology:Q41176 } } } } . FILTER ( ?e < ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) ?t WHERE { { ?y property:P366 ?t . ?t rdf:type ontology:Q349 . ?y rdf:type ontology:Q1076486 } UNION { ?t rdf:type ontology:Q349 . ?y rdf:type ontology:Q41176 . ?y property:P366 ?t } } GROUP BY ?t } }
bandy
action count
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type building
action count
action filter_multi_types
action find_reverse
entity bandy
relation use
type sports venue
type building
[[{'concept': 'sports venue'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:use resource:bandy . { { ?h rdf:type ontology:sports_venue } UNION { ?h rdf:type ontology:building } } } } . FILTER ( ?e < ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) ?t WHERE { { ?y property:use ?t . ?t rdf:type ontology:sport . ?y rdf:type ontology:sports_venue } UNION { ?t rdf:type ontology:sport . ?y rdf:type ontology:building . ?y property:use ?t } } GROUP BY ?t } }
[]
sport sports venue building
SYSTEM
20
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q36908 Q500050 Q1875777 Q108429 Q624161 Q1345388 Q177275 Q206763 Q61065 Q847 Q22857 Q1194269 Q41323 Q7291
(c(Q1076486)|c(Q41176),P366,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q183018
relation P366
type Q1076486
type Q41176
[ANSWER]
[[{'concept': 'Q1076486'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P366 resource:Q183018 . { { ?h rdf:type ontology:Q1076486 } UNION { ?h rdf:type ontology:Q41176 } } } } . FILTER ( ?e < ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) ?t WHERE { { ?y property:P366 ?t . ?t rdf:type ontology:Q349 . ?y rdf:type ontology:Q1076486 } UNION { ?t rdf:type ontology:Q349 . ?y rdf:type ontology:Q41176 . ?y property:P366 ?t } } GROUP BY ?t } }
rallying basketball handball volleyball shooting sport skating mountaineering cross country running air racing archery gliding greyhound racing bobsleigh floorball water sport tennis climbing harness racing American football badminton
20
action count
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type building
action count
action filter_multi_types
action find_reverse
entity bandy
relation use
type sports venue
type building
[[{'concept': 'sports venue'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:use resource:bandy . { { ?h rdf:type ontology:sports_venue } UNION { ?h rdf:type ontology:building } } } } . FILTER ( ?e < ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) ?t WHERE { { ?y property:use ?t . ?t rdf:type ontology:sport . ?y rdf:type ontology:sports_venue } UNION { ?t rdf:type ontology:sport . ?y rdf:type ontology:building . ?y property:use ?t } } GROUP BY ?t } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183018
P495
Q1496967
USER
Where did that sport originate ?
action filter_type
action find
entity Q183018
relation P495
type Q1496967
SELECT DISTINCT ?y WHERE { resource:Q183018 property:P495 ?y . ?y rdf:type ontology:Q1496967 }
bandy
action filter_type
action find
entity bandy
relation country of origin
type territorial entity
SELECT DISTINCT ?y WHERE { resource:bandy property:country_of_origin ?y . ?y rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
action filter_type
action find
entity Q183018
relation P495
type Q1496967
That sport originated in [ANSWER]
SELECT DISTINCT ?y WHERE { resource:Q183018 property:P495 ?y . ?y rdf:type ontology:Q1496967 }
England
That sport originated in England
England
action filter_type
action find
entity bandy
relation country of origin
type territorial entity
SELECT DISTINCT ?y WHERE { resource:bandy property:country_of_origin ?y . ?y rdf:type ontology:territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q21 Q145 Q4811788
P17
Q15617994
USER
Is that territory present in United Kingdom and Astwell ?
(Q21,P17,Q145) (Q21,P17,Q4811788)
action is_in
entity Q21
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q4811788
relation P17
['Q21', 'P17', 'Q145'] ['Q21', 'P17', 'Q4811788']
ASK WHERE { resource:Q21 property:P17 resource:Q145 . resource:Q21 property:P17 resource:Q4811788 }
England United Kingdom Astwell
action is_in
entity England
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Astwell
relation country
['England', 'country', 'United Kingdom'] ['England', 'country', 'Astwell']
ASK WHERE { resource:England property:country resource:United_Kingdom . resource:England property:country resource:Astwell }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q21,P17,Q145) (Q21,P17,Q4811788)
action is_in
entity Q21
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q4811788
relation P17
[ANSWER]
['Q21', 'P17', 'Q145'] ['Q21', 'P17', 'Q4811788']
ASK WHERE { resource:Q21 property:P17 resource:Q145 . resource:Q21 property:P17 resource:Q4811788 }
YES and NO respectively
action is_in
entity England
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Astwell
relation country
['England', 'country', 'United Kingdom'] ['England', 'country', 'Astwell']
ASK WHERE { resource:England property:country resource:United_Kingdom . resource:England property:country resource:Astwell }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P840
Q11424
USER
Which films have their narrative set in that territory ?
action filter_type
action find_reverse
entity Q21
relation P840
type Q11424
SELECT DISTINCT ?m WHERE { ?m property:P840 resource:Q21 . ?m rdf:type ontology:Q11424 }
England
action filter_type
action find_reverse
entity England
relation narrative location
type film
SELECT DISTINCT ?m WHERE { ?m property:narrative_location resource:England . ?m rdf:type ontology:film }
[]
film
Q19090 Q215617 Q204662
SYSTEM
Robin Hood, Sleeping Beauty, The Sword in the Stone
Q156401 Q19090 Q1210797 Q215617 Q318428 Q1764174 Q204662
action filter_type
action find_reverse
entity Q21
relation P840
type Q11424
[ANSWERS] have their narrative set in that territory
SELECT DISTINCT ?m WHERE { ?m property:P840 resource:Q21 . ?m rdf:type ontology:Q11424 }
Chicken Run Robin Hood The Wild Thornberrys Movie Sleeping Beauty Wallace & Gromit: The Curse of the Were-Rabbit Quest for Camelot The Sword in the Stone
Robin Hood, Sleeping Beauty and The Sword in the Stone have their narrative set in that territory
Robin Hood Sleeping Beauty The Sword in the Stone
action filter_type
action find_reverse
entity England
relation narrative location
type film
SELECT DISTINCT ?m WHERE { ?m property:narrative_location resource:England . ?m rdf:type ontology:film }
[]