Simple Question (Direct)
Simple Question
Q6177214
P641
Q349
USER
Which sport did Jemma Rose participate in ?
(Q6177214,P641,c(Q349))
action filter_type
action find
entity Q6177214
relation P641
type Q349
['Q6177214', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q6177214 property:P641 ?y . ?y rdf:type ontology:Q349 }
Jemma Rose
action filter_type
action find
entity Jemma Rose
relation sport
type sport
['Jemma Rose', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Jemma_Rose property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6177214,P641,c(Q349))
action filter_type
action find
entity Q6177214
relation P641
type Q349
Jemma Rose participated in [ANSWER]
['Q6177214', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q6177214 property:P641 ?y . ?y rdf:type ontology:Q349 }
association football
Jemma Rose participated in association football
association football
action filter_type
action find
entity Jemma Rose
relation sport
type sport
['Jemma Rose', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Jemma_Rose property:sport ?y . ?y rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6177214
P69
Q3918
USER
Where was that person educated ?
(Q2736,P69,c(Q3918))
action filter_type
action find
entity Q6177214
relation P69
type Q3918
['Q2736', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?i WHERE { resource:Q6177214 property:P69 ?i . ?i rdf:type ontology:Q3918 }
Jemma Rose
action filter_type
action find
entity Jemma Rose
relation educated at
type university
['association football', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?i WHERE { resource:Jemma_Rose property:educated_at ?i . ?i rdf:type ontology:university }
[]
university
Q1434547
SYSTEM
Loughborough University
Q1434547
(Q2736,P69,c(Q3918))
action filter_type
action find
entity Q6177214
relation P69
type Q3918
[ANSWER] that person was educated
['Q2736', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?i WHERE { resource:Q6177214 property:P69 ?i . ?i rdf:type ontology:Q3918 }
Loughborough University
Loughborough University that person was educated
Loughborough University
action filter_type
action find
entity Jemma Rose
relation educated at
type university
['association football', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?i WHERE { resource:Jemma_Rose property:educated_at ?i . ?i rdf:type ontology:university }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1434547 Q7172880
P69
Q502895
USER
Is Peter Bonfield an alumni of that university ?
(Q7172880,P69,Q1434547)
action is_in
entity Q1434547
action find
entity Q7172880
relation P69
['Q7172880', 'P69', 'Q1434547']
ASK WHERE { resource:Q7172880 property:P69 resource:Q1434547 }
Loughborough University Peter Bonfield
action is_in
entity Loughborough University
action find
entity Peter Bonfield
relation educated at
['Peter Bonfield', 'educated at', 'Loughborough University']
ASK WHERE { resource:Peter_Bonfield property:educated_at resource:Loughborough_University }
[]
common name
SYSTEM
YES
(Q7172880,P69,Q1434547)
action is_in
entity Q1434547
action find
entity Q7172880
relation P69
[ANSWER]
['Q7172880', 'P69', 'Q1434547']
ASK WHERE { resource:Q7172880 property:P69 resource:Q1434547 }
Yes
action is_in
entity Loughborough University
action find
entity Peter Bonfield
relation educated at
['Peter Bonfield', 'educated at', 'Loughborough University']
ASK WHERE { resource:Peter_Bonfield property:educated_at resource:Loughborough_University }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1434547
P17
Q15617994
USER
Which administrative territory is Loughborough University located in ?
(Q1434547,P17,c(Q15617994))
action filter_type
action find
entity Q1434547
relation P17
type Q15617994
['Q1434547', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1434547 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Loughborough University
action filter_type
action find
entity Loughborough University
relation country
type designation for an administrative territorial entity
['Loughborough University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Loughborough_University property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q1434547,P17,c(Q15617994))
action filter_type
action find
entity Q1434547
relation P17
type Q15617994
Which administrative territory is Loughborough University located in
['Q1434547', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1434547 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
United Kingdom
Which administrative territory is Loughborough University located in
United Kingdom
action filter_type
action find
entity Loughborough University
relation country
type designation for an administrative territorial entity
['Loughborough University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Loughborough_University property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6702205 Q7172880
P69
Q3918
USER
Which universities were Peter Bonfield or Luke Nosek educated at ?
OR((Q7172880,P69,c(Q3918)), (Q6702205,P69,c(Q3918)))
action filter_type
action union
action find
entity Q7172880
relation P69
action find
entity Q6702205
relation P69
type Q3918
{'OR': [['Q7172880', 'P69', {'concept': 'Q3918'}], ['Q6702205', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q3918 . { { resource:Q7172880 property:P69 ?k } UNION { resource:Q6702205 property:P69 ?k } } }
Luke Nosek Peter Bonfield
action filter_type
action union
action find
entity Peter Bonfield
relation educated at
action find
entity Luke Nosek
relation educated at
type university
{'OR': [['Peter Bonfield', 'educated at', {'concept': 'university'}], ['Luke Nosek', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:university . { { resource:Peter_Bonfield property:educated_at ?k } UNION { resource:Luke_Nosek property:educated_at ?k } } }
[]
university
Q457281 Q1434547
SYSTEM
University of Illinois at Urbana–Champaign, Loughborough University
Q457281 Q1434547
OR((Q7172880,P69,c(Q3918)), (Q6702205,P69,c(Q3918)))
action filter_type
action union
action find
entity Q7172880
relation P69
action find
entity Q6702205
relation P69
type Q3918
Peter Bonfield or Luke Nosek were educated at [ANSWERS]
{'OR': [['Q7172880', 'P69', {'concept': 'Q3918'}], ['Q6702205', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q3918 . { { resource:Q7172880 property:P69 ?k } UNION { resource:Q6702205 property:P69 ?k } } }
University of Illinois at Urbana–Champaign Loughborough University
Peter Bonfield or Luke Nosek were educated at University of Illinois at Urbana–Champaign and Loughborough University
University of Illinois at Urbana–Champaign Loughborough University
action filter_type
action union
action find
entity Peter Bonfield
relation educated at
action find
entity Luke Nosek
relation educated at
type university
{'OR': [['Peter Bonfield', 'educated at', {'concept': 'university'}], ['Luke Nosek', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:university . { { resource:Peter_Bonfield property:educated_at ?k } UNION { resource:Luke_Nosek property:educated_at ?k } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1434547
P69 P21
Q502895
USER
Which people are an alumni of Loughborough University and are a male ?
AND((c(Q502895),P69,Q1434547), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1434547
relation P69
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q1434547'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P69 resource:Q1434547 . ?b property:P21 resource:Q6581097 }
male Loughborough University
action filter_type
action intersection
action find_reverse
entity Loughborough University
relation educated at
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Loughborough University'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:educated_at resource:Loughborough_University . ?b property:gender resource:male }
[]
common name
Q7321241 Q3013101 Q6140633 Q5981723 Q7340346 Q6834729 Q188502 Q5335340 Q7087937 Q15052613
SYSTEM
Some of them are Rhodri Gomer-Davies, Dan Hipkiss, James Ord, Ian Hall, Rob Matthews, Michael Swift, Sebastian Coe, Ed Rolston, Oliver Wilkin, Jonathan Lee
Q5105882 Q5229717 Q260013 Q1200269 Q6834996 Q7352348 Q6791258 Q7149433 Q6307444 Q6246867 Q4805317 Q3002022 Q964758 Q1440699 Q3308314 Q6275773 Q1701746 Q7100970 Q1281454 Q7026909 Q7321241 Q7352291 Q3056350 Q7153977 Q4757836 Q7817982 Q5534813 Q6969426 Q6124813 Q4776830 Q6134613 Q4716839 Q5107771 Q303299 Q4802092 Q7627132 Q2616939 Q4980462 Q6828403 Q5292636 Q4864315 Q5106288 Q4717971 Q6539684 Q7358357 Q5240768 Q7114545 Q7326924 Q979301 Q5145367 Q4706415 Q6233857 Q19560102 Q7407186 Q7172880 Q8019190 Q549114 Q8002851 Q11972196 Q5335221 Q5335340 Q3499120 Q7340086 Q7340999 Q5724051 Q7350298 Q7327906 Q3182710 Q1686268 Q2964843 Q4805367 Q7296649 Q3568951 Q7340346 Q5233307 Q7174400 Q15052605 Q5145690 Q5493705 Q15052602 Q1365931 Q5272333 Q6768142 Q6833041 Q15052609 Q5277512 Q3025653 Q6845279 Q7356593 Q2159866 Q6790472 Q11722233 Q3181992 Q8002822 Q304027 Q5134654 Q6437350 Q374585 Q6755839 Q785876 Q13117029 Q6536491 Q5226212 Q919436 Q7610421 Q5082118 Q173809 Q6840237 Q15052610 Q7815082 Q5220835 Q3351509 Q15052614 Q10996319 Q6405461 Q15052618 Q3183231 Q8063997 Q5219097 Q6957547 Q4963931 Q3182576 Q5246365 Q5144854 Q6548759 Q6775383 Q7324038 Q5272791 Q6790508 Q7359165 Q6768725 Q10469050 Q472923 Q3370769 Q7508851 Q7325197 Q7238169 Q5220248 Q322120 Q1699776 Q5727284 Q6848998 Q380922 Q6702189 Q2895363 Q7087625 Q7184442 Q15052613 Q7153634 Q6840286 Q7184359 Q6835064 Q7173564 Q5230454 Q2053244 Q5981723 Q5218156 Q5263378 Q3432048 Q338089 Q4679821 Q5676705 Q5235664 Q2840543 Q334019 Q5545817 Q5983020 Q3308845 Q979204 Q6793206 Q21964937 Q7613294 Q16002452 Q7347213 Q19956937 Q2849163 Q2392164 Q2895492 Q4886399 Q7182935 Q7818086 Q3183317 Q7151155 Q6405436 Q5218483 Q7418248 Q1189604 Q3378749 Q1166983 Q1108562 Q4908085 Q513201 Q2401864 Q5537381 Q3445842 Q3616300 Q6274322 Q4708424 Q3183471 Q5522852 Q6790840 Q5342972 Q5112464 Q18692959 Q7610834 Q3107272 Q6384988 Q4888332 Q3531751 Q1247846 Q3013101 Q587688 Q7182107 Q5387125 Q7817172 Q646015 Q7383998 Q4899327 Q5593238 Q7351843 Q3194977 Q5593029 Q3526116 Q20399809 Q5217166 Q921680 Q6384351 Q15052607 Q7027647 Q7023909 Q5074590 Q1428289 Q932291 Q7183872 Q4275595 Q7351007 Q6989205 Q188502 Q913585 Q6939368 Q7377807 Q6834729 Q6255264 Q6140633 Q730185 Q7176140 Q246716 Q11161686 Q1175737 Q2824673 Q7041245 Q16146561 Q6194541 Q3056376 Q7087937 Q6112148 Q5528234 Q2572912 Q4886434 Q5222921
AND((c(Q502895),P69,Q1434547), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1434547
relation P69
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are an alumni of Loughborough University and are a male
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q1434547'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P69 resource:Q1434547 . ?b property:P21 resource:Q6581097 }
Chris Benham Dave Rollitt Adrian Bailey Dermot Clifford Michael Turns Robin Daniels Matthew Spriegel Paul Bomani Julian Peddle John Marshall Ashleigh Lynch Craig Joiner Robert Blair Fran Cotton Michael Landy Jonny Hughes John Sherwood Ore Oduba Ivaylo Kalfin Nick Clewley Rhodri Gomer-Davies Robin Butlin Eric Miller Paul Thomas Andrew MacDonald Tom Walshaw Geoffrey Pardoe Nathan Winder Jake Leith Antonio Navarro Wolff James Gilbey Alex Coles Chris Pilgrim Tobias Ellwood Arun Harinath Stuart Storey Liam Heath Bryan West Michael Banks Don Freshwater Barry Hines Chris Cozens Alex Welsh Liam Lewis Roger Hosen David Wainwright Owen Lewis Richard Jones John Dawes Colin McFadyean Alan Cope John Francis Biyi Alo Sam Billings Peter Bonfield William Tavaré Steve Backley Will Harries Glenn Kirkham Ed Nell Ed Rolston Steve Smith Rob Dickins Robbie Simpson Henry Jones Robert Taylor Richard Morris John Wells Jeff Butterfield Christopher Rawlinson Ashley Billington Ravi Patel William Sharman Rob Matthews David Egerton Peter Groves Richard Evans Colin Winter Fraser Watts David Collier Robbie Brightwell Diccon Edwards Mark Hulse Michael Neocosmos Bill Hayward Dimitri Ratnayake Graham Clark Mihir Bose Roderick Bradley Robin Middleton Matthew Evans Euan Dale John Mantle Will Gifford Michael Fabricant Clive Rees Krishana Singh Phil Hayes Marc Rosenberg Martyn Rooney Gregor Maiden Lewis Dick Daryl Mitchell Lawrie Sanchez Stephen Rule Charles Robertson-Adams Neil Oatley Richard Clinton Robert Istepanian Tom Brophy Danny Sleath Ollie Smith Jim McKeever James Anyon Kieran Roche Simon Rose Jon Schofield Zachary Test Daniel Williams Nader Al-Khateeb Brian Hancock John Taylor Dean Milwain Colin Atkinson Lim Swee Say Martin Elliott Richard Bean Dick Cowman Matthew Flinders Roger Wrightson Mark Mapletoft Brian Stubbs Rajiv Ouseph Paul Burke Sidique Ali Merican Richard Dibden Prakash Chandra Mishra Danny Cox Malcolm Sayer John Dawson Dewhirst Henry Pyrgos Mike Sutton David Carry Luke Myring Ben Challenger Oliver James Philip Sturley Jonathan Lee Paul Skilbeck Nick Knight Philip Serrell Michael Varah Peter Davies David A. Cooke Daniel Bennett Ian Hall Daniel Miller Derwyn Jones Rikki Fifton Marsha Singh Adam Soilleux Harveer Gandam David John Hayward Alun Pask Nirj Deva George Walker Ian Sturmer Dario Gradi Gerald Davies Maurice Holmes Sean Holley Steve Matchett Alex Allan Robert MacEwen Radzi Chinyanganya Andy Robinson Eric Evans Ben Kay Ben Ryan Bandar Al Hajjar Tom Winslade Jonathan Bell Paul Harrison Kieran Murphy Daniel Pratt Sani Ndanusa Dennis Wilshaw Phil Christophers Jack Buckner Colin McFarlane Bill Bedford Ken Jones Peter Short George Buchanan-Smith Roy Winters Andy Vilk Jonathan Samuels Alasdair Evans Jonathan Stuart Gareth Griffiths Matthew Lambley Edward Foster Christopher Hall Bohumil Vostal Stephen Wheeler Monty Panesar Keith Savage Benjamin Brierley Tony Diprose Mark Richardson Dan Hipkiss Khalid bin Saqr Al Qasimi Phil Larder Eric Moon Tom Parsons James Grindal Ryan Cummins Bev Risman Graham Skinner Roberto Pavoni Kemel Thompson Graham Little Chris Read Mubarak Saad bin Suleiman Daniel Fogg Clive Woodward Keith Fielding Steve Hallam Nick Osipczak Niall Malone Charl Malan Steve Speirs Liam Tancock Philip Joseph Taylor Paul McGuinness Robert White Neil Renilson Sebastian Coe Nassib Lahoud Murray McArthur Ruel Brathwaite Michael Swift John Robins James Ord James Gibson Peter Noyes Bob Wilson Idwal Robling David Moorcroft Adnan al-Janabi Nitesh Patel Fraser Balmain Jim Davidson Eric Peters Oliver Wilkin Jack Dormand Gavin Nolan Rob Smedley Ben Sedgemore Darius D'Souza
Rhodri Gomer-Davies, Dan Hipkiss, James Ord, Ian Hall, Rob Matthews, Michael Swift, Sebastian Coe, Ed Rolston, Oliver Wilkin and Jonathan Lee are an alumni of Loughborough University and are a male
Rhodri Gomer-Davies Dan Hipkiss James Ord Ian Hall Rob Matthews Michael Swift Sebastian Coe Ed Rolston Oliver Wilkin Jonathan Lee
action filter_type
action intersection
action find_reverse
entity Loughborough University
relation educated at
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Loughborough University'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:educated_at resource:Loughborough_University . ?b property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
How many films had approximately 28 people as the dubbing artist ?
(c(Q11424),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 28
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?f ) WHERE { ?v property:P725 ?j . ?v rdf:type ontology:Q11424 . ?j rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?f = 28 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type film
type common name
value 28
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?f ) WHERE { ?v property:voice_actor ?j . ?v rdf:type ontology:film . ?j rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?f = 28 ) }
[]
common name film
SYSTEM
9
Q179673 Q216929 Q165512 Q933887 Q184701 Q190135 Q15270775 Q189875 Q39722
(c(Q11424),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 28
[ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?f ) WHERE { ?v property:P725 ?j . ?v rdf:type ontology:Q11424 . ?j rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?f = 28 ) }
Beauty and the Beast Oliver & Company One Hundred and One Dalmatians Tintin and the Temple of the Sun The Aristocats The Little Mermaid Hotel Transylvania 2 Alice in Wonderland The Rescuers
9
action count
action approx
action find_tuple_counts
relation voice actor
type film
type common name
value 28
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?f ) WHERE { ?v property:voice_actor ?j . ?v rdf:type ontology:film . ?j rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?f = 28 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q188502
P488
Q1346006
USER
What is Sebastian Coe a chairperson of ?
(c(Q1346006),P488,Q188502)
action filter_type
action find_reverse
entity Q188502
relation P488
type Q1346006
[{'concept': 'Q1346006'}, 'P488', 'Q188502']
SELECT DISTINCT ?r WHERE { ?r property:P488 resource:Q188502 . ?r rdf:type ontology:Q1346006 }
Sebastian Coe
action filter_type
action find_reverse
entity Sebastian Coe
relation chairperson
type international sport governing body
[{'concept': 'international sport governing body'}, 'chairperson', 'Sebastian Coe']
SELECT DISTINCT ?r WHERE { ?r property:chairperson resource:Sebastian_Coe . ?r rdf:type ontology:international_sport_governing_body }
[]
international sport governing body
Q1158
SYSTEM
International Association of Athletics Federations
Q1158
(c(Q1346006),P488,Q188502)
action filter_type
action find_reverse
entity Q188502
relation P488
type Q1346006
Sebastian Coe a chairperson of is the [ANSWER]
[{'concept': 'Q1346006'}, 'P488', 'Q188502']
SELECT DISTINCT ?r WHERE { ?r property:P488 resource:Q188502 . ?r rdf:type ontology:Q1346006 }
International Association of Athletics Federations
Sebastian Coe a chairperson of is the International Association of Athletics Federations
International Association of Athletics Federations
action filter_type
action find_reverse
entity Sebastian Coe
relation chairperson
type international sport governing body
[{'concept': 'international sport governing body'}, 'chairperson', 'Sebastian Coe']
SELECT DISTINCT ?r WHERE { ?r property:chairperson resource:Sebastian_Coe . ?r rdf:type ontology:international_sport_governing_body }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q188502
P161
Q838948
USER
Which work of art has that person in its star cast ?
(c(Q838948),P161,Q1158)
action filter_type
action find_reverse
entity Q188502
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1158']
SELECT DISTINCT ?n WHERE { ?n property:P161 resource:Q188502 . ?n rdf:type ontology:Q838948 }
Sebastian Coe
action filter_type
action find_reverse
entity Sebastian Coe
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'International Association of Athletics Federations']
SELECT DISTINCT ?n WHERE { ?n property:cast_member resource:Sebastian_Coe . ?n rdf:type ontology:work_of_art }
[]
work of art
Q2690549
SYSTEM
O, Sport, You – the Peace!
Q2690549
(c(Q838948),P161,Q1158)
action filter_type
action find_reverse
entity Q188502
relation P161
type Q838948
[ANSWER] has that person in its star cast
[{'concept': 'Q838948'}, 'P161', 'Q1158']
SELECT DISTINCT ?n WHERE { ?n property:P161 resource:Q188502 . ?n rdf:type ontology:Q838948 }
O, Sport, You – the Peace!
O, Sport, You – the Peace! has that person in its star cast
O, Sport, You – the Peace!
action filter_type
action find_reverse
entity Sebastian Coe
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'International Association of Athletics Federations']
SELECT DISTINCT ?n WHERE { ?n property:cast_member resource:Sebastian_Coe . ?n rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2690549
P86
Q502895
USER
Who composed that work of art ?
(Q2690549,P86,c(Q502895))
action filter_type
action find
entity Q2690549
relation P86
type Q502895
['Q2690549', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q2690549 property:P86 ?s . ?s rdf:type ontology:Q502895 }
O, Sport, You – the Peace!
action filter_type
action find
entity O, Sport, You – the Peace!
relation composer
type common name
['O, Sport, You – the Peace!', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:O,_Sport,_You_–_the_Peace! property:composer ?s . ?s rdf:type ontology:common_name }
[]
common name
Q260885
SYSTEM
Aleksandra Pakhmutova
Q260885
(Q2690549,P86,c(Q502895))
action filter_type
action find
entity Q2690549
relation P86
type Q502895
[ANSWER] composed that work of art
['Q2690549', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q2690549 property:P86 ?s . ?s rdf:type ontology:Q502895 }
Aleksandra Pakhmutova
Aleksandra Pakhmutova composed that work of art
Aleksandra Pakhmutova
action filter_type
action find
entity O, Sport, You – the Peace!
relation composer
type common name
['O, Sport, You – the Peace!', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:O,_Sport,_You_–_the_Peace! property:composer ?s . ?s rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q260885 Q2385194
P19
Q56061
USER
Was that person born in Budanilkantha ?
(Q260885,P19,Q2385194)
action is_in
entity Q2385194
action find
entity Q260885
relation P19
['Q260885', 'P19', 'Q2385194']
ASK WHERE { resource:Q260885 property:P19 resource:Q2385194 }
Aleksandra Pakhmutova Budanilkantha
action is_in
entity Budanilkantha
action find
entity Aleksandra Pakhmutova
relation place of birth
['Aleksandra Pakhmutova', 'place of birth', 'Budanilkantha']
ASK WHERE { resource:Aleksandra_Pakhmutova property:place_of_birth resource:Budanilkantha }
[]
administrative territorial entity
SYSTEM
NO
(Q260885,P19,Q2385194)
action is_in
entity Q2385194
action find
entity Q260885
relation P19
[ANSWER]
['Q260885', 'P19', 'Q2385194']
ASK WHERE { resource:Q260885 property:P19 resource:Q2385194 }
No
action is_in
entity Budanilkantha
action find
entity Aleksandra Pakhmutova
relation place of birth
['Aleksandra Pakhmutova', 'place of birth', 'Budanilkantha']
ASK WHERE { resource:Aleksandra_Pakhmutova property:place_of_birth resource:Budanilkantha }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1158 Q12186793
P159
Q56061
USER
Is Hawayeq the headquarter location of International Association of Athletics Federations ?
(Q1158,P159,Q12186793)
action is_in
entity Q12186793
action find
entity Q1158
relation P159
['Q1158', 'P159', 'Q12186793']
ASK WHERE { resource:Q1158 property:P159 resource:Q12186793 }
International Association of Athletics Federations Hawayeq
action is_in
entity Hawayeq
action find
entity International Association of Athletics Federations
relation headquarters location
['International Association of Athletics Federations', 'headquarters location', 'Hawayeq']
ASK WHERE { resource:International_Association_of_Athletics_Federations property:headquarters_location resource:Hawayeq }
[]
administrative territorial entity
SYSTEM
NO
(Q1158,P159,Q12186793)
action is_in
entity Q12186793
action find
entity Q1158
relation P159
[ANSWER]
['Q1158', 'P159', 'Q12186793']
ASK WHERE { resource:Q1158 property:P159 resource:Q12186793 }
No
action is_in
entity Hawayeq
action find
entity International Association of Athletics Federations
relation headquarters location
['International Association of Athletics Federations', 'headquarters location', 'Hawayeq']
ASK WHERE { resource:International_Association_of_Athletics_Federations property:headquarters_location resource:Hawayeq }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1886098
P36
Q56061 Q515 Q15617994
USER
Which administrative territories are around the same number of administrative territories and cities the capital of as Pixley ka Seme District Municipality ?
(c(Q15617994),P36,c(Q56061)|c(Q515))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q515
action count
action filter_multi_types
action find
entity Q1886098
relation P36
type Q56061
type Q515
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:Q1886098 property:P36 ?n . { VALUES ( ?v ) { ( ontology:Q56061 ) ( ontology:Q515 ) } . ?n rdf:type ?v } } } . FILTER ( ?g = ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?h WHERE { ?m rdf:type ?r . VALUES ( ?r ) { ( ontology:Q56061 ) ( ontology:Q515 ) } } GROUP BY ?h } }
Pixley ka Seme District Municipality
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find
entity Pixley ka Seme District Municipality
relation capital
type administrative territorial entity
type city
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:Pixley_ka_Seme_District_Municipality property:capital ?n . { VALUES ( ?v ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } . ?n rdf:type ?v } } } . FILTER ( ?g = ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?h WHERE { ?m rdf:type ?r . VALUES ( ?r ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } } GROUP BY ?h } }
[]
administrative territorial entity city designation for an administrative territorial entity
Q38 Q159 Q55
SYSTEM
Italy, Russia, Netherlands
Q805 Q804 Q1815665 Q801 Q800 Q1098820 Q419 Q414 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q2980110 Q4308116 Q17301635 Q399 Q398 Q1465069 Q1324549 Q1979 Q159 Q1664120 Q12526 Q1974 Q611074 Q2007299 Q1616549 Q1254171 Q979470 Q684030 Q1270648 Q3563282 Q1899307 Q30675 Q983 Q730 Q734 Q736 Q1280 Q1282 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q189 Q843 Q2007 Q184 Q1029 Q1028 Q1850485 Q1390630 Q1452 Q815731 Q31074 Q31075 Q96 Q1050 Q12175285 Q2629701 Q311803 Q12717 Q298 Q29937 Q115 Q114 Q117 Q30786 Q1270638 Q1788988 Q239502 Q1544445 Q466061 Q1515346 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q281435 Q34020 Q891165 Q696651 Q3528124 Q2719360 Q948 Q1243 Q945 Q3564819 Q3500767 Q855327 Q328134 Q1268811 Q1237 Q701 Q702 Q968630 Q705 Q707 Q4450475 Q2565377 Q668 Q1093 Q1090684 Q1263830 Q833 Q4055266 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q45 Q43 Q792 Q790 Q796 Q794 Q174280 Q1232680 Q889 Q884 Q881 Q231168 Q241 Q1965 Q242 Q1437719 Q1244497 Q29965 Q33 Q32 Q31 Q37 Q36 Q34 Q3361 Q39 Q38 Q302479 Q541095 Q2567535 Q3068 Q3389 Q30644 Q236 Q1886098 Q232 Q233 Q1777256 Q238 Q12549 Q129003 Q1763301 Q1101 Q1206596 Q511806 Q27495866 Q3139 Q902 Q1036 Q1037 Q1032 Q1030 Q1024985 Q1039 Q694 Q695 Q754 Q752 Q750 Q2562901 Q31068 Q220249 Q31067 Q31065 Q654849 Q1773268 Q30835 Q30831 Q574 Q1558632 Q894970 Q191 Q79 Q77 Q878 Q46130 Q2001115 Q3044651 Q3044714 Q3044715 Q2091235 Q23055454 Q12247340 Q2360973 Q30682 Q30683 Q1951 Q2236821 Q2006764 Q1952 Q669802 Q753795 Q1256 Q1250 Q452565 Q3305157 Q1480778 Q2567507 Q3044623 Q651394 Q3646838 Q2391254 Q3044781 Q2371735 Q712 Q711 Q710 Q717 Q3044777 Q12770 Q2465553 Q657 Q1789890 Q12538 Q954 Q1393469 Q953 Q2001966 Q795587 Q958 Q986 Q219 Q957825 Q2629652 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1974486 Q153091 Q693658 Q769680 Q1508927 Q1948 Q30805 Q311794 Q12661 Q20 Q27 Q28 Q1366860 Q148 Q227 Q225 Q30650 Q223 Q30656 Q221 Q47261 Q311668 Q229 Q347 Q1410315 Q1989 Q60011 Q967 Q963 Q2921370 Q2921378 Q1991827 Q2429432 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q1008 Q3509886 Q2380910 Q1438 Q686 Q30832 Q760 Q817 Q810 Q811 Q813 Q18046648 Q819 Q2038939 Q29 Q617646 Q72670 Q12545 Q2309262 Q863 Q2023 Q869 Q2093352 Q30946 Q568751 Q334714 Q15116736 Q2150573 Q142 Q685048 Q29943 Q145 Q262 Q2009 Q12820 Q265 Q3342 Q842 Q2344570 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2995277 Q2003 Q3240 Q2662372 Q2565339 Q686924 Q1429976 Q24089916 Q30669 Q1985120 Q30662 Q2629323 Q4628 Q455705 Q2564823 Q2043690 Q770 Q1856181 Q1077283 Q921 Q4712 Q928 Q929 Q858 Q423 Q424 Q851 Q29999 Q854 Q2226837 Q165763 Q1338277 Q1447 Q2360428 Q222 Q2565327 Q2588405 Q1045 Q1044 Q1042 Q1041 Q31070 Q3336 Q1984191 Q30797 Q1904 Q228 Q3462133 Q30815 Q1429761 Q153402 Q3207 Q894973 Q894972 Q894971 Q2617427 Q1053888 Q3044677 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q244 Q1090691 Q977 Q2218506 Q692290 Q974 Q971 Q970 Q4464271 Q2502354 Q30630 Q775 Q774 Q776 Q1019 Q773 Q772 Q1014 Q1016 Q1011 Q1013 Q678 Q2565367 Q8575586 Q1579364 Q31079 Q2629692 Q549746 Q695660
(c(Q15617994),P36,c(Q56061)|c(Q515))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q515
action count
action filter_multi_types
action find
entity Q1886098
relation P36
type Q56061
type Q515
[ANSWERS] are around the same number of administrative territories and cities the capital of as Pixley ka Seme District Municipality
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:Q1886098 property:P36 ?n . { VALUES ( ?v ) { ( ontology:Q56061 ) ( ontology:Q515 ) } . ?n rdf:type ?v } } } . FILTER ( ?g = ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?h WHERE { ?m rdf:type ?r . VALUES ( ?r ) { ( ontology:Q56061 ) ( ontology:Q515 ) } } GROUP BY ?h } }
Yemen Panama Znaur Israel Costa Rica Gênes Peru Argentina Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Yovon District Murmansk Okrug Orihuela Governorate Armenia Bahrain Frise Uthukela District Municipality Prince Edward Island Russia Alfred Nzo District Municipality Gironde British Columbia Mopani District Municipality OR Tambo District Municipality Ivittuut Municipality Dr Ruth Segomotsi Mompati District Municipality Seine-et-Oise Principality of Serbia Sieg Rumi District Overberg District Municipality Minya Governorate Equatorial Guinea Suriname Guyana Ecuador Umbria Lazio John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Iceland Pakistan Northwest Territories Belarus Mozambique Morocco Dhaka District Ourthe Basilicata Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Swaziland Aravalli district Yevpatoria municipality Umgungundlovu District Municipality Bas-Rhin Chile Aswan Governorate Ethiopia Kenya Ghana Monufia Governorate Rhine Trasimène Kingdom of Galicia–Volhynia Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Samoa Principality of Wales Province of Brescia Isère Ruhr Maulvi Bazar District Niue Bojanala Platinum District Municipality Saxe-Eisenach Tibre Duchy of Luxembourg Tunisia Veneto Togo Hamadoni District Norak District Kouilou Department 6th of October Governorate Dyle Trentino-South Tyrol North Holland Federated States of Micronesia Taro Zeeland Flevoland Talitsky District Danghara District India Limburg Montserrat Frances Baard District Municipality Malaysia Abyei District Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Portugal Turkey El Salvador Haiti Iraq Iran San Juan de Jinotega Ithaque Afghanistan South Korea Vietnam Zuyderzée Cuba New Brunswick Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Asyut Governorate Finland Luxembourg Belgium Lithuania Poland Sweden Doubs Switzerland Italy Ems-Occidental Rhin-et-Moselle Pô Loire-Atlantique Finistère Damietta Governorate Montenegro Pixley ka Seme District Municipality Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine French Southern and Antarctic Lands Barisal District North Brabant Deux-Nèthes North Slope Borough Corse Alpes-Maritimes Bangladesh Uganda Rwanda Niger Namibia Cacadu District Municipality Sao Tomé and Príncipe South Holland Palau Trinidad and Tobago Groningen Bolivia West Coast District Municipality Dakahlia Governorate Eden District Municipality Ismailia Governorate Qena Governorate Joe Gqabi District Municipality ZF Mgcawu District Municipality Gharbia Governorate Red Sea Governorate East Timor Rome Bouches-de-la-Meuse Estonia Egypt Uruguay United Arab Emirates Rhône Tepic, Nayarit (municipality) Louverture Ouest Ozama Ugu District Municipality Alpes-Maritimes Afrin Nahiya Duchy of Carniola Matrouh Governorate Beni Suef Governorate Alberta Rhône-et-Loire Xhariep District Municipality Nova Scotia Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Mella Comilla District Arno Cibao Ramensky District Los Guayos Municipality Farkhor District Sud Saky municipality Fiji Mongolia Kiribati Venezuela Nord Somme Shapsugsky National District Chad West Rand District Municipality Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Escuintla South Sudan Eritrea Bulgaria Yssel-Supérieur Yalta municipality Maldives Lebanon Spanish Sahara Seine Habsburg Empire Principality of Vitebsk Cape Winelands District Municipality Duchy of Prussia Izabal Department Bornholm Méditerranée Manitoba Cairo Governorate iLembe District Municipality Nord Norway Ireland Hungary Escaut People's Republic of China Azerbaijan Bosnia and Herzegovina New Valley Governorate Greenland Faiyum Governorate Republic of Macedonia Duchy of Bavaria UThungulu District Municipality Cyprus Liechtenstein Fezile Dabi District Municipality Saskatchewan Kars Oblast Burundi Botswana Bouches-de-l'Èbre-Montserrat Bouches-de-l'Èbre Karelian National Okrug Sirajganj District Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Côte d'Ivoire Sègre-Ter Duchy of Zaslawye Campania Vanuatu Giza Governorate Saint Lucia Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Sedibeng District Municipality Spain Namakwa District Municipality Batumi Oblast Hérault Zululand District Municipality Tajikistan Nunavut Thailand Sylhet District Kafr el-Sheikh Governorate Mont-Tonnerre Duchy of Athens Jaén District Unterelsaß France Simplon Alexandria Governorate United Kingdom Algeria Yukon Yvelines Uzbekistan Côte-d'Or Oman Rangpur District Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Dzau district Newfoundland and Labrador Bouches-du-Rhône Principality of Minsk Vose' District Mer-Égée Mymensingh District Pars Sohag Governorate Dinajpur District North Sinai Governorate Armyansk municipality Faroe Islands Amathole District Municipality Panj District Gali Municipality Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Duchy of Burgundy Philippines Central African Republic Syria North Korea Cambodia Saudi Arabia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Sambre-et-Meuse Apulia Tijuana Municipality Albania Muminobod District Shahrtuz District Somalia Sierra Leone Seychelles Senegal Suez Governorate Corse-du-Sud Ngaka Modiri Molema District Municipality Luxor Governorate Ontario Andorra Saxe-Coburg and Gotha South Sinai Governorate Patuakhali District Roer Aude Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Ayn Central Karoo District Municipality Samaná Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Barbados Ter Djibouti Kineshemsky District Capricorn District Municipality Democratic Republic of the Congo Republic of the Congo Comoros Principality of Trubetsk Principality of Goroden Beheira Governorate Gelderland Guatemala Utrecht Madagascar Overijssel Drenthe Liberia Libya Cape Verde Lesotho Tonga Vakhsh District Umayyad Caliphate Lys Port Said Governorate Simferopol municipality Sisonke District Municipality Guatemala Department
Italy, Russia and Netherlands are around the same number of administrative territories and cities the capital of as Pixley ka Seme District Municipality
Italy Russia Netherlands
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find
entity Pixley ka Seme District Municipality
relation capital
type administrative territorial entity
type city
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:Pixley_ka_Seme_District_Municipality property:capital ?n . { VALUES ( ?v ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } . ?n rdf:type ?v } } } . FILTER ( ?g = ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?h WHERE { ?m rdf:type ?r . VALUES ( ?r ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } } GROUP BY ?h } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q424
P36
Q56061 Q515 Q15617994
USER
And also tell me about Cambodia?
(c(Q15617994),P36,c(Q56061)|c(Q515))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q515
action count
action filter_multi_types
action find
entity Q424
relation P36
type Q56061
type Q515
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Q424 property:P36 ?k . { { ?k rdf:type ontology:Q515 } UNION { ?k rdf:type ontology:Q56061 } } } } . FILTER ( ?n = ?e ) . { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?n ) WHERE { { ?y property:P36 ?d . ?y rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q56061 } UNION { ?y property:P36 ?d . ?y rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q515 } } GROUP BY ?y } }
Cambodia
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find
entity Cambodia
relation capital
type administrative territorial entity
type city
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Cambodia property:capital ?k . { { ?k rdf:type ontology:city } UNION { ?k rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?n = ?e ) . { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?n ) WHERE { { ?y property:capital ?d . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:administrative_territorial_entity } UNION { ?y property:capital ?d . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:city } } GROUP BY ?y } }
[]
administrative territorial entity city designation for an administrative territorial entity
Q38 Q159 Q55
SYSTEM
Italy, Russia, Netherlands
Q805 Q804 Q1815665 Q801 Q800 Q1098820 Q419 Q414 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q2980110 Q4308116 Q17301635 Q399 Q398 Q1465069 Q1324549 Q1979 Q159 Q1664120 Q12526 Q1974 Q611074 Q2007299 Q1616549 Q1254171 Q979470 Q684030 Q1270648 Q3563282 Q1899307 Q30675 Q983 Q730 Q734 Q736 Q1280 Q1282 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q189 Q843 Q2007 Q184 Q1029 Q1028 Q1850485 Q1390630 Q1452 Q815731 Q31074 Q31075 Q96 Q1050 Q12175285 Q2629701 Q311803 Q12717 Q298 Q29937 Q115 Q114 Q117 Q30786 Q1270638 Q1788988 Q239502 Q1544445 Q466061 Q1515346 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q281435 Q34020 Q891165 Q696651 Q3528124 Q2719360 Q948 Q1243 Q945 Q3564819 Q3500767 Q855327 Q328134 Q1268811 Q1237 Q701 Q702 Q968630 Q705 Q707 Q4450475 Q2565377 Q668 Q1093 Q1090684 Q1263830 Q833 Q4055266 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q45 Q43 Q792 Q790 Q796 Q794 Q174280 Q1232680 Q889 Q884 Q881 Q231168 Q241 Q1965 Q242 Q1437719 Q1244497 Q29965 Q33 Q32 Q31 Q37 Q36 Q34 Q3361 Q39 Q38 Q302479 Q541095 Q2567535 Q3068 Q3389 Q30644 Q236 Q1886098 Q232 Q233 Q1777256 Q238 Q12549 Q129003 Q1763301 Q1101 Q1206596 Q511806 Q27495866 Q3139 Q902 Q1036 Q1037 Q1032 Q1030 Q1024985 Q1039 Q694 Q695 Q754 Q752 Q750 Q2562901 Q31068 Q220249 Q31067 Q31065 Q654849 Q1773268 Q30835 Q30831 Q574 Q1558632 Q894970 Q191 Q79 Q77 Q878 Q46130 Q2001115 Q3044651 Q3044714 Q3044715 Q2091235 Q23055454 Q12247340 Q2360973 Q30682 Q30683 Q1951 Q2236821 Q2006764 Q1952 Q669802 Q753795 Q1256 Q1250 Q452565 Q3305157 Q1480778 Q2567507 Q3044623 Q651394 Q3646838 Q2391254 Q3044781 Q2371735 Q712 Q711 Q710 Q717 Q3044777 Q12770 Q2465553 Q657 Q1789890 Q12538 Q954 Q1393469 Q953 Q2001966 Q795587 Q958 Q986 Q219 Q957825 Q2629652 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1974486 Q153091 Q693658 Q769680 Q1508927 Q1948 Q30805 Q311794 Q12661 Q20 Q27 Q28 Q1366860 Q148 Q227 Q225 Q30650 Q223 Q30656 Q221 Q47261 Q311668 Q229 Q347 Q1410315 Q1989 Q60011 Q967 Q963 Q2921370 Q2921378 Q1991827 Q2429432 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q1008 Q3509886 Q2380910 Q1438 Q686 Q30832 Q760 Q817 Q810 Q811 Q813 Q18046648 Q819 Q2038939 Q29 Q617646 Q72670 Q12545 Q2309262 Q863 Q2023 Q869 Q2093352 Q30946 Q568751 Q334714 Q15116736 Q2150573 Q142 Q685048 Q29943 Q145 Q262 Q2009 Q12820 Q265 Q3342 Q842 Q2344570 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2995277 Q2003 Q3240 Q2662372 Q2565339 Q686924 Q1429976 Q24089916 Q30669 Q1985120 Q30662 Q2629323 Q4628 Q455705 Q2564823 Q2043690 Q770 Q1856181 Q1077283 Q921 Q4712 Q928 Q929 Q858 Q423 Q424 Q851 Q29999 Q854 Q2226837 Q165763 Q1338277 Q1447 Q2360428 Q222 Q2565327 Q2588405 Q1045 Q1044 Q1042 Q1041 Q31070 Q3336 Q1984191 Q30797 Q1904 Q228 Q3462133 Q30815 Q1429761 Q153402 Q3207 Q894973 Q894972 Q894971 Q2617427 Q1053888 Q3044677 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q244 Q1090691 Q977 Q2218506 Q692290 Q974 Q971 Q970 Q4464271 Q2502354 Q30630 Q775 Q774 Q776 Q1019 Q773 Q772 Q1014 Q1016 Q1011 Q1013 Q678 Q2565367 Q8575586 Q1579364 Q31079 Q2629692 Q549746 Q695660
(c(Q15617994),P36,c(Q56061)|c(Q515))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q515
action count
action filter_multi_types
action find
entity Q424
relation P36
type Q56061
type Q515
[ANSWERS]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Q424 property:P36 ?k . { { ?k rdf:type ontology:Q515 } UNION { ?k rdf:type ontology:Q56061 } } } } . FILTER ( ?n = ?e ) . { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?n ) WHERE { { ?y property:P36 ?d . ?y rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q56061 } UNION { ?y property:P36 ?d . ?y rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q515 } } GROUP BY ?y } }
Yemen Panama Znaur Israel Costa Rica Gênes Peru Argentina Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Yovon District Murmansk Okrug Orihuela Governorate Armenia Bahrain Frise Uthukela District Municipality Prince Edward Island Russia Alfred Nzo District Municipality Gironde British Columbia Mopani District Municipality OR Tambo District Municipality Ivittuut Municipality Dr Ruth Segomotsi Mompati District Municipality Seine-et-Oise Principality of Serbia Sieg Rumi District Overberg District Municipality Minya Governorate Equatorial Guinea Suriname Guyana Ecuador Umbria Lazio John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Iceland Pakistan Northwest Territories Belarus Mozambique Morocco Dhaka District Ourthe Basilicata Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Swaziland Aravalli district Yevpatoria municipality Umgungundlovu District Municipality Bas-Rhin Chile Aswan Governorate Ethiopia Kenya Ghana Monufia Governorate Rhine Trasimène Kingdom of Galicia–Volhynia Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Samoa Principality of Wales Province of Brescia Isère Ruhr Maulvi Bazar District Niue Bojanala Platinum District Municipality Saxe-Eisenach Tibre Duchy of Luxembourg Tunisia Veneto Togo Hamadoni District Norak District Kouilou Department 6th of October Governorate Dyle Trentino-South Tyrol North Holland Federated States of Micronesia Taro Zeeland Flevoland Talitsky District Danghara District India Limburg Montserrat Frances Baard District Municipality Malaysia Abyei District Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Portugal Turkey El Salvador Haiti Iraq Iran San Juan de Jinotega Ithaque Afghanistan South Korea Vietnam Zuyderzée Cuba New Brunswick Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Asyut Governorate Finland Luxembourg Belgium Lithuania Poland Sweden Doubs Switzerland Italy Ems-Occidental Rhin-et-Moselle Pô Loire-Atlantique Finistère Damietta Governorate Montenegro Pixley ka Seme District Municipality Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine French Southern and Antarctic Lands Barisal District North Brabant Deux-Nèthes North Slope Borough Corse Alpes-Maritimes Bangladesh Uganda Rwanda Niger Namibia Cacadu District Municipality Sao Tomé and Príncipe South Holland Palau Trinidad and Tobago Groningen Bolivia West Coast District Municipality Dakahlia Governorate Eden District Municipality Ismailia Governorate Qena Governorate Joe Gqabi District Municipality ZF Mgcawu District Municipality Gharbia Governorate Red Sea Governorate East Timor Rome Bouches-de-la-Meuse Estonia Egypt Uruguay United Arab Emirates Rhône Tepic, Nayarit (municipality) Louverture Ouest Ozama Ugu District Municipality Alpes-Maritimes Afrin Nahiya Duchy of Carniola Matrouh Governorate Beni Suef Governorate Alberta Rhône-et-Loire Xhariep District Municipality Nova Scotia Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Mella Comilla District Arno Cibao Ramensky District Los Guayos Municipality Farkhor District Sud Saky municipality Fiji Mongolia Kiribati Venezuela Nord Somme Shapsugsky National District Chad West Rand District Municipality Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Escuintla South Sudan Eritrea Bulgaria Yssel-Supérieur Yalta municipality Maldives Lebanon Spanish Sahara Seine Habsburg Empire Principality of Vitebsk Cape Winelands District Municipality Duchy of Prussia Izabal Department Bornholm Méditerranée Manitoba Cairo Governorate iLembe District Municipality Nord Norway Ireland Hungary Escaut People's Republic of China Azerbaijan Bosnia and Herzegovina New Valley Governorate Greenland Faiyum Governorate Republic of Macedonia Duchy of Bavaria UThungulu District Municipality Cyprus Liechtenstein Fezile Dabi District Municipality Saskatchewan Kars Oblast Burundi Botswana Bouches-de-l'Èbre-Montserrat Bouches-de-l'Èbre Karelian National Okrug Sirajganj District Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Côte d'Ivoire Sègre-Ter Duchy of Zaslawye Campania Vanuatu Giza Governorate Saint Lucia Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Sedibeng District Municipality Spain Namakwa District Municipality Batumi Oblast Hérault Zululand District Municipality Tajikistan Nunavut Thailand Sylhet District Kafr el-Sheikh Governorate Mont-Tonnerre Duchy of Athens Jaén District Unterelsaß France Simplon Alexandria Governorate United Kingdom Algeria Yukon Yvelines Uzbekistan Côte-d'Or Oman Rangpur District Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Dzau district Newfoundland and Labrador Bouches-du-Rhône Principality of Minsk Vose' District Mer-Égée Mymensingh District Pars Sohag Governorate Dinajpur District North Sinai Governorate Armyansk municipality Faroe Islands Amathole District Municipality Panj District Gali Municipality Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Duchy of Burgundy Philippines Central African Republic Syria North Korea Cambodia Saudi Arabia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Sambre-et-Meuse Apulia Tijuana Municipality Albania Muminobod District Shahrtuz District Somalia Sierra Leone Seychelles Senegal Suez Governorate Corse-du-Sud Ngaka Modiri Molema District Municipality Luxor Governorate Ontario Andorra Saxe-Coburg and Gotha South Sinai Governorate Patuakhali District Roer Aude Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Ayn Central Karoo District Municipality Samaná Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Barbados Ter Djibouti Kineshemsky District Capricorn District Municipality Democratic Republic of the Congo Republic of the Congo Comoros Principality of Trubetsk Principality of Goroden Beheira Governorate Gelderland Guatemala Utrecht Madagascar Overijssel Drenthe Liberia Libya Cape Verde Lesotho Tonga Vakhsh District Umayyad Caliphate Lys Port Said Governorate Simferopol municipality Sisonke District Municipality Guatemala Department
Italy Russia Netherlands
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find
entity Cambodia
relation capital
type administrative territorial entity
type city
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Cambodia property:capital ?k . { { ?k rdf:type ontology:city } UNION { ?k rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?n = ?e ) . { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?n ) WHERE { { ?y property:capital ?d . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:administrative_territorial_entity } UNION { ?y property:capital ?d . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:city } } GROUP BY ?y } }
[]