Simple Question (Direct)
Simple Question
Q3445784
P54
Q12973014
USER
Which sports teams are Roy John a member of ?
(Q3445784,P54,c(Q12973014))
action filter_type
action find
entity Q3445784
relation P54
type Q12973014
['Q3445784', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12973014 . resource:Q3445784 property:P54 ?k }
Roy John
action filter_type
action find
entity Roy John
relation member of sports team
type sports team
['Roy John', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sports_team . resource:Roy_John property:member_of_sports_team ?k }
[]
sports team
Q807749 Q822877
SYSTEM
Barbarian F.C., Wales national rugby union team
Q807749 Q822877
(Q3445784,P54,c(Q12973014))
action filter_type
action find
entity Q3445784
relation P54
type Q12973014
[ANSWERS] are Roy John a member of
['Q3445784', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12973014 . resource:Q3445784 property:P54 ?k }
Barbarian F.C. Wales national rugby union team
Barbarian F.C. and Wales national rugby union team are Roy John a member of
Barbarian F.C. Wales national rugby union team
action filter_type
action find
entity Roy John
relation member of sports team
type sports team
['Roy John', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sports_team . resource:Roy_John property:member_of_sports_team ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3445784
P19
Q56061
USER
Which administrative territory is the place of birth of Roy John ?
(Q3445784,P19,c(Q56061))
action filter_type
action find
entity Q3445784
relation P19
type Q56061
['Q3445784', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q3445784 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Roy John
action filter_type
action find
entity Roy John
relation place of birth
type administrative territorial entity
['Roy John', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Roy_John property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2003342
SYSTEM
Neath
Q2003342
(Q3445784,P19,c(Q56061))
action filter_type
action find
entity Q3445784
relation P19
type Q56061
[ANSWER] is the place of birth of Roy John
['Q3445784', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q3445784 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Neath
Neath is the place of birth of Roy John
Neath
action filter_type
action find
entity Roy John
relation place of birth
type administrative territorial entity
['Roy John', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Roy_John property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24026973
P532
Q56061 Q2235308
USER
How many ship types have more number of administrative territories as their base harbour than Malvina ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026973
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?l ) WHERE { ?u property:P532 ?k . ?u rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 } GROUP BY ?u } . FILTER ( ?l > ?t ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q24026973 property:P532 ?r . ?r rdf:type ontology:Q2235308 } } }
Malvina
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Malvina
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?l ) WHERE { ?u property:port_of_registry ?k . ?u rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?l > ?t ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Malvina property:port_of_registry ?r . ?r rdf:type ontology:ship_type } } }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026973
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?l ) WHERE { ?u property:P532 ?k . ?u rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 } GROUP BY ?u } . FILTER ( ?l > ?t ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q24026973 property:P532 ?r . ?r rdf:type ontology:Q2235308 } } }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Malvina
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?l ) WHERE { ?u property:port_of_registry ?k . ?u rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?l > ?t ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Malvina property:port_of_registry ?r . ?r rdf:type ontology:ship_type } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q24027395
P532
Q56061 Q2235308
USER
And what about Lois?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027395
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Q24027395 property:P532 ?s . ?s rdf:type ontology:Q2235308 } } . FILTER ( ?y > ?q ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?y ) WHERE { ?f property:P532 ?u . ?f rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q56061 } GROUP BY ?f } }
Lois
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Lois
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Lois property:port_of_registry ?s . ?s rdf:type ontology:ship_type } } . FILTER ( ?y > ?q ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?y ) WHERE { ?f property:port_of_registry ?u . ?f rdf:type ontology:ship_type . ?u rdf:type ontology:administrative_territorial_entity } GROUP BY ?f } }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027395
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Q24027395 property:P532 ?s . ?s rdf:type ontology:Q2235308 } } . FILTER ( ?y > ?q ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?y ) WHERE { ?f property:P532 ?u . ?f rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q56061 } GROUP BY ?f } }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Lois
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Lois property:port_of_registry ?s . ?s rdf:type ontology:ship_type } } . FILTER ( ?y > ?q ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?y ) WHERE { ?f property:port_of_registry ?u . ?f rdf:type ontology:ship_type . ?u rdf:type ontology:administrative_territorial_entity } GROUP BY ?f } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24027395
P1071
Q56061
USER
Where is the final place of assembly for that ship type ?
action filter_type
action find
entity Q24027395
relation P1071
type Q56061
SELECT DISTINCT ?a WHERE { resource:Q24027395 property:P1071 ?a . ?a rdf:type ontology:Q56061 }
Lois
action filter_type
action find
entity Lois
relation location of final assembly
type administrative territorial entity
SELECT DISTINCT ?a WHERE { resource:Lois property:location_of_final_assembly ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q188304
SYSTEM
Sunderland
Q188304
action filter_type
action find
entity Q24027395
relation P1071
type Q56061
The final place of assembly for that ship type is the [ANSWER]
SELECT DISTINCT ?a WHERE { resource:Q24027395 property:P1071 ?a . ?a rdf:type ontology:Q56061 }
Sunderland
The final place of assembly for that ship type is the Sunderland
Sunderland
action filter_type
action find
entity Lois
relation location of final assembly
type administrative territorial entity
SELECT DISTINCT ?a WHERE { resource:Lois property:location_of_final_assembly ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q188304
P47
Q56061
USER
Which administrative territory is next to the border of that one ?
(c(Q56061),P47,Q188304)
action filter_type
action find
entity Q188304
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q188304']
SELECT DISTINCT ?k WHERE { resource:Q188304 property:P47 ?k . ?k rdf:type ontology:Q56061 }
Sunderland
action filter_type
action find
entity Sunderland
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Sunderland']
SELECT DISTINCT ?k WHERE { resource:Sunderland property:shares_border_with ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q216372
SYSTEM
Gateshead
Q216372
(c(Q56061),P47,Q188304)
action filter_type
action find
entity Q188304
relation P47
type Q56061
[ANSWER] is next to the border of that one
[{'concept': 'Q56061'}, 'P47', 'Q188304']
SELECT DISTINCT ?k WHERE { resource:Q188304 property:P47 ?k . ?k rdf:type ontology:Q56061 }
Gateshead
Gateshead is next to the border of that one
Gateshead
action filter_type
action find
entity Sunderland
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Sunderland']
SELECT DISTINCT ?k WHERE { resource:Sunderland property:shares_border_with ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that administrative territory situated in ?
(Q216372,P17,c(Q15617994))
action count
action filter_type
action find
entity Q216372
relation P17
type Q15617994
['Q216372', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Q216372 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Gateshead
relation country
type designation for an administrative territorial entity
['Gateshead', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Gateshead property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q216372,P17,c(Q15617994))
action count
action filter_type
action find
entity Q216372
relation P17
type Q15617994
[ANSWER]
['Q216372', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Q216372 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Gateshead
relation country
type designation for an administrative territorial entity
['Gateshead', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Gateshead property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q23007365 Q3445784
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Roy John or are Masambya Moslem Primary School a part of ?
OR((Q3445784,P27,c(Q15617994)), (Q23007365,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3445784
relation P27
action find
entity Q23007365
relation P17
type Q15617994
{'OR': [['Q3445784', 'P27', {'concept': 'Q15617994'}], ['Q23007365', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q3445784 property:P27 ?w } UNION { resource:Q23007365 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Masambya Moslem Primary School Roy John
action filter_type
action union
action find
entity Roy John
relation country of citizenship
action find
entity Masambya Moslem Primary School
relation country
type designation for an administrative territorial entity
{'OR': [['Roy John', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Masambya Moslem Primary School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Roy_John property:country_of_citizenship ?w } UNION { resource:Masambya_Moslem_Primary_School property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1036 Q145
SYSTEM
Uganda, United Kingdom
Q1036 Q145
OR((Q3445784,P27,c(Q15617994)), (Q23007365,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3445784
relation P27
action find
entity Q23007365
relation P17
type Q15617994
[ANSWERS] are the native countriesof Roy John or are Masambya Moslem Primary School a part of
{'OR': [['Q3445784', 'P27', {'concept': 'Q15617994'}], ['Q23007365', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q3445784 property:P27 ?w } UNION { resource:Q23007365 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Uganda United Kingdom
Uganda and United Kingdom are the native countriesof Roy John or are Masambya Moslem Primary School a part of
Uganda United Kingdom
action filter_type
action union
action find
entity Roy John
relation country of citizenship
action find
entity Masambya Moslem Primary School
relation country
type designation for an administrative territorial entity
{'OR': [['Roy John', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Masambya Moslem Primary School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Roy_John property:country_of_citizenship ?w } UNION { resource:Masambya_Moslem_Primary_School property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic relations with approximately 97 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 97
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?e ) WHERE { ?n property:P530 ?p . ?n rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?e = 97 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 97
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?e ) WHERE { ?n property:diplomatic_relation ?p . ?n rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?e = 97 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 97
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?e ) WHERE { ?n property:P530 ?p . ?n rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?e = 97 ) }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 97
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?e ) WHERE { ?n property:diplomatic_relation ?p . ?n rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?e = 97 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P1408
Q4830453
USER
Which business enterprises are licensed to broadcast to United Kingdom ?
(c(Q4830453),P1408,Q145)
action filter_type
action find_reverse
entity Q145
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q145']
SELECT DISTINCT ?t WHERE { ?t property:P1408 resource:Q145 . ?t rdf:type ontology:Q4830453 }
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', 'United Kingdom']
SELECT DISTINCT ?t WHERE { ?t property:licensed_to_broadcast_to resource:United_Kingdom . ?t rdf:type ontology:business_enterprise }
[]
business enterprise
Q191472 Q6459992 Q7280832
SYSTEM
BBC One, LSRfm.com, Radio Hartlepool
Q191472 Q6459992 Q7280832
(c(Q4830453),P1408,Q145)
action filter_type
action find_reverse
entity Q145
relation P1408
type Q4830453
[ANSWERS] are licensed to broadcast to United Kingdom
[{'concept': 'Q4830453'}, 'P1408', 'Q145']
SELECT DISTINCT ?t WHERE { ?t property:P1408 resource:Q145 . ?t rdf:type ontology:Q4830453 }
BBC One LSRfm.com Radio Hartlepool
BBC One, LSRfm.com and Radio Hartlepool are licensed to broadcast to United Kingdom
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', 'United Kingdom']
SELECT DISTINCT ?t WHERE { ?t property:licensed_to_broadcast_to resource:United_Kingdom . ?t rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P664
Q46857
USER
What was the scientific method organized by United Kingdom ?
(c(Q46857),P664,Q145)
action filter_type
action find_reverse
entity Q145
relation P664
type Q46857
[{'concept': 'Q46857'}, 'P664', 'Q145']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q46857 . ?v property:P664 resource:Q145 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation organizer
type scientific method
[{'concept': 'scientific method'}, 'organizer', 'United Kingdom']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:scientific_method . ?v property:organizer resource:United_Kingdom }
[]
scientific method
Q17111351
SYSTEM
Operation Harness
Q17111351
(c(Q46857),P664,Q145)
action filter_type
action find_reverse
entity Q145
relation P664
type Q46857
The scientific method organized by United Kingdom was the [ANSWER]
[{'concept': 'Q46857'}, 'P664', 'Q145']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q46857 . ?v property:P664 resource:Q145 }
Operation Harness
The scientific method organized by United Kingdom was the Operation Harness
Operation Harness
action filter_type
action find_reverse
entity United Kingdom
relation organizer
type scientific method
[{'concept': 'scientific method'}, 'organizer', 'United Kingdom']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:scientific_method . ?v property:organizer resource:United_Kingdom }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P291
Q2342494
USER
Which collectables were published in United Kingdom ?
(c(Q2342494),P291,Q145)
action filter_type
action find_reverse
entity Q145
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q145']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2342494 . ?z property:P291 resource:Q145 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'United Kingdom']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:collectable . ?z property:place_of_publication resource:United_Kingdom }
[]
collectable
Q2120111 Q20757790
SYSTEM
Tales from Watership Down, Marco Polo's Book
Q2120111 Q20757790
(c(Q2342494),P291,Q145)
action filter_type
action find_reverse
entity Q145
relation P291
type Q2342494
[ANSWERS] were published in United Kingdom
[{'concept': 'Q2342494'}, 'P291', 'Q145']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2342494 . ?z property:P291 resource:Q145 }
Tales from Watership Down Marco Polo's Book
Tales from Watership Down and Marco Polo's Book were published in United Kingdom
Tales from Watership Down Marco Polo's Book
action filter_type
action find_reverse
entity United Kingdom
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'United Kingdom']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:collectable . ?z property:place_of_publication resource:United_Kingdom }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2120111 Q20757790
P50
Q502895
USER
Who authored Tales from Watership Down and Marco Polo's Book ?
(Q2120111,P50,c(Q502895)) (Q20757790,P50,c(Q502895))
action union
action filter_type
action find
entity Q2120111
relation P50
type Q502895
action filter_type
action find
entity Q20757790
relation P50
type Q502895
['Q2120111', 'P50', {'concept': 'Q502895'}] ['Q20757790', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { resource:Q20757790 property:P50 ?z . ?z rdf:type ontology:Q502895 } UNION { resource:Q2120111 property:P50 ?z . ?z rdf:type ontology:Q502895 } }
Tales from Watership Down Marco Polo's Book
action union
action filter_type
action find
entity Tales from Watership Down
relation author
type common name
action filter_type
action find
entity Marco Polo's Book
relation author
type common name
['Tales from Watership Down', 'author', {'concept': 'common name'}] ["Marco Polo's Book", 'author', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { resource:Marco_Polo's_Book property:author ?z . ?z rdf:type ontology:common_name } UNION { resource:Tales_from_Watership_Down property:author ?z . ?z rdf:type ontology:common_name } }
[]
common name
Q313289 Q20757788
SYSTEM
Richard Adams, John S. Critchley
Q313289 Q20757788
(Q2120111,P50,c(Q502895)) (Q20757790,P50,c(Q502895))
action union
action filter_type
action find
entity Q2120111
relation P50
type Q502895
action filter_type
action find
entity Q20757790
relation P50
type Q502895
[ANSWERS] authored Tales from Watership Down and Marco Polo's Book
['Q2120111', 'P50', {'concept': 'Q502895'}] ['Q20757790', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { resource:Q20757790 property:P50 ?z . ?z rdf:type ontology:Q502895 } UNION { resource:Q2120111 property:P50 ?z . ?z rdf:type ontology:Q502895 } }
Richard Adams John S. Critchley
Richard Adams and John S. Critchley authored Tales from Watership Down and Marco Polo's Book
Richard Adams John S. Critchley
action union
action filter_type
action find
entity Tales from Watership Down
relation author
type common name
action filter_type
action find
entity Marco Polo's Book
relation author
type common name
['Tales from Watership Down', 'author', {'concept': 'common name'}] ["Marco Polo's Book", 'author', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { resource:Marco_Polo's_Book property:author ?z . ?z rdf:type ontology:common_name } UNION { resource:Tales_from_Watership_Down property:author ?z . ?z rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P6
Q502895
USER
Which people do United Kingdom serve as the head of government for ?
(Q145,P6,c(Q502895))
action filter_type
action find
entity Q145
relation P6
type Q502895
['Q145', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q145 property:P6 ?j . ?j rdf:type ontology:Q502895 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation head of government
type common name
['United Kingdom', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:United_Kingdom property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]
common name
Q192 Q264766
SYSTEM
David Cameron, Theresa May
Q192 Q264766
(Q145,P6,c(Q502895))
action filter_type
action find
entity Q145
relation P6
type Q502895
[ANSWERS] United Kingdom serve as the head of government
['Q145', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q145 property:P6 ?j . ?j rdf:type ontology:Q502895 }
David Cameron Theresa May
David Cameron and Theresa May United Kingdom serve as the head of government
David Cameron Theresa May
action filter_type
action find
entity United Kingdom
relation head of government
type common name
['United Kingdom', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:United_Kingdom property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P84
Q811430
USER
What was designed by that administrative territory ?
(c(Q811430),P84,Q192) (c(Q811430),P84,Q264766)
action filter_type
action find_reverse
entity Q145
relation P84
type Q811430
[{'concept': 'Q811430'}, 'P84', 'Q192'] [{'concept': 'Q811430'}, 'P84', 'Q264766']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q811430 . ?z property:P84 resource:Q145 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation architect
type construction
[{'concept': 'construction'}, 'architect', 'David Cameron'] [{'concept': 'construction'}, 'architect', 'Theresa May']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:construction . ?z property:architect resource:United_Kingdom }
[]
construction
Q18648965
SYSTEM
Chennai Tech Park
Q18648965
(c(Q811430),P84,Q192) (c(Q811430),P84,Q264766)
action filter_type
action find_reverse
entity Q145
relation P84
type Q811430
[ANSWER] was designed by that administrative territory
[{'concept': 'Q811430'}, 'P84', 'Q192'] [{'concept': 'Q811430'}, 'P84', 'Q264766']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q811430 . ?z property:P84 resource:Q145 }
Chennai Tech Park
Chennai Tech Park was designed by that administrative territory
Chennai Tech Park
action filter_type
action find_reverse
entity United Kingdom
relation architect
type construction
[{'concept': 'construction'}, 'architect', 'David Cameron'] [{'concept': 'construction'}, 'architect', 'Theresa May']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:construction . ?z property:architect resource:United_Kingdom }
[]