Simple Question (Direct)
Simple Question
Q23903080
P172
Q2472587
USER
Which people does Eugeniusz Klin have as his/her race ?
(Q23903080,P172,c(Q2472587))
action filter_type
action find
entity Q23903080
relation P172
type Q2472587
['Q23903080', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q2472587 . resource:Q23903080 property:P172 ?g }
Eugeniusz Klin
action filter_type
action find
entity Eugeniusz Klin
relation ethnic group
type people
['Eugeniusz Klin', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:people . resource:Eugeniusz_Klin property:ethnic_group ?g }
[]
people
Q140472
SYSTEM
Silesians
Q140472
(Q23903080,P172,c(Q2472587))
action filter_type
action find
entity Q23903080
relation P172
type Q2472587
Eugeniusz Klin has adopted [ANSWER] as his / her race
['Q23903080', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q2472587 . resource:Q23903080 property:P172 ?g }
Silesians
Eugeniusz Klin has adopted Silesians as his / her race
Silesians
action filter_type
action find
entity Eugeniusz Klin
relation ethnic group
type people
['Eugeniusz Klin', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:people . resource:Eugeniusz_Klin property:ethnic_group ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23903080
P106
Q12737077
USER
What are the job of Eugeniusz Klin ?
(Q23903080,P106,c(Q12737077))
action filter_type
action find
entity Q23903080
relation P106
type Q12737077
['Q23903080', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q23903080 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Eugeniusz Klin
action filter_type
action find
entity Eugeniusz Klin
relation occupation
type occupation
['Eugeniusz Klin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Eugeniusz_Klin property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q1622272 Q2599593 Q15980158
SYSTEM
university teacher, germanist, non-fiction writer
Q2599593 Q15980158 Q1622272 Q17167049
(Q23903080,P106,c(Q12737077))
action filter_type
action find
entity Q23903080
relation P106
type Q12737077
The job of Eugeniusz Klin are a [ANSWERS]
['Q23903080', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q23903080 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
germanist non-fiction writer university teacher specialist in literature
The job of Eugeniusz Klin are a university teacher, germanist and non-fiction writer
university teacher germanist non-fiction writer
action filter_type
action find
entity Eugeniusz Klin
relation occupation
type occupation
['Eugeniusz Klin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Eugeniusz_Klin property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1622272
P101
Q502895
USER
Who works in the domain of university teacher ?
(c(Q502895),P101,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q1622272']
SELECT DISTINCT ?v WHERE { ?v property:P101 resource:Q1622272 . ?v rdf:type ontology:Q502895 }
university teacher
action filter_type
action find_reverse
entity university teacher
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'university teacher']
SELECT DISTINCT ?v WHERE { ?v property:field_of_work resource:university_teacher . ?v rdf:type ontology:common_name }
[]
common name
Q21030230
SYSTEM
Eliška Klimková-Deutschová
Q21030230
(c(Q502895),P101,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P101
type Q502895
[ANSWER] works in the domain of university teacher
[{'concept': 'Q502895'}, 'P101', 'Q1622272']
SELECT DISTINCT ?v WHERE { ?v property:P101 resource:Q1622272 . ?v rdf:type ontology:Q502895 }
Eliška Klimková-Deutschová
Eliška Klimková-Deutschová works in the domain of university teacher
Eliška Klimková-Deutschová
action filter_type
action find_reverse
entity university teacher
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'university teacher']
SELECT DISTINCT ?v WHERE { ?v property:field_of_work resource:university_teacher . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1622272
P512
Q502895
USER
Which people have the diploma university teacher ?
(c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P512
type Q502895
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?q WHERE { ?q property:P512 resource:Q1622272 . ?q rdf:type ontology:Q502895 }
university teacher
action filter_type
action find_reverse
entity university teacher
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?q WHERE { ?q property:academic_degree resource:university_teacher . ?q rdf:type ontology:common_name }
[]
common name
Q1362287 Q1631650 Q4074760
SYSTEM
Manolis Andronikos, Hovhannes Barseghian, Edvard Baghdasaryan
Q4074760 Q22116332 Q5697983 Q1631650 Q1362287 Q3350761 Q26338766
(c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P512
type Q502895
[ANSWERS] have the diploma university teacher
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?q WHERE { ?q property:P512 resource:Q1622272 . ?q rdf:type ontology:Q502895 }
Edvard Baghdasaryan Helmut Neef Antonio Campos Muñoz Hovhannes Barseghian Manolis Andronikos Olivier Archambeau Athanasios Dimopoulos
Manolis Andronikos, Hovhannes Barseghian and Edvard Baghdasaryan have the diploma university teacher
Manolis Andronikos Hovhannes Barseghian Edvard Baghdasaryan
action filter_type
action find_reverse
entity university teacher
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?q WHERE { ?q property:academic_degree resource:university_teacher . ?q rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1362287
P802
Q502895
USER
Which person was that one a student of ?
(c(Q502895),P802,Q1362287)
action filter_type
action find_reverse
entity Q1362287
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q1362287']
SELECT DISTINCT ?y WHERE { ?y property:P802 resource:Q1362287 . ?y rdf:type ontology:Q502895 }
Manolis Andronikos
action filter_type
action find_reverse
entity Manolis Andronikos
relation student
type common name
[{'concept': 'common name'}, 'student', 'Manolis Andronikos']
SELECT DISTINCT ?y WHERE { ?y property:student resource:Manolis_Andronikos . ?y rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q4074760
SYSTEM
Did you mean Edvard Baghdasaryan ?
Q1362287 Q1631650 Q4074760
(c(Q502895),P802,Q1362287) (c(Q502895),P802,Q1631650) (c(Q502895),P802,Q4074760)
[ANSWER]
[{'concept': 'Q502895'}, 'P802', 'Q1362287'] [{'concept': 'Q502895'}, 'P802', 'Q1631650'] [{'concept': 'Q502895'}, 'P802', 'Q4074760']
SELECT DISTINCT ?y WHERE { ?y property:P802 resource:Q1362287 . ?y rdf:type ontology:Q502895 }
Manolis Andronikos Hovhannes Barseghian Edvard Baghdasaryan
Did you mean Edvard Baghdasaryan ?
Edvard Baghdasaryan
[{'concept': 'common name'}, 'student', 'Manolis Andronikos'] [{'concept': 'common name'}, 'student', 'Hovhannes Barseghian'] [{'concept': 'common name'}, 'student', 'Edvard Baghdasaryan']
SELECT DISTINCT ?y WHERE { ?y property:student resource:Manolis_Andronikos . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Manolis Andronikos. Could you tell me the answer for that?
(c(Q502895),P802,Q1362287)
Q1362287
[{'concept': 'Q502895'}, 'P802', 'Q1362287']
[{'concept': 'common name'}, 'student', 'Manolis Andronikos']
[]
Q704230
SYSTEM
John Beazley
Q704230
(c(Q502895),P802,Q1362287)
action filter_type
action find_reverse
entity Q1362287
relation P802
type Q502895
[ANSWER] was that one a student of
[{'concept': 'Q502895'}, 'P802', 'Q1362287']
SELECT DISTINCT ?y WHERE { ?y property:P802 resource:Q1362287 . ?y rdf:type ontology:Q502895 }
John Beazley
John Beazley was that one a student of
John Beazley
action filter_type
action find_reverse
entity Manolis Andronikos
relation student
type common name
[{'concept': 'common name'}, 'student', 'Manolis Andronikos']
SELECT DISTINCT ?y WHERE { ?y property:student resource:Manolis_Andronikos . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q704230
P1412
Q34770
USER
Which language is spoken by that person ?
(Q704230,P1412,c(Q34770))
action filter_type
action find
entity Q704230
relation P1412
type Q34770
['Q704230', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q704230 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
John Beazley
action filter_type
action find
entity John Beazley
relation languages spoken, written or signed
type language
['John Beazley', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:John_Beazley property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q704230,P1412,c(Q34770))
action filter_type
action find
entity Q704230
relation P1412
type Q34770
Are [ANSWER] is spoken by that person
['Q704230', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q704230 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
English
Are English is spoken by that person
English
action filter_type
action find
entity John Beazley
relation languages spoken, written or signed
type language
['John Beazley', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:John_Beazley property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q426600
P364
Q2342494
USER
Does After the Funeral have that one as its original language of creation ?
(Q426600,P364,Q1860)
action is_in
entity Q1860
action find
entity Q426600
relation P364
['Q426600', 'P364', 'Q1860']
ASK WHERE { resource:Q426600 property:P364 resource:Q1860 }
English After the Funeral
action is_in
entity English
action find
entity After the Funeral
relation original language of work
['After the Funeral', 'original language of work', 'English']
ASK WHERE { resource:After_the_Funeral property:original_language_of_work resource:English }
[]
collectable
SYSTEM
YES
(Q426600,P364,Q1860)
action is_in
entity Q1860
action find
entity Q426600
relation P364
[ANSWER]
['Q426600', 'P364', 'Q1860']
ASK WHERE { resource:Q426600 property:P364 resource:Q1860 }
Yes
action is_in
entity English
action find
entity After the Funeral
relation original language of work
['After the Funeral', 'original language of work', 'English']
ASK WHERE { resource:After_the_Funeral property:original_language_of_work resource:English }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q21030230 Q2359566 Q5815541
P20
Q56061
USER
Did Eliška Klimková-Deutschová die in Križic and Jamal Kandi ?
(Q21030230,P20,Q2359566) (Q21030230,P20,Q5815541)
action is_in
entity Q21030230
action intersection
action find_reverse
entity Q2359566
relation P20
action find_reverse
entity Q5815541
relation P20
['Q21030230', 'P20', 'Q2359566'] ['Q21030230', 'P20', 'Q5815541']
ASK WHERE { resource:Q21030230 property:P20 resource:Q2359566 . resource:Q21030230 property:P20 resource:Q5815541 }
Eliška Klimková-Deutschová Križic Jamal Kandi
action is_in
entity Eliška Klimková-Deutschová
action intersection
action find_reverse
entity Križic
relation place of death
action find_reverse
entity Jamal Kandi
relation place of death
['Eliška Klimková-Deutschová', 'place of death', 'Križic'] ['Eliška Klimková-Deutschová', 'place of death', 'Jamal Kandi']
ASK WHERE { resource:Eliška_Klimková-Deutschová property:place_of_death resource:Križic . resource:Eliška_Klimková-Deutschová property:place_of_death resource:Jamal_Kandi }
[]
administrative territorial entity
SYSTEM
NO
(Q21030230,P20,Q2359566) (Q21030230,P20,Q5815541)
action is_in
entity Q21030230
action intersection
action find_reverse
entity Q2359566
relation P20
action find_reverse
entity Q5815541
relation P20
[ANSWER]
['Q21030230', 'P20', 'Q2359566'] ['Q21030230', 'P20', 'Q5815541']
ASK WHERE { resource:Q21030230 property:P20 resource:Q2359566 . resource:Q21030230 property:P20 resource:Q5815541 }
No
action is_in
entity Eliška Klimková-Deutschová
action intersection
action find_reverse
entity Križic
relation place of death
action find_reverse
entity Jamal Kandi
relation place of death
['Eliška Klimková-Deutschová', 'place of death', 'Križic'] ['Eliška Klimková-Deutschová', 'place of death', 'Jamal Kandi']
ASK WHERE { resource:Eliška_Klimková-Deutschová property:place_of_death resource:Križic . resource:Eliška_Klimková-Deutschová property:place_of_death resource:Jamal_Kandi }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q9779 Q34770
USER
How many alphabets are the writing systems of atmost 1 language known as ?
(c(Q34770),P282,c(Q9779))
action count
action atmost
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:P282 ?y . ?y rdf:type ontology:Q9779 . ?m rdf:type ontology:Q34770 } GROUP BY ?y } . FILTER ( ?e <= 1 ) }
action count
action atmost
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:writing_system ?y . ?y rdf:type ontology:alphabet . ?m rdf:type ontology:language } GROUP BY ?y } . FILTER ( ?e <= 1 ) }
[]
alphabet language
SYSTEM
14
Q164436 Q754989 Q792216 Q606972 Q187846 Q829464 Q13405127 Q550383 Q1937113 Q442244 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,c(Q9779))
action count
action atmost
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
value 1
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:P282 ?y . ?y rdf:type ontology:Q9779 . ?m rdf:type ontology:Q34770 } GROUP BY ?y } . FILTER ( ?e <= 1 ) }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Serbian Cyrillic alphabet Rusyn alphabet Italian alphabet futhark Early Cyrillic alphabet Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
14
action count
action atmost
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:writing_system ?y . ?y rdf:type ontology:alphabet . ?m rdf:type ontology:language } GROUP BY ?y } . FILTER ( ?e <= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P37
Q34770 Q56061
USER
Which administrative territories are known to have atmost 1 language as their official language ?
(c(Q56061),P37,c(Q34770))
action atmost
action find_tuple_counts
relation P37
type Q56061
type Q34770
value 1
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?s ) WHERE { ?y property:P37 ?u . ?y rdf:type ontology:Q56061 . ?u rdf:type ontology:Q34770 } GROUP BY ?y } . FILTER ( ?s <= 1 ) }
action atmost
action find_tuple_counts
relation official language
type administrative territorial entity
type language
value 1
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?s ) WHERE { ?y property:official_language ?u . ?y rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:language } GROUP BY ?y } . FILTER ( ?s <= 1 ) }
[]
language administrative territorial entity
Q72 Q7172 Q334
SYSTEM
Zürich, Arab League, Singapore
Q807 Q2414585 Q64004 Q68978 Q689502 Q9125 Q678901 Q66629 Q9009 Q2641849 Q175345 Q68124 Q704257 Q5813 Q68965 Q757845 Q639054 Q689954 Q68449 Q689691 Q668625 Q643200 Q277708 Q5576202 Q668705 Q660999 Q69231 Q7149 Q66616 Q54450 Q3834 Q5951348 Q81811 Q669310 Q674433 Q6029 Q669411 Q70477 Q429962 Q167715 Q669254 Q16644 Q64011 Q16641 Q1990899 Q11703 Q597413 Q390482 Q662499 Q1014671 Q669360 Q678787 Q68883 Q660215 Q7525 Q661369 Q669400 Q4700013 Q25528 Q121157 Q2094680 Q1352 Q128499 Q69639 Q2604700 Q662405 Q64679 Q70485 Q669466 Q2395382 Q123709 Q141502 Q2214906 Q3639927 Q666159 Q3951 Q381861 Q69256 Q5689 Q63964 Q156593 Q781354 Q660142 Q572380 Q581562 Q678991 Q869534 Q3702463 Q21669478 Q669375 Q66208 Q659753 Q15077954 Q435231 Q334 Q2718721 Q26 Q7172 Q689487 Q196357 Q15730054 Q2532285 Q1757 Q669280 Q11935 Q5999183 Q1353 Q2492533 Q14452 Q57110 Q677935 Q66668 Q26180 Q541319 Q68160 Q7001862 Q668740 Q2152433 Q16635 Q183441 Q689499 Q678690 Q4264 Q21845358 Q25230 Q1034 Q63931 Q49192 Q67812 Q669152 Q67986 Q59117 Q623277 Q669350 Q67097 Q2499687 Q664153 Q669292 Q3630738 Q289534 Q69041 Q3947670 Q688652 Q258447 Q1259122 Q669229 Q668239 Q661817 Q14512466 Q58337 Q70683 Q669244 Q68103 Q334577 Q678769 Q2217474 Q669437 Q69484 Q660974 Q611382 Q69354 Q64123 Q64044 Q11959 Q69290 Q25396 Q669424 Q1025278 Q1341 Q179313 Q78 Q2215147 Q2801411 Q72 Q71 Q70 Q669332 Q277674 Q65757 Q7024 Q7122288 Q163798 Q65502 Q69940 Q7942521 Q67130 Q64032 Q198210 Q244207 Q869624 Q678960 Q1026291 Q68692 Q1026296 Q286332 Q1895 Q2215401
(c(Q56061),P37,c(Q34770))
action atmost
action find_tuple_counts
relation P37
type Q56061
type Q34770
value 1
[ANSWERS] are known to have atmost 1 language as their official language
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?s ) WHERE { ?y property:P37 ?u . ?y rdf:type ontology:Q56061 . ?u rdf:type ontology:Q34770 } GROUP BY ?y } . FILTER ( ?s <= 1 ) }
Lausanne Agarak Grindelwald Thun Röthenbach bei Herzogenbuchsee Winterthur Colombier Saanen Schaffhausen history of Limousin Thielle-Wavre La Chaux-de-Fonds Albany Canary Islands Solothurn Betma Zhovti Vody Buttes Arogno Môtiers Palagnedra Mosen Ozhukarai Godavarikhani Montignez Malvaglia Innertkirchen Neudorf Indore Vicques Konstanz Huwyl Gaildorf Balm bei Messen Bettmeralp Acquasparta Niederwil Chézard-Saint-Martin Bibern Thiruvananthapuram Gunzwil Northern Mariana Islands Lauterbrunnen American Samoa Volovița United States Virgin Islands Wildhaus Donatyre Busswil bei Büren Wiwilí de Jinotega Umiken Saint-Saphorin-sur-Morges Villars-Sainte-Croix Hilfikon Sevastopol Steinhof Ittenthal Ak-Dzhar Saba Mashhad Tafersit Chennai Yalta Göschenen San Rafael del Norte Opfertshofen Pratteln Coffrane Oberramsern La Concordia Dundee Oberhofen El Cuá Bilaspur, Haryana Wanzwil Aalen Aeschlen bei Oberdiessbach Wilderswil Åland Islands Sarnen Sambir Kapurthala Hofen Jizzakh Satara Peney-le-Jorat Wahlern Daqdaqabad Il'inskoe Hottwil Frutigen Albligen Tazaghine Altdorf Singapore Phalodi Northern Ireland Arab League Buchs Snezhinsk Glarus New Cumberland Helsinki Retschwil Locarno Illighausen Delhi Aandu Easter Island Corsier-sur-Vevey Veii Koppigen Sint Eustatius Lieli Vevey Neukirch an der Thur Courtemaîche Midar Guam Rohr Wil Châtillens Mercosur Bryn Guernsey Biel/Bienne Stans Middletown Ruppoldsried Sulz Rovio Aappilattoq Aquila Jona Unterseen Yatton Grandvaux Brunnenthal Bhood Mettau Mendrisio San Mauro Mare Littau Äänekoski Driouch Sulz Borgnone Noiraigue Valens Banff Peyres-Possens St. Peterzell Interlaken Quetzaltenango Monnaz Santa María de Pantasma Winikon Spiez Ludiano Benzenschwil Montreux Meiringen Bellinzona Alicante Genolier Bonaire Etzgen Painavu Tolyatti Alderney Basel San José de Bocay Ben Taieb Zürich Geneva Bern Müswangen Azaz Matten bei Interlaken Lugano Pacific Alliance Thrissur Bönigen Bévilard Voyvodovo, Haskovo Province Riva San Vitale Uster Shakhunya Campione d'Italia Mogelsberg Les Tavernes Kant Fenin-Vilars-Saules Jinotega Alt St. Johann Petrozavodsk San Sebastián de Yalí
Zürich, Arab League and Singapore are known to have atmost 1 language as their official language
Zürich Arab League Singapore
action atmost
action find_tuple_counts
relation official language
type administrative territorial entity
type language
value 1
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?s ) WHERE { ?y property:official_language ?u . ?y rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:language } GROUP BY ?y } . FILTER ( ?s <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q334
P36
Q56061
USER
Which administrative territory consists of Singapore as its capital ?
(c(Q56061),P36,Q334)
action filter_type
action find
entity Q334
relation P36
type Q56061
[{'concept': 'Q56061'}, 'P36', 'Q334']
SELECT DISTINCT ?g WHERE { resource:Q334 property:P36 ?g . ?g rdf:type ontology:Q56061 }
Singapore
action filter_type
action find
entity Singapore
relation capital
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital', 'Singapore']
SELECT DISTINCT ?g WHERE { resource:Singapore property:capital ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q334
SYSTEM
Singapore
Q334
(c(Q56061),P36,Q334)
action filter_type
action find
entity Q334
relation P36
type Q56061
[ANSWER] consists of [ANSWER] as its capital
[{'concept': 'Q56061'}, 'P36', 'Q334']
SELECT DISTINCT ?g WHERE { resource:Q334 property:P36 ?g . ?g rdf:type ontology:Q56061 }
Singapore
Singapore consists of Singapore as its capital
Singapore
action filter_type
action find
entity Singapore
relation capital
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital', 'Singapore']
SELECT DISTINCT ?g WHERE { resource:Singapore property:capital ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]