Simple Question (Direct)
Simple Question
Q7769191
P161
Q502895
USER
Who were casted in The Tichborne Claimant ?
(Q7769191,P161,c(Q502895))
action filter_type
action find
entity Q7769191
relation P161
type Q502895
['Q7769191', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q7769191 property:P161 ?f . ?f rdf:type ontology:Q502895 }
The Tichborne Claimant
action filter_type
action find
entity The Tichborne Claimant
relation cast member
type common name
['The Tichborne Claimant', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:The_Tichborne_Claimant property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
common name
Q192912 Q953257 Q434694
SYSTEM
Stephen Fry, Robert Pugh, Robert Hardy
Q192912 Q953257 Q434694
(Q7769191,P161,c(Q502895))
action filter_type
action find
entity Q7769191
relation P161
type Q502895
[ANSWERS] were casted in The Tichborne Claimant
['Q7769191', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q7769191 property:P161 ?f . ?f rdf:type ontology:Q502895 }
Stephen Fry Robert Pugh Robert Hardy
Stephen Fry, Robert Pugh and Robert Hardy were casted in The Tichborne Claimant
Stephen Fry Robert Pugh Robert Hardy
action filter_type
action find
entity The Tichborne Claimant
relation cast member
type common name
['The Tichborne Claimant', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:The_Tichborne_Claimant property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7769191
P364
Q34770
USER
Which language was used originally for the creation of The Tichborne Claimant ?
(Q7769191,P364,c(Q34770))
action filter_type
action find
entity Q7769191
relation P364
type Q34770
['Q7769191', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q7769191 property:P364 ?t . ?t rdf:type ontology:Q34770 }
The Tichborne Claimant
action filter_type
action find
entity The Tichborne Claimant
relation original language of work
type language
['The Tichborne Claimant', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:The_Tichborne_Claimant property:original_language_of_work ?t . ?t rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7769191,P364,c(Q34770))
action filter_type
action find
entity Q7769191
relation P364
type Q34770
In [ANSWER] was used originally for the creation of The Tichborne Claimant
['Q7769191', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q7769191 property:P364 ?t . ?t rdf:type ontology:Q34770 }
English
In English was used originally for the creation of The Tichborne Claimant
English
action filter_type
action find
entity The Tichborne Claimant
relation original language of work
type language
['The Tichborne Claimant', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:The_Tichborne_Claimant property:original_language_of_work ?t . ?t rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7769191
P86
Q502895
USER
Which person composed that work of art ?
(Q1860,P86,c(Q502895))
action filter_type
action find
entity Q7769191
relation P86
type Q502895
['Q1860', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q7769191 property:P86 ?k . ?k rdf:type ontology:Q502895 }
The Tichborne Claimant
action filter_type
action find
entity The Tichborne Claimant
relation composer
type common name
['English', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:The_Tichborne_Claimant property:composer ?k . ?k rdf:type ontology:common_name }
[]
common name
Q521288
SYSTEM
Nicholas Hooper
Q521288
(Q1860,P86,c(Q502895))
action filter_type
action find
entity Q7769191
relation P86
type Q502895
[ANSWER] composed that work of art
['Q1860', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q7769191 property:P86 ?k . ?k rdf:type ontology:Q502895 }
Nicholas Hooper
Nicholas Hooper composed that work of art
Nicholas Hooper
action filter_type
action find
entity The Tichborne Claimant
relation composer
type common name
['English', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:The_Tichborne_Claimant property:composer ?k . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q192912
P106
Q12737077
USER
How many occupations are the job of Stephen Fry ?
(Q192912,P106,c(Q12737077))
action count
action filter_type
action find
entity Q192912
relation P106
type Q12737077
['Q192912', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { resource:Q192912 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Stephen Fry
action count
action filter_type
action find
entity Stephen Fry
relation occupation
type occupation
['Stephen Fry', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { resource:Stephen_Fry property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
SYSTEM
9
Q6625963 Q2259451 Q3455803 Q947873 Q10798782 Q33999 Q36180 Q18844224 Q245068
(Q192912,P106,c(Q12737077))
action count
action filter_type
action find
entity Q192912
relation P106
type Q12737077
[ANSWER]
['Q192912', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { resource:Q192912 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
novelist stage actor director television presenter television actor actor writer science fiction writer comedian
9
action count
action filter_type
action find
entity Stephen Fry
relation occupation
type occupation
['Stephen Fry', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { resource:Stephen_Fry property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q192912
P50
Q2342494
USER
Which collectables are Stephen Fry an author of ?
(c(Q2342494),P50,Q192912)
action filter_type
action find_reverse
entity Q192912
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q192912']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q2342494 . ?a property:P50 resource:Q192912 }
Stephen Fry
action filter_type
action find_reverse
entity Stephen Fry
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Stephen Fry']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:collectable . ?a property:author resource:Stephen_Fry }
[]
collectable
Q2659853 Q1517608 Q1197157
SYSTEM
The Liar, Making History, The Stars' Tennis Balls
Q1869830 Q7735399 Q20800552 Q1197157 Q2659853 Q7609247 Q1517608 Q2389945 Q1861809
(c(Q2342494),P50,Q192912)
action filter_type
action find_reverse
entity Q192912
relation P50
type Q2342494
The Liar, making History and The Stars' Tennis Balls are Stephen Fry an author of
[{'concept': 'Q2342494'}, 'P50', 'Q192912']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q2342494 . ?a property:P50 resource:Q192912 }
Paperweight The Fry Chronicles: An Autobiography More Fool Me The Stars' Tennis Balls The Liar Stephen Fry's Incomplete and Utter History of Classical Music Making History Moab Is My Washpot The Ode Less Travelled: Unlocking the Poet Within
The Liar, making History and The Stars' Tennis Balls are Stephen Fry an author of
The Liar Making History The Stars' Tennis Balls
action filter_type
action find_reverse
entity Stephen Fry
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Stephen Fry']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:collectable . ?a property:author resource:Stephen_Fry }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2659853 Q1517608 Q1197157
P495
Q15617994
USER
Which administrative territories are the origin of The Liar, Making History and The Stars' Tennis Balls ?
(Q2659853,P495,c(Q15617994)) (Q1517608,P495,c(Q15617994)) (Q1197157,P495,c(Q15617994))
action union
action filter_type
action find
entity Q2659853
relation P495
type Q15617994
action filter_type
action find
entity Q1517608
relation P495
type Q15617994
action filter_type
action find
entity Q1197157
relation P495
type Q15617994
['Q2659853', 'P495', {'concept': 'Q15617994'}] ['Q1517608', 'P495', {'concept': 'Q15617994'}] ['Q1197157', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:Q15617994 . resource:Q2659853 property:P495 ?j } UNION { resource:Q1517608 property:P495 ?j . ?j rdf:type ontology:Q15617994 } }
The Liar Making History The Stars' Tennis Balls
action union
action filter_type
action find
entity The Liar
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Making History
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity The Stars' Tennis Balls
relation country of origin
type designation for an administrative territorial entity
['The Liar', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Making History', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ["The Stars' Tennis Balls", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Liar property:country_of_origin ?j } UNION { resource:Making_History property:country_of_origin ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q145 Q145 Q145
SYSTEM
United Kingdom
Q145 Q145 Q145
(Q2659853,P495,c(Q15617994)) (Q1517608,P495,c(Q15617994)) (Q1197157,P495,c(Q15617994))
action union
action filter_type
action find
entity Q2659853
relation P495
type Q15617994
action filter_type
action find
entity Q1517608
relation P495
type Q15617994
action filter_type
action find
entity Q1197157
relation P495
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are the origin of The Liar, Making History and The Stars' Tennis Balls
['Q2659853', 'P495', {'concept': 'Q15617994'}] ['Q1517608', 'P495', {'concept': 'Q15617994'}] ['Q1197157', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:Q15617994 . resource:Q2659853 property:P495 ?j } UNION { resource:Q1517608 property:P495 ?j . ?j rdf:type ontology:Q15617994 } }
United Kingdom United Kingdom United Kingdom
United Kingdom, United Kingdom and United Kingdom are the origin of The Liar, Making History and The Stars' Tennis Balls
United Kingdom United Kingdom United Kingdom
action union
action filter_type
action find
entity The Liar
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Making History
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity The Stars' Tennis Balls
relation country of origin
type designation for an administrative territorial entity
['The Liar', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Making History', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ["The Stars' Tennis Balls", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Liar property:country_of_origin ?j } UNION { resource:Making_History property:country_of_origin ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2659853
P136
Q1792379
USER
What can be considered as category for The Liar ?
(Q2659853,P136,c(Q1792379))
action filter_type
action find
entity Q2659853
relation P136
type Q1792379
['Q2659853', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { resource:Q2659853 property:P136 ?k . ?k rdf:type ontology:Q1792379 }
The Liar
action filter_type
action find
entity The Liar
relation genre
type art genre
['The Liar', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { resource:The_Liar property:genre ?k . ?k rdf:type ontology:art_genre }
[]
art genre
Q8261
SYSTEM
novel
Q8261
(Q2659853,P136,c(Q1792379))
action filter_type
action find
entity Q2659853
relation P136
type Q1792379
[ANSWER] can be considered as category for The Liar
['Q2659853', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { resource:Q2659853 property:P136 ?k . ?k rdf:type ontology:Q1792379 }
novel
Novel can be considered as category for The Liar
novel
action filter_type
action find
entity The Liar
relation genre
type art genre
['The Liar', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { resource:The_Liar property:genre ?k . ?k rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q192912
P140
Q2712963
USER
Which abstract noun does Stephen Fry relate to ?
(Q192912,P140,c(Q2712963))
action filter_type
action find
entity Q192912
relation P140
type Q2712963
['Q192912', 'P140', {'concept': 'Q2712963'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q2712963 . resource:Q192912 property:P140 ?d }
Stephen Fry
action filter_type
action find
entity Stephen Fry
relation religion
type abstract noun
['Stephen Fry', 'religion', {'concept': 'abstract noun'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:abstract_noun . resource:Stephen_Fry property:religion ?d }
[]
abstract noun
Q7066
SYSTEM
atheism
Q7066
(Q192912,P140,c(Q2712963))
action filter_type
action find
entity Q192912
relation P140
type Q2712963
Stephen Fry relates to [ANSWER]
['Q192912', 'P140', {'concept': 'Q2712963'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q2712963 . resource:Q192912 property:P140 ?d }
atheism
Stephen Fry relates to atheism
atheism
action filter_type
action find
entity Stephen Fry
relation religion
type abstract noun
['Stephen Fry', 'religion', {'concept': 'abstract noun'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:abstract_noun . resource:Stephen_Fry property:religion ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q192912
P1412
Q34770
USER
Which language can that person understand ?
(Q7066,P1412,c(Q34770))
action filter_type
action find
entity Q192912
relation P1412
type Q34770
['Q7066', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q192912 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Stephen Fry
action filter_type
action find
entity Stephen Fry
relation languages spoken, written or signed
type language
['atheism', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Stephen_Fry property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7066,P1412,c(Q34770))
action filter_type
action find
entity Q192912
relation P1412
type Q34770
That person can understand the [ANSWER]
['Q7066', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q192912 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
English
That person can understand the English
English
action filter_type
action find
entity Stephen Fry
relation languages spoken, written or signed
type language
['atheism', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Stephen_Fry property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q49657
P37
Q34770 Q1048835
USER
Which political territories have their official language as approximately the same number of languages as Schaan ?
(c(Q1048835),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q49657
relation P37
type Q1048835
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Q49657 property:P37 ?e . ?e rdf:type ontology:Q1048835 } } . FILTER ( ?w = ?c ) . { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?w ) WHERE { ?a rdf:type ontology:Q34770 . ?j rdf:type ontology:Q1048835 . ?j property:P37 ?a } GROUP BY ?j } }
Schaan
action approx
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Schaan
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Schaan property:official_language ?e . ?e rdf:type ontology:political_territorial_entity } } . FILTER ( ?w = ?c ) . { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?w ) WHERE { ?a rdf:type ontology:language . ?j rdf:type ontology:political_territorial_entity . ?j property:official_language ?a } GROUP BY ?j } }
[]
language political territorial entity
Q183 Q35 Q40
SYSTEM
Germany, Denmark, Austria
Q13116 Q1000 Q2012050 Q49657 Q4540 Q89959 Q193619 Q49662 Q49663 Q49660 Q49661 Q240 Q49655 Q300608 Q4395303 Q181633 Q35 Q171852 Q641138 Q4421880 Q789334 Q42780 Q183 Q49659 Q49654 Q49651 Q231 Q234 Q90027 Q40 Q4218003 Q9331 Q3899 Q9337 Q4410386 Q171965 Q18257 Q4325072
(c(Q1048835),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q49657
relation P37
type Q1048835
[ANSWERS] have their official language as approximately the same number of languages as Schaan
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Q49657 property:P37 ?e . ?e rdf:type ontology:Q1048835 } } . FILTER ( ?w = ?c ) . { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?w ) WHERE { ?a rdf:type ontology:Q34770 . ?j rdf:type ontology:Q1048835 . ?j property:P37 ?a } GROUP BY ?j } }
Benelux Gabon Donetsk Oblast Schaan Eschen French Community of Belgium Union of South Africa Gamprin Balzers Planken Mauren Brussels Schellenberg A Ver-o-Mar Rivne Mykolaiv Oblast Denmark Odessa Oblast Duchy of Cleves Skypche Balažer Ningbo Germany Ruggell Triesen Triesenberg Walloon Region Flemish Region German-speaking Community of Belgium Austria Kachkarivka Flemish Community Kalimantan Timur Flemish Region Svitlohirske Luhansk Oblast Abella de la Conca Zoriane
Germany, Denmark and Austria have their official language as approximately the same number of languages as Schaan
Germany Denmark Austria
action approx
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Schaan
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Schaan property:official_language ?e . ?e rdf:type ontology:political_territorial_entity } } . FILTER ( ?w = ?c ) . { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?w ) WHERE { ?a rdf:type ontology:language . ?j rdf:type ontology:political_territorial_entity . ?j property:official_language ?a } GROUP BY ?j } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q778
P37
Q34770 Q1048835
USER
And what about The Bahamas?
(c(Q1048835),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q778
relation P37
type Q1048835
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?c ) WHERE { ?t property:P37 ?q . ?t rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q34770 } GROUP BY ?t } . FILTER ( ?c = ?n ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q778 property:P37 ?f . ?f rdf:type ontology:Q1048835 } } }
The Bahamas
action approx
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity The Bahamas
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?c ) WHERE { ?t property:official_language ?q . ?t rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:language } GROUP BY ?t } . FILTER ( ?c = ?n ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:The_Bahamas property:official_language ?f . ?f rdf:type ontology:political_territorial_entity } } }
[]
language political territorial entity
Q408 Q16 Q5705
SYSTEM
Australia, Canada, Catalonia
Q127167 Q193714 Q691 Q686790 Q785 Q769 Q763 Q917883 Q35086 Q766 Q9676 Q1054923 Q52626 Q5720 Q664 Q13353 Q37362 Q1771153 Q5705 Q13786 Q16 Q5785 Q624511 Q15601 Q1628531 Q649612 Q685 Q778 Q25228 Q4474 Q408 Q1631311 Q1444150 Q9648 Q643919 Q1644430 Q23635 Q781 Q1907203 Q1769772
(c(Q1048835),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q778
relation P37
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?c ) WHERE { ?t property:P37 ?q . ?t rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q34770 } GROUP BY ?t } . FILTER ( ?c = ?n ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q778 property:P37 ?f . ?f rdf:type ontology:Q1048835 } } }
Western Cape Mandatory Palestine Papua New Guinea Mediona Jersey Grenada Saint Kitts and Nevis Molina de Segura South Georgia and the South Sandwich Islands Jamaica Isle of Man British Hong Kong Formentera Valencian Country New Zealand Montserrat Akrotiri and Dhekelia Albuixech Catalonia Cebu Canada Cayman Islands Aracena Corbera de Llobregat Quintanar de la Orden Coca, Segovia Solomon Islands The Bahamas Anguilla Ortuella Australia Cuéllar Alboloduy Falkland Islands Torfaen County Borough Monreal del Campo Bermuda Antigua and Barbuda San Miguel del Arroyo Bierge
Australia Canada Catalonia
action approx
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity The Bahamas
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?c ) WHERE { ?t property:official_language ?q . ?t rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:language } GROUP BY ?t } . FILTER ( ?c = ?n ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:The_Bahamas property:official_language ?f . ?f rdf:type ontology:political_territorial_entity } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q408 Q16 Q5705
P36
Q56061
USER
Which administrative territories are associated to those political territories as the capital ?
(Q408,P36,c(Q56061)) (Q16,P36,c(Q56061)) (Q5705,P36,c(Q56061))
action filter_type
action find
entity prev_answer
relation P36
type Q56061
['Q408', 'P36', {'concept': 'Q56061'}] ['Q16', 'P36', {'concept': 'Q56061'}] ['Q5705', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?y property:P36 ?j . VALUES ( ?y ) { ( resource:Q127167 ) ( resource:Q193714 ) ( resource:Q691 ) } . ?j rdf:type ontology:Q56061 }
Australia Canada Catalonia
action filter_type
action find
entity prev_answer
relation capital
type administrative territorial entity
['Australia', 'capital', {'concept': 'administrative territorial entity'}] ['Canada', 'capital', {'concept': 'administrative territorial entity'}] ['Catalonia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?y property:capital ?j . VALUES ( ?y ) { ( resource:Western_Cape ) ( resource:Mandatory_Palestine ) ( resource:Papua_New_Guinea ) } . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3114 Q1930 Q1492
SYSTEM
Canberra, Ottawa, Barcelona
Q3114 Q1930 Q1492
(Q408,P36,c(Q56061)) (Q16,P36,c(Q56061)) (Q5705,P36,c(Q56061))
action filter_type
action find
entity prev_answer
relation P36
type Q56061
[ANSWERS] are associated to those political territories as the capital
['Q408', 'P36', {'concept': 'Q56061'}] ['Q16', 'P36', {'concept': 'Q56061'}] ['Q5705', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?y property:P36 ?j . VALUES ( ?y ) { ( resource:Q127167 ) ( resource:Q193714 ) ( resource:Q691 ) } . ?j rdf:type ontology:Q56061 }
Canberra Ottawa Barcelona
Canberra, Ottawa and Barcelona are associated to those political territories as the capital
Canberra Ottawa Barcelona
action filter_type
action find
entity prev_answer
relation capital
type administrative territorial entity
['Australia', 'capital', {'concept': 'administrative territorial entity'}] ['Canada', 'capital', {'concept': 'administrative territorial entity'}] ['Catalonia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?y property:capital ?j . VALUES ( ?y ) { ( resource:Western_Cape ) ( resource:Mandatory_Palestine ) ( resource:Papua_New_Guinea ) } . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3114 Q1930 Q1492
P190
Q56061
USER
Which administrative territories are partner towns of those ones ?
(Q3114,P190,c(Q56061)) (Q1930,P190,c(Q56061)) (Q1492,P190,c(Q56061))
action filter_type
action find
entity prev_answer
relation P190
type Q56061
['Q3114', 'P190', {'concept': 'Q56061'}] ['Q1930', 'P190', {'concept': 'Q56061'}] ['Q1492', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . ?d property:P190 ?n . VALUES ( ?d ) { ( resource:Q3114 ) ( resource:Q1930 ) ( resource:Q1492 ) } }
Canberra Ottawa Barcelona
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
['Canberra', 'sister city', {'concept': 'administrative territorial entity'}] ['Ottawa', 'sister city', {'concept': 'administrative territorial entity'}] ['Barcelona', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . ?d property:sister_city ?n . VALUES ( ?d ) { ( resource:Canberra ) ( resource:Ottawa ) ( resource:Barcelona ) } }
[]
administrative territorial entity
Q8686 Q8678 Q1524
SYSTEM
Shanghai, Rio de Janeiro, Athens
Q956 Q169134 Q9310 Q10830 Q2656 Q1903 Q956 Q85 Q8717 Q8686 Q12892 Q365 Q100 Q52535 Q42053 Q340 Q6506 Q34820 Q1524 Q1563 Q48320 Q33935 Q3561 Q85 Q47492 Q174 Q8678 Q33986 Q6441
(Q3114,P190,c(Q56061)) (Q1930,P190,c(Q56061)) (Q1492,P190,c(Q56061))
action filter_type
action find
entity prev_answer
relation P190
type Q56061
[ANSWERS] are partner towns of those ones
['Q3114', 'P190', {'concept': 'Q56061'}] ['Q1930', 'P190', {'concept': 'Q56061'}] ['Q1492', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . ?d property:P190 ?n . VALUES ( ?d ) { ( resource:Q3114 ) ( resource:Q1930 ) ( resource:Q1492 ) } }
Beijing Nara Dili Montecastrilli Palermo Catania Beijing Cairo Seville Shanghai Antwerp Cologne Boston Rosario Isfahan Montreal Varna Santo Domingo Athens Havana Kōbe Tel Aviv Algiers Cairo Gaza City São Paulo Rio de Janeiro Valparaíso Montpellier
Shanghai, Rio de Janeiro and Athens are partner towns of those ones
Shanghai Rio de Janeiro Athens
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
['Canberra', 'sister city', {'concept': 'administrative territorial entity'}] ['Ottawa', 'sister city', {'concept': 'administrative territorial entity'}] ['Barcelona', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . ?d property:sister_city ?n . VALUES ( ?d ) { ( resource:Canberra ) ( resource:Ottawa ) ( resource:Barcelona ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8678
P504
Q2235308
USER
Which ship types have Rio de Janeiro as their home harbour ?
(c(Q2235308),P504,Q8678)
action filter_type
action find_reverse
entity Q8678
relation P504
type Q2235308
[{'concept': 'Q2235308'}, 'P504', 'Q8678']
SELECT DISTINCT ?f WHERE { ?f property:P504 resource:Q8678 . ?f rdf:type ontology:Q2235308 }
Rio de Janeiro
action filter_type
action find_reverse
entity Rio de Janeiro
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Rio de Janeiro']
SELECT DISTINCT ?f WHERE { ?f property:home_port resource:Rio_de_Janeiro . ?f rdf:type ontology:ship_type }
[]
ship type
Q3281064 Q1093227
SYSTEM
Brazilian battleship Aquidabã, Cisne Branco
Q3281064 Q1093227
(c(Q2235308),P504,Q8678)
action filter_type
action find_reverse
entity Q8678
relation P504
type Q2235308
[ANSWERS] have Rio de Janeiro as their home harbour
[{'concept': 'Q2235308'}, 'P504', 'Q8678']
SELECT DISTINCT ?f WHERE { ?f property:P504 resource:Q8678 . ?f rdf:type ontology:Q2235308 }
Brazilian battleship Aquidabã Cisne Branco
Brazilian battleship Aquidabã and Cisne Branco have Rio de Janeiro as their home harbour
Brazilian battleship Aquidabã Cisne Branco
action filter_type
action find_reverse
entity Rio de Janeiro
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Rio de Janeiro']
SELECT DISTINCT ?f WHERE { ?f property:home_port resource:Rio_de_Janeiro . ?f rdf:type ontology:ship_type }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3281064 Q1093227
P504
Q56061
USER
What serve the home port of those ship types ?
(Q3281064,P504,c(Q56061)) (Q1093227,P504,c(Q56061))
action filter_type
action find
entity prev_answer
relation P504
type Q56061
['Q3281064', 'P504', {'concept': 'Q56061'}] ['Q1093227', 'P504', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . ?l property:P504 ?t . VALUES ( ?l ) { ( resource:Q3281064 ) ( resource:Q1093227 ) } }
Brazilian battleship Aquidabã Cisne Branco
action filter_type
action find
entity prev_answer
relation home port
type administrative territorial entity
['Brazilian battleship Aquidabã', 'home port', {'concept': 'administrative territorial entity'}] ['Cisne Branco', 'home port', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . ?l property:home_port ?t . VALUES ( ?l ) { ( resource:Brazilian_battleship_Aquidabã ) ( resource:Cisne_Branco ) } }
[]
administrative territorial entity
Q8678 Q8678
SYSTEM
Rio de Janeiro
Q8678 Q8678
(Q3281064,P504,c(Q56061)) (Q1093227,P504,c(Q56061))
action filter_type
action find
entity prev_answer
relation P504
type Q56061
[ANSWER] and [ANSWER] serve the home port of those ship types
['Q3281064', 'P504', {'concept': 'Q56061'}] ['Q1093227', 'P504', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . ?l property:P504 ?t . VALUES ( ?l ) { ( resource:Q3281064 ) ( resource:Q1093227 ) } }
Rio de Janeiro Rio de Janeiro
Rio de Janeiro and Rio de Janeiro serve the home port of those ship types
Rio de Janeiro Rio de Janeiro
action filter_type
action find
entity prev_answer
relation home port
type administrative territorial entity
['Brazilian battleship Aquidabã', 'home port', {'concept': 'administrative territorial entity'}] ['Cisne Branco', 'home port', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . ?l property:home_port ?t . VALUES ( ?l ) { ( resource:Brazilian_battleship_Aquidabã ) ( resource:Cisne_Branco ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1524
P291
Q2342494
USER
Which collectable has Athens as its release location ?
(c(Q2342494),P291,Q1524)
action filter_type
action find_reverse
entity Q1524
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q1524']
SELECT DISTINCT ?d WHERE { ?d property:P291 resource:Q1524 . ?d rdf:type ontology:Q2342494 }
Athens
action filter_type
action find_reverse
entity Athens
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Athens']
SELECT DISTINCT ?d WHERE { ?d property:place_of_publication resource:Athens . ?d rdf:type ontology:collectable }
[]
collectable
Q15978222
SYSTEM
The Cavafy Publications 1891-1934
Q15978222
(c(Q2342494),P291,Q1524)
action filter_type
action find_reverse
entity Q1524
relation P291
type Q2342494
[ANSWER] has Athens as its release location
[{'concept': 'Q2342494'}, 'P291', 'Q1524']
SELECT DISTINCT ?d WHERE { ?d property:P291 resource:Q1524 . ?d rdf:type ontology:Q2342494 }
The Cavafy Publications 1891-1934
The Cavafy Publications 1891-1934 has Athens as its release location
The Cavafy Publications 1891-1934
action filter_type
action find_reverse
entity Athens
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Athens']
SELECT DISTINCT ?d WHERE { ?d property:place_of_publication resource:Athens . ?d rdf:type ontology:collectable }
[]