Simple Question (Direct)
Simple Question
Q2482527
P449
Q43229
USER
Which network was the first to air The Saddle Club ?
(Q2482527,P449,c(Q43229))
action filter_type
action find
entity Q2482527
relation P449
type Q43229
['Q2482527', 'P449', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { resource:Q2482527 property:P449 ?r . ?r rdf:type ontology:Q43229 }
The Saddle Club
action filter_type
action find
entity The Saddle Club
relation original network
type organization
['The Saddle Club', 'original network', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { resource:The_Saddle_Club property:original_network ?r . ?r rdf:type ontology:organization }
[]
organization
Q966055
SYSTEM
ABC Television
Q966055
(Q2482527,P449,c(Q43229))
action filter_type
action find
entity Q2482527
relation P449
type Q43229
[ANSWER] was the first to air The Saddle Club
['Q2482527', 'P449', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { resource:Q2482527 property:P449 ?r . ?r rdf:type ontology:Q43229 }
ABC Television
ABC Television was the first to air The Saddle Club
ABC Television
action filter_type
action find
entity The Saddle Club
relation original network
type organization
['The Saddle Club', 'original network', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { resource:The_Saddle_Club property:original_network ?r . ?r rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2482527
P364
Q34770
USER
Which language was used originally for the creation of The Saddle Club ?
(Q2482527,P364,c(Q34770))
action filter_type
action find
entity Q2482527
relation P364
type Q34770
['Q2482527', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q2482527 property:P364 ?t }
The Saddle Club
action filter_type
action find
entity The Saddle Club
relation original language of work
type language
['The Saddle Club', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:The_Saddle_Club property:original_language_of_work ?t }
[]
language
Q1860
SYSTEM
English
Q1860
(Q2482527,P364,c(Q34770))
action filter_type
action find
entity Q2482527
relation P364
type Q34770
[ANSWER] was used originally for the creation of The Saddle Club
['Q2482527', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q2482527 property:P364 ?t }
English
English was used originally for the creation of The Saddle Club
English
action filter_type
action find
entity The Saddle Club
relation original language of work
type language
['The Saddle Club', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:The_Saddle_Club property:original_language_of_work ?t }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q219
P37
Q34770 Q15617994
USER
How many administrative territories are around the same number of languages the official language of as Bulgaria ?
(c(Q15617994),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q219
relation P37
type Q15617994
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?s ) WHERE { ?t property:P37 ?b . ?t rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q34770 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Q219 property:P37 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?s = ?j ) }
Bulgaria
action count
action approx
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Bulgaria
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?s ) WHERE { ?t property:official_language ?b . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:language } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Bulgaria property:official_language ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s = ?j ) }
[]
language designation for an administrative territorial entity
SYSTEM
132
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q34 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q20 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q219
relation P37
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?s ) WHERE { ?t property:P37 ?b . ?t rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q34770 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Q219 property:P37 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?s = ?j ) }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Sweden Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Norway Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
132
action count
action approx
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Bulgaria
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?s ) WHERE { ?t property:official_language ?b . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:language } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Bulgaria property:official_language ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s = ?j ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q15617994 Q7275
USER
How many languages are the official languages of around 18 administrative territories and states ?
(c(Q15617994)|c(Q7275),P37,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
value 18
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) ?m WHERE { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } } GROUP BY ?m } . FILTER ( ?w = 18 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type state
value 18
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) ?m WHERE { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } } GROUP BY ?m } . FILTER ( ?w = 18 ) }
[]
language designation for an administrative territorial entity state
SYSTEM
9
Q9056 Q13211 Q652 Q8752 Q1321 Q36880 Q33976 Q397 Q8785
(c(Q15617994)|c(Q7275),P37,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
value 18
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) ?m WHERE { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } } GROUP BY ?m } . FILTER ( ?w = 18 ) }
Czech Ruthenian Italian Basque Spanish Bulgar language Sardinian language Latin Armenian
9
action count
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type state
value 18
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) ?m WHERE { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } } GROUP BY ?m } . FILTER ( ?w = 18 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q9009
P37
Q34770 Q56061
USER
How many administrative territories have their official language as greater number of languages than Schaffhausen ?
(c(Q56061),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q9009
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?c ) WHERE { ?i property:P37 ?e . ?e rdf:type ontology:Q34770 . ?i rdf:type ontology:Q56061 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:Q56061 . resource:Q9009 property:P37 ?x } } . FILTER ( ?c > ?q ) }
Schaffhausen
action count
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Schaffhausen
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?c ) WHERE { ?i property:official_language ?e . ?e rdf:type ontology:language . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Schaffhausen property:official_language ?x } } . FILTER ( ?c > ?q ) }
[]
language administrative territorial entity
SYSTEM
52
Q2414585 Q5813 Q68449 Q668625 Q277708 Q660999 Q6029 Q16644 Q16641 Q11703 Q1014671 Q25528 Q2604700 Q2395382 Q123709 Q2214906 Q237 Q334 Q26 Q2532285 Q11935 Q1353 Q14452 Q677935 Q458 Q26180 Q16635 Q4264 Q25230 Q49192 Q67986 Q623277 Q1183 Q2499687 Q69041 Q3947670 Q668239 Q58337 Q334577 Q2217474 Q660974 Q64044 Q11959 Q1025278 Q179313 Q2215147 Q7024 Q7122288 Q67130 Q244207 Q1026296 Q2215401
(c(Q56061),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q9009
relation P37
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?c ) WHERE { ?i property:P37 ?e . ?e rdf:type ontology:Q34770 . ?i rdf:type ontology:Q56061 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:Q56061 . resource:Q9009 property:P37 ?x } } . FILTER ( ?c > ?q ) }
Agarak Canary Islands Arogno Palagnedra Ozhukarai Malvaglia Acquasparta Northern Mariana Islands American Samoa United States Virgin Islands Wiwilí de Jinotega Saba San Rafael del Norte La Concordia Dundee El Cuá Vatican City Singapore Northern Ireland New Cumberland Locarno Delhi Easter Island Veii European Union Sint Eustatius Guam Mercosur Guernsey Middletown Rovio Aquila Puerto Rico Yatton Mendrisio San Mauro Mare Borgnone Banff Quetzaltenango Santa María de Pantasma Ludiano Bellinzona Alicante Painavu Alderney San José de Bocay Lugano Pacific Alliance Riva San Vitale Campione d'Italia Jinotega San Sebastián de Yalí
52
action count
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Schaffhausen
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?c ) WHERE { ?i property:official_language ?e . ?e rdf:type ontology:language . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Schaffhausen property:official_language ?x } } . FILTER ( ?c > ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q639054
P37
Q34770 Q56061
USER
And how about Zhovti Vody?
(c(Q56061),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q639054
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?r ) WHERE { ?h property:P37 ?b . ?h rdf:type ontology:Q56061 . ?b rdf:type ontology:Q34770 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:Q639054 property:P37 ?q . ?q rdf:type ontology:Q56061 } } . FILTER ( ?r > ?n ) }
Zhovti Vody
action count
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Zhovti Vody
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?r ) WHERE { ?h property:official_language ?b . ?h rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:language } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:Zhovti_Vody property:official_language ?q . ?q rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?r > ?n ) }
[]
language administrative territorial entity
SYSTEM
52
Q2414585 Q5813 Q68449 Q668625 Q277708 Q660999 Q6029 Q16644 Q16641 Q11703 Q1014671 Q25528 Q2604700 Q2395382 Q123709 Q2214906 Q237 Q334 Q26 Q2532285 Q11935 Q1353 Q14452 Q677935 Q458 Q26180 Q16635 Q4264 Q25230 Q49192 Q67986 Q623277 Q1183 Q2499687 Q69041 Q3947670 Q668239 Q58337 Q334577 Q2217474 Q660974 Q64044 Q11959 Q1025278 Q179313 Q2215147 Q7024 Q7122288 Q67130 Q244207 Q1026296 Q2215401
(c(Q56061),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q639054
relation P37
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?r ) WHERE { ?h property:P37 ?b . ?h rdf:type ontology:Q56061 . ?b rdf:type ontology:Q34770 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:Q639054 property:P37 ?q . ?q rdf:type ontology:Q56061 } } . FILTER ( ?r > ?n ) }
Agarak Canary Islands Arogno Palagnedra Ozhukarai Malvaglia Acquasparta Northern Mariana Islands American Samoa United States Virgin Islands Wiwilí de Jinotega Saba San Rafael del Norte La Concordia Dundee El Cuá Vatican City Singapore Northern Ireland New Cumberland Locarno Delhi Easter Island Veii European Union Sint Eustatius Guam Mercosur Guernsey Middletown Rovio Aquila Puerto Rico Yatton Mendrisio San Mauro Mare Borgnone Banff Quetzaltenango Santa María de Pantasma Ludiano Bellinzona Alicante Painavu Alderney San José de Bocay Lugano Pacific Alliance Riva San Vitale Campione d'Italia Jinotega San Sebastián de Yalí
52
action count
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Zhovti Vody
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?r ) WHERE { ?h property:official_language ?b . ?h rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:language } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:Zhovti_Vody property:official_language ?q . ?q rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?r > ?n ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q639054
P47
Q515
USER
Which city has a shared border with that administrative territory ?
action filter_type
action find
entity Q639054
relation P47
type Q515
SELECT DISTINCT ?w WHERE { resource:Q639054 property:P47 ?w . ?w rdf:type ontology:Q515 }
Zhovti Vody
action filter_type
action find
entity Zhovti Vody
relation shares border with
type city
SELECT DISTINCT ?w WHERE { resource:Zhovti_Vody property:shares_border_with ?w . ?w rdf:type ontology:city }
[]
city
Q1899
SYSTEM
Kyiv
Q1899
action filter_type
action find
entity Q639054
relation P47
type Q515
[ANSWER] has a shared border with that administrative territory
SELECT DISTINCT ?w WHERE { resource:Q639054 property:P47 ?w . ?w rdf:type ontology:Q515 }
Kyiv
Kyiv has a shared border with that administrative territory
Kyiv
action filter_type
action find
entity Zhovti Vody
relation shares border with
type city
SELECT DISTINCT ?w WHERE { resource:Zhovti_Vody property:shares_border_with ?w . ?w rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1899
P1376
Q7275
USER
Which states have that city have their first city ?
(Q1899,P1376,c(Q7275))
action filter_type
action find
entity Q1899
relation P1376
type Q7275
['Q1899', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?k WHERE { resource:Q1899 property:P1376 ?k . ?k rdf:type ontology:Q7275 }
Kyiv
action filter_type
action find
entity Kyiv
relation capital of
type state
['Kyiv', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?k WHERE { resource:Kyiv property:capital_of ?k . ?k rdf:type ontology:state }
[]
state
Q1108445 Q133356 Q1508143
SYSTEM
Kievan Rus', Ukrainian Soviet Socialist Republic, Ukrainian State
Q1108445 Q133356 Q1508143
(Q1899,P1376,c(Q7275))
action filter_type
action find
entity Q1899
relation P1376
type Q7275
[ANSWERS] have that city have their first city
['Q1899', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?k WHERE { resource:Q1899 property:P1376 ?k . ?k rdf:type ontology:Q7275 }
Kievan Rus' Ukrainian Soviet Socialist Republic Ukrainian State
Kievan Rus', Ukrainian Soviet Socialist Republic and Ukrainian State have that city have their first city
Kievan Rus' Ukrainian Soviet Socialist Republic Ukrainian State
action filter_type
action find
entity Kyiv
relation capital of
type state
['Kyiv', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?k WHERE { resource:Kyiv property:capital_of ?k . ?k rdf:type ontology:state }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q7275 Q56061
USER
Which languages are recognized as the official language of atmost 26 states and administrative territories ?
(c(Q7275)|c(Q56061),P37,c(Q34770))
action atmost
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
value 26
[[{'concept': 'Q7275'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?o <= 26 ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?l WHERE { { ?g property:P37 ?l . ?l rdf:type ontology:Q34770 . ?g rdf:type ontology:Q7275 } UNION { ?g property:P37 ?l . ?l rdf:type ontology:Q34770 . ?g rdf:type ontology:Q56061 } } GROUP BY ?l } }
action atmost
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
value 26
[[{'concept': 'state'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?o <= 26 ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?l WHERE { { ?g property:official_language ?l . ?l rdf:type ontology:language . ?g rdf:type ontology:state } UNION { ?g property:official_language ?l . ?l rdf:type ontology:language . ?g rdf:type ontology:administrative_territorial_entity } } GROUP BY ?l } }
[]
language state administrative territorial entity
Q9056 Q33251 Q8752
SYSTEM
Czech, Church Slavonic, Basque
Q9056 Q33251 Q13211 Q3110592 Q36206 Q652 Q8752 Q1321 Q36880 Q33976 Q35499 Q397 Q35726 Q8785 Q25164
(c(Q7275)|c(Q56061),P37,c(Q34770))
action atmost
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
value 26
[ANSWERS] are recognized as the official language of atmost 26 states and administrative territories
[[{'concept': 'Q7275'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?o <= 26 ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?l WHERE { { ?g property:P37 ?l . ?l rdf:type ontology:Q34770 . ?g rdf:type ontology:Q7275 } UNION { ?g property:P37 ?l . ?l rdf:type ontology:Q34770 . ?g rdf:type ontology:Q56061 } } GROUP BY ?l } }
Czech Church Slavonic Ruthenian written Chinese Lak Italian Basque Spanish Bulgar language Sardinian language Old Church Slavonic Latin Etruscan Armenian Nynorsk
Czech, Church Slavonic and Basque are recognized as the official language of atmost 26 states and administrative territories
Czech Church Slavonic Basque
action atmost
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
value 26
[[{'concept': 'state'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?o <= 26 ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?l WHERE { { ?g property:official_language ?l . ?l rdf:type ontology:language . ?g rdf:type ontology:state } UNION { ?g property:official_language ?l . ?l rdf:type ontology:language . ?g rdf:type ontology:administrative_territorial_entity } } GROUP BY ?l } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q33251
P1412
Q502895
USER
Which person uses that language ?
(c(Q502895),P1412,Q33251)
action filter_type
action find_reverse
entity Q33251
relation P1412
type Q502895
[{'concept': 'Q502895'}, 'P1412', 'Q33251']
SELECT DISTINCT ?k WHERE { ?k property:P1412 resource:Q33251 . ?k rdf:type ontology:Q502895 }
Church Slavonic
action filter_type
action find_reverse
entity Church Slavonic
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Church Slavonic']
SELECT DISTINCT ?k WHERE { ?k property:languages_spoken,_written_or_signed resource:Church_Slavonic . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q8752
SYSTEM
Did you mean Basque ?
Q9056 Q33251 Q8752
(c(Q502895),P1412,Q9056) (c(Q502895),P1412,Q33251) (c(Q502895),P1412,Q8752)
[ANSWER]
[{'concept': 'Q502895'}, 'P1412', 'Q9056'] [{'concept': 'Q502895'}, 'P1412', 'Q33251'] [{'concept': 'Q502895'}, 'P1412', 'Q8752']
SELECT DISTINCT ?k WHERE { ?k property:P1412 resource:Q33251 . ?k rdf:type ontology:Q502895 }
Czech Church Slavonic Basque
Did you mean Basque ?
Basque
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Czech'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Church Slavonic'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Basque']
SELECT DISTINCT ?k WHERE { ?k property:languages_spoken,_written_or_signed resource:Church_Slavonic . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Church Slavonic. Could you tell me the answer for that?
(c(Q502895),P1412,Q33251)
Q33251
[{'concept': 'Q502895'}, 'P1412', 'Q33251']
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Church Slavonic']
[]
Q3917646
SYSTEM
Kyrylo Stavrovetsky
Q3917646
(c(Q502895),P1412,Q33251)
action filter_type
action find_reverse
entity Q33251
relation P1412
type Q502895
[ANSWER] uses that language
[{'concept': 'Q502895'}, 'P1412', 'Q33251']
SELECT DISTINCT ?k WHERE { ?k property:P1412 resource:Q33251 . ?k rdf:type ontology:Q502895 }
Kyrylo Stavrovetsky
Kyrylo Stavrovetsky uses that language
Kyrylo Stavrovetsky
action filter_type
action find_reverse
entity Church Slavonic
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Church Slavonic']
SELECT DISTINCT ?k WHERE { ?k property:languages_spoken,_written_or_signed resource:Church_Slavonic . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3917646
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q3917646,P1412,c(Q34770))
action filter_type
action find
entity Q3917646
relation P1412
type Q34770
['Q3917646', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q34770 . resource:Q3917646 property:P1412 ?m }
Kyrylo Stavrovetsky
action filter_type
action find
entity Kyrylo Stavrovetsky
relation languages spoken, written or signed
type language
['Kyrylo Stavrovetsky', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:language . resource:Kyrylo_Stavrovetsky property:languages_spoken,_written_or_signed ?m }
[]
language
Q33251
SYSTEM
Church Slavonic
Q33251
(Q3917646,P1412,c(Q34770))
action filter_type
action find
entity Q3917646
relation P1412
type Q34770
[ANSWER] is that person capable of writing
['Q3917646', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q34770 . resource:Q3917646 property:P1412 ?m }
Church Slavonic
Church Slavonic is that person capable of writing
Church Slavonic
action filter_type
action find
entity Kyrylo Stavrovetsky
relation languages spoken, written or signed
type language
['Kyrylo Stavrovetsky', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:language . resource:Kyrylo_Stavrovetsky property:languages_spoken,_written_or_signed ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3917646
P27
Q7275
USER
Which state is that person an inhabitant of ?
(Q33251,P27,c(Q7275))
action filter_type
action find
entity Q3917646
relation P27
type Q7275
['Q33251', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?m WHERE { resource:Q3917646 property:P27 ?m . ?m rdf:type ontology:Q7275 }
Kyrylo Stavrovetsky
action filter_type
action find
entity Kyrylo Stavrovetsky
relation country of citizenship
type state
['Church Slavonic', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?m WHERE { resource:Kyrylo_Stavrovetsky property:country_of_citizenship ?m . ?m rdf:type ontology:state }
[]
state
Q172107
SYSTEM
Polish–Lithuanian Commonwealth
Q172107
(Q33251,P27,c(Q7275))
action filter_type
action find
entity Q3917646
relation P27
type Q7275
[ANSWER] is that person an inhabitant of
['Q33251', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?m WHERE { resource:Q3917646 property:P27 ?m . ?m rdf:type ontology:Q7275 }
Polish–Lithuanian Commonwealth
Polish–Lithuanian Commonwealth is that person an inhabitant of
Polish–Lithuanian Commonwealth
action filter_type
action find
entity Kyrylo Stavrovetsky
relation country of citizenship
type state
['Church Slavonic', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?m WHERE { resource:Kyrylo_Stavrovetsky property:country_of_citizenship ?m . ?m rdf:type ontology:state }
[]