Simple Question (Direct)
Simple Question
Q7819966
P27
Q15617994
USER
Which administrative territory does Tommy Veitch belong to ?
(Q7819966,P27,c(Q15617994))
action filter_type
action find
entity Q7819966
relation P27
type Q15617994
['Q7819966', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q7819966 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Tommy Veitch
action filter_type
action find
entity Tommy Veitch
relation country of citizenship
type designation for an administrative territorial entity
['Tommy Veitch', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Tommy_Veitch property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q7819966,P27,c(Q15617994))
action filter_type
action find
entity Q7819966
relation P27
type Q15617994
Tommy Veitch belongs to [ANSWER]
['Q7819966', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q7819966 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
United Kingdom
Tommy Veitch belongs to United Kingdom
United Kingdom
action filter_type
action find
entity Tommy Veitch
relation country of citizenship
type designation for an administrative territorial entity
['Tommy Veitch', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Tommy_Veitch property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P915
Q15416
USER
Which television program was filmed at that administrative territory ?
(c(Q15416),P915,Q145)
action filter_type
action find_reverse
entity Q145
relation P915
type Q15416
[{'concept': 'Q15416'}, 'P915', 'Q145']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15416 . ?z property:P915 resource:Q145 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'United Kingdom']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:television_program . ?z property:filming_location resource:United_Kingdom }
[]
television program
Q21427546
SYSTEM
Hunted
Q21427546
(c(Q15416),P915,Q145)
action filter_type
action find_reverse
entity Q145
relation P915
type Q15416
[ANSWER] was filmed at that administrative territory
[{'concept': 'Q15416'}, 'P915', 'Q145']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15416 . ?z property:P915 resource:Q145 }
Hunted
Hunted was filmed at that administrative territory
Hunted
action filter_type
action find_reverse
entity United Kingdom
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'United Kingdom']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:television_program . ?z property:filming_location resource:United_Kingdom }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P1408
Q4830453
USER
Which business enterprises are licensed to broadcast to that administrative territory ?
(c(Q4830453),P1408,Q21427546)
action filter_type
action find_reverse
entity Q145
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q21427546']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q4830453 . ?g property:P1408 resource:Q145 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Hunted']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:business_enterprise . ?g property:licensed_to_broadcast_to resource:United_Kingdom }
[]
business enterprise
Q191472 Q6459992 Q7280832
SYSTEM
BBC One, LSRfm.com, Radio Hartlepool
Q191472 Q6459992 Q7280832
(c(Q4830453),P1408,Q21427546)
action filter_type
action find_reverse
entity Q145
relation P1408
type Q4830453
[ANSWERS] are licensed to broadcast to that administrative territory
[{'concept': 'Q4830453'}, 'P1408', 'Q21427546']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q4830453 . ?g property:P1408 resource:Q145 }
BBC One LSRfm.com Radio Hartlepool
BBC One, LSRfm.com and Radio Hartlepool are licensed to broadcast to that administrative territory
BBC One LSRfm.com Radio Hartlepool
action filter_type
action find_reverse
entity United Kingdom
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Hunted']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:business_enterprise . ?g property:licensed_to_broadcast_to resource:United_Kingdom }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P1001
Q12737077
USER
Which occupations apply to jurisdiction over United Kingdom ?
(c(Q12737077),P1001,Q145)
action filter_type
action find_reverse
entity Q145
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q145']
SELECT DISTINCT ?u WHERE { ?u property:P1001 resource:Q145 . ?u rdf:type ontology:Q12737077 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'United Kingdom']
SELECT DISTINCT ?u WHERE { ?u property:applies_to_jurisdiction resource:United_Kingdom . ?u rdf:type ontology:occupation }
[]
occupation
Q25863345 Q25860233 Q3246797
SYSTEM
Secretary of State for International Trade, Secretary of State for Exiting the European Union, Secretary of State for Transport
Q14957218 Q4976591 Q910308 Q1371091 Q5261043 Q15039982 Q1846384 Q6865953 Q1507619 Q921439 Q15109454 Q20984834 Q14984399 Q217217 Q7460553 Q2484309 Q2012061 Q7460598 Q6865949 Q7444357 Q7444350 Q7444352 Q943379 Q531471 Q7883047 Q3477307 Q1369302 Q6866360 Q16974879 Q7460544 Q4122328 Q5449647 Q6865776 Q6865933 Q7444345 Q7444342 Q7444340 Q1243633 Q25196293 Q6865755 Q2636053 Q464103 Q18952564 Q6866379 Q3858507 Q6866372 Q20086422 Q25863345 Q3477306 Q2747647 Q611513 Q1446566 Q6865782 Q16323054 Q4146869 Q25906149 Q3315134 Q6866342 Q6866346 Q24312819 Q6866348 Q3397406 Q6866286 Q6866042 Q1060844 Q3477296 Q7460600 Q6317200 Q18115939 Q23304253 Q7460514 Q19968043 Q609884 Q11781526 Q3315116 Q610320 Q15038174 Q10564336 Q3297079 Q6865995 Q11013932 Q6865827 Q24312774 Q3387159 Q16324556 Q6866025 Q2741536 Q16321336 Q5097071 Q7460591 Q7460592 Q7460593 Q4581578 Q7460596 Q7460597 Q111784 Q7460599 Q3246797 Q3259412 Q162754 Q4122313 Q6866404 Q13625987 Q6865965 Q19968185 Q7444337 Q7444335 Q25860233 Q7444338 Q16707842
(c(Q12737077),P1001,Q145)
action filter_type
action find_reverse
entity Q145
relation P1001
type Q12737077
Secretary of State for International Trade, Secretary of State for exiting the European Union and Secretary of State for Transport apply to jurisdiction over United Kingdom
[{'concept': 'Q12737077'}, 'P1001', 'Q145']
SELECT DISTINCT ?u WHERE { ?u property:P1001 resource:Q145 . ?u rdf:type ontology:Q12737077 }
Shadow Secretary of State for Scotland Shadow Home Secretary Lord Privy Seal Secretary of State for Foreign and Commonwealth Affairs Deputy Leader of the Labour Party Shadow Secretary of State for Business, Innovation and Skills Secretary of State for Wales Minister for Social Exclusion Deputy Prime Minister of the United Kingdom Spouse of the Prime Minister of the United Kingdom Minister of State for Transport Ambassador of the United Kingdom to Vietnam Secretary of State for Environment, Food and Rural Affairs Lord Chancellor Shadow Minister for Women and Equalities Secretary of State for the Home Department Leader of the House of Lords Shadow Secretary of State for Justice Minister for Security Secretary of State for Work and Pensions Secretary of State for Innovation, Universities and Skills Secretary of State for International Development Lord President of the Council Chancellor of the Exchequer Under-Secretary of State for Foreign Affairs Secretary of State for Justice Secretary of State for Northern Ireland Minister of State for Immigration Secretary of State for the Environment, Transport and the Regions Shadow Leader of the House of Commons Secretary of State for Social Services Financial Secretary to the Treasury Minister for Culture, Communications and Creative Industries Minister for Policing Secretary of State for Energy and Climate Change Secretary of State for Employment Secretary of State for Dominion Affairs Queen's Champion Minister of State for Energy Minister for Children Leader of the House of Commons Speaker of the House of Commons Member of the House of Lords Minister of State for the Armed Forces Secretary of State for Business, Energy and Industrial Strategy Minister of State for Trade Shadow Secretary of State for Employment Secretary of State for International Trade Secretary of State for Education Secretary of State for Defence Secretary of State for Economic Affairs Minister of Munitions Minister for Defence Equipment, Support and Technology Shadow Secretary of State for Wales Minister of State for Foreign Affairs Parliamentary Secretary Minister for Women and Equalities Minister of State for Commonwealth Affairs Minister of State for Communities and Local Government Shadow Financial Secretary to the Treasury Minister of State for Competitiveness Secretary of State for Health Minister of Production Minister of Aircraft Production Paymaster General Secretary of State for Air Shadow Secretary of State for Transport Justice of the Supreme Court of the United Kingdom Ambassador of the United Kingdom Parliamentary Under-Secretary of State for International Development Shadow Foreign Secretary Secretary of State for Energy First Lord of the Treasury Secretary of State for Communities and Local Government Minister for the Civil Service Lords of Appeal in Ordinary Shadow Secretary of State for Environment, Food and Rural Affairs Minister of Technology Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Shadow Chancellor of the Exchequer Minister of State for Europe Shadow Paymaster General Minister of Defence Shadow Chief Secretary to the Treasury Minister of Agriculture, Fisheries and Food Leader of the Opposition Shadow Secretary of State for Work and Pensions Chief of the Secret Intelligence Service Shadow Secretary of State for Culture, Media and Sport Shadow Secretary of State for Education Shadow Secretary of State for Energy and Climate Change Postmaster General of the United Kingdom Shadow Secretary of State for Health Shadow Secretary of State for International Development Secretary of State for Scotland Shadow Secretary of State for Northern Ireland Secretary of State for Transport Lord of the Treasury Chancellor of the Duchy of Lancaster Secretary of State for the Environment Minister of Supply Shadow Secretary of State for Defence Minister for Sport and the Olympics Secretary of State for Prices and Consumer Protection Secretary of State for Commonwealth Relations Secretary of State for Children, Schools and Families Secretary of State for Exiting the European Union Secretary of State for Constitutional Affairs Member of Parliament in the United Kingdom
Secretary of State for International Trade, Secretary of State for exiting the European Union and Secretary of State for Transport apply to jurisdiction over United Kingdom
Secretary of State for International Trade Secretary of State for Exiting the European Union Secretary of State for Transport
action filter_type
action find_reverse
entity United Kingdom
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'United Kingdom']
SELECT DISTINCT ?u WHERE { ?u property:applies_to_jurisdiction resource:United_Kingdom . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q25863345 Q25860233 Q3246797
P1001
Q15617994
USER
Which administrative territories come under the supervision of those occupations ?
(Q25863345,P1001,c(Q15617994)) (Q25860233,P1001,c(Q15617994)) (Q3246797,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
['Q25863345', 'P1001', {'concept': 'Q15617994'}] ['Q25860233', 'P1001', {'concept': 'Q15617994'}] ['Q3246797', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?x ) { ( resource:Q14957218 ) ( resource:Q4976591 ) ( resource:Q910308 ) } . ?j rdf:type ontology:Q15617994 . ?x property:P1001 ?j }
Secretary of State for International Trade Secretary of State for Exiting the European Union Secretary of State for Transport
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['Secretary of State for International Trade', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Secretary of State for Exiting the European Union', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Secretary of State for Transport', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?x ) { ( resource:Shadow_Secretary_of_State_for_Scotland ) ( resource:Shadow_Home_Secretary ) ( resource:Lord_Privy_Seal ) } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:applies_to_jurisdiction ?j }
[]
designation for an administrative territorial entity
Q145 Q145 Q145
SYSTEM
United Kingdom
Q145 Q145 Q145
(Q25863345,P1001,c(Q15617994)) (Q25860233,P1001,c(Q15617994)) (Q3246797,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] come under the supervision of those occupations
['Q25863345', 'P1001', {'concept': 'Q15617994'}] ['Q25860233', 'P1001', {'concept': 'Q15617994'}] ['Q3246797', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?x ) { ( resource:Q14957218 ) ( resource:Q4976591 ) ( resource:Q910308 ) } . ?j rdf:type ontology:Q15617994 . ?x property:P1001 ?j }
United Kingdom United Kingdom United Kingdom
United Kingdom, United Kingdom and United Kingdom come under the supervision of those occupations
United Kingdom United Kingdom United Kingdom
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['Secretary of State for International Trade', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Secretary of State for Exiting the European Union', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Secretary of State for Transport', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?x ) { ( resource:Shadow_Secretary_of_State_for_Scotland ) ( resource:Shadow_Home_Secretary ) ( resource:Lord_Privy_Seal ) } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:applies_to_jurisdiction ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P1532
Q502895
USER
Which people represent United Kingdom ?
(c(Q502895),P1532,Q145)
action filter_type
action find_reverse
entity Q145
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q145']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P1532 resource:Q145 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'United Kingdom']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:country_for_sport resource:United_Kingdom }
[]
common name
Q21402269 Q23899221 Q16019708
SYSTEM
Alison Wyeth, John Nuttall, Andy Holden
Q21402269 Q23801215 Q23933231 Q16570372 Q23839484 Q26464525 Q24689189 Q25841148 Q25712393 Q21858372 Q22679450 Q21858356 Q24055567 Q22159069 Q16197248 Q23899221 Q3489581 Q21675005 Q16019708 Q23907033 Q9140805 Q2849387 Q26217926 Q14914875 Q16210580 Q26217998 Q23010253 Q7815016 Q21808670 Q23834462 Q23838005
(c(Q502895),P1532,Q145)
action filter_type
action find_reverse
entity Q145
relation P1532
type Q502895
The [ANSWERS] represent United Kingdom
[{'concept': 'Q502895'}, 'P1532', 'Q145']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P1532 resource:Q145 }
Alison Wyeth Birhan Dagne Geoff Saunders Kyle Langford Ray Middleton Colin Walker Bryony Page Elliot Giles Rachel Wallader Jacqui Agyepong Rod Finch Craig Winrow Tracey Morris Andrew Pearson Lesley-Ann Skeete John Nuttall Solomon Wariso Sonia McGeorge Andy Holden Simon Fairbrother Adelle Tracey Angela Tooby Ann Williams Nethaneel Mitchell-Blake Keri Lees Hugh Teape Stephi Douglas Tom Bosworth Donovan Reid Carol Tyson George Williams
The Alison Wyeth, John Nuttall and Andy Holden represent United Kingdom
Alison Wyeth John Nuttall Andy Holden
action filter_type
action find_reverse
entity United Kingdom
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'United Kingdom']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:country_for_sport resource:United_Kingdom }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q21402269 Q23899221 Q16019708
P1532
Q15617994
USER
What administrative territories do those people represent ?
(Q21402269,P1532,c(Q15617994)) (Q23899221,P1532,c(Q15617994)) (Q16019708,P1532,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1532
type Q15617994
['Q21402269', 'P1532', {'concept': 'Q15617994'}] ['Q23899221', 'P1532', {'concept': 'Q15617994'}] ['Q16019708', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?p property:P1532 ?j . ?j rdf:type ontology:Q15617994 . VALUES ( ?p ) { ( resource:Q21402269 ) ( resource:Q23801215 ) ( resource:Q23933231 ) } }
Alison Wyeth John Nuttall Andy Holden
action filter_type
action find
entity prev_answer
relation country for sport
type designation for an administrative territorial entity
['Alison Wyeth', 'country for sport', {'concept': 'designation for an administrative territorial entity'}] ['John Nuttall', 'country for sport', {'concept': 'designation for an administrative territorial entity'}] ['Andy Holden', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?p property:country_for_sport ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?p ) { ( resource:Alison_Wyeth ) ( resource:Birhan_Dagne ) ( resource:Geoff_Saunders ) } }
[]
designation for an administrative territorial entity
Q145 Q145 Q145
SYSTEM
United Kingdom
Q145 Q145 Q145
(Q21402269,P1532,c(Q15617994)) (Q23899221,P1532,c(Q15617994)) (Q16019708,P1532,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1532
type Q15617994
Those people represent the [ANSWER], [ANSWER] and [ANSWER]
['Q21402269', 'P1532', {'concept': 'Q15617994'}] ['Q23899221', 'P1532', {'concept': 'Q15617994'}] ['Q16019708', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?p property:P1532 ?j . ?j rdf:type ontology:Q15617994 . VALUES ( ?p ) { ( resource:Q21402269 ) ( resource:Q23801215 ) ( resource:Q23933231 ) } }
United Kingdom United Kingdom United Kingdom
Those people represent the United Kingdom, United Kingdom and United Kingdom
United Kingdom United Kingdom United Kingdom
action filter_type
action find
entity prev_answer
relation country for sport
type designation for an administrative territorial entity
['Alison Wyeth', 'country for sport', {'concept': 'designation for an administrative territorial entity'}] ['John Nuttall', 'country for sport', {'concept': 'designation for an administrative territorial entity'}] ['Andy Holden', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?p property:country_for_sport ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?p ) { ( resource:Alison_Wyeth ) ( resource:Birhan_Dagne ) ( resource:Geoff_Saunders ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25860233
P17
Q15617994
USER
Which administrative territory is Secretary of State for Exiting the European Union present in ?
(Q25860233,P17,c(Q15617994))
action filter_type
action find
entity Q25860233
relation P17
type Q15617994
['Q25860233', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q25860233 property:P17 ?g }
Secretary of State for Exiting the European Union
action filter_type
action find
entity Secretary of State for Exiting the European Union
relation country
type designation for an administrative territorial entity
['Secretary of State for Exiting the European Union', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Secretary_of_State_for_Exiting_the_European_Union property:country ?g }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q25860233,P17,c(Q15617994))
action filter_type
action find
entity Q25860233
relation P17
type Q15617994
[ANSWER] is Secretary of State for Exiting the European Union present in
['Q25860233', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q25860233 property:P17 ?g }
United Kingdom
United Kingdom is Secretary of State for Exiting the European Union present in
United Kingdom
action filter_type
action find
entity Secretary of State for Exiting the European Union
relation country
type designation for an administrative territorial entity
['Secretary of State for Exiting the European Union', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Secretary_of_State_for_Exiting_the_European_Union property:country ?g }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q15617994 Q486972 Q515
USER
How many administrative territories have atleast 1 human settlements and cities as their capital ?
(c(Q486972)|c(Q515),P1376,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
value 1
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?v WHERE { VALUES ( ?w ) { ( ontology:Q486972 ) ( ontology:Q515 ) } . ?a rdf:type ?w } GROUP BY ?v } . FILTER ( ?n >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
value 1
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?v WHERE { VALUES ( ?w ) { ( ontology:human_settlement ) ( ontology:city ) } . ?a rdf:type ?w } GROUP BY ?v } . FILTER ( ?n >= 1 ) }
[]
designation for an administrative territorial entity human settlement city
SYSTEM
70
Q414 Q1111401 Q252 Q399 Q258 Q155 Q736 Q843 Q2007 Q1050 Q298 Q115 Q114 Q541589 Q696651 Q948 Q639100 Q702 Q833 Q790 Q796 Q794 Q889 Q884 Q881 Q541095 Q492437 Q1037 Q1033 Q1030 Q750 Q30831 Q878 Q46130 Q3044714 Q1951 Q492430 Q711 Q717 Q1948 Q27 Q225 Q222 Q47261 Q228 Q965 Q963 Q1008 Q72670 Q568751 Q2150573 Q12536 Q3342 Q842 Q3240 Q4712 Q924 Q928 Q851 Q12717 Q347 Q3462133 Q17 Q3207 Q212 Q211 Q218 Q974 Q1019 Q1011
(c(Q486972)|c(Q515),P1376,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
value 1
[ANSWER]
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?v WHERE { VALUES ( ?w ) { ( ontology:Q486972 ) ( ontology:Q515 ) } . ?a rdf:type ?w } GROUP BY ?v } . FILTER ( ?n >= 1 ) }
Argentina Kispest District Indonesia Armenia South Africa Brazil Ecuador Pakistan Northwest Territories Swaziland Chile Ethiopia Kenya Ems-Supérieur Saxe-Eisenach Tunisia Principality of Reuss-Gera Federated States of Micronesia Malaysia Haiti Iraq Iran Afghanistan South Korea Vietnam Rhin-et-Moselle Bouches-du-Weser Rwanda Nigeria Namibia Bolivia Red Sea Governorate United Arab Emirates Rhône Ouest Alberta Bouches-de-l'Elbe Mongolia Venezuela Manitoba Ireland Bosnia and Herzegovina Albania Duchy of Bavaria Andorra Burkina Faso Botswana Côte d'Ivoire Batumi Oblast Mont-Tonnerre Unterelsaß Abbasid caliphate Côte-d'Or Oman Bouches-du-Rhône Duchy of Burgundy Tanzania Philippines Saudi Arabia Bas-Rhin Liechtenstein Saxe-Coburg and Gotha Japan Aude Ukraine Latvia Romania Democratic Republic of the Congo Madagascar Cape Verde
70
action count
action atleast
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
value 1
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?v WHERE { VALUES ( ?w ) { ( ontology:human_settlement ) ( ontology:city ) } . ?a rdf:type ?w } GROUP BY ?v } . FILTER ( ?n >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23899221
P1344
Q13406554
USER
Which sport competitions did John Nuttall participate in ?
(Q23899221,P1344,c(Q13406554))
action filter_type
action find
entity Q23899221
relation P1344
type Q13406554
['Q23899221', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ?s WHERE { resource:Q23899221 property:P1344 ?s . ?s rdf:type ontology:Q13406554 }
John Nuttall
action filter_type
action find
entity John Nuttall
relation participant of
type sport competition
['John Nuttall', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ?s WHERE { resource:John_Nuttall property:participant_of ?s . ?s rdf:type ontology:sport_competition }
[]
sport competition
Q651420 Q155589
SYSTEM
1995 World Championships in Athletics, 1993 World Championships in Athletics
Q651420 Q155589
(Q23899221,P1344,c(Q13406554))
action filter_type
action find
entity Q23899221
relation P1344
type Q13406554
John Nuttall participated in [ANSWERS]
['Q23899221', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ?s WHERE { resource:Q23899221 property:P1344 ?s . ?s rdf:type ontology:Q13406554 }
1995 World Championships in Athletics 1993 World Championships in Athletics
John Nuttall participated in 1995 World Championships in Athletics and 1993 World Championships in Athletics
1995 World Championships in Athletics 1993 World Championships in Athletics
action filter_type
action find
entity John Nuttall
relation participant of
type sport competition
['John Nuttall', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ?s WHERE { resource:John_Nuttall property:participant_of ?s . ?s rdf:type ontology:sport_competition }
[]