Simple Question (Direct)
Simple Question
Q10465445
P106
Q12737077
USER
What is the job of John Hawksby ?
(Q10465445,P106,c(Q12737077))
action filter_type
action find
entity Q10465445
relation P106
type Q12737077
['Q10465445', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q10465445 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
John Hawksby
action filter_type
action find
entity John Hawksby
relation occupation
type occupation
['John Hawksby', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:John_Hawksby property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q10465445,P106,c(Q12737077))
action filter_type
action find
entity Q10465445
relation P106
type Q12737077
The job of John Hawksby is an [ANSWER]
['Q10465445', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q10465445 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
association football player
The job of John Hawksby is an association football player
association football player
action filter_type
action find
entity John Hawksby
relation occupation
type occupation
['John Hawksby', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:John_Hawksby property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10465445
P27
Q15617994
USER
Which administrative territory is John Hawksby an inhabitant of ?
(Q10465445,P27,c(Q15617994))
action filter_type
action find
entity Q10465445
relation P27
type Q15617994
['Q10465445', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q10465445 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
John Hawksby
action filter_type
action find
entity John Hawksby
relation country of citizenship
type designation for an administrative territorial entity
['John Hawksby', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:John_Hawksby property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q10465445,P27,c(Q15617994))
action filter_type
action find
entity Q10465445
relation P27
type Q15617994
The [ANSWER] is John Hawksby an inhabitant of
['Q10465445', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q10465445 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is John Hawksby an inhabitant of
United Kingdom
action filter_type
action find
entity John Hawksby
relation country of citizenship
type designation for an administrative territorial entity
['John Hawksby', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:John_Hawksby property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10465445
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q145,P19,c(Q56061))
action filter_type
action find
entity Q10465445
relation P19
type Q56061
['Q145', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q10465445 property:P19 ?g . ?g rdf:type ontology:Q56061 }
John Hawksby
action filter_type
action find
entity John Hawksby
relation place of birth
type administrative territorial entity
['United Kingdom', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:John_Hawksby property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q42462
SYSTEM
York
Q42462
(Q145,P19,c(Q56061))
action filter_type
action find
entity Q10465445
relation P19
type Q56061
That person was born New [ANSWER]
['Q145', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q10465445 property:P19 ?g . ?g rdf:type ontology:Q56061 }
York
That person was born New York
York
action filter_type
action find
entity John Hawksby
relation place of birth
type administrative territorial entity
['United Kingdom', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:John_Hawksby property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10465445
P641
Q349
USER
Which sport was that person a part of ?
(Q42462,P641,c(Q349))
action filter_type
action find
entity Q10465445
relation P641
type Q349
['Q42462', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q10465445 property:P641 ?m . ?m rdf:type ontology:Q349 }
John Hawksby
action filter_type
action find
entity John Hawksby
relation sport
type sport
['York', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:John_Hawksby property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q42462,P641,c(Q349))
action filter_type
action find
entity Q10465445
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q42462', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q10465445 property:P641 ?m . ?m rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity John Hawksby
relation sport
type sport
['York', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:John_Hawksby property:sport ?m . ?m rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10465445
P21
Q290
USER
Which sex does that person have ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q10465445
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q10465445 property:P21 ?r }
John Hawksby
action filter_type
action find
entity John Hawksby
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:John_Hawksby property:gender ?r }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q10465445
relation P21
type Q290
That person has a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q10465445 property:P21 ?r }
male
That person has a male
male
action filter_type
action find
entity John Hawksby
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:John_Hawksby property:gender ?r }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q11748674
P21
Q502895
USER
Does Krystyna Dmochowska have the gender as that sex ?
(Q11748674,P21,Q6581097)
action is_in
entity Q11748674
action find
entity Q6581097
relation P21
['Q11748674', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q11748674 }
male Krystyna Dmochowska
action is_in
entity Krystyna Dmochowska
action find
entity male
relation gender
['Krystyna Dmochowska', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Krystyna_Dmochowska }
[]
common name
SYSTEM
NO
(Q11748674,P21,Q6581097)
action is_in
entity Q11748674
action find
entity Q6581097
relation P21
[ANSWER]
['Q11748674', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q11748674 }
No
action is_in
entity Krystyna Dmochowska
action find
entity male
relation gender
['Krystyna Dmochowska', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Krystyna_Dmochowska }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q61065
P366
Q349 Q1076486 Q3084961
USER
How many sports are considered to be the main utilization of approximately the same number of sports venues or product linings as water sport ?
(c(Q1076486)|c(Q3084961),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action count
action filter_multi_types
action find_reverse
entity Q61065
relation P366
type Q1076486
type Q3084961
[[{'concept': 'Q1076486'}, {'concept': 'Q3084961'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?a ) WHERE { { ?v property:P366 ?y . ?y rdf:type ontology:Q349 . ?v rdf:type ontology:Q1076486 } UNION { ?v property:P366 ?y . ?v rdf:type ontology:Q3084961 . ?y rdf:type ontology:Q349 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { ?j property:P366 resource:Q61065 . { { ?j rdf:type ontology:Q1076486 } UNION { ?j rdf:type ontology:Q3084961 } } } } . FILTER ( ?a = ?s ) }
water sport
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type product lining
action count
action filter_multi_types
action find_reverse
entity water sport
relation use
type sports venue
type product lining
[[{'concept': 'sports venue'}, {'concept': 'product lining'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?a ) WHERE { { ?v property:use ?y . ?y rdf:type ontology:sport . ?v rdf:type ontology:sports_venue } UNION { ?v property:use ?y . ?v rdf:type ontology:product_lining . ?y rdf:type ontology:sport } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { ?j property:use resource:water_sport . { { ?j rdf:type ontology:sports_venue } UNION { ?j rdf:type ontology:product_lining } } } } . FILTER ( ?a = ?s ) }
[]
sport sports venue product lining
SYSTEM
22
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q1875777 Q108429 Q624161 Q1345388 Q177275 Q206763 Q61065 Q847 Q41466 Q22857 Q1194269 Q41323 Q7291
(c(Q1076486)|c(Q3084961),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action count
action filter_multi_types
action find_reverse
entity Q61065
relation P366
type Q1076486
type Q3084961
[ANSWER]
[[{'concept': 'Q1076486'}, {'concept': 'Q3084961'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?a ) WHERE { { ?v property:P366 ?y . ?y rdf:type ontology:Q349 . ?v rdf:type ontology:Q1076486 } UNION { ?v property:P366 ?y . ?v rdf:type ontology:Q3084961 . ?y rdf:type ontology:Q349 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { ?j property:P366 resource:Q61065 . { { ?j rdf:type ontology:Q1076486 } UNION { ?j rdf:type ontology:Q3084961 } } } } . FILTER ( ?a = ?s ) }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running air racing archery gliding greyhound racing bobsleigh floorball water sport tennis ice hockey climbing harness racing American football badminton
22
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type product lining
action count
action filter_multi_types
action find_reverse
entity water sport
relation use
type sports venue
type product lining
[[{'concept': 'sports venue'}, {'concept': 'product lining'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?a ) WHERE { { ?v property:use ?y . ?y rdf:type ontology:sport . ?v rdf:type ontology:sports_venue } UNION { ?v property:use ?y . ?v rdf:type ontology:product_lining . ?y rdf:type ontology:sport } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { ?j property:use resource:water_sport . { { ?j rdf:type ontology:sports_venue } UNION { ?j rdf:type ontology:product_lining } } } } . FILTER ( ?a = ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q206763
P366
Q349 Q1076486 Q3084961
USER
And how about floorball?
(c(Q1076486)|c(Q3084961),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action count
action filter_multi_types
action find_reverse
entity Q206763
relation P366
type Q1076486
type Q3084961
[[{'concept': 'Q1076486'}, {'concept': 'Q3084961'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?h WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1076486 ) ( ontology:Q3084961 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:P366 resource:Q206763 . { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:Q1076486 ) ( ontology:Q3084961 ) } } } } . FILTER ( ?l = ?z ) }
floorball
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type product lining
action count
action filter_multi_types
action find_reverse
entity floorball
relation use
type sports venue
type product lining
[[{'concept': 'sports venue'}, {'concept': 'product lining'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?h WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:sports_venue ) ( ontology:product_lining ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:use resource:floorball . { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:sports_venue ) ( ontology:product_lining ) } } } } . FILTER ( ?l = ?z ) }
[]
sport sports venue product lining
SYSTEM
22
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q1875777 Q108429 Q624161 Q1345388 Q177275 Q206763 Q61065 Q847 Q41466 Q22857 Q1194269 Q41323 Q7291
(c(Q1076486)|c(Q3084961),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action count
action filter_multi_types
action find_reverse
entity Q206763
relation P366
type Q1076486
type Q3084961
[ANSWER]
[[{'concept': 'Q1076486'}, {'concept': 'Q3084961'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?h WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1076486 ) ( ontology:Q3084961 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:P366 resource:Q206763 . { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:Q1076486 ) ( ontology:Q3084961 ) } } } } . FILTER ( ?l = ?z ) }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running air racing archery gliding greyhound racing bobsleigh floorball water sport tennis ice hockey climbing harness racing American football badminton
22
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type product lining
action count
action filter_multi_types
action find_reverse
entity floorball
relation use
type sports venue
type product lining
[[{'concept': 'sports venue'}, {'concept': 'product lining'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?h WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:sports_venue ) ( ontology:product_lining ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:use resource:floorball . { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:sports_venue ) ( ontology:product_lining ) } } } } . FILTER ( ?l = ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42462
P276
Q500834
USER
What are located at York ?
(c(Q500834),P276,Q42462)
action filter_type
action find_reverse
entity Q42462
relation P276
type Q500834
[{'concept': 'Q500834'}, 'P276', 'Q42462']
SELECT DISTINCT ?u WHERE { ?u property:P276 resource:Q42462 . ?u rdf:type ontology:Q500834 }
York
action filter_type
action find_reverse
entity York
relation location
type tournament
[{'concept': 'tournament'}, 'location', 'York']
SELECT DISTINCT ?u WHERE { ?u property:location resource:York . ?u rdf:type ontology:tournament }
[]
tournament
Q4509021 Q2558488 Q1628519
SYSTEM
2001 UK Championship, 2005 UK Championship, 2011 UK Championship
Q27680502 Q4509021 Q2558488 Q1628519 Q2665777 Q1089588 Q15141773 Q2558494 Q18430630 Q1088360 Q21482176 Q334991
(c(Q500834),P276,Q42462)
action filter_type
action find_reverse
entity Q42462
relation P276
type Q500834
[ANSWERS] are located at York
[{'concept': 'Q500834'}, 'P276', 'Q42462']
SELECT DISTINCT ?u WHERE { ?u property:P276 resource:Q42462 . ?u rdf:type ontology:Q500834 }
2016 UK Championship 2001 UK Championship 2005 UK Championship 2011 UK Championship 2006 UK Championship 2002 UK Championship 2013 UK Championship (snooker) 2004 UK Championship 2014 UK Championship 2003 UK Championship 2015 UK Championship 2012 UK Championship
2001 UK Championship, 2005 UK Championship and 2011 UK Championship are located at York
2001 UK Championship 2005 UK Championship 2011 UK Championship
action filter_type
action find_reverse
entity York
relation location
type tournament
[{'concept': 'tournament'}, 'location', 'York']
SELECT DISTINCT ?u WHERE { ?u property:location resource:York . ?u rdf:type ontology:tournament }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4509021 Q2558488 Q1628519
P276
Q56061
USER
Where can 2001 UK Championship, 2005 UK Championship and 2011 UK Championship be found ?
(Q4509021,P276,c(Q56061)) (Q2558488,P276,c(Q56061)) (Q1628519,P276,c(Q56061))
action union
action filter_type
action find
entity Q4509021
relation P276
type Q56061
action filter_type
action find
entity Q2558488
relation P276
type Q56061
action filter_type
action find
entity Q1628519
relation P276
type Q56061
['Q4509021', 'P276', {'concept': 'Q56061'}] ['Q2558488', 'P276', {'concept': 'Q56061'}] ['Q1628519', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?e property:P276 ?h . VALUES ( ?e ) { ( resource:Q2558488 ) ( resource:Q4509021 ) } }
2001 UK Championship 2005 UK Championship 2011 UK Championship
action union
action filter_type
action find
entity 2001 UK Championship
relation location
type administrative territorial entity
action filter_type
action find
entity 2005 UK Championship
relation location
type administrative territorial entity
action filter_type
action find
entity 2011 UK Championship
relation location
type administrative territorial entity
['2001 UK Championship', 'location', {'concept': 'administrative territorial entity'}] ['2005 UK Championship', 'location', {'concept': 'administrative territorial entity'}] ['2011 UK Championship', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?e property:location ?h . VALUES ( ?e ) { ( resource:2005_UK_Championship ) ( resource:2001_UK_Championship ) } }
[]
administrative territorial entity
Q42462 Q42462 Q42462
SYSTEM
York
Q42462 Q42462 Q42462
(Q4509021,P276,c(Q56061)) (Q2558488,P276,c(Q56061)) (Q1628519,P276,c(Q56061))
action union
action filter_type
action find
entity Q4509021
relation P276
type Q56061
action filter_type
action find
entity Q2558488
relation P276
type Q56061
action filter_type
action find
entity Q1628519
relation P276
type Q56061
2001 UK Championship , 2005 UK Championship and 2011 UK Championship can be found in [ANSWER], [ANSWER] and [ANSWER]
['Q4509021', 'P276', {'concept': 'Q56061'}] ['Q2558488', 'P276', {'concept': 'Q56061'}] ['Q1628519', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?e property:P276 ?h . VALUES ( ?e ) { ( resource:Q2558488 ) ( resource:Q4509021 ) } }
York York York
2001 UK Championship , 2005 UK Championship and 2011 UK Championship can be found in York, York and York
York York York
action union
action filter_type
action find
entity 2001 UK Championship
relation location
type administrative territorial entity
action filter_type
action find
entity 2005 UK Championship
relation location
type administrative territorial entity
action filter_type
action find
entity 2011 UK Championship
relation location
type administrative territorial entity
['2001 UK Championship', 'location', {'concept': 'administrative territorial entity'}] ['2005 UK Championship', 'location', {'concept': 'administrative territorial entity'}] ['2011 UK Championship', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?e property:location ?h . VALUES ( ?e ) { ( resource:2005_UK_Championship ) ( resource:2001_UK_Championship ) } }
[]