Simple Question (Direct)
Simple Question
Q16766183
P40
Q502895
USER
Which person is an offspring of Lili Theotoka ?
(Q16766183,P40,c(Q502895))
action filter_type
action find
entity Q16766183
relation P40
type Q502895
['Q16766183', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q16766183 property:P40 ?a }
Lili Theotoka
action filter_type
action find
entity Lili Theotoka
relation child
type common name
['Lili Theotoka', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Lili_Theotoka property:child ?a }
[]
common name
Q12881764
SYSTEM
Nikolaos Alivizatos
Q12881764
(Q16766183,P40,c(Q502895))
action filter_type
action find
entity Q16766183
relation P40
type Q502895
[ANSWER] is an offspring of Lili Theotoka
['Q16766183', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q16766183 property:P40 ?a }
Nikolaos Alivizatos
Nikolaos Alivizatos is an offspring of Lili Theotoka
Nikolaos Alivizatos
action filter_type
action find
entity Lili Theotoka
relation child
type common name
['Lili Theotoka', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Lili_Theotoka property:child ?a }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3946001 Q16766183
P19 P27
Q15617994
USER
Which administrative territories are Lili Theotoka an inhabitant of or were Salvatore Cardinale born at ?
OR((Q16766183,P27,c(Q15617994)), (Q3946001,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q16766183
relation P27
action find
entity Q3946001
relation P19
type Q15617994
{'OR': [['Q16766183', 'P27', {'concept': 'Q15617994'}], ['Q3946001', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q16766183 property:P27 ?z } UNION { resource:Q3946001 property:P19 ?z } } . ?z rdf:type ontology:Q15617994 }
Salvatore Cardinale Lili Theotoka
action filter_type
action union
action find
entity Lili Theotoka
relation country of citizenship
action find
entity Salvatore Cardinale
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Lili Theotoka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Salvatore Cardinale', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Lili_Theotoka property:country_of_citizenship ?z } UNION { resource:Salvatore_Cardinale property:place_of_birth ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q477600 Q41
SYSTEM
Mussomeli, Greece
Q477600 Q41
OR((Q16766183,P27,c(Q15617994)), (Q3946001,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q16766183
relation P27
action find
entity Q3946001
relation P19
type Q15617994
[ANSWERS] are Lili Theotoka an inhabitant of or were Salvatore Cardinale born at
{'OR': [['Q16766183', 'P27', {'concept': 'Q15617994'}], ['Q3946001', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q16766183 property:P27 ?z } UNION { resource:Q3946001 property:P19 ?z } } . ?z rdf:type ontology:Q15617994 }
Mussomeli Greece
Mussomeli and Greece are Lili Theotoka an inhabitant of or were Salvatore Cardinale born at
Mussomeli Greece
action filter_type
action union
action find
entity Lili Theotoka
relation country of citizenship
action find
entity Salvatore Cardinale
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Lili Theotoka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Salvatore Cardinale', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Lili_Theotoka property:country_of_citizenship ?z } UNION { resource:Salvatore_Cardinale property:place_of_birth ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q477600 Q41
P17
Q15617994
USER
Which administrative territories are Mussomeli and Greece a part of ?
(Q477600,P17,c(Q15617994)) (Q41,P17,c(Q15617994))
action union
action filter_type
action find
entity Q477600
relation P17
type Q15617994
action filter_type
action find
entity Q41
relation P17
type Q15617994
['Q477600', 'P17', {'concept': 'Q15617994'}] ['Q41', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?f ) { ( resource:Q477600 ) ( resource:Q41 ) } . ?f property:P17 ?n }
Mussomeli Greece
action union
action filter_type
action find
entity Mussomeli
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Greece
relation country
type designation for an administrative territorial entity
['Mussomeli', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Greece', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?f ) { ( resource:Mussomeli ) ( resource:Greece ) } . ?f property:country ?n }
[]
designation for an administrative territorial entity
Q38 Q41
SYSTEM
Italy, Greece
Q38 Q41
(Q477600,P17,c(Q15617994)) (Q41,P17,c(Q15617994))
action union
action filter_type
action find
entity Q477600
relation P17
type Q15617994
action filter_type
action find
entity Q41
relation P17
type Q15617994
[ANSWERS] are Mussomeli and Greece a part of
['Q477600', 'P17', {'concept': 'Q15617994'}] ['Q41', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?f ) { ( resource:Q477600 ) ( resource:Q41 ) } . ?f property:P17 ?n }
Italy Greece
Italy and Greece are Mussomeli and Greece a part of
Italy Greece
action union
action filter_type
action find
entity Mussomeli
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Greece
relation country
type designation for an administrative territorial entity
['Mussomeli', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Greece', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?f ) { ( resource:Mussomeli ) ( resource:Greece ) } . ?f property:country ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41
P183
Q16521
USER
Which taxons are endemic to Greece ?
(c(Q16521),P183,Q38) (c(Q16521),P183,Q41)
action filter_type
action find_reverse
entity Q41
relation P183
type Q16521
[{'concept': 'Q16521'}, 'P183', 'Q38'] [{'concept': 'Q16521'}, 'P183', 'Q41']
SELECT DISTINCT ?o WHERE { ?o property:P183 resource:Q41 . ?o rdf:type ontology:Q16521 }
Greece
action filter_type
action find_reverse
entity Greece
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'Italy'] [{'concept': 'taxon'}, 'endemic to', 'Greece']
SELECT DISTINCT ?o WHERE { ?o property:endemic_to resource:Greece . ?o rdf:type ontology:taxon }
[]
taxon
Q529131 Q17024220
SYSTEM
Aristotle's catfish, Isoëtes heldreichii
Q529131 Q17024220
(c(Q16521),P183,Q38) (c(Q16521),P183,Q41)
action filter_type
action find_reverse
entity Q41
relation P183
type Q16521
[ANSWERS] are endemic to Greece
[{'concept': 'Q16521'}, 'P183', 'Q38'] [{'concept': 'Q16521'}, 'P183', 'Q41']
SELECT DISTINCT ?o WHERE { ?o property:P183 resource:Q41 . ?o rdf:type ontology:Q16521 }
Aristotle's catfish Isoëtes heldreichii
Aristotle's catfish and Isoëtes heldreichii are endemic to Greece
Aristotle's catfish Isoëtes heldreichii
action filter_type
action find_reverse
entity Greece
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'Italy'] [{'concept': 'taxon'}, 'endemic to', 'Greece']
SELECT DISTINCT ?o WHERE { ?o property:endemic_to resource:Greece . ?o rdf:type ontology:taxon }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q2472587 Q502895 Q15617994
USER
Which administrative territories have approximately 1 peoples and people as their toponym ?
(c(Q15617994),P138,c(Q2472587)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q2472587
action find_tuple_counts
relation P138
type Q15617994
type Q502895
value 1
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?z WHERE { { ?z property:P138 ?a . ?a rdf:type ontology:Q2472587 . ?z rdf:type ontology:Q15617994 } UNION { ?z rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q502895 . ?z property:P138 ?a } } GROUP BY ?z } . FILTER ( ?d = 1 ) }
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type people
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type common name
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'people'}, {'concept': 'common name'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?z WHERE { { ?z property:named_after ?a . ?a rdf:type ontology:people . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:common_name . ?z property:named_after ?a } } GROUP BY ?z } . FILTER ( ?d = 1 ) }
[]
people common name designation for an administrative territorial entity
Q230 Q33 Q28
SYSTEM
Georgia, Finland, Hungary
Q1087137 Q709 Q124000 Q33 Q21671144 Q12536 Q711 Q710 Q1817784 Q7408058 Q739 Q161258 Q676543 Q3563282 Q928 Q4336071 Q676178 Q230 Q232 Q238 Q4229407 Q621869 Q1042 Q28 Q1025 Q683555 Q548396 Q811 Q4165945 Q963 Q750 Q160307 Q505607 Q6661829 Q760 Q8575586 Q1913193 Q599866 Q2938 Q1951
(c(Q15617994),P138,c(Q2472587)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q2472587
action find_tuple_counts
relation P138
type Q15617994
type Q502895
value 1
[ANSWERS] have approximately 1 peoples and people as their toponym
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?z WHERE { { ?z property:P138 ?a . ?a rdf:type ontology:Q2472587 . ?z rdf:type ontology:Q15617994 } UNION { ?z rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q502895 . ?z property:P138 ?a } } GROUP BY ?z } . FILTER ( ?d = 1 ) }
Rockaway, New Jersey Marshall Islands Victoria Finland Mezhetchina Abbasid caliphate Mongolia Kiribati Leninkent, Makhachkala, Republic of Dagestan Sam Rayburn Independent School District Colombia Clipperton Island Sankt Thomas Rumi District Philippines Ordzhonikidzevskiy raion of Zaporizhzhya Viereck Georgia Kazakhstan San Marino Komarovsky, Orenburg Oblast Georgsdorf Seychelles Hungary Mauritania Vyronas Pommerby Nicaragua Sheikh Zayed City Botswana Bolivia Fatimid caliphate Philippsreut Llanvaches Saint Lucia Umayyad Caliphate Chkalovsk Microdistrict Lev Tolstoy Leverkusen Alberta
Georgia, Finland and Hungary have approximately 1 peoples and people as their toponym
Georgia Finland Hungary
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type people
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type common name
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'people'}, {'concept': 'common name'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?z WHERE { { ?z property:named_after ?a . ?a rdf:type ontology:people . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:common_name . ?z property:named_after ?a } } GROUP BY ?z } . FILTER ( ?d = 1 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P137
Q3084961 Q2385804
USER
How many product linings or educational institutions can be described as service operator of that administrative territory ?
(c(Q3084961),P137,Q33) (c(Q2385804),P137,Q33) (c(Q3084961),P137,Q230) (c(Q2385804),P137,Q230) (c(Q3084961),P137,Q33) (c(Q2385804),P137,Q33) (c(Q3084961),P137,Q28) (c(Q2385804),P137,Q28)
[{'concept': 'Q3084961'}, 'P137', 'Q33'] [{'concept': 'Q2385804'}, 'P137', 'Q33'] [{'concept': 'Q3084961'}, 'P137', 'Q230'] [{'concept': 'Q2385804'}, 'P137', 'Q230'] [{'concept': 'Q3084961'}, 'P137', 'Q33'] [{'concept': 'Q2385804'}, 'P137', 'Q33'] [{'concept': 'Q3084961'}, 'P137', 'Q28'] [{'concept': 'Q2385804'}, 'P137', 'Q28']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q131030 resource:Q16836846 } UNION { ?y property:Q131030 resource:Q16836846 } UNION { ?z property:Q131030 resource:Q5547323 } UNION { ?y property:Q131030 resource:Q5547323 } UNION { ?z property:Q131030 resource:Q16836846 } UNION { ?y property:Q131030 resource:Q16836846 } UNION { ?z property:Q131030 resource:Q5943060 } UNION { ?y property:Q131030 resource:Q5943060 } } . ?z rdf:type ontology:Q3084961 . ?y rdf:type ontology:Q2385804 }
[{'concept': 'product lining'}, 'operator', 'Finland'] [{'concept': 'educational institution'}, 'operator', 'Finland'] [{'concept': 'product lining'}, 'operator', 'Georgia'] [{'concept': 'educational institution'}, 'operator', 'Georgia'] [{'concept': 'product lining'}, 'operator', 'Finland'] [{'concept': 'educational institution'}, 'operator', 'Finland'] [{'concept': 'product lining'}, 'operator', 'Hungary'] [{'concept': 'educational institution'}, 'operator', 'Hungary']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:operator resource:Finland } UNION { ?y property:operator resource:Finland } UNION { ?z property:operator resource:Georgia } UNION { ?y property:operator resource:Georgia } UNION { ?z property:operator resource:Finland } UNION { ?y property:operator resource:Finland } UNION { ?z property:operator resource:Hungary } UNION { ?y property:operator resource:Hungary } } . ?z rdf:type ontology:product_lining . ?y rdf:type ontology:educational_institution }
[]
product lining educational institution
Quantitative|Count|Mult. entity type|Clarification
Q33
SYSTEM
Did you mean Finland ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q131030 resource:Q16836846 } UNION { ?y property:Q131030 resource:Q16836846 } UNION { ?z property:Q131030 resource:Q5547323 } UNION { ?y property:Q131030 resource:Q5547323 } UNION { ?z property:Q131030 resource:Q16836846 } UNION { ?y property:Q131030 resource:Q16836846 } UNION { ?z property:Q131030 resource:Q5943060 } UNION { ?y property:Q131030 resource:Q5943060 } } . ?z rdf:type ontology:Q3084961 . ?y rdf:type ontology:Q2385804 }
Did you mean Finland ?
Finland
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:operator resource:Finland } UNION { ?y property:operator resource:Finland } UNION { ?z property:operator resource:Georgia } UNION { ?y property:operator resource:Georgia } UNION { ?z property:operator resource:Finland } UNION { ?y property:operator resource:Finland } UNION { ?z property:operator resource:Hungary } UNION { ?y property:operator resource:Hungary } } . ?z rdf:type ontology:product_lining . ?y rdf:type ontology:educational_institution }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q3084961),P137,Q33) (c(Q2385804),P137,Q33) (c(Q3084961),P137,Q230) (c(Q2385804),P137,Q230) (c(Q3084961),P137,Q33) (c(Q2385804),P137,Q33) (c(Q3084961),P137,Q28) (c(Q2385804),P137,Q28)
[{'concept': 'Q3084961'}, 'P137', 'Q33'] [{'concept': 'Q2385804'}, 'P137', 'Q33'] [{'concept': 'Q3084961'}, 'P137', 'Q230'] [{'concept': 'Q2385804'}, 'P137', 'Q230'] [{'concept': 'Q3084961'}, 'P137', 'Q33'] [{'concept': 'Q2385804'}, 'P137', 'Q33'] [{'concept': 'Q3084961'}, 'P137', 'Q28'] [{'concept': 'Q2385804'}, 'P137', 'Q28']
[{'concept': 'product lining'}, 'operator', 'Finland'] [{'concept': 'educational institution'}, 'operator', 'Finland'] [{'concept': 'product lining'}, 'operator', 'Georgia'] [{'concept': 'educational institution'}, 'operator', 'Georgia'] [{'concept': 'product lining'}, 'operator', 'Finland'] [{'concept': 'educational institution'}, 'operator', 'Finland'] [{'concept': 'product lining'}, 'operator', 'Hungary'] [{'concept': 'educational institution'}, 'operator', 'Hungary']
[]
SYSTEM
2
Q5391306 Q933767
(c(Q3084961),P137,Q33) (c(Q2385804),P137,Q33) (c(Q3084961),P137,Q230) (c(Q2385804),P137,Q230) (c(Q3084961),P137,Q33) (c(Q2385804),P137,Q33) (c(Q3084961),P137,Q28) (c(Q2385804),P137,Q28)
[ANSWER]
[{'concept': 'Q3084961'}, 'P137', 'Q33'] [{'concept': 'Q2385804'}, 'P137', 'Q33'] [{'concept': 'Q3084961'}, 'P137', 'Q230'] [{'concept': 'Q2385804'}, 'P137', 'Q230'] [{'concept': 'Q3084961'}, 'P137', 'Q33'] [{'concept': 'Q2385804'}, 'P137', 'Q33'] [{'concept': 'Q3084961'}, 'P137', 'Q28'] [{'concept': 'Q2385804'}, 'P137', 'Q28']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q131030 resource:Q16836846 } UNION { ?y property:Q131030 resource:Q16836846 } UNION { ?z property:Q131030 resource:Q5547323 } UNION { ?y property:Q131030 resource:Q5547323 } UNION { ?z property:Q131030 resource:Q16836846 } UNION { ?y property:Q131030 resource:Q16836846 } UNION { ?z property:Q131030 resource:Q5943060 } UNION { ?y property:Q131030 resource:Q5943060 } } . ?z rdf:type ontology:Q3084961 . ?y rdf:type ontology:Q2385804 }
Oulun Suomalaisen Yhteiskoulun Lukio Hawk 75
2
[{'concept': 'product lining'}, 'operator', 'Finland'] [{'concept': 'educational institution'}, 'operator', 'Finland'] [{'concept': 'product lining'}, 'operator', 'Georgia'] [{'concept': 'educational institution'}, 'operator', 'Georgia'] [{'concept': 'product lining'}, 'operator', 'Finland'] [{'concept': 'educational institution'}, 'operator', 'Finland'] [{'concept': 'product lining'}, 'operator', 'Hungary'] [{'concept': 'educational institution'}, 'operator', 'Hungary']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:operator resource:Finland } UNION { ?y property:operator resource:Finland } UNION { ?z property:operator resource:Georgia } UNION { ?y property:operator resource:Georgia } UNION { ?z property:operator resource:Finland } UNION { ?y property:operator resource:Finland } UNION { ?z property:operator resource:Hungary } UNION { ?y property:operator resource:Hungary } } . ?z rdf:type ontology:product_lining . ?y rdf:type ontology:educational_institution }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q15617994 Q486972 Q62447
USER
Which administrative territories are the origin of min number of human settlements or aerodromes ?
(c(Q486972)|c(Q62447),P138,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q62447
[[{'concept': 'Q486972'}, {'concept': 'Q62447'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?r ) { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ?d . VALUES ( ?d ) { ( ontology:Q486972 ) ( ontology:Q62447 ) } } GROUP BY ?j } } . { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?f ) WHERE { { ?x property:P138 ?k . ?k rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q486972 } UNION { ?x rdf:type ontology:Q62447 . ?k rdf:type ontology:Q15617994 . ?x property:P138 ?k } } GROUP BY ?k } . FILTER ( ?f = ?r ) }
action argmin
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type aerodrome
[[{'concept': 'human settlement'}, {'concept': 'aerodrome'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?r ) { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ?d . VALUES ( ?d ) { ( ontology:human_settlement ) ( ontology:aerodrome ) } } GROUP BY ?j } } . { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?f ) WHERE { { ?x property:named_after ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:human_settlement } UNION { ?x rdf:type ontology:aerodrome . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:named_after ?k } } GROUP BY ?k } . FILTER ( ?f = ?r ) }
[]
designation for an administrative territorial entity human settlement aerodrome
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q1279 Q186538 Q640473 Q189 Q184 Q1028 Q1458 Q570120 Q18421666 Q167215 Q42777 Q159856 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q42906 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q391167 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q53873 Q18040 Q3926245 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q712 Q717 Q42993 Q488513 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q1142326 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q681329 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q23178 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q917 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q819 Q654138 Q81261 Q493437 Q863 Q574429 Q869 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 Q770 Q131633 Q2596432 Q928 Q19306 Q759201 Q424 Q675616 Q854 Q9574 Q2790 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q81138 Q17 Q15059063 Q3940173 Q4066675 Q138823 Q697787 Q47578 Q11337 Q211 Q159605 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q631654 Q42192 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q16104 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q486972)|c(Q62447),P138,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q62447
[ANSWERS] are the origin of min number of human settlements or aerodromes
[[{'concept': 'Q486972'}, {'concept': 'Q62447'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?r ) { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ?d . VALUES ( ?d ) { ( ontology:Q486972 ) ( ontology:Q62447 ) } } GROUP BY ?j } } . { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?f ) WHERE { { ?x property:P138 ?k . ?k rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q486972 } UNION { ?x rdf:type ontology:Q62447 . ?k rdf:type ontology:Q15617994 . ?x property:P138 ?k } } GROUP BY ?k } . FILTER ( ?f = ?r ) }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Marche Arzachena Hohenstein Iceland Belarus Morocco Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Rovereto Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Perinaldo New Caledonia Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Cologno Monzese Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Diamante Candelo QT8 Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Fiji Venezuela Gessate Anklam Sacrofano Wolfratshausen Levashovo, Saint Petersburg Pero Zimbabwe Währing Maldives Lebanon Seine Bellagio Borbona Vimodrone Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Dümmer Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Bisceglie Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Bhutan Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Laos Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Thailand Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Guatemala Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Philippines Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Pino Torinese Udine Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Rogoredo Annino Farnese, Lazio Duchy of Limburg Vittorio Veneto Herdecke Latvia Tivoli Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren Selent San Donato Milanese Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Ahrensburg Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
Italy, Brazil and United States of America are the origin of min number of human settlements or aerodromes
Italy Brazil United States of America
action argmin
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type aerodrome
[[{'concept': 'human settlement'}, {'concept': 'aerodrome'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?r ) { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ?d . VALUES ( ?d ) { ( ontology:human_settlement ) ( ontology:aerodrome ) } } GROUP BY ?j } } . { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?f ) WHERE { { ?x property:named_after ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:human_settlement } UNION { ?x rdf:type ontology:aerodrome . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:named_after ?k } } GROUP BY ?k } . FILTER ( ?f = ?r ) }
[]