Simple Question (Direct)
Simple Question
Q5295017
P102
Q7210356
USER
Which party does Donald R. Dwight belong to ?
(Q5295017,P102,c(Q7210356))
action filter_type
action find
entity Q5295017
relation P102
type Q7210356
['Q5295017', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q7210356 . resource:Q5295017 property:P102 ?o }
Donald R. Dwight
action filter_type
action find
entity Donald R. Dwight
relation member of political party
type political organization
['Donald R. Dwight', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_organization . resource:Donald_R._Dwight property:member_of_political_party ?o }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q5295017,P102,c(Q7210356))
action filter_type
action find
entity Q5295017
relation P102
type Q7210356
Donald R. Dwight belongs to [ANSWER]
['Q5295017', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q7210356 . resource:Q5295017 property:P102 ?o }
Republican Party
Donald R. Dwight belongs to Republican Party
Republican Party
action filter_type
action find
entity Donald R. Dwight
relation member of political party
type political organization
['Donald R. Dwight', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_organization . resource:Donald_R._Dwight property:member_of_political_party ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5295017
P39
Q12737077
USER
Which occupation was a position occupied by that person ?
(Q29468,P39,c(Q12737077))
action filter_type
action find
entity Q5295017
relation P39
type Q12737077
['Q29468', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5295017 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Donald R. Dwight
action filter_type
action find
entity Donald R. Dwight
relation position held
type occupation
['Republican Party', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Donald_R._Dwight property:position_held ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q1274366
SYSTEM
Lieutenant Governor of Massachusetts
Q1274366
(Q29468,P39,c(Q12737077))
action filter_type
action find
entity Q5295017
relation P39
type Q12737077
The [ANSWER] was a position occupied by that person
['Q29468', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5295017 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Lieutenant Governor of Massachusetts
The Lieutenant Governor of Massachusetts was a position occupied by that person
Lieutenant Governor of Massachusetts
action filter_type
action find
entity Donald R. Dwight
relation position held
type occupation
['Republican Party', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Donald_R._Dwight property:position_held ?s . ?s rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q181431 Q5295017
P27
Q15617994
USER
Which administrative territories do Donald R. Dwight or David Juříček belong to ?
OR((Q5295017,P27,c(Q15617994)), (Q181431,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5295017
relation P27
action find
entity Q181431
relation P27
type Q15617994
{'OR': [['Q5295017', 'P27', {'concept': 'Q15617994'}], ['Q181431', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q5295017 property:P27 ?h } UNION { resource:Q181431 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
David Juříček Donald R. Dwight
action filter_type
action union
action find
entity Donald R. Dwight
relation country of citizenship
action find
entity David Juříček
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Donald R. Dwight', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['David Juříček', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Donald_R._Dwight property:country_of_citizenship ?h } UNION { resource:David_Juříček property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213 Q30
SYSTEM
Czech Republic, United States of America
Q213 Q30
OR((Q5295017,P27,c(Q15617994)), (Q181431,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5295017
relation P27
action find
entity Q181431
relation P27
type Q15617994
[ANSWERS] do Donald R. Dwight or David Juříček belong to
{'OR': [['Q5295017', 'P27', {'concept': 'Q15617994'}], ['Q181431', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q5295017 property:P27 ?h } UNION { resource:Q181431 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Czech Republic United States of America
Czech Republic and United States of America do Donald R. Dwight or David Juříček belong to
Czech Republic United States of America
action filter_type
action union
action find
entity Donald R. Dwight
relation country of citizenship
action find
entity David Juříček
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Donald R. Dwight', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['David Juříček', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Donald_R._Dwight property:country_of_citizenship ?h } UNION { resource:David_Juříček property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q213 Q30
P127
Q811979
USER
Which architectural structures are under posessision of those administrative territories ?
(c(Q811979),P127,Q213) (c(Q811979),P127,Q30)
action filter_type
action find_reverse
entity prev_answer
relation P127
type Q811979
[{'concept': 'Q811979'}, 'P127', 'Q213'] [{'concept': 'Q811979'}, 'P127', 'Q30']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q811979 . ?i property:P127 ?f . VALUES ( ?f ) { ( resource:Q213 ) ( resource:Q30 ) } }
Czech Republic United States of America
action filter_type
action find_reverse
entity prev_answer
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Czech Republic'] [{'concept': 'architectural structure'}, 'owned by', 'United States of America']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:architectural_structure . ?i property:owned_by ?f . VALUES ( ?f ) { ( resource:Czech_Republic ) ( resource:United_States_of_America ) } }
[]
architectural structure
Q2717859 Q1272650 Q5203364
SYSTEM
House of the Black Madonna, Děvín, D.C. Armory
Q21930146 Q1272650 Q2717859 Q6242206 Q7846680 Q5203364
(c(Q811979),P127,Q213) (c(Q811979),P127,Q30)
action filter_type
action find_reverse
entity prev_answer
relation P127
type Q811979
[ANSWERS] are under posessision of those administrative territories
[{'concept': 'Q811979'}, 'P127', 'Q213'] [{'concept': 'Q811979'}, 'P127', 'Q30']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q811979 . ?i property:P127 ?f . VALUES ( ?f ) { ( resource:Q213 ) ( resource:Q30 ) } }
Klubovna LTC Praha Děvín House of the Black Madonna John Joseph Moakley United States Courthouse Trowbridge House D.C. Armory
House of the Black Madonna, Děvín and D.C. Armory are under posessision of those administrative territories
House of the Black Madonna Děvín D.C. Armory
action filter_type
action find_reverse
entity prev_answer
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Czech Republic'] [{'concept': 'architectural structure'}, 'owned by', 'United States of America']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:architectural_structure . ?i property:owned_by ?f . VALUES ( ?f ) { ( resource:Czech_Republic ) ( resource:United_States_of_America ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2717859 Q1272650 Q5203364
P17
Q15617994
USER
Which administrative territories are those architectural structures located in ?
(Q2717859,P17,c(Q15617994)) (Q1272650,P17,c(Q15617994)) (Q5203364,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q2717859', 'P17', {'concept': 'Q15617994'}] ['Q1272650', 'P17', {'concept': 'Q15617994'}] ['Q5203364', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?j ) { ( resource:Q21930146 ) ( resource:Q1272650 ) ( resource:Q2717859 ) } . ?b rdf:type ontology:Q15617994 . ?j property:P17 ?b }
House of the Black Madonna Děvín D.C. Armory
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['House of the Black Madonna', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Děvín', 'country', {'concept': 'designation for an administrative territorial entity'}] ['D.C. Armory', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?j ) { ( resource:Klubovna_LTC_Praha ) ( resource:Děvín ) ( resource:House_of_the_Black_Madonna ) } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:country ?b }
[]
designation for an administrative territorial entity
Q213 Q213 Q30
SYSTEM
Czech Republic for 1st, 2nd, United States of America for 3rd
Q213 Q213 Q30
(Q2717859,P17,c(Q15617994)) (Q1272650,P17,c(Q15617994)) (Q5203364,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWERS]
['Q2717859', 'P17', {'concept': 'Q15617994'}] ['Q1272650', 'P17', {'concept': 'Q15617994'}] ['Q5203364', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?j ) { ( resource:Q21930146 ) ( resource:Q1272650 ) ( resource:Q2717859 ) } . ?b rdf:type ontology:Q15617994 . ?j property:P17 ?b }
Czech Republic Czech Republic United States of America
Those architectural structures are located in Czech Republic, Czech Republic and United States of America
Czech Republic Czech Republic United States of America
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['House of the Black Madonna', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Děvín', 'country', {'concept': 'designation for an administrative territorial entity'}] ['D.C. Armory', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?j ) { ( resource:Klubovna_LTC_Praha ) ( resource:Děvín ) ( resource:House_of_the_Black_Madonna ) } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:country ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213
P551
Q16521
USER
Which taxon lives in Czech Republic ?
(c(Q16521),P551,Q213)
action filter_type
action find_reverse
entity Q213
relation P551
type Q16521
[{'concept': 'Q16521'}, 'P551', 'Q213']
SELECT DISTINCT ?d WHERE { ?d property:P551 resource:Q213 . ?d rdf:type ontology:Q16521 }
Czech Republic
action filter_type
action find_reverse
entity Czech Republic
relation residence
type taxon
[{'concept': 'taxon'}, 'residence', 'Czech Republic']
SELECT DISTINCT ?d WHERE { ?d property:residence resource:Czech_Republic . ?d rdf:type ontology:taxon }
[]
taxon
Q20817896
SYSTEM
Nola
Q20817896
(c(Q16521),P551,Q213)
action filter_type
action find_reverse
entity Q213
relation P551
type Q16521
[ANSWER] lives in Czech Republic
[{'concept': 'Q16521'}, 'P551', 'Q213']
SELECT DISTINCT ?d WHERE { ?d property:P551 resource:Q213 . ?d rdf:type ontology:Q16521 }
Nola
Nola lives in Czech Republic
Nola
action filter_type
action find_reverse
entity Czech Republic
relation residence
type taxon
[{'concept': 'taxon'}, 'residence', 'Czech Republic']
SELECT DISTINCT ?d WHERE { ?d property:residence resource:Czech_Republic . ?d rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213
P47
Q1048835
USER
Who share the border with that administrative territory ?
(Q20817896,P47,c(Q1048835))
action filter_type
action find
entity Q213
relation P47
type Q1048835
['Q20817896', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . resource:Q213 property:P47 ?v }
Czech Republic
action filter_type
action find
entity Czech Republic
relation shares border with
type political territorial entity
['Nola', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . resource:Czech_Republic property:shares_border_with ?v }
[]
political territorial entity
Q183 Q40
SYSTEM
Germany, Austria
Q183 Q40
(Q20817896,P47,c(Q1048835))
action filter_type
action find
entity Q213
relation P47
type Q1048835
[ANSWERS] share the border with that administrative territory
['Q20817896', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . resource:Q213 property:P47 ?v }
Germany Austria
Germany and Austria share the border with that administrative territory
Germany Austria
action filter_type
action find
entity Czech Republic
relation shares border with
type political territorial entity
['Nola', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . resource:Czech_Republic property:shares_border_with ?v }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q27068128
P27
Q502895
USER
Are Franz Nikolaus Streicher a citizen of those political territories ?
(Q27068128,P27,Q183) (Q27068128,P27,Q40)
action is_in
entity prev_answer
action find
entity Q27068128
relation P27
['Q27068128', 'P27', 'Q183'] ['Q27068128', 'P27', 'Q40']
ASK WHERE { resource:Q27068128 property:P27 ?s . VALUES ( ?s ) { ( resource:Q183 ) ( resource:Q40 ) } }
Franz Nikolaus Streicher
action is_in
entity prev_answer
action find
entity Franz Nikolaus Streicher
relation country of citizenship
['Franz Nikolaus Streicher', 'country of citizenship', 'Germany'] ['Franz Nikolaus Streicher', 'country of citizenship', 'Austria']
ASK WHERE { resource:Franz_Nikolaus_Streicher property:country_of_citizenship ?s . VALUES ( ?s ) { ( resource:Germany ) ( resource:Austria ) } }
[]
common name
SYSTEM
YES
(Q27068128,P27,Q183) (Q27068128,P27,Q40)
action is_in
entity prev_answer
action find
entity Q27068128
relation P27
[ANSWER]
['Q27068128', 'P27', 'Q183'] ['Q27068128', 'P27', 'Q40']
ASK WHERE { resource:Q27068128 property:P27 ?s . VALUES ( ?s ) { ( resource:Q183 ) ( resource:Q40 ) } }
Yes
action is_in
entity prev_answer
action find
entity Franz Nikolaus Streicher
relation country of citizenship
['Franz Nikolaus Streicher', 'country of citizenship', 'Germany'] ['Franz Nikolaus Streicher', 'country of citizenship', 'Austria']
ASK WHERE { resource:Franz_Nikolaus_Streicher property:country_of_citizenship ?s . VALUES ( ?s ) { ( resource:Germany ) ( resource:Austria ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3125
P138
Q15619164 Q271669 Q15617994
USER
How many administrative territories have approximately the same number of abstract beings and landforms as their toponym as Hautes-Alpes ?
(c(Q15617994),P138,c(Q15619164)|c(Q271669))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q15619164
action find_tuple_counts
relation P138
type Q15617994
type Q271669
action count
action filter_multi_types
action find
entity Q3125
relation P138
type Q15619164
type Q271669
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q15619164'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?f WHERE { { ?f rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15619164 . ?f property:P138 ?p } UNION { ?f property:P138 ?p . ?f rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q271669 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Q3125 property:P138 ?l . { { ?l rdf:type ontology:Q15619164 } UNION { ?l rdf:type ontology:Q271669 } } } } . FILTER ( ?y = ?k ) }
Hautes-Alpes
action count
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type abstract being
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action count
action filter_multi_types
action find
entity Hautes-Alpes
relation named after
type abstract being
type landform
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'abstract being'}, {'concept': 'landform'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?f WHERE { { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:abstract_being . ?f property:named_after ?p } UNION { ?f property:named_after ?p . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:landform } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Hautes-Alpes property:named_after ?l . { { ?l rdf:type ontology:abstract_being } UNION { ?l rdf:type ontology:landform } } } } . FILTER ( ?y = ?k ) }
[]
abstract being landform designation for an administrative territorial entity
SYSTEM
307
Q701 Q158876 Q968630 Q705 Q3216 Q707 Q1087137 Q709 Q1421544 Q12789 Q12779 Q124000 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q33 Q685048 Q21671144 Q801 Q12538 Q1093 Q12536 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1098820 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q711 Q710 Q625403 Q691368 Q1817784 Q199974 Q2998020 Q3083 Q7408058 Q1939894 Q3240 Q1028 Q12772 Q3286 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q1465069 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q739 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q161258 Q1965 Q1508919 Q979470 Q10903 Q786 Q1142326 Q10957559 Q5015782 Q676543 Q1270648 Q2758 Q12694 Q3563282 Q12745 Q12515 Q451448 Q12517 Q3368 Q32 Q31 Q30 Q924 Q36 Q12770 Q928 Q3361 Q39 Q3364 Q302479 Q2514636 Q1452646 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q4336071 Q1032 Q1508927 Q11140 Q3068 Q12792 Q676178 Q1268811 Q1338277 Q236 Q492437 Q230 Q221 Q232 Q233 Q2304605 Q1914678 Q282355 Q238 Q12620 Q566032 Q12661 Q20 Q4229407 Q621869 Q1042 Q475659 Q691265 Q28 Q1366860 Q12788 Q12584 Q12580 Q1025 Q683555 Q1020 Q2009 Q843 Q12709 Q184 Q548396 Q3336 Q1206596 Q3334 Q541811 Q707950 Q3131 Q7084 Q1904 Q27495866 Q12784 Q12578 Q12717 Q3139 Q12782 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q1101 Q12675 Q811 Q1270623 Q347 Q71090 Q1989 Q4165945 Q21915715 Q902 Q153402 Q3207 Q974 Q894972 Q894971 Q14810 Q967 Q962 Q963 Q2921370 Q694 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q1788988 Q752 Q750 Q12730 Q12657 Q20095245 Q217 Q12736 Q12642 Q160307 Q12761 Q505607 Q6661829 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q2136219 Q3514973 Q1090691 Q12765 Q1005 Q977 Q1019 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q760 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q1234961 Q12553 Q3528124 Q775 Q15060143 Q776 Q810 Q770 Q773 Q46130 Q1393469 Q1011 Q1013 Q480103 Q4149 Q12549 Q3266 Q12626 Q8575586 Q12543 Q12545 Q1558632 Q1913193 Q4066675 Q12758 Q599866 Q1579364 Q731547 Q12816 Q2938 Q12751 Q1951 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q13401101 Q558796 Q12564
(c(Q15617994),P138,c(Q15619164)|c(Q271669))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q15619164
action find_tuple_counts
relation P138
type Q15617994
type Q271669
action count
action filter_multi_types
action find
entity Q3125
relation P138
type Q15619164
type Q271669
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q15619164'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?f WHERE { { ?f rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15619164 . ?f property:P138 ?p } UNION { ?f property:P138 ?p . ?f rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q271669 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Q3125 property:P138 ?l . { { ?l rdf:type ontology:Q15619164 } UNION { ?l rdf:type ontology:Q271669 } } } } . FILTER ( ?y = ?k ) }
North Holland Reinickendorf Taro Zeeland Aveyron Flevoland Rockaway, New Jersey Marshall Islands Wettertal Var Tarn-et-Garonne Victoria Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Finland Simplon Mezhetchina Israel Haute-Garonne Limburg Abbasid caliphate Sarthe Iceland Yvelines Montserrat Chad Ariège Gênes Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Mongolia Kiribati Schwielowsee Léman Leninkent, Makhachkala, Republic of Dagestan Hürtgenwald Corse Ain Sam Rayburn Independent School District Upper Oka Principalities Bouches-du-Rhône Morocco Tarn Cher Calvados Haute-Marne Liamone Ardennes Gehlsbach Frise Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Colombia Manche Veytal Loiret Yssel-Supérieur Rhine Aisne Clipperton Island New Brunswick Marengo Seine-et-Oise Finnentrop Dominican Republic Seine Moldavia Cabot Public Schools Sankt Thomas Sieg Mönchengladbach Puy-de-Dôme Rumi District Savoie Gard Am Salzhaff Gers Essonne Luxembourg Belgium United States of America Tanzania Poland Somme Philippines Doubs Switzerland Drôme Ems-Occidental Vogtei Montenotte Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Ordzhonikidzevskiy raion of Zaporizhzhya Niger Méditerranée Möhnesee Loire-Atlantique Vaucluse Viereck Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Georgia Republic of Macedonia Kazakhstan Malta Spitsbergen Vlagtwedder-Veldhuis Nesse-Apfelstädt San Marino Mayenne Rheinbreitbach Nord Norway Komarovsky, Orenburg Oblast Georgsdorf Seychelles Sassenburg Mont-Terrible Hungary Escaut Val-de-Marne Maine-et-Loire Lozère Mauritania Vyronas Malawi Yukon Pakistan Pyrénées-Orientales Belarus Pommerby Corse-du-Sud Deux-Nèthes Haute-Corse Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Ontario Corse Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Territoire de Belfort Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques North Brabant Oise Nicaragua Meurthe Liechtenstein Augustusburg Saskatchewan Sheikh Zayed City Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat South Holland Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trasimène Groningen Bolivia Haute-Saône Nièvre Sept-Saints Republic of Moldova Saône-et-Loire Morbihan Fatimid caliphate Seine-Saint-Denis Philippsreut Llanvaches Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Amsterdam, Saskatchewan Tanaro Ter Deux-Sèvres Gambia Djibouti Madagascar Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Saint Lucia Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Doire Indre Tibre Gelderland Stepenitztal Utrecht Jordan Friesland Overijssel Rhône Jemmapes Cape Verde Lesotho Amt Volmarstein Neustadt an der Weinstraße Ille-et-Vilaine Charente Meurthe-et-Moselle Umayyad Caliphate Hauts-de-Seine Hérault Rome Chkalovsk Microdistrict Annino Seine-Maritime Lev Tolstoy Lys Lippe Yonne Leverkusen Haute-Savoie Alberta Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Brandon Valley School District Obere Warnow Loir-et-Cher
307
action count
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type abstract being
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action count
action filter_multi_types
action find
entity Hautes-Alpes
relation named after
type abstract being
type landform
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'abstract being'}, {'concept': 'landform'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?f WHERE { { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:abstract_being . ?f property:named_after ?p } UNION { ?f property:named_after ?p . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:landform } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { resource:Hautes-Alpes property:named_after ?l . { { ?l rdf:type ontology:abstract_being } UNION { ?l rdf:type ontology:landform } } } } . FILTER ( ?y = ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q967
P138
Q15619164 Q271669 Q15617994
USER
And how about Burundi?
(c(Q15617994),P138,c(Q15619164)|c(Q271669))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q15619164
action find_tuple_counts
relation P138
type Q15617994
type Q271669
action count
action filter_multi_types
action find
entity Q967
relation P138
type Q15619164
type Q271669
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q15619164'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Q967 property:P138 ?g . { VALUES ( ?o ) { ( ontology:Q271669 ) ( ontology:Q15619164 ) } . ?g rdf:type ?o } } } . FILTER ( ?a = ?h ) . { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?a ) WHERE { { ?z rdf:type ontology:Q15619164 . ?t rdf:type ontology:Q15617994 . ?t property:P138 ?z } UNION { ?t property:P138 ?z . ?t rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q271669 } } GROUP BY ?t } }
Burundi
action count
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type abstract being
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action count
action filter_multi_types
action find
entity Burundi
relation named after
type abstract being
type landform
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'abstract being'}, {'concept': 'landform'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Burundi property:named_after ?g . { VALUES ( ?o ) { ( ontology:landform ) ( ontology:abstract_being ) } . ?g rdf:type ?o } } } . FILTER ( ?a = ?h ) . { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?a ) WHERE { { ?z rdf:type ontology:abstract_being . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:named_after ?z } UNION { ?t property:named_after ?z . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:landform } } GROUP BY ?t } }
[]
abstract being landform designation for an administrative territorial entity
SYSTEM
307
Q701 Q158876 Q968630 Q705 Q3216 Q707 Q1087137 Q709 Q1421544 Q12789 Q12779 Q124000 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q33 Q685048 Q21671144 Q801 Q12538 Q1093 Q12536 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1098820 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q711 Q710 Q625403 Q691368 Q1817784 Q199974 Q2998020 Q3083 Q7408058 Q1939894 Q3240 Q1028 Q12772 Q3286 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q1465069 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q739 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q161258 Q1965 Q1508919 Q979470 Q10903 Q786 Q1142326 Q10957559 Q5015782 Q676543 Q1270648 Q2758 Q12694 Q3563282 Q12745 Q12515 Q451448 Q12517 Q3368 Q32 Q31 Q30 Q924 Q36 Q12770 Q928 Q3361 Q39 Q3364 Q302479 Q2514636 Q1452646 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q4336071 Q1032 Q1508927 Q11140 Q3068 Q12792 Q676178 Q1268811 Q1338277 Q236 Q492437 Q230 Q221 Q232 Q233 Q2304605 Q1914678 Q282355 Q238 Q12620 Q566032 Q12661 Q20 Q4229407 Q621869 Q1042 Q475659 Q691265 Q28 Q1366860 Q12788 Q12584 Q12580 Q1025 Q683555 Q1020 Q2009 Q843 Q12709 Q184 Q548396 Q3336 Q1206596 Q3334 Q541811 Q707950 Q3131 Q7084 Q1904 Q27495866 Q12784 Q12578 Q12717 Q3139 Q12782 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q1101 Q12675 Q811 Q1270623 Q347 Q71090 Q1989 Q4165945 Q21915715 Q902 Q153402 Q3207 Q974 Q894972 Q894971 Q14810 Q967 Q962 Q963 Q2921370 Q694 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q1788988 Q752 Q750 Q12730 Q12657 Q20095245 Q217 Q12736 Q12642 Q160307 Q12761 Q505607 Q6661829 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q2136219 Q3514973 Q1090691 Q12765 Q1005 Q977 Q1019 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q760 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q1234961 Q12553 Q3528124 Q775 Q15060143 Q776 Q810 Q770 Q773 Q46130 Q1393469 Q1011 Q1013 Q480103 Q4149 Q12549 Q3266 Q12626 Q8575586 Q12543 Q12545 Q1558632 Q1913193 Q4066675 Q12758 Q599866 Q1579364 Q731547 Q12816 Q2938 Q12751 Q1951 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q13401101 Q558796 Q12564
(c(Q15617994),P138,c(Q15619164)|c(Q271669))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q15619164
action find_tuple_counts
relation P138
type Q15617994
type Q271669
action count
action filter_multi_types
action find
entity Q967
relation P138
type Q15619164
type Q271669
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q15619164'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Q967 property:P138 ?g . { VALUES ( ?o ) { ( ontology:Q271669 ) ( ontology:Q15619164 ) } . ?g rdf:type ?o } } } . FILTER ( ?a = ?h ) . { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?a ) WHERE { { ?z rdf:type ontology:Q15619164 . ?t rdf:type ontology:Q15617994 . ?t property:P138 ?z } UNION { ?t property:P138 ?z . ?t rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q271669 } } GROUP BY ?t } }
North Holland Reinickendorf Taro Zeeland Aveyron Flevoland Rockaway, New Jersey Marshall Islands Wettertal Var Tarn-et-Garonne Victoria Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Finland Simplon Mezhetchina Israel Haute-Garonne Limburg Abbasid caliphate Sarthe Iceland Yvelines Montserrat Chad Ariège Gênes Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Mongolia Kiribati Schwielowsee Léman Leninkent, Makhachkala, Republic of Dagestan Hürtgenwald Corse Ain Sam Rayburn Independent School District Upper Oka Principalities Bouches-du-Rhône Morocco Tarn Cher Calvados Haute-Marne Liamone Ardennes Gehlsbach Frise Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Colombia Manche Veytal Loiret Yssel-Supérieur Rhine Aisne Clipperton Island New Brunswick Marengo Seine-et-Oise Finnentrop Dominican Republic Seine Moldavia Cabot Public Schools Sankt Thomas Sieg Mönchengladbach Puy-de-Dôme Rumi District Savoie Gard Am Salzhaff Gers Essonne Luxembourg Belgium United States of America Tanzania Poland Somme Philippines Doubs Switzerland Drôme Ems-Occidental Vogtei Montenotte Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Ordzhonikidzevskiy raion of Zaporizhzhya Niger Méditerranée Möhnesee Loire-Atlantique Vaucluse Viereck Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Georgia Republic of Macedonia Kazakhstan Malta Spitsbergen Vlagtwedder-Veldhuis Nesse-Apfelstädt San Marino Mayenne Rheinbreitbach Nord Norway Komarovsky, Orenburg Oblast Georgsdorf Seychelles Sassenburg Mont-Terrible Hungary Escaut Val-de-Marne Maine-et-Loire Lozère Mauritania Vyronas Malawi Yukon Pakistan Pyrénées-Orientales Belarus Pommerby Corse-du-Sud Deux-Nèthes Haute-Corse Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Ontario Corse Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Territoire de Belfort Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques North Brabant Oise Nicaragua Meurthe Liechtenstein Augustusburg Saskatchewan Sheikh Zayed City Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat South Holland Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trasimène Groningen Bolivia Haute-Saône Nièvre Sept-Saints Republic of Moldova Saône-et-Loire Morbihan Fatimid caliphate Seine-Saint-Denis Philippsreut Llanvaches Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Amsterdam, Saskatchewan Tanaro Ter Deux-Sèvres Gambia Djibouti Madagascar Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Saint Lucia Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Doire Indre Tibre Gelderland Stepenitztal Utrecht Jordan Friesland Overijssel Rhône Jemmapes Cape Verde Lesotho Amt Volmarstein Neustadt an der Weinstraße Ille-et-Vilaine Charente Meurthe-et-Moselle Umayyad Caliphate Hauts-de-Seine Hérault Rome Chkalovsk Microdistrict Annino Seine-Maritime Lev Tolstoy Lys Lippe Yonne Leverkusen Haute-Savoie Alberta Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Brandon Valley School District Obere Warnow Loir-et-Cher
307
action count
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type abstract being
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action count
action filter_multi_types
action find
entity Burundi
relation named after
type abstract being
type landform
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'abstract being'}, {'concept': 'landform'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Burundi property:named_after ?g . { VALUES ( ?o ) { ( ontology:landform ) ( ontology:abstract_being ) } . ?g rdf:type ?o } } } . FILTER ( ?a = ?h ) . { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?a ) WHERE { { ?z rdf:type ontology:abstract_being . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:named_after ?z } UNION { ?t property:named_after ?z . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:landform } } GROUP BY ?t } }
[]