Simple Question (Direct)
Simple Question
Q3291954
P39
Q12737077
USER
Which occupation was a position occupied by Marie-Joseph de Galard de Terraube ?
(Q3291954,P39,c(Q12737077))
action filter_type
action find
entity Q3291954
relation P39
type Q12737077
['Q3291954', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q3291954 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
Marie-Joseph de Galard de Terraube
action filter_type
action find
entity Marie-Joseph de Galard de Terraube
relation position held
type occupation
['Marie-Joseph de Galard de Terraube', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Marie-Joseph_de_Galard_de_Terraube property:position_held ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q29182
SYSTEM
bishop
Q29182
(Q3291954,P39,c(Q12737077))
action filter_type
action find
entity Q3291954
relation P39
type Q12737077
[ANSWER] was a position occupied by Marie-Joseph de Galard de Terraube
['Q3291954', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q3291954 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
bishop
Bishop was a position occupied by Marie-Joseph de Galard de Terraube
bishop
action filter_type
action find
entity Marie-Joseph de Galard de Terraube
relation position held
type occupation
['Marie-Joseph de Galard de Terraube', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Marie-Joseph_de_Galard_de_Terraube property:position_held ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3291954
P20
Q515
USER
Where did the demise of that person occur ?
(Q29182,P20,c(Q515))
action filter_type
action find
entity Q3291954
relation P20
type Q515
['Q29182', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q3291954 property:P20 ?u . ?u rdf:type ontology:Q515 }
Marie-Joseph de Galard de Terraube
action filter_type
action find
entity Marie-Joseph de Galard de Terraube
relation place of death
type city
['bishop', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Marie-Joseph_de_Galard_de_Terraube property:place_of_death ?u . ?u rdf:type ontology:city }
[]
city
Q2978
SYSTEM
Regensburg
Q2978
(Q29182,P20,c(Q515))
action filter_type
action find
entity Q3291954
relation P20
type Q515
The demise of that person occurred in [ANSWER]
['Q29182', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q3291954 property:P20 ?u . ?u rdf:type ontology:Q515 }
Regensburg
The demise of that person occurred in Regensburg
Regensburg
action filter_type
action find
entity Marie-Joseph de Galard de Terraube
relation place of death
type city
['bishop', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Marie-Joseph_de_Galard_de_Terraube property:place_of_death ?u . ?u rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1376
Q15617994 Q1048835
USER
How many administrative territories and political territories have that city have their center of administration ?
(Q2978,P1376,c(Q15617994)) (Q2978,P1376,c(Q1048835)) (Q2978,P1376,c(Q15617994)) (Q2978,P1376,c(Q1048835))
action count
action union
action filter_type
action find
entity Q2978
relation P1376
type Q15617994
action filter_type
action find
entity Q2978
relation P1376
type Q1048835
['Q2978', 'P1376', {'concept': 'Q15617994'}] ['Q2978', 'P1376', {'concept': 'Q1048835'}] ['Q2978', 'P1376', {'concept': 'Q15617994'}] ['Q2978', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
action count
action union
action filter_type
action find
entity Regensburg
relation capital of
type designation for an administrative territorial entity
action filter_type
action find
entity Regensburg
relation capital of
type political territorial entity
['Regensburg', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Regensburg', 'capital of', {'concept': 'political territorial entity'}] ['Regensburg', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Regensburg', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
1 administrative territories and 1 political territories
Q47261 Q10555
(Q2978,P1376,c(Q15617994)) (Q2978,P1376,c(Q1048835)) (Q2978,P1376,c(Q15617994)) (Q2978,P1376,c(Q1048835))
action count
action union
action filter_type
action find
entity Q2978
relation P1376
type Q15617994
action filter_type
action find
entity Q2978
relation P1376
type Q1048835
[ANSWER]
['Q2978', 'P1376', {'concept': 'Q15617994'}] ['Q2978', 'P1376', {'concept': 'Q1048835'}] ['Q2978', 'P1376', {'concept': 'Q15617994'}] ['Q2978', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
Duchy of Bavaria Upper Palatinate
1 administrative territories and 1 political territories
action count
action union
action filter_type
action find
entity Regensburg
relation capital of
type designation for an administrative territorial entity
action filter_type
action find
entity Regensburg
relation capital of
type political territorial entity
['Regensburg', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Regensburg', 'capital of', {'concept': 'political territorial entity'}] ['Regensburg', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Regensburg', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21522761 Q3291954
P27
Q15617994
USER
Which administrative territories are the native countriesof Marie-Joseph de Galard de Terraube or Vittorio Peglion ?
OR((Q3291954,P27,c(Q15617994)), (Q21522761,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3291954
relation P27
action find
entity Q21522761
relation P27
type Q15617994
{'OR': [['Q3291954', 'P27', {'concept': 'Q15617994'}], ['Q21522761', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?b ) { ( resource:Q21522761 ) ( resource:Q3291954 ) } . ?b property:P27 ?u } . ?u rdf:type ontology:Q15617994 }
Vittorio Peglion Marie-Joseph de Galard de Terraube
action filter_type
action union
action find
entity Marie-Joseph de Galard de Terraube
relation country of citizenship
action find
entity Vittorio Peglion
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Marie-Joseph de Galard de Terraube', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Vittorio Peglion', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?b ) { ( resource:Vittorio_Peglion ) ( resource:Marie-Joseph_de_Galard_de_Terraube ) } . ?b property:country_of_citizenship ?u } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q38
SYSTEM
France, Italy
Q142 Q38
OR((Q3291954,P27,c(Q15617994)), (Q21522761,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3291954
relation P27
action find
entity Q21522761
relation P27
type Q15617994
[ANSWERS] are the native countriesof Marie-Joseph de Galard de Terraube or Vittorio Peglion
{'OR': [['Q3291954', 'P27', {'concept': 'Q15617994'}], ['Q21522761', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?b ) { ( resource:Q21522761 ) ( resource:Q3291954 ) } . ?b property:P27 ?u } . ?u rdf:type ontology:Q15617994 }
France Italy
France and Italy are the native countriesof Marie-Joseph de Galard de Terraube or Vittorio Peglion
France Italy
action filter_type
action union
action find
entity Marie-Joseph de Galard de Terraube
relation country of citizenship
action find
entity Vittorio Peglion
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Marie-Joseph de Galard de Terraube', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Vittorio Peglion', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?b ) { ( resource:Vittorio_Peglion ) ( resource:Marie-Joseph_de_Galard_de_Terraube ) } . ?b property:country_of_citizenship ?u } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q38
P47
Q1048835 Q56061
USER
How many political territories and administrative territories are bordered by Italy ?
(Q38,P47,c(Q1048835)) (Q38,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q38
relation P47
type Q1048835
action filter_type
action find
entity Q38
relation P47
type Q56061
['Q38', 'P47', {'concept': 'Q1048835'}] ['Q38', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { VALUES ( ?n ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } . ?z rdf:type ?n }
Italy
action count
action union
action filter_type
action find
entity Italy
relation shares border with
type political territorial entity
action filter_type
action find
entity Italy
relation shares border with
type administrative territorial entity
['Italy', 'shares border with', {'concept': 'political territorial entity'}] ['Italy', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { VALUES ( ?n ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?z rdf:type ?n }
[]
political territorial entity administrative territorial entity
SYSTEM
1 political territories and 1 administrative territories
Q237 Q40
(Q38,P47,c(Q1048835)) (Q38,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q38
relation P47
type Q1048835
action filter_type
action find
entity Q38
relation P47
type Q56061
[ANSWER]
['Q38', 'P47', {'concept': 'Q1048835'}] ['Q38', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { VALUES ( ?n ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } . ?z rdf:type ?n }
Vatican City Austria
1 political territories and 1 administrative territories
action count
action union
action filter_type
action find
entity Italy
relation shares border with
type political territorial entity
action filter_type
action find
entity Italy
relation shares border with
type administrative territorial entity
['Italy', 'shares border with', {'concept': 'political territorial entity'}] ['Italy', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { VALUES ( ?n ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?z rdf:type ?n }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1167140 Q2978
P47 P190
Q20667921
USER
Which french administrative divisions are twin towns of Regensburg or share border with Mésangueville ?
OR((Q2978,P190,c(Q20667921)), (Q1167140,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q2978
relation P190
action find
entity Q1167140
relation P47
type Q20667921
{'OR': [['Q2978', 'P190', {'concept': 'Q20667921'}], ['Q1167140', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q1167140 property:P47 ?a } UNION { resource:Q2978 property:P190 ?a } } . ?a rdf:type ontology:Q20667921 }
Mésangueville Regensburg
action filter_type
action union
action find
entity Regensburg
relation sister city
action find
entity Mésangueville
relation shares border with
type type of french administrative division
{'OR': [['Regensburg', 'sister city', {'concept': 'type of french administrative division'}], ['Mésangueville', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Mésangueville property:shares_border_with ?a } UNION { resource:Regensburg property:sister_city ?a } } . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1418906 Q1164351 Q839522 Q42168 Q724458 Q816297 Q624933
SYSTEM
Fry, Saumont-la-Poterie, La Ferté-Saint-Samson, Clermont-Ferrand, Hodeng-Hodenger, Le Fossé, Argueil
Q1418906 Q1164351 Q839522 Q42168 Q724458 Q816297 Q624933
OR((Q2978,P190,c(Q20667921)), (Q1167140,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q2978
relation P190
action find
entity Q1167140
relation P47
type Q20667921
[ANSWERS] are twin towns of Regensburg or share border with Mésangueville
{'OR': [['Q2978', 'P190', {'concept': 'Q20667921'}], ['Q1167140', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q1167140 property:P47 ?a } UNION { resource:Q2978 property:P190 ?a } } . ?a rdf:type ontology:Q20667921 }
Fry Saumont-la-Poterie La Ferté-Saint-Samson Clermont-Ferrand Hodeng-Hodenger Le Fossé Argueil
Fry, Saumont-la-Poterie, La Ferté-Saint-Samson, Clermont-Ferrand, Hodeng-Hodenger, Le Fossé and Argueil are twin towns of Regensburg or share border with Mésangueville
Fry Saumont-la-Poterie La Ferté-Saint-Samson Clermont-Ferrand Hodeng-Hodenger Le Fossé Argueil
action filter_type
action union
action find
entity Regensburg
relation sister city
action find
entity Mésangueville
relation shares border with
type type of french administrative division
{'OR': [['Regensburg', 'sister city', {'concept': 'type of french administrative division'}], ['Mésangueville', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Mésangueville property:shares_border_with ?a } UNION { resource:Regensburg property:sister_city ?a } } . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q22413
P159
Q20667921 Q7210356 Q895526
USER
Which french administrative divisions are the headquarter locations of approximately the same number of political organizations or authority organs as Wasselonne ?
(c(Q7210356)|c(Q895526),P159,c(Q20667921))
action approx
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q7210356
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q22413
relation P159
type Q7210356
type Q895526
[[{'concept': 'Q7210356'}, {'concept': 'Q895526'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?d WHERE { { ?k property:P159 ?d . ?d rdf:type ontology:Q20667921 . ?k rdf:type ontology:Q7210356 } UNION { ?k property:P159 ?d . ?d rdf:type ontology:Q20667921 . ?k rdf:type ontology:Q895526 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:P159 resource:Q22413 . { ?y rdf:type ?o . VALUES ( ?o ) { ( ontology:Q7210356 ) ( ontology:Q895526 ) } } } } . FILTER ( ?j = ?g ) }
Wasselonne
action approx
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type political organization
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type authority organ
action count
action filter_multi_types
action find_reverse
entity Wasselonne
relation headquarters location
type political organization
type authority organ
[[{'concept': 'political organization'}, {'concept': 'authority organ'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?d WHERE { { ?k property:headquarters_location ?d . ?d rdf:type ontology:type_of_french_administrative_division . ?k rdf:type ontology:political_organization } UNION { ?k property:headquarters_location ?d . ?d rdf:type ontology:type_of_french_administrative_division . ?k rdf:type ontology:authority_organ } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:headquarters_location resource:Wasselonne . { ?y rdf:type ?o . VALUES ( ?o ) { ( ontology:political_organization ) ( ontology:authority_organ ) } } } } . FILTER ( ?j = ?g ) }
[]
type of french administrative division political organization authority organ
Q42716 Q234735 Q6730
SYSTEM
Saint-Étienne, Meudon, Perpignan
Q22438 Q205537 Q753708 Q184359 Q234743 Q1047751 Q317433 Q1226504 Q192393 Q1416478 Q206961 Q1004486 Q182872 Q816117 Q632276 Q22660 Q216844 Q214600 Q212793 Q404445 Q363100 Q372882 Q615159 Q838334 Q1727156 Q22810 Q46712 Q253939 Q1018637 Q259107 Q274683 Q271068 Q50189 Q256137 Q696996 Q45656 Q316452 Q675232 Q337636 Q194002 Q219383 Q42807 Q636993 Q126675 Q71469 Q213555 Q201982 Q211121 Q21948474 Q152027 Q269430 Q163108 Q1152867 Q21347 Q21346 Q1389275 Q194141 Q208794 Q194145 Q1342783 Q6593 Q241575 Q960827 Q124126 Q578683 Q233733 Q429770 Q188750 Q383388 Q247627 Q1169872 Q816094 Q191415 Q47465 Q635643 Q658928 Q212274 Q668446 Q1111084 Q383369 Q202374 Q234735 Q43295 Q219045 Q47135 Q613323 Q491948 Q22697 Q22690 Q238429 Q207156 Q819837 Q565982 Q38380 Q369954 Q477013 Q1469245 Q13947 Q1146338 Q819946 Q386778 Q694905 Q220592 Q175999 Q42168 Q274774 Q474768 Q735931 Q269166 Q274412 Q235739 Q185066 Q236658 Q192426 Q163795 Q752979 Q184047 Q1066554 Q467132 Q457389 Q10235 Q107501 Q609134 Q117551 Q83432 Q205551 Q241064 Q171800 Q366383 Q1081604 Q1103338 Q279681 Q630193 Q324027 Q727297 Q200832 Q20441 Q609047 Q334301 Q213285 Q174234 Q132404 Q273017 Q794124 Q231554 Q6730 Q208943 Q160506 Q239908 Q863574 Q752150 Q1384871 Q637676 Q174247 Q207614 Q185721 Q208889 Q1106922 Q161884 Q651379 Q175081 Q242497 Q192481 Q240286 Q1008824 Q1064869 Q1602947 Q392169 Q265657 Q910089 Q244725 Q1323215 Q1615759 Q326520 Q760624 Q213515 Q549536 Q730148 Q323727 Q478105 Q12193 Q828625 Q13917 Q579807 Q372218 Q205592 Q202565 Q243868 Q476895 Q191856 Q627252 Q477174 Q37719 Q208538 Q284762 Q235382 Q243915 Q193877 Q269952 Q1119799 Q16121 Q22776 Q245297 Q211706 Q669021 Q134346 Q39984 Q165090 Q170507 Q212959 Q1476 Q746946 Q272420 Q241021 Q239091 Q285 Q265332 Q227795 Q269862 Q1067807 Q549750 Q460795 Q648073 Q661392 Q239123 Q384516 Q183910 Q268062 Q454445 Q274249 Q46135 Q223692 Q1428824 Q240189 Q93351 Q1171684 Q268362 Q1078810 Q1066090 Q1144900 Q264637 Q193819 Q167024 Q181946 Q291197 Q728517 Q532070 Q526378 Q242536 Q626342 Q1138493 Q1471382 Q160199 Q387447 Q237394 Q72248 Q841518 Q21298 Q728033 Q132790 Q675537 Q192378 Q193920 Q271604 Q658561 Q193929 Q21569 Q733833 Q818443 Q194160 Q666278 Q188658 Q182744 Q376986 Q1058168 Q213315 Q1087218 Q632445 Q212987 Q22727 Q863563 Q264416 Q21511 Q463951 Q238310 Q1421965 Q331087 Q868513 Q777493 Q174251 Q46375 Q246199 Q191765 Q174257 Q1423628 Q238366 Q963292 Q44160 Q382855 Q166997 Q332416 Q637695 Q8848 Q242569 Q368160 Q291094 Q724403 Q211134 Q1166034 Q1110747 Q900479 Q763901 Q1066223 Q47383 Q1026879 Q34001 Q1467149 Q752053 Q221968 Q59724 Q174002 Q271649 Q183557 Q258059 Q81997 Q240798 Q963534 Q1055925 Q851278 Q237303 Q208314 Q273748 Q209086 Q79815 Q338877 Q234728 Q128466 Q212947 Q997294 Q1067432 Q517466 Q1344726 Q1172798 Q21997 Q205584 Q205580 Q382095 Q3581 Q193861 Q1066398 Q280296 Q41139 Q833394 Q399366 Q632969 Q1469428 Q166640 Q328022 Q961186 Q664934 Q193826 Q177656 Q544220 Q655572 Q208866 Q253721 Q55905 Q279310 Q1063150 Q250106 Q245080 Q1069745 Q842003 Q114877 Q495474 Q217173 Q1014814 Q22413 Q130800 Q626582 Q675950 Q184023 Q181955 Q605677 Q138648 Q841345 Q208812 Q852904 Q637279 Q791277 Q22390 Q273897 Q135265 Q817733 Q1094779 Q680266 Q69990 Q271678 Q42716 Q1063932 Q205632 Q783452 Q193895 Q180083 Q828253 Q632175 Q188776 Q234270 Q21359 Q234274 Q211923 Q6625 Q207584 Q6588 Q474555 Q249884 Q243135 Q193183 Q47045 Q184159 Q82185 Q636592 Q208770 Q968116 Q70152 Q582299 Q184154 Q182287 Q13596 Q236058 Q22730 Q214597 Q209005 Q631274 Q203645 Q239078 Q41185 Q133069 Q269732 Q182481 Q2087041 Q1058597 Q240546 Q457 Q956943 Q1469416 Q250399 Q45797 Q1047719 Q268281 Q1388467 Q269833 Q220159 Q264277 Q1157701 Q133824 Q28520 Q271407 Q69601 Q1169745 Q473919 Q626156 Q208851 Q231720 Q243597 Q288 Q791403 Q205116 Q83427 Q193899 Q767320 Q912302 Q206493 Q1103869 Q836443 Q658651 Q185075 Q6397 Q1651173 Q372281 Q62958 Q134698 Q372111 Q6548 Q577452 Q192982 Q6544 Q188743 Q193256 Q769160 Q40898 Q752466 Q193313 Q629891 Q5489 Q193903 Q21262
(c(Q7210356)|c(Q895526),P159,c(Q20667921))
action approx
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q7210356
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q22413
relation P159
type Q7210356
type Q895526
[ANSWERS] are the headquarter locations of approximately the same number of political organizations or authority organs as Wasselonne
[[{'concept': 'Q7210356'}, {'concept': 'Q895526'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?d WHERE { { ?k property:P159 ?d . ?d rdf:type ontology:Q20667921 . ?k rdf:type ontology:Q7210356 } UNION { ?k property:P159 ?d . ?d rdf:type ontology:Q20667921 . ?k rdf:type ontology:Q895526 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:P159 resource:Q22413 . { ?y rdf:type ?o . VALUES ( ?o ) { ( ontology:Q7210356 ) ( ontology:Q895526 ) } } } } . FILTER ( ?j = ?g ) }
Entzheim Épernay Giromagny Le Puy-en-Velay Puteaux Chappes Les Mureaux Ruaudin Évry Incheville Épinay-sur-Seine Macau Fontainebleau Neauphle-le-Château Fontevraud-l'Abbaye Illkirch-Graffenstaden Les Ulis Romorantin-Lanthenay Charenton-le-Pont Aiglepierre Miribel Mondeville Ludes Pouzauges canton of Saint-Germain-Laval Dorlisheim Fontaine-lès-Dijon Pierrefitte-sur-Seine Méolans-Revel Le Plessis-Robinson Abrest Blagnac Annecy Buc Lesquin Limoges Thiais Bondoufle Saint-Sébastien-sur-Loire Batilly Saint-Uze Nîmes Marnes-la-Coquette Chantilly Corbie Corte Clichy Aubenas Val-d'Oust Saint-Nazaire Bourg-lès-Valence Saint-Malo Montesquieu-Volvestre Eckbolsheim Reichstett Verneuil-en-Halatte Draguignan Lunéville Château-Thierry Tours-sur-Marne Vannes Divonne-les-Bains Saint-Chef Kingersheim Marolles-en-Hurepoix Ferney-Voltaire La Possession Saint-Estèphe Lillers Longpont-sur-Orge Villebarou Signes Asnières-sur-Seine Aix-en-Provence Roquefort Ay Nogent-sur-Marne Saint-Berthevin La Crèche Wimereux Châteaulin Meudon Villeneuve-d'Ascq Longjumeau Châlons-en-Champagne Aniche Les Clayes-sous-Bois Molsheim Metz Bezons Pessac Durtal Annecy-le-Vieux Angers Bry-sur-Marne Champagnole Ormes Centre-Val de Loire Cerizay Urville Pertuis Fourchambault Blanquefort Le Pré-Saint-Gervais Clermont-Ferrand Viviers Plouzané L'Isle-Jourdain Fontenay-aux-Roses Bédarieux Saint-Chamond Cholet La Garenne-Colombes Le Val-d'Ajol Valenciennes Montoire-sur-le-Loir Aubagne Auberchicourt Arcueil Marcoussis Beynost Sarcelles Joinville-le-Pont Champs-sur-Yonne Viroflay Mérignac Villepinte Évreux Mézidon-Canon Seyssinet-Pariset Onnaing Thouars Saint-Aignan-Grandlieu Pierrelatte Romilly-sur-Seine Morteau Quetigny Carros Berck Castelsarrasin Aurillac Bourges Évian-les-Bains Saint-Rémy-lès-Chevreuse La Ciotat Perpignan Bagnolet Saint-Denis Saint-Pol-de-Léon Saint-Martin-de-Valgalgues Paray-Vieille-Poste La Ménitré Sommières Mâcon Figeac Bar-le-Duc Saint-Ouen L'Horme Bagneux Janville Gap Tremblay-en-France Talence Lamballe Bernin Montesquieu Saint-Vallier Sentheim Vert-le-Petit Saint-Genis-Laval La Courneuve Saint-Pé-de-Bigorre Saint-Cyr-au-Mont-d'Or Cestas Mantes-la-Ville Ancenis Limeil-Brévannes Contres Loos-en-Gohelle Rungis Brest Villebon-sur-Yvette Île-de-France Crolles Plaisir Antony Coutances Saint-Martin-d'Hères Nogent-sur-Seine Oyonnax Aubière Lambres Beaurainville Vierzon Baerenthal Quimperlé Aimargues Ivry-sur-Seine Magny-Cours Toussus-le-Noble Beaune Benfeld Roscoff Briord Mauléon Angoulême Cannes Chambéry Nanterre Denain Le Mans Coulounieix-Chamiers Châteaufort Montrouge Croix Cognac Gray, Haute-Saône Cesson-Sévigné Allauch Saint-Jean-de-Moirans Milly-la-Forêt Bonneville Saint-Marcel Rochetoirin Ermont Saint-Louis Bayeux Bréhal Buzançais Massy Créteil Cornillé Escalquens Douarnenez Vichy Chémeré-le-Roi Le Petit-Quevilly Panazol Fraisses Jarnac-Champagne Wissous Vincennes Basse-Terre Argenteuil Bouguenais Saint-André-lez-Lille Poisy Limay Champs-sur-Marne Trébeurden Courcouronnes Reyniès Cherbourg-Octeville Vélizy-Villacoublay Bondy Vitry-sur-Seine Rumilly Reichshoffen Le Bar-sur-Loup Biarritz Averton Champigny-sur-Marne Rueil-Malmaison Émerainville Lezennes Suresnes Sarre-Union Pibrac Briare Clamart Bétheny Aïcirits-Camou-Suhast Saint-Quentin Lédenon Roissy-en-Brie Parthenay Aigrefeuille-d'Aunis Mimizan Choisy-le-Roi Obernai Anneyron Chalonnes-sur-Loire Oberhausbergen Maisons-Laffitte Grigny Le Perray-en-Yvelines Creil Ergué-Gabéric Taissy Châteauroux Darois Garches Anglet Beauvais Charnay-lès-Mâcon Annonay Terssac Toulon Lagorce Nevers Saint-Genis-Pouilly Saint-Genest-d'Ambière Valence Montgeron Saint-Julien-en-Genevois Étuz Hautot-le-Vatois Échirolles Igny Azereix Noisiel Templemars Andrézieux-Bouthéon Charleville-Mézières Lestrem Roubaix Labège Saint-Ours Gennevilliers Étain Colombes Marcq-en-Barœul Dieppe Tournan-en-Brie Boulogne-sur-Mer Montigny-le-Bretonneux Villiers-le-Bâcle Mont-Saint-Aignan Arques Guyancourt Maisons-Alfort Écully Pantin Mulhouse Châteauneuf-du-Pape Vanves Villejuif Châtillon Pluguffan Crespin Mouzeil Donneville Longueil Saint-Louis-lès-Bitche Étampes Palaiseau Trégunc Roanne Castelnaudary Saint-Priest-en-Jarez Tain-l'Hermitage Melun Gretz-Armainvilliers Chevreuse Plombières-les-Bains Montagny Levallois-Perret Tournefeuille Oulins Raismes Douai Spézet Anzin Le Grand-Quevilly La Seyne-sur-Mer Malakoff Pontivy Marcigny La Selle-en-Luitré Samois-sur-Seine Bourbon-l'Archambault Saint-Égrève La Madeleine Bièvres Sausheim Jarnac Les Avirons Wasselonne Papeete Lohéac Grans Tarbes Aix-les-Bains Limonest Maubeuge Domancy Corbeil-Essonnes Fresnoy-le-Grand Furiani Avon, Seine-et-Marne Mutzig Feucherolles Issy-les-Moulineaux La Farlède Vaumeilh Pringy, Haute-Savoie Guer Servon Saint-Étienne Chouilly Aubervilliers Villieu-Loyes-Mollon Lattes Menton Chavanod Meylan Castres Montélimar Merkwiller-Pechelbronn Manosque Les Sables-d'Olonne Agen Brignoles Périgueux Castelnau-le-Lez Saint-Pierre Ambès Alès Saint-Denis Niort La Rochelle Balbigny Villefranche-sur-Saône Messimy La Gacilly La Baume Laval Crépy-en-Valois Vaulx-en-Velin Orly Haguenau Bellac Cachan Couëron Chalon-sur-Saône Romans-sur-Isère Caen Bourg-en-Bresse Fécamp Tourcoing Dembeni Bordes Élancourt Poissy Le Port Marcy-l'Étoile Brie-Comte-Robert Dunkirk Hem Lognes Saint-Marcel Chauny Saint-Grégoire Gémenos La Chapelle-Saint-Mesmin Issoire Abbeville Orvault Elven Villefrancœur Lectoure Pierre-Buffière Gif-sur-Yvette Honfleur Culoz Tours Avrillé Amboise Bazainville Fontenay-sous-Bois Ruillé-sur-Loir Metz-Tessy Sèvres Avrainville Chalezeule Cogolin Saint-Germain-en-Laye Avignon Corbas Orsay Auray Bastia Romainville Orléans Les Herbiers Cluny Libourne Lisieux Montluçon Grande-Synthe Nancy Voreppe Saint-Maur-des-Fossés Le Plessis-Belleville Troyes Cergy Hangenbieten
Saint-Étienne, Meudon and Perpignan are the headquarter locations of approximately the same number of political organizations or authority organs as Wasselonne
Saint-Étienne Meudon Perpignan
action approx
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type political organization
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type authority organ
action count
action filter_multi_types
action find_reverse
entity Wasselonne
relation headquarters location
type political organization
type authority organ
[[{'concept': 'political organization'}, {'concept': 'authority organ'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?d WHERE { { ?k property:headquarters_location ?d . ?d rdf:type ontology:type_of_french_administrative_division . ?k rdf:type ontology:political_organization } UNION { ?k property:headquarters_location ?d . ?d rdf:type ontology:type_of_french_administrative_division . ?k rdf:type ontology:authority_organ } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:headquarters_location resource:Wasselonne . { ?y rdf:type ?o . VALUES ( ?o ) { ( ontology:political_organization ) ( ontology:authority_organ ) } } } } . FILTER ( ?j = ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1469245
P159
Q20667921 Q7210356 Q895526
USER
And what about Ormes?
(c(Q7210356)|c(Q895526),P159,c(Q20667921))
action approx
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q7210356
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q1469245
relation P159
type Q7210356
type Q895526
[[{'concept': 'Q7210356'}, {'concept': 'Q895526'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?u WHERE { VALUES ( ?p ) { ( ontology:Q895526 ) ( ontology:Q7210356 ) } . ?a rdf:type ?p } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:P159 resource:Q1469245 . { { ?l rdf:type ontology:Q7210356 } UNION { ?l rdf:type ontology:Q895526 } } } } . FILTER ( ?i = ?r ) }
Ormes
action approx
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type political organization
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type authority organ
action count
action filter_multi_types
action find_reverse
entity Ormes
relation headquarters location
type political organization
type authority organ
[[{'concept': 'political organization'}, {'concept': 'authority organ'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?u WHERE { VALUES ( ?p ) { ( ontology:authority_organ ) ( ontology:political_organization ) } . ?a rdf:type ?p } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:headquarters_location resource:Ormes . { { ?l rdf:type ontology:political_organization } UNION { ?l rdf:type ontology:authority_organ } } } } . FILTER ( ?i = ?r ) }
[]
type of french administrative division political organization authority organ
Q42716 Q234735 Q6730
SYSTEM
Saint-Étienne, Meudon, Perpignan
Q22438 Q205537 Q753708 Q184359 Q234743 Q1047751 Q317433 Q1226504 Q192393 Q1416478 Q206961 Q1004486 Q182872 Q816117 Q632276 Q22660 Q216844 Q214600 Q212793 Q404445 Q363100 Q372882 Q615159 Q838334 Q1727156 Q22810 Q46712 Q253939 Q1018637 Q259107 Q274683 Q271068 Q50189 Q256137 Q696996 Q45656 Q316452 Q675232 Q337636 Q194002 Q219383 Q42807 Q636993 Q126675 Q71469 Q213555 Q201982 Q211121 Q21948474 Q152027 Q269430 Q163108 Q1152867 Q21347 Q21346 Q1389275 Q194141 Q208794 Q194145 Q1342783 Q6593 Q241575 Q960827 Q124126 Q578683 Q233733 Q429770 Q188750 Q383388 Q247627 Q1169872 Q816094 Q191415 Q47465 Q635643 Q658928 Q212274 Q668446 Q1111084 Q383369 Q202374 Q234735 Q43295 Q219045 Q47135 Q613323 Q491948 Q22697 Q22690 Q238429 Q207156 Q819837 Q565982 Q38380 Q369954 Q477013 Q1469245 Q13947 Q1146338 Q819946 Q386778 Q694905 Q220592 Q175999 Q42168 Q274774 Q474768 Q735931 Q269166 Q274412 Q235739 Q185066 Q236658 Q192426 Q163795 Q752979 Q184047 Q1066554 Q467132 Q457389 Q10235 Q107501 Q609134 Q117551 Q83432 Q205551 Q241064 Q171800 Q366383 Q1081604 Q1103338 Q279681 Q630193 Q324027 Q727297 Q200832 Q20441 Q609047 Q334301 Q213285 Q174234 Q132404 Q273017 Q794124 Q231554 Q6730 Q208943 Q160506 Q239908 Q863574 Q752150 Q1384871 Q637676 Q174247 Q207614 Q185721 Q208889 Q1106922 Q161884 Q651379 Q175081 Q242497 Q192481 Q240286 Q1008824 Q1064869 Q1602947 Q392169 Q265657 Q910089 Q244725 Q1323215 Q1615759 Q326520 Q760624 Q213515 Q549536 Q730148 Q323727 Q478105 Q12193 Q828625 Q13917 Q579807 Q372218 Q205592 Q202565 Q243868 Q476895 Q191856 Q627252 Q477174 Q37719 Q208538 Q284762 Q235382 Q243915 Q193877 Q269952 Q1119799 Q16121 Q22776 Q245297 Q211706 Q669021 Q134346 Q39984 Q165090 Q170507 Q212959 Q1476 Q746946 Q272420 Q241021 Q239091 Q285 Q265332 Q227795 Q269862 Q1067807 Q549750 Q460795 Q648073 Q661392 Q239123 Q384516 Q183910 Q268062 Q454445 Q274249 Q46135 Q223692 Q1428824 Q240189 Q93351 Q1171684 Q268362 Q1078810 Q1066090 Q1144900 Q264637 Q193819 Q167024 Q181946 Q291197 Q728517 Q532070 Q526378 Q242536 Q626342 Q1138493 Q1471382 Q160199 Q387447 Q237394 Q72248 Q841518 Q21298 Q728033 Q132790 Q675537 Q192378 Q193920 Q271604 Q658561 Q193929 Q21569 Q733833 Q818443 Q194160 Q666278 Q188658 Q182744 Q376986 Q1058168 Q213315 Q1087218 Q632445 Q212987 Q22727 Q863563 Q264416 Q21511 Q463951 Q238310 Q1421965 Q331087 Q868513 Q777493 Q174251 Q46375 Q246199 Q191765 Q174257 Q1423628 Q238366 Q963292 Q44160 Q382855 Q166997 Q332416 Q637695 Q8848 Q242569 Q368160 Q291094 Q724403 Q211134 Q1166034 Q1110747 Q900479 Q763901 Q1066223 Q47383 Q1026879 Q34001 Q1467149 Q752053 Q221968 Q59724 Q174002 Q271649 Q183557 Q258059 Q81997 Q240798 Q963534 Q1055925 Q851278 Q237303 Q208314 Q273748 Q209086 Q79815 Q338877 Q234728 Q128466 Q212947 Q997294 Q1067432 Q517466 Q1344726 Q1172798 Q21997 Q205584 Q205580 Q382095 Q3581 Q193861 Q1066398 Q280296 Q41139 Q833394 Q399366 Q632969 Q1469428 Q166640 Q328022 Q961186 Q664934 Q193826 Q177656 Q544220 Q655572 Q208866 Q253721 Q55905 Q279310 Q1063150 Q250106 Q245080 Q1069745 Q842003 Q114877 Q495474 Q217173 Q1014814 Q22413 Q130800 Q626582 Q675950 Q184023 Q181955 Q605677 Q138648 Q841345 Q208812 Q852904 Q637279 Q791277 Q22390 Q273897 Q135265 Q817733 Q1094779 Q680266 Q69990 Q271678 Q42716 Q1063932 Q205632 Q783452 Q193895 Q180083 Q828253 Q632175 Q188776 Q234270 Q21359 Q234274 Q211923 Q6625 Q207584 Q6588 Q474555 Q249884 Q243135 Q193183 Q47045 Q184159 Q82185 Q636592 Q208770 Q968116 Q70152 Q582299 Q184154 Q182287 Q13596 Q236058 Q22730 Q214597 Q209005 Q631274 Q203645 Q239078 Q41185 Q133069 Q269732 Q182481 Q2087041 Q1058597 Q240546 Q457 Q956943 Q1469416 Q250399 Q45797 Q1047719 Q268281 Q1388467 Q269833 Q220159 Q264277 Q1157701 Q133824 Q28520 Q271407 Q69601 Q1169745 Q473919 Q626156 Q208851 Q231720 Q243597 Q288 Q791403 Q205116 Q83427 Q193899 Q767320 Q912302 Q206493 Q1103869 Q836443 Q658651 Q185075 Q6397 Q1651173 Q372281 Q62958 Q134698 Q372111 Q6548 Q577452 Q192982 Q6544 Q188743 Q193256 Q769160 Q40898 Q752466 Q193313 Q629891 Q5489 Q193903 Q21262
(c(Q7210356)|c(Q895526),P159,c(Q20667921))
action approx
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q7210356
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q1469245
relation P159
type Q7210356
type Q895526
[ANSWERS]
[[{'concept': 'Q7210356'}, {'concept': 'Q895526'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?u WHERE { VALUES ( ?p ) { ( ontology:Q895526 ) ( ontology:Q7210356 ) } . ?a rdf:type ?p } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:P159 resource:Q1469245 . { { ?l rdf:type ontology:Q7210356 } UNION { ?l rdf:type ontology:Q895526 } } } } . FILTER ( ?i = ?r ) }
Entzheim Épernay Giromagny Le Puy-en-Velay Puteaux Chappes Les Mureaux Ruaudin Évry Incheville Épinay-sur-Seine Macau Fontainebleau Neauphle-le-Château Fontevraud-l'Abbaye Illkirch-Graffenstaden Les Ulis Romorantin-Lanthenay Charenton-le-Pont Aiglepierre Miribel Mondeville Ludes Pouzauges canton of Saint-Germain-Laval Dorlisheim Fontaine-lès-Dijon Pierrefitte-sur-Seine Méolans-Revel Le Plessis-Robinson Abrest Blagnac Annecy Buc Lesquin Limoges Thiais Bondoufle Saint-Sébastien-sur-Loire Batilly Saint-Uze Nîmes Marnes-la-Coquette Chantilly Corbie Corte Clichy Aubenas Val-d'Oust Saint-Nazaire Bourg-lès-Valence Saint-Malo Montesquieu-Volvestre Eckbolsheim Reichstett Verneuil-en-Halatte Draguignan Lunéville Château-Thierry Tours-sur-Marne Vannes Divonne-les-Bains Saint-Chef Kingersheim Marolles-en-Hurepoix Ferney-Voltaire La Possession Saint-Estèphe Lillers Longpont-sur-Orge Villebarou Signes Asnières-sur-Seine Aix-en-Provence Roquefort Ay Nogent-sur-Marne Saint-Berthevin La Crèche Wimereux Châteaulin Meudon Villeneuve-d'Ascq Longjumeau Châlons-en-Champagne Aniche Les Clayes-sous-Bois Molsheim Metz Bezons Pessac Durtal Annecy-le-Vieux Angers Bry-sur-Marne Champagnole Ormes Centre-Val de Loire Cerizay Urville Pertuis Fourchambault Blanquefort Le Pré-Saint-Gervais Clermont-Ferrand Viviers Plouzané L'Isle-Jourdain Fontenay-aux-Roses Bédarieux Saint-Chamond Cholet La Garenne-Colombes Le Val-d'Ajol Valenciennes Montoire-sur-le-Loir Aubagne Auberchicourt Arcueil Marcoussis Beynost Sarcelles Joinville-le-Pont Champs-sur-Yonne Viroflay Mérignac Villepinte Évreux Mézidon-Canon Seyssinet-Pariset Onnaing Thouars Saint-Aignan-Grandlieu Pierrelatte Romilly-sur-Seine Morteau Quetigny Carros Berck Castelsarrasin Aurillac Bourges Évian-les-Bains Saint-Rémy-lès-Chevreuse La Ciotat Perpignan Bagnolet Saint-Denis Saint-Pol-de-Léon Saint-Martin-de-Valgalgues Paray-Vieille-Poste La Ménitré Sommières Mâcon Figeac Bar-le-Duc Saint-Ouen L'Horme Bagneux Janville Gap Tremblay-en-France Talence Lamballe Bernin Montesquieu Saint-Vallier Sentheim Vert-le-Petit Saint-Genis-Laval La Courneuve Saint-Pé-de-Bigorre Saint-Cyr-au-Mont-d'Or Cestas Mantes-la-Ville Ancenis Limeil-Brévannes Contres Loos-en-Gohelle Rungis Brest Villebon-sur-Yvette Île-de-France Crolles Plaisir Antony Coutances Saint-Martin-d'Hères Nogent-sur-Seine Oyonnax Aubière Lambres Beaurainville Vierzon Baerenthal Quimperlé Aimargues Ivry-sur-Seine Magny-Cours Toussus-le-Noble Beaune Benfeld Roscoff Briord Mauléon Angoulême Cannes Chambéry Nanterre Denain Le Mans Coulounieix-Chamiers Châteaufort Montrouge Croix Cognac Gray, Haute-Saône Cesson-Sévigné Allauch Saint-Jean-de-Moirans Milly-la-Forêt Bonneville Saint-Marcel Rochetoirin Ermont Saint-Louis Bayeux Bréhal Buzançais Massy Créteil Cornillé Escalquens Douarnenez Vichy Chémeré-le-Roi Le Petit-Quevilly Panazol Fraisses Jarnac-Champagne Wissous Vincennes Basse-Terre Argenteuil Bouguenais Saint-André-lez-Lille Poisy Limay Champs-sur-Marne Trébeurden Courcouronnes Reyniès Cherbourg-Octeville Vélizy-Villacoublay Bondy Vitry-sur-Seine Rumilly Reichshoffen Le Bar-sur-Loup Biarritz Averton Champigny-sur-Marne Rueil-Malmaison Émerainville Lezennes Suresnes Sarre-Union Pibrac Briare Clamart Bétheny Aïcirits-Camou-Suhast Saint-Quentin Lédenon Roissy-en-Brie Parthenay Aigrefeuille-d'Aunis Mimizan Choisy-le-Roi Obernai Anneyron Chalonnes-sur-Loire Oberhausbergen Maisons-Laffitte Grigny Le Perray-en-Yvelines Creil Ergué-Gabéric Taissy Châteauroux Darois Garches Anglet Beauvais Charnay-lès-Mâcon Annonay Terssac Toulon Lagorce Nevers Saint-Genis-Pouilly Saint-Genest-d'Ambière Valence Montgeron Saint-Julien-en-Genevois Étuz Hautot-le-Vatois Échirolles Igny Azereix Noisiel Templemars Andrézieux-Bouthéon Charleville-Mézières Lestrem Roubaix Labège Saint-Ours Gennevilliers Étain Colombes Marcq-en-Barœul Dieppe Tournan-en-Brie Boulogne-sur-Mer Montigny-le-Bretonneux Villiers-le-Bâcle Mont-Saint-Aignan Arques Guyancourt Maisons-Alfort Écully Pantin Mulhouse Châteauneuf-du-Pape Vanves Villejuif Châtillon Pluguffan Crespin Mouzeil Donneville Longueil Saint-Louis-lès-Bitche Étampes Palaiseau Trégunc Roanne Castelnaudary Saint-Priest-en-Jarez Tain-l'Hermitage Melun Gretz-Armainvilliers Chevreuse Plombières-les-Bains Montagny Levallois-Perret Tournefeuille Oulins Raismes Douai Spézet Anzin Le Grand-Quevilly La Seyne-sur-Mer Malakoff Pontivy Marcigny La Selle-en-Luitré Samois-sur-Seine Bourbon-l'Archambault Saint-Égrève La Madeleine Bièvres Sausheim Jarnac Les Avirons Wasselonne Papeete Lohéac Grans Tarbes Aix-les-Bains Limonest Maubeuge Domancy Corbeil-Essonnes Fresnoy-le-Grand Furiani Avon, Seine-et-Marne Mutzig Feucherolles Issy-les-Moulineaux La Farlède Vaumeilh Pringy, Haute-Savoie Guer Servon Saint-Étienne Chouilly Aubervilliers Villieu-Loyes-Mollon Lattes Menton Chavanod Meylan Castres Montélimar Merkwiller-Pechelbronn Manosque Les Sables-d'Olonne Agen Brignoles Périgueux Castelnau-le-Lez Saint-Pierre Ambès Alès Saint-Denis Niort La Rochelle Balbigny Villefranche-sur-Saône Messimy La Gacilly La Baume Laval Crépy-en-Valois Vaulx-en-Velin Orly Haguenau Bellac Cachan Couëron Chalon-sur-Saône Romans-sur-Isère Caen Bourg-en-Bresse Fécamp Tourcoing Dembeni Bordes Élancourt Poissy Le Port Marcy-l'Étoile Brie-Comte-Robert Dunkirk Hem Lognes Saint-Marcel Chauny Saint-Grégoire Gémenos La Chapelle-Saint-Mesmin Issoire Abbeville Orvault Elven Villefrancœur Lectoure Pierre-Buffière Gif-sur-Yvette Honfleur Culoz Tours Avrillé Amboise Bazainville Fontenay-sous-Bois Ruillé-sur-Loir Metz-Tessy Sèvres Avrainville Chalezeule Cogolin Saint-Germain-en-Laye Avignon Corbas Orsay Auray Bastia Romainville Orléans Les Herbiers Cluny Libourne Lisieux Montluçon Grande-Synthe Nancy Voreppe Saint-Maur-des-Fossés Le Plessis-Belleville Troyes Cergy Hangenbieten
Saint-Étienne Meudon Perpignan
action approx
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type political organization
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type authority organ
action count
action filter_multi_types
action find_reverse
entity Ormes
relation headquarters location
type political organization
type authority organ
[[{'concept': 'political organization'}, {'concept': 'authority organ'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?u WHERE { VALUES ( ?p ) { ( ontology:authority_organ ) ( ontology:political_organization ) } . ?a rdf:type ?p } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:headquarters_location resource:Ormes . { { ?l rdf:type ontology:political_organization } UNION { ?l rdf:type ontology:authority_organ } } } } . FILTER ( ?i = ?r ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q15324 Q1267889 Q20667921
USER
Which french administrative divisions are situated close to atmost 1 bodies of water and waterways ?
(c(Q20667921),P206,c(Q15324)|c(Q1267889))
action atmost
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
value 1
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?z ) WHERE { { ?n property:P206 ?a . ?n rdf:type ontology:Q20667921 . ?a rdf:type ontology:Q15324 } UNION { ?n property:P206 ?a . ?n rdf:type ontology:Q20667921 . ?a rdf:type ontology:Q1267889 } } GROUP BY ?n } . FILTER ( ?z <= 1 ) }
action atmost
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?z ) WHERE { { ?n property:located_next_to_body_of_water ?a . ?n rdf:type ontology:type_of_french_administrative_division . ?a rdf:type ontology:body_of_water } UNION { ?n property:located_next_to_body_of_water ?a . ?n rdf:type ontology:type_of_french_administrative_division . ?a rdf:type ontology:waterway } } GROUP BY ?n } . FILTER ( ?z <= 1 ) }
[]
body of water waterway type of french administrative division
Q30974 Q47045 Q249884
SYSTEM
Rouen, Saint-Denis, Saint-Pierre
Q224023 Q3769 Q665411 Q1649363 Q467030 Q245066 Q956943 Q842027 Q30974 Q877744 Q71356 Q147606 Q429770 Q1221458 Q236736 Q160199 Q266886 Q207253 Q380224 Q675318 Q1014763 Q652100 Q683550 Q1221814 Q849165 Q453263 Q1073039 Q1326390 Q751619 Q921780 Q14112 Q1162138 Q47045 Q1066836 Q391365 Q926768 Q1649370 Q849065 Q1617681 Q654000 Q249884 Q849023 Q769160 Q1031980 Q513962 Q333447 Q1014814 Q662942 Q382048 Q323399 Q70491 Q231180 Q191765 Q738523 Q1164176 Q1075733 Q1217913 Q26583 Q545015 Q478215 Q1757048 Q1014771 Q1014731 Q44401 Q1001582 Q691092 Q662229 Q752535 Q1165029 Q20892 Q273297 Q284445
(c(Q20667921),P206,c(Q15324)|c(Q1267889))
action atmost
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
value 1
[ANSWERS] are situated close to atmost 1 bodies of water and waterways
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?z ) WHERE { { ?n property:P206 ?a . ?n rdf:type ontology:Q20667921 . ?a rdf:type ontology:Q15324 } UNION { ?n property:P206 ?a . ?n rdf:type ontology:Q20667921 . ?a rdf:type ontology:Q1267889 } } GROUP BY ?n } . FILTER ( ?z <= 1 ) }
Penvénan French Guiana Leffrinckoucke Saint-Leu L'Île-Rousse Chouvigny Le Port Rogliano Rouen Le Portel Île-aux-Moines Fort-Mahon-Plage La Possession Saint-Quintin-sur-Sioule Vernon Cherbourg-Octeville Sisco Mantes-la-Jolie Marck Bussières-et-Pruns Trois-Bassins Saint-Philippe Urville-Nacqueville Menat Saint-Bonnet-de-Rochefort Pleumeur-Bodou Poses Petite-Île Sérignan Val-de-Reuil Corsica Isches Saint-Denis Grand-Fort-Philippe Bray-Dunes Tahaa Saint-André Bègues Saint-Louis Monticello Saint-Pierre Mazerier Grande-Synthe Escalles Oye-Plage Aigueperse Les Avirons Sainte-Marie Tardinghen Gravelines Larmor-Baden Zuydcoote Anglet Saint-Gal-sur-Sioule Saint-Léonard La Roche-de-Glun Saint-Agoulin Béhuard Chaptuzat Saint-Benoît Sainte-Suzanne L'Étang-Salé Sainte-Rose Cayenne Batz-sur-Mer Bras-Panon Jenzat Valras-Plage Le Pouliguen Le Mont-Saint-Michel Ébreuil Pontgibaud
Rouen, Saint-Denis and Saint-Pierre are situated close to atmost 1 bodies of water and waterways
Rouen Saint-Denis Saint-Pierre
action atmost
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?z ) WHERE { { ?n property:located_next_to_body_of_water ?a . ?n rdf:type ontology:type_of_french_administrative_division . ?a rdf:type ontology:body_of_water } UNION { ?n property:located_next_to_body_of_water ?a . ?n rdf:type ontology:type_of_french_administrative_division . ?a rdf:type ontology:waterway } } GROUP BY ?n } . FILTER ( ?z <= 1 ) }
[]