Simple Question (Direct)
Simple Question
Q5938668
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Sam Larsson ?
(Q5938668,P27,c(Q15617994))
action filter_type
action find
entity Q5938668
relation P27
type Q15617994
['Q5938668', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q5938668 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Sam Larsson
action filter_type
action find
entity Sam Larsson
relation country of citizenship
type designation for an administrative territorial entity
['Sam Larsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Sam_Larsson property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q5938668,P27,c(Q15617994))
action filter_type
action find
entity Q5938668
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Sam Larsson
['Q5938668', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q5938668 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Sweden
Sweden is the country of citizenship of Sam Larsson
Sweden
action filter_type
action find
entity Sam Larsson
relation country of citizenship
type designation for an administrative territorial entity
['Sam Larsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Sam_Larsson property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34
P1376
Q56061
USER
Which administrative territory is the capital of that administrative territory ?
(c(Q56061),P1376,Q34)
action filter_type
action find_reverse
entity Q34
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q34']
SELECT DISTINCT ?i WHERE { ?i property:P1376 resource:Q34 . ?i rdf:type ontology:Q56061 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Sweden']
SELECT DISTINCT ?i WHERE { ?i property:capital_of resource:Sweden . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1754
SYSTEM
Stockholm
Q1754
(c(Q56061),P1376,Q34)
action filter_type
action find_reverse
entity Q34
relation P1376
type Q56061
[ANSWER] is the capital of that administrative territory
[{'concept': 'Q56061'}, 'P1376', 'Q34']
SELECT DISTINCT ?i WHERE { ?i property:P1376 resource:Q34 . ?i rdf:type ontology:Q56061 }
Stockholm
Stockholm is the capital of that administrative territory
Stockholm
action filter_type
action find_reverse
entity Sweden
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Sweden']
SELECT DISTINCT ?i WHERE { ?i property:capital_of resource:Sweden . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34
P551
Q502895
USER
Which people dwell at that administrative territory ?
(c(Q502895),P551,Q1754)
action filter_type
action find_reverse
entity Q34
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1754']
SELECT DISTINCT ?z WHERE { ?z property:P551 resource:Q34 . ?z rdf:type ontology:Q502895 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Stockholm']
SELECT DISTINCT ?z WHERE { ?z property:residence resource:Sweden . ?z rdf:type ontology:common_name }
[]
common name
Q7085 Q80956 Q20720200
SYSTEM
Niels Bohr, Svante August Arrhenius, John Edward Winblad
Q18668382 Q20720200 Q80956 Q20820956 Q25513935 Q7085 Q21151748 Q10800987 Q16406579 Q1871628
(c(Q502895),P551,Q1754)
action filter_type
action find_reverse
entity Q34
relation P551
type Q502895
[ANSWERS] dwell at that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q1754']
SELECT DISTINCT ?z WHERE { ?z property:P551 resource:Q34 . ?z rdf:type ontology:Q502895 }
Rudolf Bockelmann John Edward Winblad Svante August Arrhenius Elisabet Barnes Swedish citizen + 18+ years old + sometime in the past lived in Sweden Niels Bohr Rosemary Stjernstedt Nhã Ca Artur Tava Louis De Geer
Niels Bohr, Svante August Arrhenius and John Edward Winblad dwell at that administrative territory
Niels Bohr Svante August Arrhenius John Edward Winblad
action filter_type
action find_reverse
entity Sweden
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Stockholm']
SELECT DISTINCT ?z WHERE { ?z property:residence resource:Sweden . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by approximately 499 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 499
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?x ) WHERE { ?h rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 . ?c property:P1303 ?h } GROUP BY ?h } . FILTER ( ?x = 499 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 499
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?x ) WHERE { ?h rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name . ?c property:instrument ?h } GROUP BY ?h } . FILTER ( ?x = 499 ) }
[]
musical instrument common name
SYSTEM
62
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 499
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?x ) WHERE { ?h rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 . ?c property:P1303 ?h } GROUP BY ?h } . FILTER ( ?x = 499 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
62
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 499
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?x ) WHERE { ?h rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name . ?c property:instrument ?h } GROUP BY ?h } . FILTER ( ?x = 499 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q2342494 Q15416
USER
How many administrative territories are exactly 4 collectables or television programs set in ?
(c(Q2342494)|c(Q15416),P840,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
value 4
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?s WHERE { VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?n rdf:type ?e } GROUP BY ?s } . FILTER ( ?w = 4 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
value 4
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?s WHERE { VALUES ( ?e ) { ( ontology:collectable ) ( ontology:television_program ) } . ?n rdf:type ?e } GROUP BY ?s } . FILTER ( ?w = 4 ) }
[]
designation for an administrative territorial entity collectable television program
SYSTEM
4
Q142 Q1979 Q29 Q963
(c(Q2342494)|c(Q15416),P840,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
value 4
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?s WHERE { VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?n rdf:type ?e } GROUP BY ?s } . FILTER ( ?w = 4 ) }
France Prince Edward Island Spain Botswana
4
action count
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
value 4
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?s WHERE { VALUES ( ?e ) { ( ontology:collectable ) ( ontology:television_program ) } . ?n rdf:type ?e } GROUP BY ?s } . FILTER ( ?w = 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7085
P138
Q34442
USER
Which road has Niels Bohr as its namesake ?
(c(Q34442),P138,Q7085)
action filter_type
action find_reverse
entity Q7085
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q7085']
SELECT DISTINCT ?f WHERE { ?f property:P138 resource:Q7085 . ?f rdf:type ontology:Q34442 }
Niels Bohr
action filter_type
action find_reverse
entity Niels Bohr
relation named after
type road
[{'concept': 'road'}, 'named after', 'Niels Bohr']
SELECT DISTINCT ?f WHERE { ?f property:named_after resource:Niels_Bohr . ?f rdf:type ontology:road }
[]
road
Q19354350
SYSTEM
Niels Bohrplaats
Q19354350
(c(Q34442),P138,Q7085)
action filter_type
action find_reverse
entity Q7085
relation P138
type Q34442
[ANSWER] has Niels Bohr as its namesake
[{'concept': 'Q34442'}, 'P138', 'Q7085']
SELECT DISTINCT ?f WHERE { ?f property:P138 resource:Q7085 . ?f rdf:type ontology:Q34442 }
Niels Bohrplaats
Niels Bohrplaats has Niels Bohr as its namesake
Niels Bohrplaats
action filter_type
action find_reverse
entity Niels Bohr
relation named after
type road
[{'concept': 'road'}, 'named after', 'Niels Bohr']
SELECT DISTINCT ?f WHERE { ?f property:named_after resource:Niels_Bohr . ?f rdf:type ontology:road }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7085
P7
Q502895
USER
Which person had that one as brother ?
(c(Q502895),P7,Q19354350)
action filter_type
action find
entity Q7085
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q19354350']
SELECT DISTINCT ?p WHERE { resource:Q7085 property:P7 ?p . ?p rdf:type ontology:Q502895 }
Niels Bohr
action filter_type
action find
entity Niels Bohr
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Niels Bohrplaats']
SELECT DISTINCT ?p WHERE { resource:Niels_Bohr property:brother ?p . ?p rdf:type ontology:common_name }
[]
common name
Q310009
SYSTEM
Harald Bohr
Q310009
(c(Q502895),P7,Q19354350)
action filter_type
action find
entity Q7085
relation P7
type Q502895
[ANSWER] had that one as brother
[{'concept': 'Q502895'}, 'P7', 'Q19354350']
SELECT DISTINCT ?p WHERE { resource:Q7085 property:P7 ?p . ?p rdf:type ontology:Q502895 }
Harald Bohr
Harald Bohr had that one as brother
Harald Bohr
action filter_type
action find
entity Niels Bohr
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Niels Bohrplaats']
SELECT DISTINCT ?p WHERE { resource:Niels_Bohr property:brother ?p . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1001
Q15617994 Q820655 Q11204
USER
Which administrative territories belong to jurisdiction of min number of statutes or legislatures ?
(c(Q820655)|c(Q11204),P1001,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
[[{'concept': 'Q820655'}, {'concept': 'Q11204'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?k WHERE { { ?a property:P1001 ?k . ?k rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q820655 } UNION { ?a property:P1001 ?k . ?k rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q11204 } } GROUP BY ?k } } . FILTER ( ?l = ?p ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?d WHERE { { ?y property:P1001 ?d . ?d rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q820655 } UNION { ?y property:P1001 ?d . ?d rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q11204 } } GROUP BY ?d } }
action argmin
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
[[{'concept': 'statute'}, {'concept': 'legislature'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?k WHERE { { ?a property:applies_to_jurisdiction ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:statute } UNION { ?a property:applies_to_jurisdiction ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:legislature } } GROUP BY ?k } } . FILTER ( ?l = ?p ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?d WHERE { { ?y property:applies_to_jurisdiction ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:statute } UNION { ?y property:applies_to_jurisdiction ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:legislature } } GROUP BY ?d } }
[]
designation for an administrative territorial entity statute legislature
Q155 Q230 Q36
SYSTEM
Brazil, Georgia, Poland
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q163012 Q414 Q22273061 Q2871 Q262 Q31 Q265 Q24764 Q2742 Q842 Q398 Q874 Q711 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q22274206 Q399 Q1462 Q403 Q657 Q258 Q6465 Q45 Q41 Q155 Q790 Q4628 Q796 Q794 Q954 Q889 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q817 Q11340 Q244 Q11343 Q1019 Q2899 Q2758 Q813 Q218 Q33 Q921 Q4712 Q924 Q36 Q34 Q155019 Q986 Q423 Q983 Q851 Q733 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q233 Q1093 Q238 Q119284 Q1045 Q3403547 Q1041 Q27 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q1050 Q17 Q1989 Q2838 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q219 Q154547 Q683 Q242 Q1216 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q775 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q945 Q72449 Q22273285 Q129003 Q800 Q1039 Q672 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q869 Q1231 Q953
(c(Q820655)|c(Q11204),P1001,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
[ANSWERS] belong to jurisdiction of min number of statutes or legislatures
[[{'concept': 'Q820655'}, {'concept': 'Q11204'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?k WHERE { { ?a property:P1001 ?k . ?k rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q820655 } UNION { ?a property:P1001 ?k . ?k rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q11204 } } GROUP BY ?k } } . FILTER ( ?l = ?p ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?d WHERE { { ?y property:P1001 ?d . ?d rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q820655 } UNION { ?y property:P1001 ?d . ?d rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q11204 } } GROUP BY ?d } }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru Pankow Argentina Duchy of Nemours Hagen Algeria Belgium Uzbekistan municipality of the Philippines Münster Oman Bahrain Turkmenistan Mongolia Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Duchy of Mercoeur Armenia Sardinia Serbia Chad South Africa department of France Portugal Greece Brazil Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba Kuwait Sprockhövel Barbados Wetter (Ruhr) Madagascar Mülheim an der Ruhr Mönchengladbach Kyrgyzstan Romania Finland Brunei Duchy of Burgundy Tanzania Poland Sweden Duchy of Lorraine Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Malta Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Senegal Ireland Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Swaziland Japan Saskatchewan Oberhausen Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Bulgaria duchy Samoa Belize Piedmont Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Gelderland Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Togo Roccarainola Duchy of Guise French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Thailand Kosovo Region Zambia
Brazil, Georgia and Poland belong to jurisdiction of min number of statutes or legislatures
Brazil Georgia Poland
action argmin
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
[[{'concept': 'statute'}, {'concept': 'legislature'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?k WHERE { { ?a property:applies_to_jurisdiction ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:statute } UNION { ?a property:applies_to_jurisdiction ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:legislature } } GROUP BY ?k } } . FILTER ( ?l = ?p ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?d WHERE { { ?y property:applies_to_jurisdiction ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:statute } UNION { ?y property:applies_to_jurisdiction ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:legislature } } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q709
P37
Q5962346 Q34770 Q15617994
USER
Which administrative territories have their official language as approximately the same number of classification schemes and languages as Marshall Islands ?
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q709
relation P37
type Q5962346
type Q34770
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?k WHERE { { ?a rdf:type ontology:Q5962346 . ?k rdf:type ontology:Q15617994 . ?k property:P37 ?a } UNION { ?k property:P37 ?a . ?k rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q34770 } } GROUP BY ?k } . FILTER ( ?m = ?h ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { ?v rdf:type ?x . VALUES ( ?x ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } } . resource:Q709 property:P37 ?v } } }
Marshall Islands
action approx
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Marshall Islands
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?k WHERE { { ?a rdf:type ontology:classification_scheme . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:official_language ?a } UNION { ?k property:official_language ?a . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:language } } GROUP BY ?k } . FILTER ( ?m = ?h ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { ?v rdf:type ?x . VALUES ( ?x ) { ( ontology:classification_scheme ) ( ontology:language ) } } . resource:Marshall_Islands property:official_language ?v } } }
[]
classification scheme language designation for an administrative territorial entity
Q38 Q55 Q953
SYSTEM
Italy, Netherlands, Zambia
Q804 Q399 Q800 Q709 Q668 Q414 Q1948 Q783 Q784 Q493428 Q712 Q710 Q717 Q2003 Q258 Q1979 Q792 Q954 Q953 Q958 Q986 Q241 Q242 Q244 Q1974 Q811 Q53381 Q101526 Q924 Q34 Q928 Q39 Q38 Q739 Q733 Q734 Q55 Q1013 Q795587 Q693658 Q145 Q238 Q20 Q1044 Q1042 Q27 Q1049 Q1020 Q843 Q736 Q786 Q1904 Q96 Q1050 Q1989 Q686312 Q1036 Q1037 Q1033 Q1030 Q963 Q298 Q695 Q114 Q117 Q754 Q213 Q1005 Q833 Q1951 Q1009 Q243220 Q683 Q34020 Q686 Q760 Q77 Q774 Q1014 Q678 Q233 Q672 Q1952 Q2023
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q709
relation P37
type Q5962346
type Q34770
[ANSWERS] have their official language as approximately the same number of classification schemes and languages as Marshall Islands
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?k WHERE { { ?a rdf:type ontology:Q5962346 . ?k rdf:type ontology:Q15617994 . ?k property:P37 ?a } UNION { ?k property:P37 ?a . ?k rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q34770 } } GROUP BY ?k } . FILTER ( ?m = ?h ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { ?v rdf:type ?x . VALUES ( ?x ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } } . resource:Q709 property:P37 ?v } } }
Panama Armenia Costa Rica Marshall Islands India Argentina Manitoba Honduras Dominica Mistretta Fiji Kiribati Venezuela Newfoundland and Labrador South Africa Prince Edward Island El Salvador Zimbabwe Zambia South Sudan Eritrea Cuba Belize Barbados British Columbia Nicaragua Tolmezzo Rovetta Tanzania Sweden Philippines Switzerland Italy Colombia Paraguay Guyana Netherlands Lesotho Escuintla Izabal Department United Kingdom San Marino Norway Sierra Leone Seychelles Ireland Sudan Malawi Pakistan Ecuador Dominican Republic Ontario Mexico Swaziland Saskatchewan Duchy of Amalfi Uganda Rwanda Nigeria Namibia Botswana Chile Palau Kenya Ghana Trinidad and Tobago Czech Republic Gambia Malaysia Alberta Cameroon Rocca di Cave Samoa Niue Vanuatu Saint Lucia Uruguay Guatemala Liberia Tonga Malta Tuvalu Nova Scotia Nunavut
Italy, Netherlands and Zambia have their official language as approximately the same number of classification schemes and languages as Marshall Islands
Italy Netherlands Zambia
action approx
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Marshall Islands
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?k WHERE { { ?a rdf:type ontology:classification_scheme . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:official_language ?a } UNION { ?k property:official_language ?a . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:language } } GROUP BY ?k } . FILTER ( ?m = ?h ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { ?v rdf:type ?x . VALUES ( ?x ) { ( ontology:classification_scheme ) ( ontology:language ) } } . resource:Marshall_Islands property:official_language ?v } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4183711
P530
Q1048835
USER
Do Zahradivka have diplomatic associations with those administrative territories ?
(Q4183711,P530,Q38) (Q4183711,P530,Q55) (Q4183711,P530,Q953)
action is_in
entity prev_answer
action find
entity Q4183711
relation P530
['Q4183711', 'P530', 'Q38'] ['Q4183711', 'P530', 'Q55'] ['Q4183711', 'P530', 'Q953']
ASK WHERE { VALUES ( ?f ) { ( resource:Q804 ) ( resource:Q399 ) ( resource:Q800 ) } . resource:Q4183711 property:P530 ?f }
Zahradivka
action is_in
entity prev_answer
action find
entity Zahradivka
relation diplomatic relation
['Zahradivka', 'diplomatic relation', 'Italy'] ['Zahradivka', 'diplomatic relation', 'Netherlands'] ['Zahradivka', 'diplomatic relation', 'Zambia']
ASK WHERE { VALUES ( ?f ) { ( resource:Panama ) ( resource:Armenia ) ( resource:Costa_Rica ) } . resource:Zahradivka property:diplomatic_relation ?f }
[]
political territorial entity
SYSTEM
NO
(Q4183711,P530,Q38) (Q4183711,P530,Q55) (Q4183711,P530,Q953)
action is_in
entity prev_answer
action find
entity Q4183711
relation P530
[ANSWER]
['Q4183711', 'P530', 'Q38'] ['Q4183711', 'P530', 'Q55'] ['Q4183711', 'P530', 'Q953']
ASK WHERE { VALUES ( ?f ) { ( resource:Q804 ) ( resource:Q399 ) ( resource:Q800 ) } . resource:Q4183711 property:P530 ?f }
No
action is_in
entity prev_answer
action find
entity Zahradivka
relation diplomatic relation
['Zahradivka', 'diplomatic relation', 'Italy'] ['Zahradivka', 'diplomatic relation', 'Netherlands'] ['Zahradivka', 'diplomatic relation', 'Zambia']
ASK WHERE { VALUES ( ?f ) { ( resource:Panama ) ( resource:Armenia ) ( resource:Costa_Rica ) } . resource:Zahradivka property:diplomatic_relation ?f }
[]