Simple Question (Direct)
Simple Question
Q1351945
P937
Q56061
USER
What is the work location of Erich Behrendt ?
(Q1351945,P937,c(Q56061))
action filter_type
action find
entity Q1351945
relation P937
type Q56061
['Q1351945', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q1351945 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Erich Behrendt
action filter_type
action find
entity Erich Behrendt
relation work location
type administrative territorial entity
['Erich Behrendt', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Erich_Behrendt property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1351945,P937,c(Q56061))
action filter_type
action find
entity Q1351945
relation P937
type Q56061
The work location of Erich Behrendt is in [ANSWER]
['Q1351945', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q1351945 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Berlin
The work location of Erich Behrendt is in Berlin
Berlin
action filter_type
action find
entity Erich Behrendt
relation work location
type administrative territorial entity
['Erich Behrendt', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Erich_Behrendt property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1351945
P102
Q7210356
USER
Which party does that person belong to ?
(Q64,P102,c(Q7210356))
action filter_type
action find
entity Q1351945
relation P102
type Q7210356
['Q64', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q1351945 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Erich Behrendt
action filter_type
action find
entity Erich Behrendt
relation member of political party
type political organization
['Berlin', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Erich_Behrendt property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q64,P102,c(Q7210356))
action filter_type
action find
entity Q1351945
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q64', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q1351945 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Nazi Party
That person belongs to Nazi Party
Nazi Party
action filter_type
action find
entity Erich Behrendt
relation member of political party
type political organization
['Berlin', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Erich_Behrendt property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7320
P272
Q838948
USER
Which work of art was released from the production company named that political organization ?
(c(Q838948),P272,Q7320)
action filter_type
action find_reverse
entity Q7320
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q7320']
SELECT DISTINCT ?c WHERE { ?c property:P272 resource:Q7320 . ?c rdf:type ontology:Q838948 }
Nazi Party
action filter_type
action find_reverse
entity Nazi Party
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Nazi Party']
SELECT DISTINCT ?c WHERE { ?c property:production_company resource:Nazi_Party . ?c rdf:type ontology:work_of_art }
[]
work of art
Q3731163
SYSTEM
Erbkrank
Q3731163
(c(Q838948),P272,Q7320)
action filter_type
action find_reverse
entity Q7320
relation P272
type Q838948
[ANSWER] was released from the production company named that political organization
[{'concept': 'Q838948'}, 'P272', 'Q7320']
SELECT DISTINCT ?c WHERE { ?c property:P272 resource:Q7320 . ?c rdf:type ontology:Q838948 }
Erbkrank
Erbkrank was released from the production company named that political organization
Erbkrank
action filter_type
action find_reverse
entity Nazi Party
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Nazi Party']
SELECT DISTINCT ?c WHERE { ?c property:production_company resource:Nazi_Party . ?c rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64
P127
Q2668072
USER
Which collection is under posessision of Berlin ?
(c(Q2668072),P127,Q64)
action filter_type
action find_reverse
entity Q64
relation P127
type Q2668072
[{'concept': 'Q2668072'}, 'P127', 'Q64']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2668072 . ?c property:P127 resource:Q64 }
Berlin
action filter_type
action find_reverse
entity Berlin
relation owned by
type collection
[{'concept': 'collection'}, 'owned by', 'Berlin']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:collection . ?c property:owned_by resource:Berlin }
[]
collection
Q568767
SYSTEM
Bröhan Museum
Q568767
(c(Q2668072),P127,Q64)
action filter_type
action find_reverse
entity Q64
relation P127
type Q2668072
[ANSWER] is under posessision of Berlin
[{'concept': 'Q2668072'}, 'P127', 'Q64']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2668072 . ?c property:P127 resource:Q64 }
Bröhan Museum
Bröhan Museum is under posessision of Berlin
Bröhan Museum
action filter_type
action find_reverse
entity Berlin
relation owned by
type collection
[{'concept': 'collection'}, 'owned by', 'Berlin']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:collection . ?c property:owned_by resource:Berlin }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64
P740
Q2088357
USER
What are the musical ensembles that were formed at that administrative territory ?
(c(Q2088357),P740,Q568767)
action filter_type
action find_reverse
entity Q64
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q568767']
SELECT DISTINCT ?u WHERE { ?u property:P740 resource:Q64 . ?u rdf:type ontology:Q2088357 }
Berlin
action filter_type
action find_reverse
entity Berlin
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Bröhan Museum']
SELECT DISTINCT ?u WHERE { ?u property:location_of_formation resource:Berlin . ?u rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q25177 Q316873 Q821937
SYSTEM
Rammstein, Blutengel, Berlins Most Wanted
Q821937 Q18353442 Q15822417 Q547641 Q707095 Q24045282 Q24246455 Q639424 Q669745 Q25177 Q1718138 Q1325980 Q427498 Q5176876 Q15835180 Q325657 Q700817 Q4052724 Q4733807 Q1147889 Q314991 Q316873 Q873704 Q395327 Q1800736 Q5395971 Q7784103
(c(Q2088357),P740,Q568767)
action filter_type
action find_reverse
entity Q64
relation P740
type Q2088357
The musical ensembles that were formed at that administrative territory are [ANSWERS]
[{'concept': 'Q2088357'}, 'P740', 'Q568767']
SELECT DISTINCT ?u WHERE { ?u property:P740 resource:Q64 . ?u rdf:type ontology:Q2088357 }
Berlins Most Wanted Laurence and the Slab Boys Kadavar In Legend Culcha Candela SXTN AK Ausserkontrolle The Whitest Boy Alive The Ocean Rammstein K.I.Z. Electrocute Kluster Counter-World Experience Mighty Oaks War from a Harlots Mouth Ash Ra Tempel Virtual Embrace Almighty Defenders Cyminology The Lords Blutengel Gods of Blitz Agonoize Laing Eruption Thieves Like Us
The musical ensembles that were formed at that administrative territory are Rammstein, Blutengel and Berlins Most Wanted
Rammstein Blutengel Berlins Most Wanted
action filter_type
action find_reverse
entity Berlin
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Bröhan Museum']
SELECT DISTINCT ?u WHERE { ?u property:location_of_formation resource:Berlin . ?u rdf:type ontology:musical_ensemble }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16031506 Q1351945
P27
Q1048835
USER
Which political territories are the native countriesof Erich Behrendt or Henry Williams ?
OR((Q1351945,P27,c(Q1048835)), (Q16031506,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1351945
relation P27
action find
entity Q16031506
relation P27
type Q1048835
{'OR': [['Q1351945', 'P27', {'concept': 'Q1048835'}], ['Q16031506', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q1351945 property:P27 ?a } UNION { resource:Q16031506 property:P27 ?a } } . ?a rdf:type ontology:Q1048835 }
Henry Williams Erich Behrendt
action filter_type
action union
action find
entity Erich Behrendt
relation country of citizenship
action find
entity Henry Williams
relation country of citizenship
type political territorial entity
{'OR': [['Erich Behrendt', 'country of citizenship', {'concept': 'political territorial entity'}], ['Henry Williams', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Erich_Behrendt property:country_of_citizenship ?a } UNION { resource:Henry_Williams property:country_of_citizenship ?a } } . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q183
SYSTEM
New Zealand, Germany
Q664 Q183
OR((Q1351945,P27,c(Q1048835)), (Q16031506,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1351945
relation P27
action find
entity Q16031506
relation P27
type Q1048835
[ANSWERS] are the native countriesof Erich Behrendt or Henry Williams
{'OR': [['Q1351945', 'P27', {'concept': 'Q1048835'}], ['Q16031506', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q1351945 property:P27 ?a } UNION { resource:Q16031506 property:P27 ?a } } . ?a rdf:type ontology:Q1048835 }
New Zealand Germany
New Zealand and Germany are the native countriesof Erich Behrendt or Henry Williams
New Zealand Germany
action filter_type
action union
action find
entity Erich Behrendt
relation country of citizenship
action find
entity Henry Williams
relation country of citizenship
type political territorial entity
{'OR': [['Erich Behrendt', 'country of citizenship', {'concept': 'political territorial entity'}], ['Henry Williams', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Erich_Behrendt property:country_of_citizenship ?a } UNION { resource:Henry_Williams property:country_of_citizenship ?a } } . ?a rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6807222
P17
Q12280
USER
Are Medley Footbridge located in those political territories ?
(Q6807222,P17,Q664) (Q6807222,P17,Q183)
action is_in
entity prev_answer
action find
entity Q6807222
relation P17
['Q6807222', 'P17', 'Q664'] ['Q6807222', 'P17', 'Q183']
ASK WHERE { VALUES ( ?n ) { ( resource:Q664 ) ( resource:Q183 ) } . resource:Q6807222 property:P17 ?n }
Medley Footbridge
action is_in
entity prev_answer
action find
entity Medley Footbridge
relation country
['Medley Footbridge', 'country', 'New Zealand'] ['Medley Footbridge', 'country', 'Germany']
ASK WHERE { VALUES ( ?n ) { ( resource:New_Zealand ) ( resource:Germany ) } . resource:Medley_Footbridge property:country ?n }
[]
bridge
SYSTEM
NO
(Q6807222,P17,Q664) (Q6807222,P17,Q183)
action is_in
entity prev_answer
action find
entity Q6807222
relation P17
[ANSWER]
['Q6807222', 'P17', 'Q664'] ['Q6807222', 'P17', 'Q183']
ASK WHERE { VALUES ( ?n ) { ( resource:Q664 ) ( resource:Q183 ) } . resource:Q6807222 property:P17 ?n }
No
action is_in
entity prev_answer
action find
entity Medley Footbridge
relation country
['Medley Footbridge', 'country', 'New Zealand'] ['Medley Footbridge', 'country', 'Germany']
ASK WHERE { VALUES ( ?n ) { ( resource:New_Zealand ) ( resource:Germany ) } . resource:Medley_Footbridge property:country ?n }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19344276 Q7320
P276 P159
Q56061
USER
Which administrative territories are the HQ of Nazi Party or are Merodestraat situated ?
OR((Q7320,P159,c(Q56061)), (Q19344276,P276,c(Q56061)))
action filter_type
action union
action find
entity Q7320
relation P159
action find
entity Q19344276
relation P276
type Q56061
{'OR': [['Q7320', 'P159', {'concept': 'Q56061'}], ['Q19344276', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q7320 property:P159 ?d } UNION { resource:Q19344276 property:P276 ?d } } . ?d rdf:type ontology:Q56061 }
Merodestraat Nazi Party
action filter_type
action union
action find
entity Nazi Party
relation headquarters location
action find
entity Merodestraat
relation location
type administrative territorial entity
{'OR': [['Nazi Party', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Merodestraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Nazi_Party property:headquarters_location ?d } UNION { resource:Merodestraat property:location ?d } } . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1726 Q9871
SYSTEM
Munich, Tilburg
Q1726 Q9871
OR((Q7320,P159,c(Q56061)), (Q19344276,P276,c(Q56061)))
action filter_type
action union
action find
entity Q7320
relation P159
action find
entity Q19344276
relation P276
type Q56061
[ANSWERS] are the HQ of Nazi Party or are Merodestraat situated
{'OR': [['Q7320', 'P159', {'concept': 'Q56061'}], ['Q19344276', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q7320 property:P159 ?d } UNION { resource:Q19344276 property:P276 ?d } } . ?d rdf:type ontology:Q56061 }
Munich Tilburg
Munich and Tilburg are the HQ of Nazi Party or are Merodestraat situated
Munich Tilburg
action filter_type
action union
action find
entity Nazi Party
relation headquarters location
action find
entity Merodestraat
relation location
type administrative territorial entity
{'OR': [['Nazi Party', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Merodestraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Nazi_Party property:headquarters_location ?d } UNION { resource:Merodestraat property:location ?d } } . ?d rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q615722
P190
Q515 Q486972 Q1048835
USER
Which political territories are sister town of less number of cities and human settlements than Santa Fe ?
(c(Q1048835),P190,c(Q515)|c(Q486972))
action less
action union
action find_tuple_counts
relation P190
type Q1048835
type Q515
action find_tuple_counts
relation P190
type Q1048835
type Q486972
action count
action filter_multi_types
action find
entity Q615722
relation P190
type Q515
type Q486972
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q515'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?g WHERE { { ?g rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q515 . ?g property:P190 ?t } UNION { ?g property:P190 ?t . ?g rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q486972 } } GROUP BY ?g } . FILTER ( ?b < ?f ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Q615722 property:P190 ?m . { { ?m rdf:type ontology:Q515 } UNION { ?m rdf:type ontology:Q486972 } } } } }
Santa Fe
action less
action union
action find_tuple_counts
relation sister city
type political territorial entity
type city
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
action count
action filter_multi_types
action find
entity Santa Fe
relation sister city
type city
type human settlement
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'city'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?g WHERE { { ?g rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:city . ?g property:sister_city ?t } UNION { ?g property:sister_city ?t . ?g rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:human_settlement } } GROUP BY ?g } . FILTER ( ?b < ?f ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Santa_Fe property:sister_city ?m . { { ?m rdf:type ontology:city } UNION { ?m rdf:type ontology:human_settlement } } } } }
[]
city human settlement political territorial entity
Q763 Q5826 Q778
SYSTEM
Saint Kitts and Nevis, Xi'an, The Bahamas
Q473250 Q484717 Q1442814 Q5963 Q1628188 Q36947 Q1794732 Q15473 Q484552 Q15471 Q786126 Q1643855 Q13010 Q927931 Q147774 Q1765078 Q6022 Q910410 Q2101408 Q5913 Q187826 Q1312844 Q2047561 Q1391501 Q207111 Q164197 Q926713 Q15619 Q321331 Q1853429 Q667682 Q686837 Q476793 Q919050 Q8554 Q12590 Q433632 Q12595 Q842713 Q1649476 Q210887 Q659450 Q189952 Q693258 Q644891 Q12153 Q4480 Q15470 Q1312654 Q168376 Q496368 Q686304 Q624967 Q11286 Q20937 Q13150 Q496588 Q13156 Q496424 Q824651 Q208669 Q8602 Q15430 Q984508 Q7909 Q109188 Q7902 Q538809 Q7905 Q815631 Q7907 Q12339 Q63004 Q277302 Q1021521 Q642083 Q752280 Q326651 Q41157 Q899884 Q1750915 Q832246 Q542958 Q2566267 Q752137 Q164867 Q12647 Q1793709 Q499922 Q1655081 Q376393 Q3741 Q2392504 Q1161455 Q34028 Q211889 Q820229 Q226009 Q54902 Q840362 Q427330 Q596761 Q1439157 Q398698 Q1616611 Q505610 Q12110 Q1621191 Q13916 Q487268 Q13424 Q535531 Q49581 Q180200 Q1637478 Q1407143 Q13521 Q1606055 Q787022 Q1101945 Q844784 Q694833 Q5123 Q1110343 Q4970 Q1769167 Q13785 Q193780 Q574340 Q178993 Q15950 Q3850873 Q161945 Q64010 Q140203 Q917693 Q485129 Q156819 Q1757489 Q258722 Q1614754 Q1613282 Q375925 Q550974 Q254699 Q956558 Q12690 Q824122 Q1010314 Q1915208 Q741765 Q478818 Q102848 Q15602 Q737161 Q1410782 Q583280 Q1750269 Q180981 Q695889 Q15174 Q1651727 Q489839 Q740833 Q487801 Q13855 Q1730870 Q12587 Q15649 Q592747 Q913492 Q1786658 Q750968 Q12022 Q12028 Q500494 Q10436 Q1919317 Q1771128 Q1635711 Q3397684 Q205681 Q428954 Q48344 Q1650316 Q748078 Q11822 Q15429 Q798747 Q8184 Q8182 Q691525 Q980131 Q33961 Q1758806 Q616621 Q1651638 Q7898 Q188905 Q735759 Q583032 Q739495 Q7894 Q15551 Q15553 Q1386351 Q973325 Q15558 Q462218 Q937763 Q898563 Q371748 Q817960 Q693913 Q641221 Q167436 Q12812 Q1763754 Q840373 Q767222 Q1763574 Q170322 Q42956 Q55480 Q189848 Q1641529 Q12102 Q12101 Q761735 Q281272 Q1757392 Q192370 Q377244 Q847329 Q216802 Q1993019 Q13922 Q604810 Q512009 Q497801 Q1601699 Q131620 Q385017 Q12075 Q221749 Q1917834 Q1632577 Q572800 Q639422 Q170247 Q47475 Q11492 Q642046 Q4068849 Q1754551 Q1024828 Q844038 Q1807777 Q492533 Q845424 Q487096 Q491667 Q638181 Q1648251 Q623685 Q622836 Q622830 Q672483 Q748867 Q15968 Q993466 Q1639365 Q430147 Q15639 Q427505 Q1758141 Q2004395 Q6178 Q13490 Q13491 Q836948 Q936624 Q1641454 Q534483 Q1605505 Q555913 Q995637 Q465085 Q729958 Q12034 Q468563 Q2967 Q856583 Q918586 Q944264 Q943431 Q2099330 Q632621 Q581589 Q932808 Q122208 Q696797 Q1616138 Q1794121 Q1229949 Q1751908 Q18288148 Q763 Q502975 Q1998520 Q477311 Q207257 Q15652 Q984529 Q1228759 Q488555 Q49571 Q983473 Q695456 Q755695 Q3586 Q1026229 Q92161 Q851020 Q643919 Q1312465 Q10863 Q5978 Q515016 Q714538 Q928094 Q825883 Q668324 Q582995 Q697126 Q11720 Q484981 Q1272870 Q1651692 Q1649698 Q385923 Q677038 Q12534 Q501674 Q1767561 Q550985 Q13804 Q741749 Q1628531 Q1601614 Q353618 Q42780 Q10445 Q574869 Q919046 Q497692 Q984821 Q837051 Q13936 Q2064788 Q13930 Q619692 Q1641746 Q15597 Q23042 Q1637309 Q1998560 Q211925 Q5783 Q5785 Q835012 Q976534 Q1368982 Q202316 Q13149 Q290824 Q13755 Q986084 Q2244278 Q1368868 Q12711 Q1982975 Q13614 Q817302 Q6839 Q1630141 Q1757428 Q7911 Q596885 Q77433 Q318314 Q1646869 Q927800 Q749696 Q41161 Q28301 Q1613587 Q929759 Q622823 Q983433 Q15974 Q830776 Q242906 Q1228035 Q15623 Q15622 Q15621 Q3303729 Q15626 Q5826 Q10485 Q671272 Q1657213 Q240 Q1607392 Q1605519 Q904212 Q946068 Q192387 Q2044406 Q842211 Q1242382 Q203040 Q201149 Q68744 Q12335 Q229659 Q904130 Q13022 Q13159 Q778 Q15408 Q1751916 Q714613 Q1768489 Q646564 Q47593 Q215822 Q984642
(c(Q1048835),P190,c(Q515)|c(Q486972))
action less
action union
action find_tuple_counts
relation P190
type Q1048835
type Q515
action find_tuple_counts
relation P190
type Q1048835
type Q486972
action count
action filter_multi_types
action find
entity Q615722
relation P190
type Q515
type Q486972
[ANSWERS] are sister town of less number of cities and human settlements than Santa Fe
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q515'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?g WHERE { { ?g rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q515 . ?g property:P190 ?t } UNION { ?g property:P190 ?t . ?g rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q486972 } } GROUP BY ?g } . FILTER ( ?b < ?f ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Q615722 property:P190 ?m . { { ?m rdf:type ontology:Q515 } UNION { ?m rdf:type ontology:Q486972 } } } } }
Macaé San Sebastián de los Reyes Mazaricos Hanover region Cangas Salvador Maracanaú Santa Coloma de Gramenet Algeciras Sant Adrià de Besòs Mundaka Monroy Arbúcies Cabra Zarautz Urussanga Göttingen Tres Cantos Guimarães Lüchow-Dannenberg Móstoles Alberic Cerdà Briviesca North Lanarkshire Coslada Parintins El Prat de Llobregat Novo Hamburgo Valverde Peñafiel, Spain Karrantza Arévalo Molina de Aragón Rhein-Pfalz-Kreis Malgrat de Mar Santa Cruz de La Palma Palafolls Itajaí Algemesí Sanlúcar de Barrameda Santarém Lääne-Viru County San Bartolomé de Tirajana Ruente Vilafant Balmaseda L'Hospitalet de Llobregat Carlet Vitória Wrexham Itambé Arafo Castelló d'Empúries Gyeonggi Province Torrox Oñati Montilla Calatayud Parla Maringá Westerwaldkreis Mollet del Vallès Sant Sadurní d'Anoia Main-Taunus-Kreis Pelotas Marburg-Biedenkopf Peligros Lahn-Dill-Kreis Belinho Rheingau-Taunus-Kreis Sant Joan de les Abadesses Tocina Chiclana de la Frontera São João de Loure Arnedo Almagro, Ciudad Real Pomerode North Jeolla Province Ciutadella de Menorca Callosa de Segura Duruelo de la Sierra Torrelodones San Borja Tàrrega Rügen Vielha e Mijaran Iúna, Espírito Santo Porto Seguro Pastrana Brieskow-Finkenheerd Special Region of Yogyakarta Barreiro Macael Diamantina, Minas Gerais East Dunbartonshire Tomelloso Encantado Fuenlabrada Mondoñedo Salobreña Malpica de Bergantiños Criciúma Salvatierra/Agurain Crevillent Flintshire Arenys de Mar A Estrada Barberà del Vallès Candelaria Cassà de la Selva Farroupilha Jaca Harju County Quaraí Santa Amalia Sant Feliu de Guíxols Caudete Autol Veranópolis Vale of Glamorgan Gramado Monzón Vélez-Rubio Hangzhou Cigales Cavite Almuñécar Las Gabias Palmas Igualada Rivne Torrent Caspe Zafra Santana do Livramento Burgo de Osma-Ciudad de Osma Joinville Cehegín Canals Medina de Pomar Alcaudete Vila Nova de Cerveira Atarfe Alanís Sádaba Sort Tui Museros Torredonjimeno San Fernando São José dos Pinhais Paiporta Cornellà de Llobregat Calanda Iznalloz Uncastillo Nova Pádua Kirovohrad Oblast Alfaro, La Rioja Shenzhen Pedrajas de San Esteban Torrejón de Ardoz Santa Maria Barakaldo Vic Oliveira do Douro, Vila Nova de Gaia Santa Susanna Sant Vicenç dels Horts Las Rozas de Madrid Manilva Casca, Rio Grande do Sul Segorbe Montgat Teià Padrón Kulmbach Benifaió Carcaixent Abanilla Pontarddulais Cascavel Los Palacios y Villafranca Recife Villafeliche Neath Port Talbot County Borough Roses Martorelles Mondorf-les-Bains Enz Rastatt Villa El Salvador District Massaranduba, Santa Catarina Aratiba Arroio do Meio Escalona Cella Hersfeld-Rotenburg Ouro Preto Collado Villalba Maracena Vilanova de Arousa Schwalm-Eder-Kreis Sitges Vilanova i la Geltrú Alcalá del Río Villanueva de la Cañada Cubelles Governador Valadares Graus Valdepeñas San Lorenzo de El Escorial Rhondda Cynon Taf Medina del Campo Viveiro João Pessoa Tortosa Bigastro Valdemoro Clavijo São Mateus, Espírito Santo Qingdao Harbin Colmenar Viejo Guernica Mora Caldes d'Estrac Arenys de Munt Montblanc Linares Ilópolis Tartu County Catoira Comillas Falkirk Meliana Cerdanyola del Vallès Markina-Xemein San Sebastián de La Gomera Tolosa Villamanrique de la Condesa Natal Valencia de Don Juan Vilassar de Dalt Torrevieja Albaida Benalup-Casas Viejas Alcañiz Pozuelo de Alarcón Jinan Sigüenza Mataró Calahorra Argoncilhe Mostardas Luso Valverde del Camino Itiúba Andorra Peniscola Reus San Vicente del Raspeig / Sant Vicent del Raspeig Alcalá la Real Medina de Rioseco Ólvega Teresópolis Caruaru Ordizia Baiona Santa Margarita de Montbui Santa Cruz Cabrália La Muela Teror Sant Feliu de Llobregat Majadahonda São Pedro do Butiá Piraquara Oder-Spree Palafrugell Palamós Toro Fuentepelayo Calatorao Barcarrota Celanova Castril Torredembarra Almadén Mochola Alella Nova Friburgo Rendsburg-Eckernförde Gaspar, Santa Catarina Oliva Tacoronte, Santa Cruz de Tenerife Granadilla de Abona Vicente López Partido Archena Oyón-Oion Ormaiztegi Olocau Balaguer Pilas Aquiraz El Perelló San Martín de Valdeiglesias Metropolitan City of Florence Saint Kitts and Nevis Barbastro L'Eliana Amposta East Lothian Viladecans Cariñena La Unión Baeza Sos del Rey Católico Novelda Bailén Fuenmayor East Java Miraflores Changchun Xàbia Torfaen County Borough Benifairó de la Valldigna Picassent Hildesheim Castuera Zapsonj Ponta Porã Valls San Adrián Lanjarón Bridgend County Borough Shenyang Láchar Santiago de Figueiró Tudela de Duero Alaquàs Alcúdia San Miguel de Abona Sant Pol de Mar Alhama de Granada Valverde de Júcar Armilla Manlleu Chipiona Quintanar de la Orden Gerena Adeje Ningbo Forchheim Pedrola Consuegra Arganda del Rey Onda Mequinenza Sant Cugat del Vallès Lapa Almansa La Zubia Huelma Castelldefels Paterna Ezcaray Blanca East Renfrewshire Andalusia Cayman Islands Vilafranca del Penedès Castrillo Mota de Judíos Azuaga Foz do Iguaçu Nerja Ondara Bulacan Bétera Tías, Las Palmas Berantevilla Vall de Boí Los Alcázares Banyoles Benicarló Figueres Sayalonga Monte Belo do Sul Main-Kinzig-Kreis Blaenau Gwent County Borough Leganés Ipatinga Les Alqueries Bronniki Albalat de la Ribera South Jeolla Province Olinda Fregenal de la Sierra El Vendrell Uruguaiana Güímar Vilanova del Camí Yanoshi Ponta Grossa Ugao-Miraballes Martorell Gavà Esplugues de Llobregat Magdalena del Mar Olesa de Montserrat Xi'an Deggendorf Calp Venta de Baños Brussels Madridejos Zuera Fraga Lezama Londrina L'Alcúdia San Fernando de Henares Elorrio El Puerto de Santa María Fife Xiamen Ripoll Zumaia Ribeira Amer Cañete la Real The Bahamas Castellterçol Villanueva del Pardillo Serne Utrillas Santo Domingo de la Calzada Belém Puertollano Canfranc
Saint Kitts and Nevis, Xi'an and The Bahamas are sister town of less number of cities and human settlements than Santa Fe
Saint Kitts and Nevis Xi'an The Bahamas
action less
action union
action find_tuple_counts
relation sister city
type political territorial entity
type city
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
action count
action filter_multi_types
action find
entity Santa Fe
relation sister city
type city
type human settlement
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'city'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?g WHERE { { ?g rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:city . ?g property:sister_city ?t } UNION { ?g property:sister_city ?t . ?g rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:human_settlement } } GROUP BY ?g } . FILTER ( ?b < ?f ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Santa_Fe property:sister_city ?m . { { ?m rdf:type ontology:city } UNION { ?m rdf:type ontology:human_settlement } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q193780
P190
Q515 Q486972 Q1048835
USER
And also tell me about Almuñécar?
(c(Q1048835),P190,c(Q515)|c(Q486972))
action less
action union
action find_tuple_counts
relation P190
type Q1048835
type Q515
action find_tuple_counts
relation P190
type Q1048835
type Q486972
action count
action filter_multi_types
action find
entity Q193780
relation P190
type Q515
type Q486972
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q515'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?w WHERE { { ?w property:P190 ?z . ?z rdf:type ontology:Q515 . ?w rdf:type ontology:Q1048835 } UNION { ?w property:P190 ?z . ?w rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q486972 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q193780 property:P190 ?t . { { ?t rdf:type ontology:Q515 } UNION { ?t rdf:type ontology:Q486972 } } } } . FILTER ( ?a < ?i ) }
Almuñécar
action less
action union
action find_tuple_counts
relation sister city
type political territorial entity
type city
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
action count
action filter_multi_types
action find
entity Almuñécar
relation sister city
type city
type human settlement
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'city'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?w WHERE { { ?w property:sister_city ?z . ?z rdf:type ontology:city . ?w rdf:type ontology:political_territorial_entity } UNION { ?w property:sister_city ?z . ?w rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:human_settlement } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Almuñécar property:sister_city ?t . { { ?t rdf:type ontology:city } UNION { ?t rdf:type ontology:human_settlement } } } } . FILTER ( ?a < ?i ) }
[]
city human settlement political territorial entity
Q763 Q778 Q761735
SYSTEM
Saint Kitts and Nevis, The Bahamas, Montblanc
Q473250 Q484717 Q1442814 Q1628188 Q36947 Q1794732 Q15473 Q484552 Q15471 Q786126 Q1643855 Q13010 Q927931 Q147774 Q1765078 Q6022 Q910410 Q2101408 Q5913 Q187826 Q1312844 Q2047561 Q1391501 Q207111 Q164197 Q15619 Q321331 Q1853429 Q667682 Q686837 Q476793 Q919050 Q8554 Q12590 Q12595 Q1649476 Q210887 Q659450 Q189952 Q693258 Q644891 Q12153 Q4480 Q15470 Q496368 Q686304 Q624967 Q11286 Q20937 Q13150 Q13156 Q496424 Q824651 Q208669 Q8602 Q15430 Q984508 Q7909 Q109188 Q7902 Q538809 Q7905 Q815631 Q7907 Q63004 Q277302 Q1021521 Q642083 Q752280 Q326651 Q41157 Q899884 Q1750915 Q832246 Q542958 Q2566267 Q752137 Q12647 Q1793709 Q499922 Q1655081 Q376393 Q3741 Q2392504 Q1161455 Q34028 Q211889 Q820229 Q226009 Q54902 Q840362 Q427330 Q596761 Q1439157 Q398698 Q1616611 Q505610 Q12110 Q1621191 Q13916 Q487268 Q13424 Q535531 Q49581 Q180200 Q1637478 Q1407143 Q1606055 Q787022 Q1101945 Q844784 Q694833 Q5123 Q1110343 Q13785 Q574340 Q178993 Q15950 Q3850873 Q161945 Q64010 Q140203 Q917693 Q156819 Q1757489 Q258722 Q1614754 Q1613282 Q375925 Q550974 Q254699 Q956558 Q12690 Q824122 Q1010314 Q1915208 Q741765 Q102848 Q15602 Q737161 Q1410782 Q583280 Q1750269 Q695889 Q1651727 Q740833 Q487801 Q13855 Q1730870 Q15649 Q592747 Q913492 Q1786658 Q750968 Q12022 Q12028 Q500494 Q1919317 Q1771128 Q1635711 Q3397684 Q205681 Q428954 Q48344 Q1650316 Q11822 Q15429 Q798747 Q8182 Q691525 Q980131 Q33961 Q1758806 Q616621 Q1651638 Q7898 Q735759 Q583032 Q739495 Q7894 Q15551 Q15553 Q1386351 Q973325 Q15558 Q462218 Q937763 Q898563 Q371748 Q817960 Q693913 Q641221 Q167436 Q12812 Q1763754 Q767222 Q1763574 Q55480 Q1641529 Q12102 Q12101 Q761735 Q1757392 Q192370 Q377244 Q847329 Q216802 Q1993019 Q13922 Q604810 Q512009 Q497801 Q1601699 Q131620 Q385017 Q12075 Q1632577 Q47475 Q11492 Q642046 Q4068849 Q1754551 Q1024828 Q844038 Q1807777 Q492533 Q845424 Q487096 Q491667 Q638181 Q1648251 Q623685 Q622836 Q622830 Q672483 Q748867 Q15968 Q993466 Q1639365 Q430147 Q15639 Q427505 Q1758141 Q2004395 Q6178 Q13490 Q13491 Q836948 Q936624 Q1641454 Q534483 Q1605505 Q555913 Q995637 Q729958 Q12034 Q468563 Q2967 Q856583 Q918586 Q944264 Q2099330 Q632621 Q581589 Q932808 Q122208 Q1616138 Q1794121 Q1229949 Q1751908 Q18288148 Q763 Q502975 Q1998520 Q477311 Q207257 Q15652 Q984529 Q1228759 Q49571 Q983473 Q755695 Q3586 Q1026229 Q851020 Q643919 Q1312465 Q10863 Q515016 Q714538 Q928094 Q668324 Q582995 Q697126 Q484981 Q1272870 Q1651692 Q1649698 Q385923 Q677038 Q501674 Q1767561 Q550985 Q13804 Q741749 Q1628531 Q1601614 Q574869 Q919046 Q497692 Q837051 Q13936 Q2064788 Q13930 Q619692 Q1641746 Q15597 Q23042 Q1637309 Q1998560 Q211925 Q5785 Q835012 Q976534 Q1368982 Q202316 Q13149 Q290824 Q13755 Q986084 Q2244278 Q1368868 Q12711 Q1982975 Q13614 Q817302 Q6839 Q1630141 Q1757428 Q7911 Q596885 Q1646869 Q927800 Q749696 Q41161 Q28301 Q1613587 Q929759 Q622823 Q983433 Q15974 Q830776 Q242906 Q1228035 Q15623 Q15622 Q15621 Q3303729 Q15626 Q10485 Q671272 Q1657213 Q1607392 Q1605519 Q904212 Q946068 Q2044406 Q842211 Q1242382 Q12335 Q229659 Q904130 Q13022 Q13159 Q778 Q15408 Q1751916 Q1768489 Q646564 Q215822 Q984642
(c(Q1048835),P190,c(Q515)|c(Q486972))
action less
action union
action find_tuple_counts
relation P190
type Q1048835
type Q515
action find_tuple_counts
relation P190
type Q1048835
type Q486972
action count
action filter_multi_types
action find
entity Q193780
relation P190
type Q515
type Q486972
[ANSWERS]
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q515'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?w WHERE { { ?w property:P190 ?z . ?z rdf:type ontology:Q515 . ?w rdf:type ontology:Q1048835 } UNION { ?w property:P190 ?z . ?w rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q486972 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q193780 property:P190 ?t . { { ?t rdf:type ontology:Q515 } UNION { ?t rdf:type ontology:Q486972 } } } } . FILTER ( ?a < ?i ) }
Macaé San Sebastián de los Reyes Mazaricos Cangas Salvador Maracanaú Santa Coloma de Gramenet Algeciras Sant Adrià de Besòs Mundaka Monroy Arbúcies Cabra Zarautz Urussanga Göttingen Tres Cantos Guimarães Lüchow-Dannenberg Móstoles Alberic Cerdà Briviesca North Lanarkshire Coslada El Prat de Llobregat Novo Hamburgo Valverde Peñafiel, Spain Karrantza Arévalo Molina de Aragón Rhein-Pfalz-Kreis Malgrat de Mar Palafolls Algemesí Sanlúcar de Barrameda Santarém Lääne-Viru County San Bartolomé de Tirajana Ruente Vilafant Balmaseda L'Hospitalet de Llobregat Wrexham Itambé Arafo Castelló d'Empúries Gyeonggi Province Torrox Montilla Calatayud Parla Maringá Westerwaldkreis Mollet del Vallès Sant Sadurní d'Anoia Main-Taunus-Kreis Pelotas Marburg-Biedenkopf Peligros Lahn-Dill-Kreis Belinho Rheingau-Taunus-Kreis Tocina Chiclana de la Frontera São João de Loure Arnedo Almagro, Ciudad Real Pomerode North Jeolla Province Ciutadella de Menorca Callosa de Segura Duruelo de la Sierra Torrelodones San Borja Tàrrega Vielha e Mijaran Iúna, Espírito Santo Porto Seguro Pastrana Brieskow-Finkenheerd Special Region of Yogyakarta Barreiro Macael Diamantina, Minas Gerais East Dunbartonshire Tomelloso Encantado Fuenlabrada Mondoñedo Salobreña Malpica de Bergantiños Criciúma Salvatierra/Agurain Crevillent Flintshire Arenys de Mar A Estrada Barberà del Vallès Candelaria Cassà de la Selva Farroupilha Jaca Harju County Quaraí Santa Amalia Caudete Autol Veranópolis Vale of Glamorgan Gramado Monzón Vélez-Rubio Cavite Las Gabias Palmas Igualada Rivne Torrent Caspe Zafra Santana do Livramento Joinville Cehegín Canals Medina de Pomar Alcaudete Vila Nova de Cerveira Atarfe Alanís Sádaba Sort Tui Museros Torredonjimeno San Fernando Paiporta Cornellà de Llobregat Calanda Iznalloz Uncastillo Nova Pádua Alfaro, La Rioja Pedrajas de San Esteban Santa Maria Barakaldo Vic Oliveira do Douro, Vila Nova de Gaia Sant Vicenç dels Horts Las Rozas de Madrid Manilva Casca, Rio Grande do Sul Segorbe Montgat Teià Padrón Benifaió Carcaixent Abanilla Pontarddulais Cascavel Los Palacios y Villafranca Recife Villafeliche Roses Martorelles Mondorf-les-Bains Rastatt Villa El Salvador District Massaranduba, Santa Catarina Aratiba Arroio do Meio Escalona Cella Hersfeld-Rotenburg Collado Villalba Maracena Vilanova de Arousa Schwalm-Eder-Kreis Sitges Vilanova i la Geltrú Alcalá del Río Villanueva de la Cañada Cubelles Governador Valadares Graus Valdepeñas San Lorenzo de El Escorial Rhondda Cynon Taf Medina del Campo Viveiro João Pessoa Tortosa Bigastro Clavijo São Mateus, Espírito Santo Colmenar Viejo Mora Caldes d'Estrac Arenys de Munt Montblanc Ilópolis Tartu County Catoira Comillas Falkirk Meliana Cerdanyola del Vallès Markina-Xemein San Sebastián de La Gomera Tolosa Villamanrique de la Condesa Natal Valencia de Don Juan Vilassar de Dalt Benalup-Casas Viejas Sigüenza Mataró Calahorra Argoncilhe Mostardas Luso Valverde del Camino Itiúba Andorra Peniscola Reus San Vicente del Raspeig / Sant Vicent del Raspeig Alcalá la Real Medina de Rioseco Ólvega Teresópolis Caruaru Ordizia Baiona Santa Margarita de Montbui Santa Cruz Cabrália La Muela Teror Sant Feliu de Llobregat Majadahonda São Pedro do Butiá Piraquara Oder-Spree Palafrugell Palamós Toro Fuentepelayo Calatorao Barcarrota Celanova Castril Torredembarra Mochola Alella Nova Friburgo Rendsburg-Eckernförde Gaspar, Santa Catarina Oliva Tacoronte, Santa Cruz de Tenerife Vicente López Partido Archena Oyón-Oion Ormaiztegi Olocau Pilas Aquiraz El Perelló San Martín de Valdeiglesias Metropolitan City of Florence Saint Kitts and Nevis Barbastro L'Eliana Amposta East Lothian Viladecans Cariñena La Unión Sos del Rey Católico Novelda Fuenmayor East Java Miraflores Xàbia Torfaen County Borough Benifairó de la Valldigna Picassent Castuera Zapsonj Ponta Porã San Adrián Lanjarón Bridgend County Borough Láchar Santiago de Figueiró Tudela de Duero Alaquàs Alcúdia San Miguel de Abona Alhama de Granada Valverde de Júcar Armilla Manlleu Chipiona Quintanar de la Orden Gerena Pedrola Consuegra Arganda del Rey Mequinenza Sant Cugat del Vallès Lapa Almansa La Zubia Huelma Castelldefels Paterna Ezcaray Blanca East Renfrewshire Cayman Islands Vilafranca del Penedès Castrillo Mota de Judíos Azuaga Foz do Iguaçu Nerja Ondara Bulacan Bétera Tías, Las Palmas Berantevilla Vall de Boí Los Alcázares Banyoles Benicarló Figueres Sayalonga Monte Belo do Sul Main-Kinzig-Kreis Blaenau Gwent County Borough Les Alqueries Bronniki Albalat de la Ribera South Jeolla Province Olinda Fregenal de la Sierra El Vendrell Uruguaiana Güímar Vilanova del Camí Yanoshi Ponta Grossa Ugao-Miraballes Martorell Gavà Esplugues de Llobregat Magdalena del Mar Olesa de Montserrat Deggendorf Calp Venta de Baños Madridejos Zuera Fraga Lezama L'Alcúdia San Fernando de Henares Elorrio Ripoll Zumaia Ribeira Amer Cañete la Real The Bahamas Castellterçol Villanueva del Pardillo Utrillas Santo Domingo de la Calzada Puertollano Canfranc
Saint Kitts and Nevis The Bahamas Montblanc
action less
action union
action find_tuple_counts
relation sister city
type political territorial entity
type city
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
action count
action filter_multi_types
action find
entity Almuñécar
relation sister city
type city
type human settlement
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'city'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?w WHERE { { ?w property:sister_city ?z . ?z rdf:type ontology:city . ?w rdf:type ontology:political_territorial_entity } UNION { ?w property:sister_city ?z . ?w rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:human_settlement } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Almuñécar property:sister_city ?t . { { ?t rdf:type ontology:city } UNION { ?t rdf:type ontology:human_settlement } } } } . FILTER ( ?a < ?i ) }
[]