Simple Question (Direct)
Simple Question
Q1312687
P20
Q56061
USER
Which administrative territory is the place of death of John Nicholson ?
(Q1312687,P20,c(Q56061))
action filter_type
action find
entity Q1312687
relation P20
type Q56061
['Q1312687', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1312687 property:P20 ?p . ?p rdf:type ontology:Q56061 }
John Nicholson
action filter_type
action find
entity John Nicholson
relation place of death
type administrative territorial entity
['John Nicholson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:John_Nicholson property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q58900
SYSTEM
Doncaster
Q58900
(Q1312687,P20,c(Q56061))
action filter_type
action find
entity Q1312687
relation P20
type Q56061
The [ANSWER] is the place of death of John Nicholson
['Q1312687', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1312687 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Doncaster
The Doncaster is the place of death of John Nicholson
Doncaster
action filter_type
action find
entity John Nicholson
relation place of death
type administrative territorial entity
['John Nicholson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:John_Nicholson property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1312687
P641
Q349
USER
Which sport was that person a part of ?
(Q58900,P641,c(Q349))
action filter_type
action find
entity Q1312687
relation P641
type Q349
['Q58900', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q1312687 property:P641 ?u . ?u rdf:type ontology:Q349 }
John Nicholson
action filter_type
action find
entity John Nicholson
relation sport
type sport
['Doncaster', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:John_Nicholson property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q58900,P641,c(Q349))
action filter_type
action find
entity Q1312687
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q58900', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q1312687 property:P641 ?u . ?u rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity John Nicholson
relation sport
type sport
['Doncaster', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:John_Nicholson property:sport ?u . ?u rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q349 Q2342494 Q43229
USER
How many sports do around the same number of collectables and organizations belong to as that sport ?
(c(Q2342494)|c(Q43229),P101,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q2342494
type Q43229
[[{'concept': 'Q2342494'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?g ) WHERE { { ?e property:P101 ?q . ?q rdf:type ontology:Q349 . ?e rdf:type ontology:Q43229 } UNION { ?e property:P101 ?q . ?q rdf:type ontology:Q349 . ?e rdf:type ontology:Q2342494 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a property:P101 resource:Q2736 . { { ?a rdf:type ontology:Q2342494 } UNION { ?a rdf:type ontology:Q43229 } } } } . FILTER ( ?g = ?h ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type collectable
type organization
[[{'concept': 'collectable'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?g ) WHERE { { ?e property:field_of_work ?q . ?q rdf:type ontology:sport . ?e rdf:type ontology:organization } UNION { ?e property:field_of_work ?q . ?q rdf:type ontology:sport . ?e rdf:type ontology:collectable } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a property:field_of_work resource:association_football . { { ?a rdf:type ontology:collectable } UNION { ?a rdf:type ontology:organization } } } } . FILTER ( ?g = ?h ) }
[]
sport collectable organization
SYSTEM
39
Q10962 Q136851 Q43450 Q4543 Q170737 Q5375 Q22857 Q14300548 Q1734 Q31920 Q12100 Q8418 Q15991265 Q2215841 Q500050 Q108429 Q592031 Q7707 Q809831 Q847 Q3177899 Q2736 Q177275 Q42486 Q5372 Q2167372 Q130949 Q1497658 Q178678 Q41466 Q328716 Q131359 Q201965 Q2922870 Q204686 Q11420 Q124100 Q1541373 Q41323
(c(Q2342494)|c(Q43229),P101,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q2342494
type Q43229
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?g ) WHERE { { ?e property:P101 ?q . ?q rdf:type ontology:Q349 . ?e rdf:type ontology:Q43229 } UNION { ?e property:P101 ?q . ?q rdf:type ontology:Q349 . ?e rdf:type ontology:Q2342494 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a property:P101 resource:Q2736 . { { ?a rdf:type ontology:Q2342494 } UNION { ?a rdf:type ontology:Q43229 } } } } . FILTER ( ?g = ?h ) }
rugby league curling gymnastics beach volleyball long jump cricket climbing skating volleyball swimming fencing handball amateur football cycle sport cross country running archery wingsuit flying water polo BASE jumping tennis bowling association football bobsleigh wrestling basketball fell running skiing memory sport kick boxing ice hockey motorcycle sport professional wrestling Nordic combined boxe winter sport judo bodybuilding sport climbing American football
39
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type collectable
type organization
[[{'concept': 'collectable'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?g ) WHERE { { ?e property:field_of_work ?q . ?q rdf:type ontology:sport . ?e rdf:type ontology:organization } UNION { ?e property:field_of_work ?q . ?q rdf:type ontology:sport . ?e rdf:type ontology:collectable } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a property:field_of_work resource:association_football . { { ?a rdf:type ontology:collectable } UNION { ?a rdf:type ontology:organization } } } } . FILTER ( ?g = ?h ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20016343 Q1312687
P27
Q15617994
USER
Which administrative territories do John Nicholson or Enrique Maffei belong to ?
OR((Q1312687,P27,c(Q15617994)), (Q20016343,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1312687
relation P27
action find
entity Q20016343
relation P27
type Q15617994
{'OR': [['Q1312687', 'P27', {'concept': 'Q15617994'}], ['Q20016343', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q1312687 property:P27 ?r } UNION { resource:Q20016343 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Enrique Maffei John Nicholson
action filter_type
action union
action find
entity John Nicholson
relation country of citizenship
action find
entity Enrique Maffei
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Nicholson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Enrique Maffei', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:John_Nicholson property:country_of_citizenship ?r } UNION { resource:Enrique_Maffei property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414 Q145
SYSTEM
Argentina, United Kingdom
Q414 Q145
OR((Q1312687,P27,c(Q15617994)), (Q20016343,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1312687
relation P27
action find
entity Q20016343
relation P27
type Q15617994
John Nicholson or Enrique Maffei belong to the [ANSWERS]
{'OR': [['Q1312687', 'P27', {'concept': 'Q15617994'}], ['Q20016343', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q1312687 property:P27 ?r } UNION { resource:Q20016343 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Argentina United Kingdom
John Nicholson or Enrique Maffei belong to the Argentina and United Kingdom
Argentina United Kingdom
action filter_type
action union
action find
entity John Nicholson
relation country of citizenship
action find
entity Enrique Maffei
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Nicholson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Enrique Maffei', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:John_Nicholson property:country_of_citizenship ?r } UNION { resource:Enrique_Maffei property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q8059775
P17
Q486972
USER
Are Ysgol yr Hendre located in those administrative territories ?
(Q8059775,P17,Q414) (Q8059775,P17,Q145)
action is_in
entity prev_answer
action find
entity Q8059775
relation P17
['Q8059775', 'P17', 'Q414'] ['Q8059775', 'P17', 'Q145']
ASK WHERE { VALUES ( ?k ) { ( resource:Q414 ) ( resource:Q145 ) } . resource:Q8059775 property:P17 ?k }
Ysgol yr Hendre
action is_in
entity prev_answer
action find
entity Ysgol yr Hendre
relation country
['Ysgol yr Hendre', 'country', 'Argentina'] ['Ysgol yr Hendre', 'country', 'United Kingdom']
ASK WHERE { VALUES ( ?k ) { ( resource:Argentina ) ( resource:United_Kingdom ) } . resource:Ysgol_yr_Hendre property:country ?k }
[]
human settlement
SYSTEM
YES
(Q8059775,P17,Q414) (Q8059775,P17,Q145)
action is_in
entity prev_answer
action find
entity Q8059775
relation P17
[ANSWER]
['Q8059775', 'P17', 'Q414'] ['Q8059775', 'P17', 'Q145']
ASK WHERE { VALUES ( ?k ) { ( resource:Q414 ) ( resource:Q145 ) } . resource:Q8059775 property:P17 ?k }
Yes
action is_in
entity prev_answer
action find
entity Ysgol yr Hendre
relation country
['Ysgol yr Hendre', 'country', 'Argentina'] ['Ysgol yr Hendre', 'country', 'United Kingdom']
ASK WHERE { VALUES ( ?k ) { ( resource:Argentina ) ( resource:United_Kingdom ) } . resource:Ysgol_yr_Hendre property:country ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P1346
Q350604
USER
Where was United Kingdom decalred as a champion ?
(c(Q350604),P1346,Q145)
action filter_type
action find_reverse
entity Q145
relation P1346
type Q350604
[{'concept': 'Q350604'}, 'P1346', 'Q145']
SELECT DISTINCT ?u WHERE { ?u property:P1346 resource:Q145 . ?u rdf:type ontology:Q350604 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation winner
type armed conflict
[{'concept': 'armed conflict'}, 'winner', 'United Kingdom']
SELECT DISTINCT ?u WHERE { ?u property:winner resource:United_Kingdom . ?u rdf:type ontology:armed_conflict }
[]
armed conflict
Q33143
SYSTEM
Seven Years' War
Q33143
(c(Q350604),P1346,Q145)
action filter_type
action find_reverse
entity Q145
relation P1346
type Q350604
United Kingdom was decalred in [ANSWER] as a champion
[{'concept': 'Q350604'}, 'P1346', 'Q145']
SELECT DISTINCT ?u WHERE { ?u property:P1346 resource:Q145 . ?u rdf:type ontology:Q350604 }
Seven Years' War
United Kingdom was decalred in Seven Years' War as a champion
Seven Years' War
action filter_type
action find_reverse
entity United Kingdom
relation winner
type armed conflict
[{'concept': 'armed conflict'}, 'winner', 'United Kingdom']
SELECT DISTINCT ?u WHERE { ?u property:winner resource:United_Kingdom . ?u rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P127
Q838948
USER
Which work of art is under posessision of that administrative territory ?
(c(Q838948),P127,Q33143)
action filter_type
action find_reverse
entity Q145
relation P127
type Q838948
[{'concept': 'Q838948'}, 'P127', 'Q33143']
SELECT DISTINCT ?s WHERE { ?s property:P127 resource:Q145 . ?s rdf:type ontology:Q838948 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation owned by
type work of art
[{'concept': 'work of art'}, 'owned by', "Seven Years' War"]
SELECT DISTINCT ?s WHERE { ?s property:owned_by resource:United_Kingdom . ?s rdf:type ontology:work_of_art }
[]
work of art
Q1439502
SYSTEM
Napoleon as Mars the Peacemaker
Q1439502
(c(Q838948),P127,Q33143)
action filter_type
action find_reverse
entity Q145
relation P127
type Q838948
[ANSWER] is under posessision of that administrative territory
[{'concept': 'Q838948'}, 'P127', 'Q33143']
SELECT DISTINCT ?s WHERE { ?s property:P127 resource:Q145 . ?s rdf:type ontology:Q838948 }
Napoleon as Mars the Peacemaker
Napoleon as Mars the Peacemaker is under posessision of that administrative territory
Napoleon as Mars the Peacemaker
action filter_type
action find_reverse
entity United Kingdom
relation owned by
type work of art
[{'concept': 'work of art'}, 'owned by', "Seven Years' War"]
SELECT DISTINCT ?s WHERE { ?s property:owned_by resource:United_Kingdom . ?s rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q408 Q1312687
P530 P27
Q15617994
USER
Which administrative territories are the countries of citizenship of John Nicholson and holds diplomatic relationship with Australia ?
AND((Q1312687,P27,c(Q15617994)), (Q408,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1312687
relation P27
action find
entity Q408
relation P530
type Q15617994
{'AND': [['Q1312687', 'P27', {'concept': 'Q15617994'}], ['Q408', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q408 property:P530 ?x . resource:Q1312687 property:P27 ?x }
Australia John Nicholson
action filter_type
action intersection
action find
entity John Nicholson
relation country of citizenship
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['John Nicholson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Australia property:diplomatic_relation ?x . resource:John_Nicholson property:country_of_citizenship ?x }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q1312687,P27,c(Q15617994)), (Q408,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1312687
relation P27
action find
entity Q408
relation P530
type Q15617994
[ANSWER] is the countries of citizenship of John Nicholson and holds diplomatic relationship with Australia
{'AND': [['Q1312687', 'P27', {'concept': 'Q15617994'}], ['Q408', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q408 property:P530 ?x . resource:Q1312687 property:P27 ?x }
United Kingdom
United Kingdom is the countries of citizenship of John Nicholson and holds diplomatic relationship with Australia
United Kingdom
action filter_type
action intersection
action find
entity John Nicholson
relation country of citizenship
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['John Nicholson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Australia property:diplomatic_relation ?x . resource:John_Nicholson property:country_of_citizenship ?x }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories did more number of releases originate than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q145
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:Q145 property:P495 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?u > ?q ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P495 ?a . ?a rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 } GROUP BY ?a } }
action count
action greater
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity United Kingdom
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:United_Kingdom property:country_of_origin ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u > ?q ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:country_of_origin ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release } GROUP BY ?a } }
[]
designation for an administrative territorial entity release
SYSTEM
6
Q142 Q55 Q30 Q34 Q38 Q17
(c(Q2031291),P495,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q145
relation P495
type Q15617994
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:Q145 property:P495 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?u > ?q ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P495 ?a . ?a rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 } GROUP BY ?a } }
France Netherlands United States of America Sweden Italy Japan
6
action count
action greater
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity United Kingdom
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:United_Kingdom property:country_of_origin ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u > ?q ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:country_of_origin ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release } GROUP BY ?a } }
[]