Simple Question (Direct)
Simple Question
Q12037980
P21
Q290
USER
Which sex does Miroslav Rutte have ?
(Q12037980,P21,c(Q290))
action filter_type
action find
entity Q12037980
relation P21
type Q290
['Q12037980', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q12037980 property:P21 ?p . ?p rdf:type ontology:Q290 }
Miroslav Rutte
action filter_type
action find
entity Miroslav Rutte
relation gender
type sex
['Miroslav Rutte', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Miroslav_Rutte property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q12037980,P21,c(Q290))
action filter_type
action find
entity Q12037980
relation P21
type Q290
Miroslav Rutte has a [ANSWER]
['Q12037980', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q12037980 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
Miroslav Rutte has a male
male
action filter_type
action find
entity Miroslav Rutte
relation gender
type sex
['Miroslav Rutte', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Miroslav_Rutte property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12037980
P1412
Q34770
USER
Which language does Miroslav Rutte speak in ?
(Q12037980,P1412,c(Q34770))
action filter_type
action find
entity Q12037980
relation P1412
type Q34770
['Q12037980', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q12037980 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
Miroslav Rutte
action filter_type
action find
entity Miroslav Rutte
relation languages spoken, written or signed
type language
['Miroslav Rutte', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Miroslav_Rutte property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
language
Q9056
SYSTEM
Czech
Q9056
(Q12037980,P1412,c(Q34770))
action filter_type
action find
entity Q12037980
relation P1412
type Q34770
Miroslav Rutte speaks in [ANSWER]
['Q12037980', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q12037980 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
Czech
Miroslav Rutte speaks in Czech
Czech
action filter_type
action find
entity Miroslav Rutte
relation languages spoken, written or signed
type language
['Miroslav Rutte', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Miroslav_Rutte property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19561570
Q34770
USER
And how about Stephen Mills?
(Q19561570,P1412,c(Q34770))
action filter_type
action find
entity Q19561570
relation P1412
type Q34770
['Q19561570', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q19561570 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Stephen Mills
action filter_type
action find
entity Stephen Mills
relation languages spoken, written or signed
type language
['Stephen Mills', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Stephen_Mills property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q19561570,P1412,c(Q34770))
action filter_type
action find
entity Q19561570
relation P1412
type Q34770
[ANSWER]
['Q19561570', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q19561570 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Stephen Mills
relation languages spoken, written or signed
type language
['Stephen Mills', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Stephen_Mills property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1860 Q5329170 Q1346342
P361
Q5962346
USER
Is that language a portion of Anglo-Frisian languages and Anglic languages ?
(Q1860,P361,Q5329170) (Q1860,P361,Q1346342)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q5329170
relation P361
action find_reverse
entity Q1346342
relation P361
['Q1860', 'P361', 'Q5329170'] ['Q1860', 'P361', 'Q1346342']
ASK WHERE { resource:Q1860 property:P361 resource:Q5329170 . resource:Q1860 property:P361 resource:Q1346342 }
English Anglo-Frisian languages Anglic languages
action is_in
entity English
action intersection
action find_reverse
entity Anglo-Frisian languages
relation part of
action find_reverse
entity Anglic languages
relation part of
['English', 'part of', 'Anglo-Frisian languages'] ['English', 'part of', 'Anglic languages']
ASK WHERE { resource:English property:part_of resource:Anglo-Frisian_languages . resource:English property:part_of resource:Anglic_languages }
[]
classification scheme
SYSTEM
YES
(Q1860,P361,Q5329170) (Q1860,P361,Q1346342)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q5329170
relation P361
action find_reverse
entity Q1346342
relation P361
[ANSWER]
['Q1860', 'P361', 'Q5329170'] ['Q1860', 'P361', 'Q1346342']
ASK WHERE { resource:Q1860 property:P361 resource:Q5329170 . resource:Q1860 property:P361 resource:Q1346342 }
Yes
action is_in
entity English
action intersection
action find_reverse
entity Anglo-Frisian languages
relation part of
action find_reverse
entity Anglic languages
relation part of
['English', 'part of', 'Anglo-Frisian languages'] ['English', 'part of', 'Anglic languages']
ASK WHERE { resource:English property:part_of resource:Anglo-Frisian_languages . resource:English property:part_of resource:Anglic_languages }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12037980 Q1085
P19
Q56061
USER
Is Prague the birthplace of Miroslav Rutte ?
(Q12037980,P19,Q1085)
action is_in
entity Q1085
action find
entity Q12037980
relation P19
['Q12037980', 'P19', 'Q1085']
ASK WHERE { resource:Q12037980 property:P19 resource:Q1085 }
Miroslav Rutte Prague
action is_in
entity Prague
action find
entity Miroslav Rutte
relation place of birth
['Miroslav Rutte', 'place of birth', 'Prague']
ASK WHERE { resource:Miroslav_Rutte property:place_of_birth resource:Prague }
[]
administrative territorial entity
SYSTEM
YES
(Q12037980,P19,Q1085)
action is_in
entity Q1085
action find
entity Q12037980
relation P19
[ANSWER]
['Q12037980', 'P19', 'Q1085']
ASK WHERE { resource:Q12037980 property:P19 resource:Q1085 }
Yes
action is_in
entity Prague
action find
entity Miroslav Rutte
relation place of birth
['Miroslav Rutte', 'place of birth', 'Prague']
ASK WHERE { resource:Miroslav_Rutte property:place_of_birth resource:Prague }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1860 Q397
P407
Q82799
USER
How many names are composed in English or Latin ?
(c(Q82799),P407,Q1860) (c(Q82799),P407,Q397)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P407
type Q82799
action filter_type
action find_reverse
entity Q397
relation P407
type Q82799
[{'concept': 'Q82799'}, 'P407', 'Q1860'] [{'concept': 'Q82799'}, 'P407', 'Q397']
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { VALUES ( ?t ) { ( resource:Q397 ) ( resource:Q1860 ) } . ?m property:P407 ?t }
English Latin
action count
action union
action filter_type
action find_reverse
entity English
relation language of work or name
type name
action filter_type
action find_reverse
entity Latin
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', 'English'] [{'concept': 'name'}, 'language of work or name', 'Latin']
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { VALUES ( ?t ) { ( resource:Latin ) ( resource:English ) } . ?m property:language_of_work_or_name ?t }
[]
name
SYSTEM
528
Q179205 Q27259183 Q1276644 Q12800811 Q16870200 Q24229483 Q1333689 Q1724227 Q1324184 Q16877376 Q1128028 Q16865223 Q1544833 Q2790265 Q13420007 Q808994 Q14629485 Q27257371 Q15278566 Q7918051 Q16869665 Q16870376 Q4274203 Q16291107 Q18620245 Q1002298 Q16870499 Q16884098 Q1260558 Q1158612 Q19817029 Q1374920 Q16860438 Q20667149 Q1393924 Q20667144 Q347929 Q21936502 Q1672459 Q2696422 Q205027 Q1284018 Q1259568 Q27252577 Q16275229 Q1231746 Q2754726 Q26869113 Q1182327 Q1978444 Q120401 Q826803 Q5610441 Q16876534 Q27357173 Q4494802 Q13553584 Q318363 Q1592801 Q21003018 Q18209569 Q780883 Q2798428 Q1105306 Q16282643 Q16872027 Q20962502 Q2581264 Q2079518 Q2658113 Q21034720 Q1158545 Q1646493 Q18418758 Q21073008 Q21450552 Q928249 Q1158210 Q13099377 Q16915372 Q20668001 Q1739730 Q59853 Q2688708 Q16746969 Q16883856 Q15804875 Q2697960 Q2780561 Q1230262 Q16870190 Q1470501 Q1158262 Q2043296 Q449411 Q1266539 Q1572830 Q20707849 Q1289978 Q1514838 Q6382344 Q2662465 Q16872373 Q2782528 Q14650387 Q2702454 Q16876864 Q16872546 Q2133832 Q203052 Q2170749 Q4879429 Q16275014 Q18342012 Q2701900 Q16870698 Q5220046 Q4884687 Q1009526 Q23041455 Q16874548 Q17097783 Q1158535 Q2331622 Q776106 Q2732758 Q2720681 Q13360321 Q2658150 Q20997880 Q12191064 Q1437477 Q15785662 Q351735 Q2043243 Q7998664 Q27368535 Q25160197 Q1158321 Q2792882 Q1544163 Q3471405 Q1158446 Q1158882 Q2716369 Q13552078 Q1181211 Q2134042 Q16870396 Q2720749 Q2123241 Q1669080 Q13590682 Q17032649 Q17523692 Q1181223 Q426463 Q16290442 Q1047713 Q1158586 Q1587003 Q1686377 Q17149756 Q25017056 Q2160353 Q1794217 Q621915 Q13560595 Q608991 Q1158139 Q16865846 Q13627772 Q16870414 Q15080511 Q21452013 Q2043255 Q17165817 Q1182331 Q1271862 Q2594455 Q1307544 Q1848748 Q2674114 Q2801971 Q1566218 Q1258639 Q10471460 Q908051 Q2691159 Q4955690 Q13581093 Q10514602 Q15526904 Q1496534 Q10989264 Q908629 Q16882866 Q1393110 Q2800825 Q535214 Q1983554 Q13219396 Q1691276 Q1492185 Q1426311 Q1158566 Q1511218 Q16878076 Q13479473 Q1137817 Q1688722 Q14648920 Q16883838 Q1215200 Q1591772 Q21501722 Q913810 Q15785578 Q2658970 Q16872306 Q27450728 Q1158318 Q1953798 Q16882085 Q16869940 Q16870226 Q4097411 Q13553861 Q1427982 Q1797561 Q181502 Q13563379 Q19899706 Q2672029 Q20985269 Q20970454 Q5265065 Q1605060 Q2105042 Q16870899 Q2703557 Q16870299 Q18508917 Q6833447 Q15851235 Q16357613 Q1032817 Q5224110 Q16881170 Q2793828 Q18610168 Q1158195 Q7105720 Q11825166 Q2700390 Q254906 Q16880573 Q21936527 Q1618000 Q1440104 Q1292621 Q5263823 Q2648323 Q1408775 Q16876684 Q1304629 Q2659856 Q5261248 Q2136484 Q13632220 Q1700760 Q16876458 Q1099246 Q2106585 Q2159662 Q27264995 Q2666084 Q1627663 Q2667762 Q21571367 Q27258609 Q16865651 Q1158452 Q656179 Q20661796 Q13553902 Q1471443 Q16882371 Q1791084 Q9014839 Q21057643 Q16860244 Q21043141 Q27356490 Q15830573 Q1095787 Q598459 Q16871937 Q25253492 Q424325 Q1351627 Q2803437 Q1707301 Q24229387 Q991110 Q1288199 Q25175977 Q817365 Q12189873 Q1926724 Q16876701 Q1544042 Q20727135 Q13570290 Q2350543 Q16277659 Q2671214 Q16276492 Q21482827 Q2793334 Q21405540 Q16277380 Q22809145 Q8113084 Q1104540 Q1158485 Q13418278 Q7491146 Q1413324 Q2675597 Q2570283 Q2664624 Q13421990 Q5637272 Q1261077 Q20671646 Q15788891 Q16877432 Q20664268 Q1399288 Q790638 Q2780460 Q19829516 Q7477462 Q1184721 Q5000472 Q914279 Q1138248 Q1260201 Q1679720 Q27254120 Q1965666 Q2405539 Q27450686 Q16872088 Q13368008 Q15229897 Q1158419 Q6582834 Q4859978 Q16032077 Q2364643 Q20994443 Q263542 Q10816799 Q1048306 Q20979432 Q21511156 Q25160539 Q1491359 Q991094 Q814088 Q16148136 Q2549042 Q15620049 Q12785963 Q16877890 Q27365901 Q1645480 Q16282224 Q19899700 Q16101731 Q383113 Q27266369 Q1348074 Q15822786 Q21468509 Q1671244 Q973239 Q2660575 Q1591965 Q1546592 Q1436608 Q2780710 Q2780711 Q21484731 Q1479191 Q806825 Q21209446 Q1158185 Q13221657 Q2712864 Q16479695 Q16871090 Q8270802 Q1158605 Q27254065 Q16872403 Q19817034 Q13552870 Q1375012 Q1628041 Q7849873 Q16870922 Q2526475 Q11247279 Q21452033 Q1620650 Q1596799 Q1484457 Q16278549 Q16293060 Q945123 Q16275284 Q16852655 Q1469854 Q21161805 Q16282271 Q1224613 Q16883860 Q16747244 Q1354011 Q4906926 Q1618104 Q306749 Q14915266 Q14915264 Q1158289 Q1226552 Q1260663 Q16882193 Q14915269 Q1534722 Q1287630 Q1139286 Q2109026 Q1177810 Q16880630 Q2085453 Q568872 Q4841580 Q25174340 Q27429562 Q1045962 Q1494488 Q2564123 Q896987 Q10859343 Q20998240 Q16869925 Q21450219 Q233193 Q7162656 Q2778569 Q805107 Q1435352 Q1637287 Q1129762 Q12901049 Q16871942 Q17505763 Q1119151 Q5331334 Q27356272 Q21242872 Q6167976 Q1061262 Q2654471 Q13557582 Q13498051 Q20679907 Q15732712 Q16869709 Q24230528 Q16842504 Q15304761 Q16870619 Q15224082 Q16865192 Q2665316 Q16883643 Q20996347 Q827140 Q16883649 Q412179 Q1637021 Q1261064 Q16877153 Q1628315 Q2547568 Q2696075 Q2652654 Q1158188 Q2703137 Q19838527 Q758259 Q1565753 Q4275617 Q4280567 Q1158382 Q1485942 Q1308329 Q16865687 Q1390707 Q1129545 Q2694490 Q301610 Q1551523 Q1158541 Q2665383 Q1295024 Q2803433 Q1484464 Q21493117 Q812568 Q1737658 Q1061482 Q5900583
(c(Q82799),P407,Q1860) (c(Q82799),P407,Q397)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P407
type Q82799
action filter_type
action find_reverse
entity Q397
relation P407
type Q82799
[ANSWER]
[{'concept': 'Q82799'}, 'P407', 'Q1860'] [{'concept': 'Q82799'}, 'P407', 'Q397']
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { VALUES ( ?t ) { ( resource:Q397 ) ( resource:Q1860 ) } . ?m property:P407 ?t }
Mitchell Trott Meredith Scott Glass Keyworth Gregory Rose Godden Moody Cole Butterfield Greenwood Norton Davis Barry Manning Ashwood Conley Veeder (surname) Draper Hackett Maguire Tanner Dallas Coleman Harber Swanston (surname) George Powell Jay Foran Bridges Creedon Humphries Ensko Wilkinson Gavin Iremonger Fraser Perry Heggie Burton Callaghan Colton Dixon Lane Humfrey Deeley Nestler Kennedy Bernstein Grose Masterson Cave Highmore Hobson Abel Levey Rock Osman Austin Robinson Cockrell Winston Leighton Robeson Williamson Peters Bailey Beryl Owen Roberts Doyle Wilford Hamilton Kelly Fox Young Jillian Kershaw Kerwin Jones Bowen Herbertus Stirling Deane Gale Montgomery Ditchburn Gillis Frost Russell O'Connor Bennett Baxter Pursell Dinsmore Festing Gerry Keats Black Livingston Nelson Carpenter Graham Messenger Lovett Ray Patrick Roy Bedser Bean Kimberley Gordon Henley Dannie Belson Bunker Reid Ochiltree (surname) Whitlock Matthews Stanley Aurifaber Jackson Hudson Webber Baker Shakespeare Peterson Holt Bartlett Adams O'Brien Wideman Broadbent Caven Alison Patterson Lawrence Atkinson Smith Fisher Henderson Armitage Dearman Raymond Haigh Hughes Quinn Wallwork Talbot Wakefield Greenberg Deasy Lewis Kimber (name) Caskey Cohen Hart Jefferis Willis Pipe Rock (name) Cooper April Head Richards Robin Crawley Armstrong Hallett Taylor Hogg O'Byrne Warren Deems Quinn Wright Guilfoyle Anderson Dawson Stewart McGlone Haig Dickinson Howard Edwards Brailsford Wade Terry Herne (surname) Gay Large Ross Seabrook Faircloth Simpson King Newman Stone Jodie Gallagher Flack Jacobs Alexander Nicholson Davidson Courtnall Williams Reynolds Sterling White Hawtrey Foster Bridget Barker Barnes Litchfield (surname) Greenbury Goldberg Murphy Riley Finch Goldring Brandon Lawson Fleming Stevens Daniel Page Sawyer Cross Barrington Oxnam Sharp Miller Porter Hough (surname) Grey Greenway King Burrows Torey Hemsvorts Canavan Darnell Phelps Phillips Lincoln Duncan Osbaldeston (surname) Doyle Gibson Hunt Nowell Mancell Higman Fowler Shanley Ryan Allen Burns McGillivray McLene Beck Wallace Reed Christie Gardner Markham Clayton Potter Robertson Meadowcroft Carroll Hopkins Chase Bushnell Quirk Coats Wood Samuel Oldrin Miles Whitfield Ruff (surname) Collins Freeman Brigham Borden Cave Holly Brinkley Clarke Miranda Lawton Ericson Stevenson Phinney Thomson Tyler Atwood Browner McGreevey Murnan Benjamin Lynn Michael McKenna Gray Strawbridge Mason Stock Kara Cook Hayward Heyward Perry Edward Jewell english family name Elliot Cobb Johnson Tucker (surname) Shaw Thomas Devon Wild Butler Brown Hacket Greenaway Little Blake Morrow Lattin Fearnley Avery Monroe Laughton Patricius Watson Burrough Foley Cox Singer Burke Amey Nash Terry Flower Levi Turner Leigh Hilton Brennan Barcleycorn Alastair Sullivan O'Hara Griffith Sexton Casserly Bateman McNally Gilding Gaisford Browne Beerbohm Archer Ward Tennant Blair Needleman McGrath Wilson Turner Jaden Carter Dean Rigsby Koch Karan Stern Tolbert Hill Benson Haymond Griffin Forbes-Robertson Morris Morrison Moore Richardson Banks Thacher Gilbert David Harrison Beaton Isaacs Chilton (surname) Walker Ambridge Lock Brent Bryant Hoey Parker Cunningham Humphreys Vincent Ford Ellis Hiscock Hollings Joan Louie Rubin Lynch Dane Case Newton Cain Upton Diggs Stocks Starling Brooks Biggins Dalton Abbott Boyd Bird Troy Dinkins Evans Rogers Carr McInnis Lloyd Creager Preston Davies Oates Phelan Palmer Baggett Painter Allingham Cartmell Garrity West Bradley Harris Walpole Fenwick Wilde Wesley Penfold Macdonald Ball Folger (name) Humphry Cooney Michele Layton Virgil Clark Eaton Golden Price Jayson Ruby Arden Snow Lee Maclean Paulus Dummer (surname) Berryhill Hepburn Becks (surname) Hayward McCormick Burney Cameron Spalding Grayson Berry Sparrow Wilk Humby Spencer Milton Hornaday Walton Franklin Andrews Bishop Green Thatcher Attwell Johnston McGuire Munro Fuller Winter Murray Collier Myers Coode Ferguson Aaron Hall Hayden Campbell Wayne Thompson Bush Stephens Baynes Keaveney Champney Hopkin
528
action count
action union
action filter_type
action find_reverse
entity English
relation language of work or name
type name
action filter_type
action find_reverse
entity Latin
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', 'English'] [{'concept': 'name'}, 'language of work or name', 'Latin']
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { VALUES ( ?t ) { ( resource:Latin ) ( resource:English ) } . ?m property:language_of_work_or_name ?t }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q159
P37
Q34770 Q15617994
USER
How many administrative territories are around the same number of languages the official language of as Russia ?
(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 Q159
relation P37
type Q15617994
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?i ) WHERE { ?a rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q34770 . ?a property:P37 ?c } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ontology:Q15617994 . resource:Q159 property:P37 ?j } } . FILTER ( ?i = ?w ) }
Russia
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 Russia
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?i ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:language . ?a property:official_language ?c } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Russia property:official_language ?j } } . FILTER ( ?i = ?w ) }
[]
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 Q159
relation P37
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?i ) WHERE { ?a rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q34770 . ?a property:P37 ?c } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ontology:Q15617994 . resource:Q159 property:P37 ?j } } . FILTER ( ?i = ?w ) }
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 Russia
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?i ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:language . ?a property:official_language ?c } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Russia property:official_language ?j } } . FILTER ( ?i = ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q37
P37
Q34770 Q15617994
USER
And also tell me about Lithuania?
(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 Q37
relation P37
type Q15617994
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?h ) WHERE { ?o property:P37 ?w . ?o rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q34770 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:Q15617994 . resource:Q37 property:P37 ?j } } . FILTER ( ?h = ?y ) }
Lithuania
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 Lithuania
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?h ) WHERE { ?o property:official_language ?w . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:language } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lithuania property:official_language ?j } } . FILTER ( ?h = ?y ) }
[]
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 Q37
relation P37
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?h ) WHERE { ?o property:P37 ?w . ?o rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q34770 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:Q15617994 . resource:Q37 property:P37 ?j } } . FILTER ( ?h = ?y ) }
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 Lithuania
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?h ) WHERE { ?o property:official_language ?w . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:language } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lithuania property:official_language ?j } } . FILTER ( ?h = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q540987
P282
Q9779 Q34770
USER
How many alphabets are the writing systems used for approximately the same number of languages as Portuguese alphabet ?
(c(Q34770),P282,c(Q9779))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find
entity Q540987
relation P282
type Q9779
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P282 ?h . ?h rdf:type ontology:Q9779 . ?j rdf:type ontology:Q34770 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Q540987 property:P282 ?e . ?e rdf:type ontology:Q9779 } } . FILTER ( ?o = ?m ) }
Portuguese alphabet
action count
action approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find
entity Portuguese alphabet
relation writing system
type alphabet
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:writing_system ?h . ?h rdf:type ontology:alphabet . ?j rdf:type ontology:language } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Portuguese_alphabet property:writing_system ?e . ?e rdf:type ontology:alphabet } } . FILTER ( ?o = ?m ) }
[]
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 approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find
entity Q540987
relation P282
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P282 ?h . ?h rdf:type ontology:Q9779 . ?j rdf:type ontology:Q34770 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Q540987 property:P282 ?e . ?e rdf:type ontology:Q9779 } } . FILTER ( ?o = ?m ) }
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 approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find
entity Portuguese alphabet
relation writing system
type alphabet
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:writing_system ?h . ?h rdf:type ontology:alphabet . ?j rdf:type ontology:language } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Portuguese_alphabet property:writing_system ?e . ?e rdf:type ontology:alphabet } } . FILTER ( ?o = ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q550383
P282
Q9779 Q34770
USER
And what about Italian alphabet?
(c(Q34770),P282,c(Q9779))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find
entity Q550383
relation P282
type Q9779
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P282 ?u . ?u rdf:type ontology:Q9779 . ?l rdf:type ontology:Q34770 } GROUP BY ?u } . FILTER ( ?j = ?d ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Q550383 property:P282 ?a . ?a rdf:type ontology:Q9779 } } }
Italian alphabet
action count
action approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find
entity Italian alphabet
relation writing system
type alphabet
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:writing_system ?u . ?u rdf:type ontology:alphabet . ?l rdf:type ontology:language } GROUP BY ?u } . FILTER ( ?j = ?d ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Italian_alphabet property:writing_system ?a . ?a rdf:type ontology:alphabet } } }
[]
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 approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find
entity Q550383
relation P282
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P282 ?u . ?u rdf:type ontology:Q9779 . ?l rdf:type ontology:Q34770 } GROUP BY ?u } . FILTER ( ?j = ?d ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Q550383 property:P282 ?a . ?a rdf:type ontology:Q9779 } } }
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 approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find
entity Italian alphabet
relation writing system
type alphabet
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:writing_system ?u . ?u rdf:type ontology:alphabet . ?l rdf:type ontology:language } GROUP BY ?u } . FILTER ( ?j = ?d ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Italian_alphabet property:writing_system ?a . ?a rdf:type ontology:alphabet } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21196450 Q1085
P19 P190
Q56061
USER
Which administrative territories are partner towns of Prague or were Shama Joseph born in ?
OR((Q1085,P190,c(Q56061)), (Q21196450,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1085
relation P190
action find
entity Q21196450
relation P19
type Q56061
{'OR': [['Q1085', 'P190', {'concept': 'Q56061'}], ['Q21196450', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q1085 property:P190 ?c } UNION { resource:Q21196450 property:P19 ?c } } . ?c rdf:type ontology:Q56061 }
Shama Joseph Prague
action filter_type
action union
action find
entity Prague
relation sister city
action find
entity Shama Joseph
relation place of birth
type administrative territorial entity
{'OR': [['Prague', 'sister city', {'concept': 'administrative territorial entity'}], ['Shama Joseph', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Prague property:sister_city ?c } UNION { resource:Shama_Joseph property:place_of_birth ?c } } . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q216 Q3376 Q1524 Q16556 Q239 Q1748 Q2634 Q8621 Q1297 Q1867
SYSTEM
Some of them are Vilnius, Trento, Athens, Phoenix, Brussels, Copenhagen, Naples, Terni, Chicago, Taipei
Q1757 Q649 Q472 Q8621 Q185632 Q1867 Q1297 Q165972 Q1842 Q1524 Q6252 Q406 Q1780 Q2634 Q13386 Q1748 Q26119 Q2090 Q51103 Q13362 Q216 Q239 Q2807 Q64 Q3376 Q1218 Q16556 Q168202
OR((Q1085,P190,c(Q56061)), (Q21196450,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1085
relation P190
action find
entity Q21196450
relation P19
type Q56061
[ANSWERS] are partner towns of Prague or were Shama Joseph born in
{'OR': [['Q1085', 'P190', {'concept': 'Q56061'}], ['Q21196450', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q1085 property:P190 ?c } UNION { resource:Q21196450 property:P19 ?c } } . ?c rdf:type ontology:Q56061 }
Helsinki Moscow Sofia Terni Limassol Taipei Chicago Fort Lauderdale Luxembourg Athens Monza Istanbul Bratislava Naples Lecce Copenhagen Prešov Nuremberg Cali Ferrara Vilnius Brussels Madrid Berlin Trento Jerusalem Phoenix Rosh HaAyin
Vilnius, Trento, Athens, Phoenix, Brussels, Copenhagen, Naples, Terni, Chicago and Taipei are partner towns of Prague or were Shama Joseph born in
Vilnius Trento Athens Phoenix Brussels Copenhagen Naples Terni Chicago Taipei
action filter_type
action union
action find
entity Prague
relation sister city
action find
entity Shama Joseph
relation place of birth
type administrative territorial entity
{'OR': [['Prague', 'sister city', {'concept': 'administrative territorial entity'}], ['Shama Joseph', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Prague property:sister_city ?c } UNION { resource:Shama_Joseph property:place_of_birth ?c } } . ?c rdf:type ontology:administrative_territorial_entity }
[]