Simple Question (Direct)
Simple Question
Q3387324
P21
Q290
USER
What is the sex of Pierre Voélin ?
(Q3387324,P21,c(Q290))
action filter_type
action find
entity Q3387324
relation P21
type Q290
['Q3387324', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3387324 property:P21 ?s . ?s rdf:type ontology:Q290 }
Pierre Voélin
action filter_type
action find
entity Pierre Voélin
relation gender
type sex
['Pierre Voélin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Pierre_Voélin property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3387324,P21,c(Q290))
action filter_type
action find
entity Q3387324
relation P21
type Q290
The sex of Pierre Voélin is the [ANSWER]
['Q3387324', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3387324 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
The sex of Pierre Voélin is the male
male
action filter_type
action find
entity Pierre Voélin
relation gender
type sex
['Pierre Voélin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Pierre_Voélin property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3387324
P551
Q56061
USER
Where did Pierre Voélin live ?
(Q3387324,P551,c(Q56061))
action filter_type
action find
entity Q3387324
relation P551
type Q56061
['Q3387324', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3387324 property:P551 ?h . ?h rdf:type ontology:Q56061 }
Pierre Voélin
action filter_type
action find
entity Pierre Voélin
relation residence
type administrative territorial entity
['Pierre Voélin', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Pierre_Voélin property:residence ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q36378
SYSTEM
Fribourg
Q36378
(Q3387324,P551,c(Q56061))
action filter_type
action find
entity Q3387324
relation P551
type Q56061
Pierre Voélin lived in [ANSWER]
['Q3387324', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3387324 property:P551 ?h . ?h rdf:type ontology:Q56061 }
Fribourg
Pierre Voélin lived in Fribourg
Fribourg
action filter_type
action find
entity Pierre Voélin
relation residence
type administrative territorial entity
['Pierre Voélin', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Pierre_Voélin property:residence ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q3387324
Q13220204
USER
And which administrative country subdivision?
(Q3387324,P551,c(Q13220204))
action filter_type
action find
entity Q3387324
relation P551
type Q13220204
['Q3387324', 'P551', {'concept': 'Q13220204'}]
SELECT DISTINCT ?d WHERE { resource:Q3387324 property:P551 ?d . ?d rdf:type ontology:Q13220204 }
Pierre Voélin
action filter_type
action find
entity Pierre Voélin
relation residence
type second-level administrative country subdivision
['Pierre Voélin', 'residence', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?d WHERE { resource:Pierre_Voélin property:residence ?d . ?d rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q68256
SYSTEM
Porrentruy
Q68256
(Q3387324,P551,c(Q13220204))
action filter_type
action find
entity Q3387324
relation P551
type Q13220204
[ANSWER]
['Q3387324', 'P551', {'concept': 'Q13220204'}]
SELECT DISTINCT ?d WHERE { resource:Q3387324 property:P551 ?d . ?d rdf:type ontology:Q13220204 }
Porrentruy
Porrentruy
action filter_type
action find
entity Pierre Voélin
relation residence
type second-level administrative country subdivision
['Pierre Voélin', 'residence', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?d WHERE { resource:Pierre_Voélin property:residence ?d . ?d rdf:type ontology:second-level_administrative_country_subdivision }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q68256 Q68780
P47
Q13220204
USER
Is Fontenais bordered by Porrentruy ?
(Q68256,P47,Q68780)
action is_in
entity Q68780
action find
entity Q68256
relation P47
['Q68256', 'P47', 'Q68780']
ASK WHERE { resource:Q68256 property:P47 resource:Q68780 }
Porrentruy Fontenais
action is_in
entity Fontenais
action find
entity Porrentruy
relation shares border with
['Porrentruy', 'shares border with', 'Fontenais']
ASK WHERE { resource:Porrentruy property:shares_border_with resource:Fontenais }
[]
second-level administrative country subdivision
SYSTEM
YES
(Q68256,P47,Q68780)
action is_in
entity Q68780
action find
entity Q68256
relation P47
[ANSWER]
['Q68256', 'P47', 'Q68780']
ASK WHERE { resource:Q68256 property:P47 resource:Q68780 }
Yes
action is_in
entity Fontenais
action find
entity Porrentruy
relation shares border with
['Porrentruy', 'shares border with', 'Fontenais']
ASK WHERE { resource:Porrentruy property:shares_border_with resource:Fontenais }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q68256 Q568155
P20
Q502895
USER
How many people expired at Porrentruy or Wahn ?
(c(Q502895),P20,Q68256) (c(Q502895),P20,Q568155)
action count
action union
action filter_type
action find_reverse
entity Q68256
relation P20
type Q502895
action filter_type
action find_reverse
entity Q568155
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q68256'] [{'concept': 'Q502895'}, 'P20', 'Q568155']
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { ?x property:P20 resource:Q68256 . ?x rdf:type ontology:Q502895 } UNION { ?x rdf:type ontology:Q502895 . ?x property:P20 resource:Q568155 } }
Porrentruy Wahn
action count
action union
action filter_type
action find_reverse
entity Porrentruy
relation place of death
type common name
action filter_type
action find_reverse
entity Wahn
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Porrentruy'] [{'concept': 'common name'}, 'place of death', 'Wahn']
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { ?x property:place_of_death resource:Porrentruy . ?x rdf:type ontology:common_name } UNION { ?x rdf:type ontology:common_name . ?x property:place_of_death resource:Wahn } }
[]
common name
SYSTEM
22
Q5503871 Q3023086 Q1575771 Q2849576 Q118947 Q1086255 Q116949 Q2854182 Q3539653 Q1661771 Q1555605 Q2831458 Q3131354 Q1693479 Q109519 Q3131162 Q13527905 Q7519439 Q3165543 Q1819014 Q3188942 Q2958548
(c(Q502895),P20,Q68256) (c(Q502895),P20,Q568155)
action count
action union
action filter_type
action find_reverse
entity Q68256
relation P20
type Q502895
action filter_type
action find_reverse
entity Q568155
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q68256'] [{'concept': 'Q502895'}, 'P20', 'Q568155']
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { ?x property:P20 resource:Q68256 . ?x rdf:type ontology:Q502895 } UNION { ?x rdf:type ontology:Q502895 . ?x property:P20 resource:Q568155 } }
Friedrich Ludwig Franz von Wangen zu Geroldseck Denise Péronne Jean III de Vienne Angi Max Reichpietsch Christoph von Utenheim Jakob Christoph Blarer von Wartensee Antoine Lémane Tristan Solier Johannes Venningen Gustave Amweg Albert Perronne Henri Joseph François Parrat Johann Franz von Schönau-Zell Albin Köbis Henri Garnier Wilhelm Rink von Baldenstein Simon Nikolaus Euseb von Montjoye-Hirsingen Jean-François Comment Leonard Leopold Maldoner Jules Thurmann Charles Beuchat
22
action count
action union
action filter_type
action find_reverse
entity Porrentruy
relation place of death
type common name
action filter_type
action find_reverse
entity Wahn
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Porrentruy'] [{'concept': 'common name'}, 'place of death', 'Wahn']
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { ?x property:place_of_death resource:Porrentruy . ?x rdf:type ontology:common_name } UNION { ?x rdf:type ontology:common_name . ?x property:place_of_death resource:Wahn } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4088396 Q568155
P27 P17
Q1048835
USER
Which political territories are Wahn a part of and are the countries of citizenship of Arvīds Blūmentāls ?
AND((Q568155,P17,c(Q1048835)), (Q4088396,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q568155
relation P17
action find
entity Q4088396
relation P27
type Q1048835
{'AND': [['Q568155', 'P17', {'concept': 'Q1048835'}], ['Q4088396', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . resource:Q568155 property:P17 ?n . resource:Q4088396 property:P27 ?n }
Arvīds Blūmentāls Wahn
action filter_type
action intersection
action find
entity Wahn
relation country
action find
entity Arvīds Blūmentāls
relation country of citizenship
type political territorial entity
{'AND': [['Wahn', 'country', {'concept': 'political territorial entity'}], ['Arvīds Blūmentāls', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . resource:Wahn property:country ?n . resource:Arvīds_Blūmentāls property:country_of_citizenship ?n }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q568155,P17,c(Q1048835)), (Q4088396,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q568155
relation P17
action find
entity Q4088396
relation P27
type Q1048835
[ANSWER] is Wahn a part of and is the countries of citizenship of Arvīds Blūmentāls
{'AND': [['Q568155', 'P17', {'concept': 'Q1048835'}], ['Q4088396', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . resource:Q568155 property:P17 ?n . resource:Q4088396 property:P27 ?n }
Germany
Germany is Wahn a part of and is the countries of citizenship of Arvīds Blūmentāls
Germany
action filter_type
action intersection
action find
entity Wahn
relation country
action find
entity Arvīds Blūmentāls
relation country of citizenship
type political territorial entity
{'AND': [['Wahn', 'country', {'concept': 'political territorial entity'}], ['Arvīds Blūmentāls', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . resource:Wahn property:country ?n . resource:Arvīds_Blūmentāls property:country_of_citizenship ?n }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P291
Q838948 Q2342494
USER
How many works of art or collectables have that political territory as their release location ?
(c(Q838948),P291,Q183) (c(Q2342494),P291,Q183) (c(Q838948),P291,Q183) (c(Q2342494),P291,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P291
type Q838948
action filter_type
action find_reverse
entity Q183
relation P291
type Q2342494
[{'concept': 'Q838948'}, 'P291', 'Q183'] [{'concept': 'Q2342494'}, 'P291', 'Q183'] [{'concept': 'Q838948'}, 'P291', 'Q183'] [{'concept': 'Q2342494'}, 'P291', 'Q183']
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { ?g property:P291 resource:Q183 . ?g rdf:type ontology:Q2342494 } UNION { ?g property:P291 resource:Q183 . ?g rdf:type ontology:Q838948 } }
action count
action union
action filter_type
action find_reverse
entity Germany
relation place of publication
type work of art
action filter_type
action find_reverse
entity Germany
relation place of publication
type collectable
[{'concept': 'work of art'}, 'place of publication', 'Germany'] [{'concept': 'collectable'}, 'place of publication', 'Germany'] [{'concept': 'work of art'}, 'place of publication', 'Germany'] [{'concept': 'collectable'}, 'place of publication', 'Germany']
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { ?g property:place_of_publication resource:Germany . ?g rdf:type ontology:collectable } UNION { ?g property:place_of_publication resource:Germany . ?g rdf:type ontology:work_of_art } }
[]
work of art collectable
SYSTEM
4
Q786908 Q1167344 Q23931111 Q1962934
(c(Q838948),P291,Q183) (c(Q2342494),P291,Q183) (c(Q838948),P291,Q183) (c(Q2342494),P291,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P291
type Q838948
action filter_type
action find_reverse
entity Q183
relation P291
type Q2342494
[ANSWER]
[{'concept': 'Q838948'}, 'P291', 'Q183'] [{'concept': 'Q2342494'}, 'P291', 'Q183'] [{'concept': 'Q838948'}, 'P291', 'Q183'] [{'concept': 'Q2342494'}, 'P291', 'Q183']
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { ?g property:P291 resource:Q183 . ?g rdf:type ontology:Q2342494 } UNION { ?g property:P291 resource:Q183 . ?g rdf:type ontology:Q838948 } }
The 13½ Lives of Captain Bluebear Das Boot One Who Set Forth: Wim Wenders' Early Years Night Train to Lisbon
4
action count
action union
action filter_type
action find_reverse
entity Germany
relation place of publication
type work of art
action filter_type
action find_reverse
entity Germany
relation place of publication
type collectable
[{'concept': 'work of art'}, 'place of publication', 'Germany'] [{'concept': 'collectable'}, 'place of publication', 'Germany'] [{'concept': 'work of art'}, 'place of publication', 'Germany'] [{'concept': 'collectable'}, 'place of publication', 'Germany']
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { ?g property:place_of_publication resource:Germany . ?g rdf:type ontology:collectable } UNION { ?g property:place_of_publication resource:Germany . ?g rdf:type ontology:work_of_art } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q3387324
P551
Q13220204 Q56061
USER
How many administrative country subdivisions or administrative territories did Pierre Voélin reside ?
(Q3387324,P551,c(Q13220204)) (Q3387324,P551,c(Q56061))
action count
action union
action filter_type
action find
entity Q3387324
relation P551
type Q13220204
action filter_type
action find
entity Q3387324
relation P551
type Q56061
['Q3387324', 'P551', {'concept': 'Q13220204'}] ['Q3387324', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { ?n rdf:type ontology:Q13220204 . resource:Q3387324 property:P551 ?n } UNION { resource:Q3387324 property:P551 ?n . ?n rdf:type ontology:Q56061 } }
Pierre Voélin
action count
action union
action filter_type
action find
entity Pierre Voélin
relation residence
type second-level administrative country subdivision
action filter_type
action find
entity Pierre Voélin
relation residence
type administrative territorial entity
['Pierre Voélin', 'residence', {'concept': 'second-level administrative country subdivision'}] ['Pierre Voélin', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { ?n rdf:type ontology:second-level_administrative_country_subdivision . resource:Pierre_Voélin property:residence ?n } UNION { resource:Pierre_Voélin property:residence ?n . ?n rdf:type ontology:administrative_territorial_entity } }
[]
second-level administrative country subdivision administrative territorial entity
SYSTEM
2
Q68256 Q36378
(Q3387324,P551,c(Q13220204)) (Q3387324,P551,c(Q56061))
action count
action union
action filter_type
action find
entity Q3387324
relation P551
type Q13220204
action filter_type
action find
entity Q3387324
relation P551
type Q56061
[ANSWER]
['Q3387324', 'P551', {'concept': 'Q13220204'}] ['Q3387324', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { ?n rdf:type ontology:Q13220204 . resource:Q3387324 property:P551 ?n } UNION { resource:Q3387324 property:P551 ?n . ?n rdf:type ontology:Q56061 } }
Porrentruy Fribourg
2
action count
action union
action filter_type
action find
entity Pierre Voélin
relation residence
type second-level administrative country subdivision
action filter_type
action find
entity Pierre Voélin
relation residence
type administrative territorial entity
['Pierre Voélin', 'residence', {'concept': 'second-level administrative country subdivision'}] ['Pierre Voélin', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { ?n rdf:type ontology:second-level_administrative_country_subdivision . resource:Pierre_Voélin property:residence ?n } UNION { resource:Pierre_Voélin property:residence ?n . ?n rdf:type ontology:administrative_territorial_entity } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P190
Q13220204 Q20667921 Q1048835
USER
Which administrative country subdivisions are partner towns of min number of french administrative divisions or political territories ?
(c(Q20667921)|c(Q1048835),P190,c(Q13220204))
action argmin
action union
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q20667921
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q1048835
[[{'concept': 'Q20667921'}, {'concept': 'Q1048835'}], 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?a ) WHERE { { ?w rdf:type ontology:Q13220204 . ?x rdf:type ontology:Q20667921 . ?x property:P190 ?w } UNION { ?x property:P190 ?w . ?w rdf:type ontology:Q13220204 . ?x rdf:type ontology:Q1048835 } } GROUP BY ?w } . FILTER ( ?a = ?s ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?s ) { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?z ) WHERE { { ?c property:P190 ?u . ?u rdf:type ontology:Q13220204 . ?c rdf:type ontology:Q1048835 } UNION { ?c property:P190 ?u . ?u rdf:type ontology:Q13220204 . ?c rdf:type ontology:Q20667921 } } GROUP BY ?u } } }
action argmin
action union
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type type of french administrative division
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type political territorial entity
[[{'concept': 'type of french administrative division'}, {'concept': 'political territorial entity'}], 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?a ) WHERE { { ?w rdf:type ontology:second-level_administrative_country_subdivision . ?x rdf:type ontology:type_of_french_administrative_division . ?x property:sister_city ?w } UNION { ?x property:sister_city ?w . ?w rdf:type ontology:second-level_administrative_country_subdivision . ?x rdf:type ontology:political_territorial_entity } } GROUP BY ?w } . FILTER ( ?a = ?s ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?s ) { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?z ) WHERE { { ?c property:sister_city ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision . ?c rdf:type ontology:political_territorial_entity } UNION { ?c property:sister_city ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision . ?c rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?u } } }
[]
second-level administrative country subdivision type of french administrative division political territorial entity
Q322986 Q849574 Q255972
SYSTEM
Delfzijl, Loppersum, Eemsmond
Q622819 Q67040 Q67286 Q64224 Q68129 Q67282 Q10082 Q57919 Q57917 Q739449 Q57914 Q64210 Q7123 Q69235 Q193965 Q255972 Q7124 Q2372 Q668869 Q840457 Q57076 Q932155 Q67348 Q3827305 Q70369 Q69726 Q69729 Q13209 Q966804 Q10016 Q160584 Q183029 Q68889 Q729447 Q146497 Q3621436 Q866611 Q65620 Q69099 Q56915 Q68906 Q64567 Q70643 Q161144 Q55180 Q638592 Q5707 Q109483 Q130048 Q133280 Q64961 Q69203 Q615491 Q69590 Q498256 Q1021676 Q54925 Q192119 Q69383 Q1023951 Q64668 Q65268 Q1719466 Q64665 Q56869 Q107392 Q9924 Q9926 Q65797 Q9928 Q66831 Q9880 Q68261 Q66562 Q3947412 Q565290 Q70221 Q110268 Q192606 Q68003 Q64183 Q158904 Q18473 Q69274 Q492115 Q14566 Q209016 Q69071 Q9819 Q9952 Q7903 Q9810 Q69374 Q69783 Q683658 Q67382 Q927703 Q161984 Q147739 Q67544 Q249715 Q691992 Q66381 Q493308 Q1002565 Q208012 Q990448 Q1003757 Q36077 Q69612 Q990365 Q67496 Q67499 Q65510 Q14570 Q64077 Q9774 Q9777 Q70603 Q65195 Q291780 Q27494 Q69754 Q69757 Q67809 Q68986 Q10020 Q65040 Q10024 Q1190659 Q488779 Q66125 Q450625 Q68220 Q1010094 Q72981 Q68959 Q156743 Q39383 Q420333 Q70513 Q48668 Q108999 Q484111 Q584694 Q643576 Q157144 Q69724 Q488975 Q48278 Q925340 Q685990 Q1011435 Q995055 Q156719 Q68250 Q9857 Q68315 Q156711 Q5128 Q68311 Q113740 Q9910 Q67724 Q1663 Q68244 Q252205 Q104379 Q68031 Q500227 Q843899 Q66050 Q66056 Q157440 Q69570 Q565726 Q986107 Q952457 Q484243 Q64156 Q200133 Q67611 Q565312 Q156760 Q46001 Q600871 Q320015 Q636935 Q317943 Q51111 Q58931 Q33292 Q2047414 Q1532373 Q486696 Q5262 Q63905 Q200459 Q156125 Q64908 Q66473 Q281835 Q65497 Q657461 Q69668 Q68165 Q64873 Q10071 Q10073 Q60453 Q659665 Q136498 Q995091 Q507065 Q281137 Q1542478 Q1640 Q70424 Q1639488 Q9791 Q68762 Q157137 Q9796 Q67159 Q565287 Q2201876 Q684630 Q64727 Q64051 Q971700 Q238396 Q64058 Q64482 Q65978 Q69417 Q591719 Q43595 Q1893077 Q9949 Q1010468 Q63939 Q952939 Q1010463 Q48696 Q252098 Q67530 Q980728 Q68665 Q483902 Q33342 Q52193 Q760224 Q110311 Q291333 Q7143 Q69819 Q14641 Q69747 Q69745 Q219193 Q69629 Q217802 Q484057 Q69621 Q484052 Q483877 Q7132 Q1011275 Q483871 Q461142 Q108025 Q721567 Q70295 Q70293 Q52261 Q70204 Q1000404 Q111039 Q10035 Q65981 Q1574897 Q66132 Q3853441 Q488747 Q63986 Q70467 Q9999 Q235190 Q64541 Q108988 Q214913 Q156809 Q732986 Q15582 Q15583 Q66617 Q69967 Q335135 Q758578 Q109005 Q54449 Q493851 Q64099 Q21194 Q554313 Q501518 Q648489 Q1000865 Q1442335 Q68363 Q66814 Q156724 Q9093 Q951897 Q493988 Q9905 Q411715 Q67100 Q70635 Q997796 Q538953 Q917535 Q68026 Q66040 Q66042 Q490462 Q57871 Q65802 Q1135341 Q64461 Q65808 Q101918 Q208764 Q69259 Q9835 Q9833 Q67582 Q73065 Q9850 Q67367 Q27892 Q70308 Q48529 Q110848 Q69706 Q1813743 Q69704 Q9873 Q68319 Q10052 Q9866 Q158923 Q236744 Q856293 Q64504 Q108031 Q1003164 Q69675 Q2326 Q988413 Q57081 Q318018 Q57083 Q48827 Q48732 Q69172 Q2590698 Q488229 Q15340 Q493315 Q70304 Q10043 Q64865 Q10045 Q337497 Q66523 Q157055 Q64219 Q919617 Q66146 Q157053 Q107396 Q744259 Q222755 Q107135 Q691725 Q68471 Q9780 Q2680952 Q109036 Q107351 Q67140 Q1149128 Q485297 Q65512 Q67055 Q62266 Q1435 Q156732 Q156734 Q113595 Q156739 Q109042 Q9970 Q67705 Q69058 Q9872 Q889530 Q109048 Q9978 Q9876 Q9875 Q110431 Q9856 Q67137 Q997421 Q161961 Q652130 Q54062 Q1011303 Q486726 Q69222 Q69227 Q7131 Q249906 Q7133 Q2841 Q146456 Q65421 Q140671 Q48701 Q323774 Q69732 Q1241374 Q62641 Q69734 Q613989 Q10001 Q10003 Q745038 Q70671 Q65107 Q986059 Q3348885 Q939948 Q66457 Q732548 Q69085 Q65732 Q2152317 Q322986 Q6535 Q62823 Q67798 Q579984 Q405252 Q623736 Q66604 Q54939 Q70232 Q65921 Q840632 Q793424 Q493481 Q66211 Q9932 Q109494 Q723246 Q9938 Q66511 Q66518 Q411723 Q109140 Q66890 Q19491 Q66672 Q67278 Q68015 Q216430 Q64178 Q564759 Q57868 Q69512 Q64070 Q57864 Q204905 Q14571 Q57860 Q9803 Q9802 Q952183 Q9806 Q1442359 Q9809 Q9808 Q90597 Q90595 Q2241 Q14592 Q2245 Q243766 Q538407 Q67006 Q70260 Q69426 Q65158 Q43048 Q189161 Q69429 Q67486 Q486677 Q104095 Q109469 Q88806 Q64920 Q3617 Q33544 Q146524 Q484074 Q69160 Q26581 Q68395 Q71727 Q617416 Q33682 Q208259 Q65073 Q10053 Q157725 Q4686 Q2091726 Q107582 Q473529 Q66256 Q66846 Q36160 Q485253 Q851399 Q69114 Q609028 Q146453 Q69690 Q69693 Q69697 Q109021 Q934753 Q500284 Q750594 Q69498 Q826511 Q65506 Q990385 Q66633 Q532572 Q488962 Q69945 Q65508 Q849574 Q1126256 Q504580 Q68305 Q66017 Q156704 Q64334 Q217394 Q574558 Q69180 Q1533546
(c(Q20667921)|c(Q1048835),P190,c(Q13220204))
action argmin
action union
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q20667921
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q1048835
[ANSWERS] are partner towns of min number of french administrative divisions or political territories
[[{'concept': 'Q20667921'}, {'concept': 'Q1048835'}], 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?a ) WHERE { { ?w rdf:type ontology:Q13220204 . ?x rdf:type ontology:Q20667921 . ?x property:P190 ?w } UNION { ?x property:P190 ?w . ?w rdf:type ontology:Q13220204 . ?x rdf:type ontology:Q1048835 } } GROUP BY ?w } . FILTER ( ?a = ?s ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?s ) { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?z ) WHERE { { ?c property:P190 ?u . ?u rdf:type ontology:Q13220204 . ?c rdf:type ontology:Q1048835 } UNION { ?c property:P190 ?u . ?u rdf:type ontology:Q13220204 . ?c rdf:type ontology:Q20667921 } } GROUP BY ?u } } }
Portalegre, Portugal Naters Braggio Opfikon Olten Urtenen-Schönbühl Tholen Arendal Ullensaker Krimpen aan den IJssel Sørum Spreitenbach Sursee Cham Kamianets-Podilskyi Eemsmond Ruswil Kragerø Epesses Tynaarlo Bærum Heumen Gansingen Las Vueltas Fehraltorf Langenthal Rapperswil-Jona Nidau Aleksinac Oldenzaal Sievierodonetsk Sande Vouvry Dobele Berehove Arcatao Commune of Bisoro Tuggen Trimmis Aurskog-Høland Bagnes Buochs Mörel-Filet Alchevsk Zaragoza Province Krāslava Bjelovar Kristiansund Røst Środa Wielkopolska County Felsberg Erlenbach Heerde Leuk Bauska Trigono Guadalajara Province Sisak Hinwil Salcedo, Hermanas Mirabal Reigoldswil Brienz Panevėžys Birsfelden Asker Tønsberg Haarlemmermeer Heemskerk Sirnach Heemstede Bettlach Werkendam Meilen Tübach San José Las Flores, Chalatenango Vila Franca do Campo Le Mont-sur-Lausanne Nedre Eiker Leskovac Claro Küssnacht Korosten Zuchwil Lichtensteig Randaberg Ebikon Santa Marta Münchenbuchsee Boxmeer Opmeer Casablanca Asten Wallisellen Münsingen Franekeradeel Bellmund Santa Fe de Antioquia Fastiv Izmail Malleray Olaine Grocka Kiesen Bjerkreim Madalena Hoogeveen Seixal Municipality Khartsyzk Hạ Long Sevelen Ponte de Sor Municipality Blatten Herzogenbuchsee Bonstetten Horw Wil Weert Venlo Avegno Gordevio Suhr Ísafjarðarbær Zermatt Volketswil Prilly Landiswil St. Moritz Rijssen-Holten Neftenbach Twenterand Vaasa sub-region Tynset Neuenegg Alytus Oftringen Ipiales Wijchen Thalwil Ternopil Bodø Aknīste Val Müstair Spydeberg Røros Averøy Stara Pazova Ypacaraí Vinnytsia Oberwil Lærdal Antioquia - Medellín Kaniv Guaduas Svitlovodsk Velika Plana Kamianske Rorschach Oisterwijk Heiden Uzhhorod Woerden Burgdorf Eidsberg Castricum Vex Split Wohlen Árborg Vadsø Heitenried Vennesla Rheden Menzingen Wittenbach Truskavets Rolle Povoação Alcanena Municipality Nizhyn Bjugn Arbon Chalkida Grosshöchstetten Ribeira Grande Nikopol Alushta Overbetuwe San Juan de Pasto Tukums Nowa Sól County Pereira Harderwijk Berdiansk Palanga Zaltbommel Rygge Riehen Kreuzlingen Póvoa de Varzim Larvik Mutten Lengnau Sirdal Hausen bei Brugg Cartagena Steffisburg Kloten Illnau-Effretikon Borsele Hulst Coevorden Salacgrīva Fuerte Olimpo Aleksandrovac Smallingerland Bratsch Grand-Popo Osijek Saint-Blaise Sosúa Mook en Middelaar Mont-sur-Rolle Kryvyi Rih Kerkrade Kerns São João da Madeira Presidente Franco District Bač, Serbia Allschwil Monthey Stari Grad, Belgrade Epe Köniz Rothrist Dulliken Zweisimmen Novovolynsk Cotonou Bassila Naarden Velas Baden Lingewaard Santa Cruz da Graciosa Fauske New Belgrade Bettingen Domburg Muntelier Karmøy Bila Tserkva Kolomyia Hola Prystan Øvre Eiker Alūksne Schenkon Dürrenroth Emmen Reinach Renens Chop Lohn Stjørdal Hol Binningen Bamble Eigersund Buttisholz Knjaževac Holmestrand Bedum Sarpsborg Quillota Province Schöfflisdorf Merzligen Bex Le Landeron Pryluky Namsos De Bilt Krauchthal Ambalema Erlenbach im Simmental Meanguera, Morazán Kvinesdal Zofingen Vaumarcus Dinkelland Manizales Obersiggenthal Kongsberg Leticia Novyi Rozdil Salaspils Brig Brig-Glis Frick Wangen bei Olten Popayán Auce Sandefjord Vellerat Tysfjord Brugg Vũng Tàu Racibórz County Gran Loznica Vlist Manzanares Laufen Schwerzenbach Kremenchuk Bülach Chiquinquirá Malvik Beverwijk Aizkraukle Lachen Glarus Nord Pamplona La Vega Loures Embd Thierachern Hilterfingen Farsund Skedsmo Hüttlingen Kętrzyn County Neuenhof Buchberg Apeldoorn Katwijk Pontresina Geldrop-Mierlo Etten-Leur Oberdiessbach Veendam Loon op Zand Niederried bei Kallnach Neringa Municipality Cortaillod Trysil Ringerike Brissago Voždovac Münchwilen Valkenswaard Bergün Vianen Sint-Michielsgestel Stryi Tunja Novi Kneževac Auenstein Gjøvik Vila do Porto Zollikofen Notodden Puerto Plata Enebakk Słubice County Frogn Sør-Varanger Meråker Hallau Pantelej Rendalen Hyderabad district Bardu Saas-Balen Utrechtse Heuvelrug Bischofszell IJsselstein Čajetina Füllinsdorf Cherkasy Würenlingen Brus Brenzikofen Chernihiv Leikanger Ludza Ibagué Fredrikstad Renkum Binn Stein Rotterdam Haugesund Hammerfest Radelfingen Krosno County Sauda Oberembrach Massagno Ålesund Zagreb Kherson Oleksandriia, Kirovohrad Oblast Oppdal Rivne Halden Velsen Schmitten Wittnau Uden Chornomorsk Horten Zaanstad Vught Veldhoven Steinkjer Oirschot Elgg Vasylkiv Myrhorod Reykjanesbær Ås Obukhiv Sigdal Aarwangen Orpund Nottwil Águeda Municipality Grosswangen Bogotá Mukacheve Lostorf Ostroh Svelvik Valka Worb Moca Nordkapp Bassersdorf Duiven Deventer Haaksbergen Waalwijk Romainmôtier-Envy Stierva Copargo Sintra Municipality Putten Rafz Lagos Samedan Sigriswil Kastrychnitski District Delfzijl Alta Barranquilla Plaffeien Temerin Oliveira de Azeméis Câmara de Lobos Risch-Rotkreuz Valencia Province Les Bois Grossaffoltern Opsterland Berezhany Flekkefjord Konolfingen Heiloo Odda Santa Tecla, El Salvador Hoorn Olsberg Oberflachs Aizpute Elverum Rüthi Nha Trang Breitenbach Mühleberg Roggwil Levanger Maienfeld Lagoa Oppegård Lyss Dietikon Nesodden Eleusis Kriens Lørenskog Brunssum Echt-Susteren Rijnwoude Beek Palermo Alphen-Chaam Aalburg Tvedestrand Risør Tokke Ettiswil Vinje Bucaramanga Montemor-o-Novo Municipality Lohn-Ammannsegg Féchy Gadmen Stetten Rhodes Trogir Lengnau Eggerberg Dovre Molde Askim Bykle Breil/Brigels Karlovac Volodymyr-Volynskyi Yaremche Nord-Aurdal Bolligen Thái Nguyên Neerach Irpin Kovin Nam Định Ameland Brienz/Brinzauls Wijk bij Duurstede Chernivtsi Slavonski Brod Pukhavichy District Cēsis Fjell Hünenberg Lotzwil Hội An Stord Strenči Trubschachen Antratsyt Kalush Ittigen Saas-Fee Lutry Moss Buga Orkdal Guarda Giubiasco Montijo Municipality Flawil Horta Kilchberg Mariquita, Tolima Hægebostad Müntschemier Balgach Loppersum Hajnówka County Chaves Municipality Wetzikon Lütschental Kovel Berikon Barreiro Heerenveen Stetten Norðurþing
Delfzijl, Loppersum and Eemsmond are partner towns of min number of french administrative divisions or political territories
Delfzijl Loppersum Eemsmond
action argmin
action union
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type type of french administrative division
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type political territorial entity
[[{'concept': 'type of french administrative division'}, {'concept': 'political territorial entity'}], 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?a ) WHERE { { ?w rdf:type ontology:second-level_administrative_country_subdivision . ?x rdf:type ontology:type_of_french_administrative_division . ?x property:sister_city ?w } UNION { ?x property:sister_city ?w . ?w rdf:type ontology:second-level_administrative_country_subdivision . ?x rdf:type ontology:political_territorial_entity } } GROUP BY ?w } . FILTER ( ?a = ?s ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?s ) { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?z ) WHERE { { ?c property:sister_city ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision . ?c rdf:type ontology:political_territorial_entity } UNION { ?c property:sister_city ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision . ?c rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?u } } }
[]