Simple Question (Direct)
Simple Question
Q17496977
P39
Q28640
USER
Which profession was a position held by Michel Robert ?
(Q17496977,P39,c(Q28640))
action filter_type
action find
entity Q17496977
relation P39
type Q28640
['Q17496977', 'P39', {'concept': 'Q28640'}]
SELECT DISTINCT ?f WHERE { resource:Q17496977 property:P39 ?f . ?f rdf:type ontology:Q28640 }
Michel Robert
action filter_type
action find
entity Michel Robert
relation position held
type profession
['Michel Robert', 'position held', {'concept': 'profession'}]
SELECT DISTINCT ?f WHERE { resource:Michel_Robert property:position_held ?f . ?f rdf:type ontology:profession }
[]
profession
Q1162163
SYSTEM
director
Q1162163
(Q17496977,P39,c(Q28640))
action filter_type
action find
entity Q17496977
relation P39
type Q28640
The [ANSWER] was a position held by Michel Robert
['Q17496977', 'P39', {'concept': 'Q28640'}]
SELECT DISTINCT ?f WHERE { resource:Q17496977 property:P39 ?f . ?f rdf:type ontology:Q28640 }
director
The director was a position held by Michel Robert
director
action filter_type
action find
entity Michel Robert
relation position held
type profession
['Michel Robert', 'position held', {'concept': 'profession'}]
SELECT DISTINCT ?f WHERE { resource:Michel_Robert property:position_held ?f . ?f rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17496977
P734
Q82799
USER
Who has the surname Michel Robert ?
(Q17496977,P734,c(Q82799))
action filter_type
action find
entity Q17496977
relation P734
type Q82799
['Q17496977', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q17496977 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Michel Robert
action filter_type
action find
entity Michel Robert
relation family name
type name
['Michel Robert', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Michel_Robert property:family_name ?g . ?g rdf:type ontology:name }
[]
name
Q2156271
SYSTEM
Robert
Q2156271
(Q17496977,P734,c(Q82799))
action filter_type
action find
entity Q17496977
relation P734
type Q82799
[ANSWER] has the surname Michel [ANSWER]
['Q17496977', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q17496977 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Robert
Robert has the surname Michel Robert
Robert
action filter_type
action find
entity Michel Robert
relation family name
type name
['Michel Robert', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Michel_Robert property:family_name ?g . ?g rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are the languages of work for atleast 6 names ?
(c(Q82799),P407,c(Q34770))
action atleast
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 6
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:P407 ?a . ?a rdf:type ontology:Q34770 . ?q rdf:type ontology:Q82799 } GROUP BY ?a } . FILTER ( ?c >= 6 ) }
action atleast
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 6
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:language_of_work_or_name ?a . ?a rdf:type ontology:language . ?q rdf:type ontology:name } GROUP BY ?a } . FILTER ( ?c >= 6 ) }
[]
language name
Q1860 Q9056 Q1321
SYSTEM
English, Czech, Spanish
Q1860 Q1321 Q9056 Q652
(c(Q82799),P407,c(Q34770))
action atleast
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 6
[ANSWERS] the languages of work for atleast 6 names
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:P407 ?a . ?a rdf:type ontology:Q34770 . ?q rdf:type ontology:Q82799 } GROUP BY ?a } . FILTER ( ?c >= 6 ) }
English Spanish Czech Italian
English, Czech and Spanish the languages of work for atleast 6 names
English Czech Spanish
action atleast
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 6
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:language_of_work_or_name ?a . ?a rdf:type ontology:language . ?q rdf:type ontology:name } GROUP BY ?a } . FILTER ( ?c >= 6 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
How many languages use approximately the same number of writing systems as the writing system as that language ?
(c(Q34770),P282,c(Q8192))
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
writing system language
Comparative|Count over More/Less|Single entity type|Clarification
Q9056
SYSTEM
Did you mean Czech ?
(c(Q34770),P282,c(Q8192))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
Did you mean Czech ?
Czech
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Spanish. Could you tell me the answer for that?
(c(Q34770),P282,c(Q8192))
Q1321
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
[]
SYSTEM
56
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q8192))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
56
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1557998
P361
Q151885 Q874405 Q82799
USER
How many names are parts of lesser number of concepts or social groups than Gyalwang Drukpa ?
(c(Q82799),P361,c(Q151885)|c(Q874405))
action count
action less
action union
action find_tuple_counts
relation P361
type Q82799
type Q151885
action find_tuple_counts
relation P361
type Q82799
type Q874405
action count
action filter_multi_types
action find
entity Q1557998
relation P361
type Q151885
type Q874405
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q151885'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?h ) WHERE { ?x rdf:type ?c . VALUES ( ?c ) { ( ontology:Q151885 ) ( ontology:Q874405 ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Q1557998 property:P361 ?p . { { ?p rdf:type ontology:Q151885 } UNION { ?p rdf:type ontology:Q874405 } } } } . FILTER ( ?h < ?y ) }
Gyalwang Drukpa
action count
action less
action union
action find_tuple_counts
relation part of
type name
type concept
action find_tuple_counts
relation part of
type name
type social group
action count
action filter_multi_types
action find
entity Gyalwang Drukpa
relation part of
type concept
type social group
[{'concept': 'name'}, 'part of', [{'concept': 'concept'}, {'concept': 'social group'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?h ) WHERE { ?x rdf:type ?c . VALUES ( ?c ) { ( ontology:concept ) ( ontology:social_group ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Gyalwang_Drukpa property:part_of ?p . { { ?p rdf:type ontology:concept } UNION { ?p rdf:type ontology:social_group } } } } . FILTER ( ?h < ?y ) }
[]
concept social group name
SYSTEM
315
Q19984029 Q23539781 Q16101731 Q16515753 Q27355533 Q22001585 Q26000745 Q26822115 Q19986366 Q2168099 Q19963541 Q20731004 Q27651197 Q21491652 Q21501467 Q27037178 Q21484983 Q12783920 Q27037174 Q5791319 Q27651212 Q12594770 Q27356490 Q1946932 Q21144151 Q20731003 Q27357908 Q18001608 Q26775417 Q20155939 Q11283653 Q26971843 Q27465067 Q18645215 Q12788667 Q19831808 Q27357598 Q21475479 Q24477965 Q21488853 Q26156283 Q21487329 Q24477968 Q24090443 Q20675459 Q21279602 Q16563753 Q21450326 Q21510209 Q25114460 Q27436303 Q21431253 Q20985269 Q27037161 Q355505 Q7071783 Q27037165 Q15629245 Q21498452 Q27037169 Q235598 Q1513700 Q18515515 Q18808411 Q21492574 Q16882305 Q1240901 Q19688789 Q24251030 Q18844248 Q27678568 Q19311987 Q5646565 Q20089343 Q19672747 Q1093580 Q742083 Q19828992 Q21043141 Q22673958 Q4082729 Q18171095 Q110874 Q26448488 Q19832245 Q26822136 Q26822137 Q27635577 Q26822132 Q19688838 Q23636060 Q26822155 Q10145967 Q16161715 Q11878943 Q21506948 Q252216 Q2547055 Q21492983 Q21584287 Q272914 Q23039002 Q27037119 Q19944848 Q2553935 Q18645909 Q21512664 Q27204774 Q18808940 Q1173421 Q27476988 Q23822720 Q21450808 Q25114459 Q15238609 Q27230306 Q27538384 Q16390676 Q26772804 Q26822160 Q25695405 Q20900701 Q24091156 Q26986281 Q26235096 Q26944932 Q20875974 Q15897047 Q27450778 Q3281200 Q27229561 Q26944931 Q23640302 Q26266311 Q3372303 Q10587130 Q17165817 Q15926381 Q26736729 Q21450395 Q19687637 Q27357173 Q27356099 Q1247793 Q21470412 Q27355703 Q27185681 Q21506801 Q27203015 Q23590373 Q21534988 Q21405537 Q27355517 Q26235204 Q21069157 Q27229604 Q23907762 Q27450583 Q27229563 Q26266310 Q27450587 Q15835964 Q21471177 Q20083701 Q885595 Q27203027 Q12624980 Q1707301 Q26822099 Q2876425 Q27229572 Q24573284 Q27251921 Q5 Q631147 Q26868860 Q27651154 Q20003434 Q26736681 Q27352651 Q26877838 Q26986610 Q21502033 Q26449961 Q21452487 Q1158284 Q16876541 Q16932005 Q15788891 Q27642537 Q27450911 Q12788669 Q23590368 Q13639177 Q27037180 Q19944235 Q804437 Q21450555 Q27670177 Q4400681 Q23041619 Q1620641 Q21130107 Q808994 Q16279139 Q21447940 Q12600404 Q19998957 Q17505763 Q18552178 Q21484879 Q27356272 Q19768404 Q12036851 Q19810530 Q26822081 Q24090532 Q18228388 Q26906549 Q24090418 Q26742856 Q26986918 Q1703599 Q19961051 Q382004 Q12601635 Q5461714 Q27350540 Q12020943 Q1399288 Q12188082 Q20010325 Q26235099 Q23578592 Q2491016 Q27133109 Q19831835 Q21491435 Q23767331 Q23767330 Q21507872 Q27450606 Q21508944 Q2824680 Q27450608 Q26774382 Q19550817 Q18689509 Q27355496 Q19768398 Q27450724 Q15813147 Q15711050 Q12784475 Q26736416 Q21431135 Q26772911 Q21484692 Q26736415 Q27037157 Q27651236 Q26972674 Q18402175 Q21886149 Q12785732 Q19839042 Q27450686 Q26741038 Q23569212 Q21492540 Q21142292 Q27450728 Q27450834 Q27450836 Q23907739 Q1915243 Q2287331 Q23578587 Q22348139 Q21057288 Q21476618 Q263542 Q3701009 Q21484521 Q21484914 Q4835658 Q4812724 Q21534898 Q26234451 Q19550800 Q23538357 Q1737707 Q26972634 Q16175496 Q19856970 Q21143968 Q21143966 Q20064977 Q21450552 Q19839041 Q27450738 Q27450739 Q21538548 Q5034376 Q27131901 Q26741034 Q19582298 Q19688887 Q27450824 Q26220628 Q861966 Q13582244 Q15789615 Q20982280 Q27450829
(c(Q82799),P361,c(Q151885)|c(Q874405))
action count
action less
action union
action find_tuple_counts
relation P361
type Q82799
type Q151885
action find_tuple_counts
relation P361
type Q82799
type Q874405
action count
action filter_multi_types
action find
entity Q1557998
relation P361
type Q151885
type Q874405
[ANSWER]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q151885'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?h ) WHERE { ?x rdf:type ?c . VALUES ( ?c ) { ( ontology:Q151885 ) ( ontology:Q874405 ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Q1557998 property:P361 ?p . { { ?p rdf:type ontology:Q151885 } UNION { ?p rdf:type ontology:Q874405 } } } } . FILTER ( ?h < ?y ) }
Minami Asami Carter Farkas Türkkan Lamont Meta Candan Brodie human Rotavirusses Cassie Crawford Littleton Esin Olivera Bainbridge Dwyer Abram Bridger Tajinaste Redmond Man Holly Moosa Fedde Crawford Ademola Sylvain Dalibor Clancy Czech family name Ado Özgen Agostino Fabjan Loren Siemion Ersan Guibert Tyson Whittingstall Hewitt Guibert Matsuo Anania Regan Hunter Jayne Sierra Savva Gisbert Adamou Barrington Hakim Nobiliary particle O'Donovan family Abner lizard Kelso Hersey Piso Gerlach Albano Egerton Loui Rostopchin praenomen Achim Barnaby Rowan Sami Yoshihara Han Han Aubrey Han surname Princes of Paliano Shelley Cave Sherman Belarusian surname Armand patronymic Akiyoshi Sami Akilu Řehoř Gruffudd Wito Kaj Cassie Rauf Grand Master of the Teutonic Knights Albin Urban Izumi Árnadóttir Walther Regan Jabez Çubukçubaşı Marshall Melvyn Eraydın Wedekind Abe Redouane Parvin Neil Davern Şentürk Malick Inal Savva nomen Durmuş Fedde Falk Elias Chadi Curtis Nolan Abe Seyfi Lillie Apple Ševela Percy Shigematsu Tent caterpillar Köken Apple Britt Trimnell Mai Moa Warren He Olumide Hillis Rahim Cave Frenk Kinnon Tyrell Eden Rickard Herschel Joby Raimond Yaşar Edward Savin Loudon Mateja Sweeney Florenz Asiedu Robison Ritchard Mordaunt Mynors Prentice Man Blue Joby Hyeon Tyler Ademola Aïssata Aydın Laverne Lamont human infraspecific name Cale Gottlieb Marielle Veit Seon Sanusi Addis Browning Takumi Alfonzo Heinz Máté Mai Blake Robbie Mahrez Fabjan Raimond Jean Dalrymple Osborne Bakir Hilbert Ripley Russian surname Stuart Hisataka Calvert Barry Máté Hester Sang Paltiel Virgil Alonso Salman Golden Courtney Michel Han Amin Minami Leonard Germann Hara Fabiano Sabra Jordan Izumi Afa-Negus Seon Florida black bass Sang Hunter Fearnley James Ganna Lillie Aynsley orthographical variant Arnell Qutb Norman Koren Koren Henning Wilf Finlay Ado Haym Chariton Alden Marion Milić Jonas Freundel Bas Lu Amos Roveda Gill Abbas Neilson Roveda Řehoř Sylvester Thijs Bernard Alfonzo Berchtold Cushman Flower Patti Clint Kingsley Gerbrand Greenbury Harouna Henrie Florian McKeown Simon Aynsley Ripley Hester Miwa Griffith Dale Romaine Clay BIFF Ataman Fethi Rupert Alden Azuma Keefe Noah Bas Squire Herrmann Henrie Dong Hamilton Cushman Keill Moumouni Biff Caomhánach Tokiwa Patti Melville Tone Savea Arian dung beetles Dale Brady Maury Akpan
315
action count
action less
action union
action find_tuple_counts
relation part of
type name
type concept
action find_tuple_counts
relation part of
type name
type social group
action count
action filter_multi_types
action find
entity Gyalwang Drukpa
relation part of
type concept
type social group
[{'concept': 'name'}, 'part of', [{'concept': 'concept'}, {'concept': 'social group'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?h ) WHERE { ?x rdf:type ?c . VALUES ( ?c ) { ( ontology:concept ) ( ontology:social_group ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Gyalwang_Drukpa property:part_of ?p . { { ?p rdf:type ontology:concept } UNION { ?p rdf:type ontology:social_group } } } } . FILTER ( ?h < ?y ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q56061 Q13220204
USER
Which languages are considered to be the official language of around 4 administrative territories and administrative country subdivisions ?
(c(Q56061)|c(Q13220204),P37,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
value 4
[[{'concept': 'Q56061'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?k WHERE { { ?u property:P37 ?k . ?k rdf:type ontology:Q34770 . ?u rdf:type ontology:Q56061 } UNION { ?u property:P37 ?k . ?k rdf:type ontology:Q34770 . ?u rdf:type ontology:Q13220204 } } GROUP BY ?k } . FILTER ( ?b = 4 ) }
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
value 4
[[{'concept': 'administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?k WHERE { { ?u property:official_language ?k . ?k rdf:type ontology:language . ?u rdf:type ontology:administrative_territorial_entity } UNION { ?u property:official_language ?k . ?k rdf:type ontology:language . ?u rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?k } . FILTER ( ?b = 4 ) }
[]
language administrative territorial entity second-level administrative country subdivision
Q1860 Q9056 Q33251
SYSTEM
English, Czech, Church Slavonic
Q9056 Q1860 Q33251 Q13211 Q3110592 Q36206 Q8752 Q1321 Q36880 Q33976 Q35499 Q397 Q35726 Q8785 Q25164
(c(Q56061)|c(Q13220204),P37,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
value 4
[ANSWERS] are considered to be the official language of around 4 administrative territories and administrative country subdivisions
[[{'concept': 'Q56061'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?k WHERE { { ?u property:P37 ?k . ?k rdf:type ontology:Q34770 . ?u rdf:type ontology:Q56061 } UNION { ?u property:P37 ?k . ?k rdf:type ontology:Q34770 . ?u rdf:type ontology:Q13220204 } } GROUP BY ?k } . FILTER ( ?b = 4 ) }
Czech English Church Slavonic Ruthenian written Chinese Lak Basque Spanish Bulgar language Sardinian language Old Church Slavonic Latin Etruscan Armenian Nynorsk
English, Czech and Church Slavonic are considered to be the official language of around 4 administrative territories and administrative country subdivisions
English Czech Church Slavonic
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
value 4
[[{'concept': 'administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?k WHERE { { ?u property:official_language ?k . ?k rdf:type ontology:language . ?u rdf:type ontology:administrative_territorial_entity } UNION { ?u property:official_language ?k . ?k rdf:type ontology:language . ?u rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?k } . FILTER ( ?b = 4 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1412
Q502895
USER
How many people talks in that language ?
(c(Q502895),P1412,Q33251)
[{'concept': 'Q502895'}, 'P1412', 'Q33251']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1412 resource:Q33251 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Church Slavonic']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:languages_spoken,_written_or_signed resource:Church_Slavonic . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q33251
SYSTEM
Did you mean Church Slavonic ?
(c(Q502895),P1412,Q1860) (c(Q502895),P1412,Q9056) (c(Q502895),P1412,Q33251)
[ANSWER]
[{'concept': 'Q502895'}, 'P1412', 'Q1860'] [{'concept': 'Q502895'}, 'P1412', 'Q9056'] [{'concept': 'Q502895'}, 'P1412', 'Q33251']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1412 resource:Q33251 . ?z rdf:type ontology:Q502895 }
Did you mean Church Slavonic ?
Church Slavonic
[{'concept': 'common name'}, 'languages spoken, written or signed', 'English'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Czech'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Church Slavonic']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:languages_spoken,_written_or_signed resource:Church_Slavonic . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P1412,Q33251)
[{'concept': 'Q502895'}, 'P1412', 'Q33251']
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Church Slavonic']
[]
SYSTEM
1
Q3917646
(c(Q502895),P1412,Q33251)
[ANSWER]
[{'concept': 'Q502895'}, 'P1412', 'Q33251']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1412 resource:Q33251 . ?z rdf:type ontology:Q502895 }
Kyrylo Stavrovetsky
1
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Church Slavonic']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:languages_spoken,_written_or_signed resource:Church_Slavonic . ?z rdf:type ontology:common_name }
[]