Simple Question (Direct)
Simple Question
Q100519
P106
Q12737077
USER
What are the job of Wolfgang Franz ?
(Q100519,P106,c(Q12737077))
action filter_type
action find
entity Q100519
relation P106
type Q12737077
['Q100519', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q100519 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Wolfgang Franz
action filter_type
action find
entity Wolfgang Franz
relation occupation
type occupation
['Wolfgang Franz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Wolfgang_Franz property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q188094 Q1622272
SYSTEM
economist, university teacher
Q188094 Q1622272
(Q100519,P106,c(Q12737077))
action filter_type
action find
entity Q100519
relation P106
type Q12737077
The job of Wolfgang Franz are an [ANSWERS]
['Q100519', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q100519 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
economist university teacher
The job of Wolfgang Franz are an economist and university teacher
economist university teacher
action filter_type
action find
entity Wolfgang Franz
relation occupation
type occupation
['Wolfgang Franz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Wolfgang_Franz property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q100519
P463
Q865588
USER
Which committee had Wolfgang Franz as its member ?
(Q100519,P463,c(Q865588))
action filter_type
action find
entity Q100519
relation P463
type Q865588
['Q100519', 'P463', {'concept': 'Q865588'}]
SELECT DISTINCT ?a WHERE { resource:Q100519 property:P463 ?a . ?a rdf:type ontology:Q865588 }
Wolfgang Franz
action filter_type
action find
entity Wolfgang Franz
relation member of
type committee
['Wolfgang Franz', 'member of', {'concept': 'committee'}]
SELECT DISTINCT ?a WHERE { resource:Wolfgang_Franz property:member_of ?a . ?a rdf:type ontology:committee }
[]
committee
Q314008
SYSTEM
German Council of Economic Experts
Q314008
(Q100519,P463,c(Q865588))
action filter_type
action find
entity Q100519
relation P463
type Q865588
[ANSWER] had Wolfgang Franz as its member
['Q100519', 'P463', {'concept': 'Q865588'}]
SELECT DISTINCT ?a WHERE { resource:Q100519 property:P463 ?a . ?a rdf:type ontology:Q865588 }
German Council of Economic Experts
German Council of Economic Experts had Wolfgang Franz as its member
German Council of Economic Experts
action filter_type
action find
entity Wolfgang Franz
relation member of
type committee
['Wolfgang Franz', 'member of', {'concept': 'committee'}]
SELECT DISTINCT ?a WHERE { resource:Wolfgang_Franz property:member_of ?a . ?a rdf:type ontology:committee }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q100519
Q19335303
USER
And which German business organization?
(Q100519,P463,c(Q19335303))
action filter_type
action find
entity Q100519
relation P463
type Q19335303
['Q100519', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?s WHERE { resource:Q100519 property:P463 ?s . ?s rdf:type ontology:Q19335303 }
Wolfgang Franz
action filter_type
action find
entity Wolfgang Franz
relation member of
type type of business entity in Germany
['Wolfgang Franz', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?s WHERE { resource:Wolfgang_Franz property:member_of ?s . ?s rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Q543804
SYSTEM
German Academy of Sciences Leopoldina
Q543804
(Q100519,P463,c(Q19335303))
action filter_type
action find
entity Q100519
relation P463
type Q19335303
[ANSWER]
['Q100519', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?s WHERE { resource:Q100519 property:P463 ?s . ?s rdf:type ontology:Q19335303 }
German Academy of Sciences Leopoldina
German Academy of Sciences Leopoldina
action filter_type
action find
entity Wolfgang Franz
relation member of
type type of business entity in Germany
['Wolfgang Franz', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?s WHERE { resource:Wolfgang_Franz property:member_of ?s . ?s rdf:type ontology:type_of_business_entity_in_Germany }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q543804 Q4131254 Q183
P17
Q1048835
USER
Is that German business organization located in Havrylivka Druha and Germany ?
(Q543804,P17,Q4131254) (Q543804,P17,Q183)
action is_in
entity Q543804
action intersection
action find_reverse
entity Q4131254
relation P17
action find_reverse
entity Q183
relation P17
['Q543804', 'P17', 'Q4131254'] ['Q543804', 'P17', 'Q183']
ASK WHERE { resource:Q543804 property:P17 resource:Q4131254 . resource:Q543804 property:P17 resource:Q183 }
German Academy of Sciences Leopoldina Havrylivka Druha Germany
action is_in
entity German Academy of Sciences Leopoldina
action intersection
action find_reverse
entity Havrylivka Druha
relation country
action find_reverse
entity Germany
relation country
['German Academy of Sciences Leopoldina', 'country', 'Havrylivka Druha'] ['German Academy of Sciences Leopoldina', 'country', 'Germany']
ASK WHERE { resource:German_Academy_of_Sciences_Leopoldina property:country resource:Havrylivka_Druha . resource:German_Academy_of_Sciences_Leopoldina property:country resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q543804,P17,Q4131254) (Q543804,P17,Q183)
action is_in
entity Q543804
action intersection
action find_reverse
entity Q4131254
relation P17
action find_reverse
entity Q183
relation P17
[ANSWER]
['Q543804', 'P17', 'Q4131254'] ['Q543804', 'P17', 'Q183']
ASK WHERE { resource:Q543804 property:P17 resource:Q4131254 . resource:Q543804 property:P17 resource:Q183 }
NO and YES respectively
action is_in
entity German Academy of Sciences Leopoldina
action intersection
action find_reverse
entity Havrylivka Druha
relation country
action find_reverse
entity Germany
relation country
['German Academy of Sciences Leopoldina', 'country', 'Havrylivka Druha'] ['German Academy of Sciences Leopoldina', 'country', 'Germany']
ASK WHERE { resource:German_Academy_of_Sciences_Leopoldina property:country resource:Havrylivka_Druha . resource:German_Academy_of_Sciences_Leopoldina property:country resource:Germany }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1622272 Q1610705 Q14945398
P417
Q502895
USER
Does university teacher have Hermann Bock and John Bertram Askew as their patron saint ?
(Q1622272,P417,Q1610705) (Q1622272,P417,Q14945398)
action is_in
entity Q1622272
action intersection
action find_reverse
entity Q1610705
relation P417
action find_reverse
entity Q14945398
relation P417
['Q1622272', 'P417', 'Q1610705'] ['Q1622272', 'P417', 'Q14945398']
ASK WHERE { resource:Q1622272 property:P417 resource:Q1610705 . resource:Q1622272 property:P417 resource:Q14945398 }
university teacher Hermann Bock John Bertram Askew
action is_in
entity university teacher
action intersection
action find_reverse
entity Hermann Bock
relation patron saint
action find_reverse
entity John Bertram Askew
relation patron saint
['university teacher', 'patron saint', 'Hermann Bock'] ['university teacher', 'patron saint', 'John Bertram Askew']
ASK WHERE { resource:university_teacher property:patron_saint resource:Hermann_Bock . resource:university_teacher property:patron_saint resource:John_Bertram_Askew }
[]
common name
SYSTEM
NO
(Q1622272,P417,Q1610705) (Q1622272,P417,Q14945398)
action is_in
entity Q1622272
action intersection
action find_reverse
entity Q1610705
relation P417
action find_reverse
entity Q14945398
relation P417
[ANSWER]
['Q1622272', 'P417', 'Q1610705'] ['Q1622272', 'P417', 'Q14945398']
ASK WHERE { resource:Q1622272 property:P417 resource:Q1610705 . resource:Q1622272 property:P417 resource:Q14945398 }
No
action is_in
entity university teacher
action intersection
action find_reverse
entity Hermann Bock
relation patron saint
action find_reverse
entity John Bertram Askew
relation patron saint
['university teacher', 'patron saint', 'Hermann Bock'] ['university teacher', 'patron saint', 'John Bertram Askew']
ASK WHERE { resource:university_teacher property:patron_saint resource:Hermann_Bock . resource:university_teacher property:patron_saint resource:John_Bertram_Askew }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q314008
P159
Q515
USER
Where is the head office for German Council of Economic Experts located ?
(Q314008,P159,c(Q515))
action filter_type
action find
entity Q314008
relation P159
type Q515
['Q314008', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?v WHERE { resource:Q314008 property:P159 ?v . ?v rdf:type ontology:Q515 }
German Council of Economic Experts
action filter_type
action find
entity German Council of Economic Experts
relation headquarters location
type city
['German Council of Economic Experts', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?v WHERE { resource:German_Council_of_Economic_Experts property:headquarters_location ?v . ?v rdf:type ontology:city }
[]
city
Q1721
SYSTEM
Wiesbaden
Q1721
(Q314008,P159,c(Q515))
action filter_type
action find
entity Q314008
relation P159
type Q515
Located [ANSWER] is the head office for German Council of Economic Experts
['Q314008', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?v WHERE { resource:Q314008 property:P159 ?v . ?v rdf:type ontology:Q515 }
Wiesbaden
Located Wiesbaden is the head office for German Council of Economic Experts
Wiesbaden
action filter_type
action find
entity German Council of Economic Experts
relation headquarters location
type city
['German Council of Economic Experts', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?v WHERE { resource:German_Council_of_Economic_Experts property:headquarters_location ?v . ?v rdf:type ontology:city }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q608338
Q515
USER
And what about University of Bucharest?
(Q608338,P159,c(Q515))
action filter_type
action find
entity Q608338
relation P159
type Q515
['Q608338', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { resource:Q608338 property:P159 ?k . ?k rdf:type ontology:Q515 }
University of Bucharest
action filter_type
action find
entity University of Bucharest
relation headquarters location
type city
['University of Bucharest', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { resource:University_of_Bucharest property:headquarters_location ?k . ?k rdf:type ontology:city }
[]
city
Q19660
SYSTEM
Bucharest
Q19660
(Q608338,P159,c(Q515))
action filter_type
action find
entity Q608338
relation P159
type Q515
[ANSWER]
['Q608338', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { resource:Q608338 property:P159 ?k . ?k rdf:type ontology:Q515 }
Bucharest
Bucharest
action filter_type
action find
entity University of Bucharest
relation headquarters location
type city
['University of Bucharest', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { resource:University_of_Bucharest property:headquarters_location ?k . ?k rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q19660 Q1569907
P190
Q56061
USER
Is Derrynoose twin city of Bucharest ?
(Q19660,P190,Q1569907)
action is_in
entity Q1569907
action find
entity Q19660
relation P190
['Q19660', 'P190', 'Q1569907']
ASK WHERE { resource:Q19660 property:P190 resource:Q1569907 }
Bucharest Derrynoose
action is_in
entity Derrynoose
action find
entity Bucharest
relation sister city
['Bucharest', 'sister city', 'Derrynoose']
ASK WHERE { resource:Bucharest property:sister_city resource:Derrynoose }
[]
administrative territorial entity
SYSTEM
NO
(Q19660,P190,Q1569907)
action is_in
entity Q1569907
action find
entity Q19660
relation P190
[ANSWER]
['Q19660', 'P190', 'Q1569907']
ASK WHERE { resource:Q19660 property:P190 resource:Q1569907 }
No
action is_in
entity Derrynoose
action find
entity Bucharest
relation sister city
['Bucharest', 'sister city', 'Derrynoose']
ASK WHERE { resource:Bucharest property:sister_city resource:Derrynoose }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P609
Q515 Q34442 Q83620
USER
How many cities are the destinations of approximately 1 roads or thoroughfares ?
(c(Q34442)|c(Q83620),P609,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q515
type Q34442
action find_reverse_tuple_counts
relation P609
type Q515
type Q83620
value 1
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?x ) WHERE { VALUES ( ?m ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?e rdf:type ?m } GROUP BY ?p } . FILTER ( ?x = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type city
type road
action find_reverse_tuple_counts
relation terminus location
type city
type thoroughfare
value 1
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?x ) WHERE { VALUES ( ?m ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?e rdf:type ?m } GROUP BY ?p } . FILTER ( ?x = 1 ) }
[]
city road thoroughfare
SYSTEM
71
Q8652 Q349982 Q601254 Q425996 Q756581 Q320950 Q869037 Q16506 Q363479 Q1027604 Q2092257 Q16959 Q68481 Q851155 Q181276 Q249007 Q341777 Q5869 Q16520 Q541071 Q360374 Q6602 Q535534 Q819620 Q193724 Q987487 Q180470 Q210365 Q533157 Q1630623 Q158245 Q2079 Q217698 Q379160 Q18575 Q1000069 Q612646 Q42622 Q71227 Q1641736 Q185684 Q373101 Q426868 Q278877 Q147738 Q502981 Q1008696 Q373023 Q954611 Q1761 Q373687 Q162880 Q682544 Q187136 Q404529 Q954569 Q304848 Q16666 Q34750 Q570768 Q321778 Q513417 Q11506 Q200603 Q946780 Q1899 Q1009095 Q57756 Q360643 Q58401 Q587388
(c(Q34442)|c(Q83620),P609,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q515
type Q34442
action find_reverse_tuple_counts
relation P609
type Q515
type Q83620
value 1
[ANSWER]
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?x ) WHERE { VALUES ( ?m ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?e rdf:type ?m } GROUP BY ?p } . FILTER ( ?x = 1 ) }
Miami Hegang Dubí Deyang Františkovy Lázně Trutnov Takasago České Budějovice Shangrao Uherský Ostroh Rožmitál pod Třemšínem Ürümqi Fuzhou Kasai Szolnok Wuwei Čáslav Lhasa Busan Hulín Anqing Strasbourg Hohhot Seiyo Slavkov u Brna Ostrov Huangshan City Beihai Tianshui Hostivice Písek Leipzig Weifang Kunszentmárton Tucson Lovosice Veselí nad Lužnicí Suzhou Shiyan Pohořelice Hefei Rizhao Leshan Český Těšín Saint Helier Miyako Rožnov pod Radhoštěm Weihai Jeseník Dublin Binzhou Dezhou Mikulov Luoyang Xuchang Vyškov Daqing Nanjing Fuxin Wuhai Hodonín Vsetín Denpasar Yawatahama Lanžhot Kyiv Otrokovice Lianyungang Suzhou, Anhui Shijiazhuang Mohelnice
71
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type city
type road
action find_reverse_tuple_counts
relation terminus location
type city
type thoroughfare
value 1
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?x ) WHERE { VALUES ( ?m ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?e rdf:type ?m } GROUP BY ?p } . FILTER ( ?x = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1721
P276
Q3914 Q15275719
USER
How many schools and recurring events have their location as Wiesbaden ?
(c(Q3914),P276,Q1721) (c(Q15275719),P276,Q1721)
action count
action union
action filter_type
action find_reverse
entity Q1721
relation P276
type Q3914
action filter_type
action find_reverse
entity Q1721
relation P276
type Q15275719
[{'concept': 'Q3914'}, 'P276', 'Q1721'] [{'concept': 'Q15275719'}, 'P276', 'Q1721']
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q3914 ) ( ontology:Q15275719 ) } }
Wiesbaden
action count
action union
action filter_type
action find_reverse
entity Wiesbaden
relation location
type school
action filter_type
action find_reverse
entity Wiesbaden
relation location
type recurring event
[{'concept': 'school'}, 'location', 'Wiesbaden'] [{'concept': 'recurring event'}, 'location', 'Wiesbaden']
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:school ) ( ontology:recurring_event ) } }
[]
school recurring event
SYSTEM
1 schools and 1 recurring events
Q316272 Q318924
(c(Q3914),P276,Q1721) (c(Q15275719),P276,Q1721)
action count
action union
action filter_type
action find_reverse
entity Q1721
relation P276
type Q3914
action filter_type
action find_reverse
entity Q1721
relation P276
type Q15275719
[ANSWER]
[{'concept': 'Q3914'}, 'P276', 'Q1721'] [{'concept': 'Q15275719'}, 'P276', 'Q1721']
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q3914 ) ( ontology:Q15275719 ) } }
EBS University of Business and Law GoEast - Festival of Central and Eastern European Film
1 schools and 1 recurring events
action count
action union
action filter_type
action find_reverse
entity Wiesbaden
relation location
type school
action filter_type
action find_reverse
entity Wiesbaden
relation location
type recurring event
[{'concept': 'school'}, 'location', 'Wiesbaden'] [{'concept': 'recurring event'}, 'location', 'Wiesbaden']
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:school ) ( ontology:recurring_event ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q623464 Q1721
P19
Q502895
USER
Which people were born at Wiesbaden or Bad Kötzting ?
OR((c(Q502895),P19,Q1721), (c(Q502895),P19,Q623464))
action filter_type
action union
action find_reverse
entity Q1721
relation P19
action find_reverse
entity Q623464
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q1721'], [{'concept': 'Q502895'}, 'P19', 'Q623464']]}
SELECT DISTINCT ?y WHERE { { ?y property:P19 ?e . VALUES ( ?e ) { ( resource:Q1721 ) ( resource:Q623464 ) } } . ?y rdf:type ontology:Q502895 }
Bad Kötzting Wiesbaden
action filter_type
action union
action find_reverse
entity Wiesbaden
relation place of birth
action find_reverse
entity Bad Kötzting
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Wiesbaden'], [{'concept': 'common name'}, 'place of birth', 'Bad Kötzting']]}
SELECT DISTINCT ?y WHERE { { ?y property:place_of_birth ?e . VALUES ( ?e ) { ( resource:Wiesbaden ) ( resource:Bad_Kötzting ) } } . ?y rdf:type ontology:common_name }
[]
common name
Q7174506 Q1086323 Q90660 Q1286365 Q1685984 Q1602013 Q762452 Q22059204 Q1420497 Q17496885
SYSTEM
Some of them are Peter Hanenberger, Christophe Fricker, Barbara Christine von Bernhold, Reinhold Merten, Jeanette Bethge, Helene Raff, August Kortheuer, Tilmann Höhn, Michael Schulz, Katharina Bauer
Q1904345 Q594005 Q2037785 Q2174273 Q6054348 Q1223167 Q1279555 Q18022535 Q7174506 Q2644403 Q1294775 Q78004 Q1082325 Q16864290 Q15436776 Q21979962 Q19311267 Q2148604 Q19244025 Q1686011 Q97326 Q1713181 Q1560500 Q20745437 Q4537219 Q15990511 Q2477491 Q1358134 Q18785211 Q1827750 Q1762072 Q97747 Q19285263 Q20747180 Q1252559 Q19834054 Q1730461 Q1914077 Q2573592 Q77591 Q1479232 Q879691 Q824722 Q777404 Q1358419 Q1672327 Q1596757 Q2129710 Q1912414 Q71462 Q1895966 Q824904 Q57316 Q1301457 Q1458347 Q1281698 Q2544797 Q2590105 Q15449253 Q16443781 Q92207 Q70920 Q1918989 Q1505021 Q106126 Q1794100 Q61810 Q1465931 Q67791 Q762452 Q15407922 Q1929163 Q1359150 Q1468017 Q1728479 Q1506705 Q1708929 Q2870942 Q1282826 Q76427 Q1458049 Q15444369 Q2032027 Q823986 Q1429280 Q1162339 Q1039524 Q88570 Q101494 Q1611711 Q15432735 Q6107474 Q281439 Q1227937 Q107514 Q91609 Q15781719 Q7781510 Q1735966 Q1446335 Q1784495 Q63723 Q1161361 Q104452 Q832562 Q71739 Q1709394 Q1558536 Q1305908 Q1673781 Q2571841 Q2427469 Q65589 Q2645309 Q61745 Q44917 Q3418230 Q1929717 Q1086323 Q18221951 Q2587211 Q1334697 Q17321292 Q314525 Q109627 Q22998193 Q20853546 Q1662910 Q2589422 Q998569 Q96330 Q74173 Q1889653 Q110222 Q100518 Q75078 Q1260737 Q1264239 Q1693157 Q1360384 Q1579172 Q3200601 Q1359285 Q71351 Q15819635 Q18631385 Q508991 Q1354475 Q1568199 Q15223500 Q5728116 Q2057974 Q96429 Q1359736 Q1721206 Q1731991 Q16216303 Q1322679 Q87808 Q18411429 Q22343658 Q1345664 Q88528 Q708594 Q1420497 Q2473610 Q16145885 Q17501764 Q1503865 Q567361 Q43885 Q105759 Q60848 Q1282181 Q364222 Q584645 Q108395 Q20968667 Q1115067 Q2492684 Q588840 Q111441 Q17745625 Q525661 Q2562879 Q97247 Q2149596 Q1391450 Q2425917 Q21854780 Q19948717 Q1805961 Q1717668 Q1083512 Q1577718 Q103220 Q72685 Q2561798 Q1874629 Q1402971 Q1576784 Q1461915 Q1605100 Q1731873 Q1403057 Q126537 Q1097881 Q23921532 Q1417922 Q215256 Q1400870 Q70421 Q1372611 Q2575470 Q1608601 Q114328 Q1330153 Q570881 Q2417753 Q2221027 Q8030066 Q2033706 Q19277361 Q363131 Q1040961 Q66097 Q14950860 Q66090 Q1460561 Q850000 Q1476811 Q11903474 Q3440032 Q1362141 Q9254740 Q1443208 Q2650697 Q92282 Q1564790 Q1692968 Q1736475 Q1222744 Q1258094 Q3419332 Q6558853 Q1731657 Q2371097 Q5388020 Q1390861 Q1297821 Q708542 Q18020853 Q1545204 Q1448667 Q23062706 Q435090 Q1687210 Q72329 Q17496885 Q20018009 Q2565094 Q1162248 Q77563 Q121826 Q15990483 Q22893913 Q2546136 Q2545064 Q4712588 Q96651 Q1067301 Q1752687 Q1827920 Q16320337 Q1360138 Q119173 Q168633 Q1996666 Q3370312 Q2172431 Q98406 Q1276355 Q120452 Q3276739 Q1874750 Q1354501 Q23717149 Q6272159 Q1730849 Q1579964 Q2663885 Q103647 Q1460527 Q18388054 Q1689900 Q1602013 Q15782407 Q43793 Q2591332 Q1913185 Q19287019 Q1539094 Q70374 Q1992302 Q4156250 Q22338746 Q359927 Q2529112 Q117166 Q70166 Q1097509 Q64367 Q2300226 Q1599609 Q2756857 Q15432371 Q101919 Q448701 Q1608011 Q6506807 Q1286365 Q15455655 Q1713611 Q5735864 Q1165910 Q1687402 Q18028132 Q2639015 Q5395058 Q4251489 Q563453 Q2433611 Q1284229 Q1750999 Q8984885 Q77897 Q993547 Q3719983 Q2459752 Q1359701 Q1417008 Q1731810 Q1788071 Q120559 Q1913707 Q1379203 Q1683837 Q18411197 Q90660 Q2573165 Q1557492 Q441345 Q2285321 Q496864 Q330647 Q1306757 Q1100006 Q1747396 Q103605 Q497414 Q1583445 Q1468294 Q1317981 Q4223244 Q1700389 Q2302734 Q6321829 Q1580353 Q1403546 Q916756 Q107986 Q102564 Q1368442 Q1685984 Q1252611 Q21031995 Q87856 Q1767740 Q1561427 Q101203 Q1499759 Q1523260 Q15455824 Q5764283 Q325295 Q114197 Q1097476 Q1909879 Q825817 Q17995091 Q2060753 Q19967275 Q1078114 Q2734291 Q5225361 Q1336500 Q1872045 Q90323 Q1732193 Q7108114 Q4095817 Q5526127 Q1223773 Q662462 Q1467771 Q18333989 Q1792276 Q22063350 Q1123589 Q2711649 Q1371655 Q95744 Q58009 Q2336898 Q1648347 Q15694851 Q1403724 Q1677569 Q1222390 Q2530961 Q15260258 Q1597168 Q20180385 Q16474 Q97818 Q75820 Q1234752 Q2573756 Q23334339 Q64553 Q1520844 Q109257 Q99534 Q13512793 Q122087 Q1722498 Q13522625 Q15818844 Q1527216 Q5504937 Q91969 Q1343292 Q18020322 Q2395610 Q126849 Q16830322 Q1504775 Q1099877 Q1546026 Q19279963 Q15106877 Q1613045 Q2286219 Q1116922 Q99119 Q1351475 Q1579493 Q1472824 Q98701 Q264473 Q23926741 Q2642770 Q1044621 Q10554677 Q324341 Q62353 Q5018941 Q194741 Q15449607 Q112835 Q1333713 Q365265 Q242680 Q1037388 Q25974 Q73051 Q764919 Q2172606 Q1104808 Q16193444 Q126700 Q425758 Q1173284 Q110872 Q1422708 Q364240 Q1502311 Q78041 Q2343808 Q22059204 Q23951661 Q64789 Q764606 Q1086762 Q1403608 Q1664054 Q18331958 Q97773 Q57646 Q1358041 Q6371496 Q107700 Q694364 Q1764950 Q360964 Q363147 Q1078839 Q1514449 Q1871952 Q6776227 Q1641663 Q18023381 Q2643447 Q1580027 Q107191 Q77099 Q2572021 Q76522 Q1338946 Q18624195 Q4161634 Q1259527 Q1599442 Q1581327 Q6261477 Q113107 Q828092 Q49803 Q1503829 Q15454785 Q106188 Q1117887 Q19273861 Q1412020 Q1747546 Q1782191 Q91431
OR((c(Q502895),P19,Q1721), (c(Q502895),P19,Q623464))
action filter_type
action union
action find_reverse
entity Q1721
relation P19
action find_reverse
entity Q623464
relation P19
type Q502895
[ANSWERS] were born at Wiesbaden or Bad Kötzting
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q1721'], [{'concept': 'Q502895'}, 'P19', 'Q623464']]}
SELECT DISTINCT ?y WHERE { { ?y property:P19 ?e . VALUES ( ?e ) { ( resource:Q1721 ) ( resource:Q623464 ) } } . ?y rdf:type ontology:Q502895 }
Martin Kukula Anton Schwarz Ottilie Gerhäuser Rudolf Scholtz Oswald Garrison Villard Diethardt von Preuschen Eberhard von Bodenhausen Kristof Klöckner Peter Hanenberger Alfons Lappas Jochen Kuhn Hannelore Rönsch Christian Wilhelm Kreidel Hans Lehr Michael Boettge Jürgen F. Riemann Walter Czysz Ricarda Junge Alfons Kirchgässner Jeanne Faust Hans Kopfermann Malte Thorsten Gunter Germann Albrecht Jockenhövel Maria Yakunchikova Andrea Diefenbach Ulrike Syha Ernst Friedlaender Robert Münzel Lisa Kümmel Werner Gerlach Friedrich Beck Heinz Letton Carl Seiler Wilhelm Georg Schmidt Adalbert Baltes Karl Bender Maximilian Schubert Wilhelm Kempf Hans Felber Hartmut Riederer Björn Michel Julius Bretz Benjamin Hübner Jonas Hummels Ira Diana Mazzoni Heinrich Birk Ralph Misske Max Domarus Emil Pfeiffer Maria Hippius-Dürckheim Bernhard Dohm Volker Schlöndorff Albert Pfuhl Friedrich Baumann Erich Glette Walter Hofmann Wolfgang Jehn Ute Finckh-Krämer Antanas Aleksandras Gorskis Jörg Hickl Angela Maurer Melanie Michaelis Georg Knetsch Simone Signoret Kurt Seifert Heinrich Rubens Fritz Catta Katja von Garnier August Kortheuer Eckhard Jansen Michael Sauer Ernst Laaff Fritz Ritzel Klaus Dieter John Georg von Tschudi Alexander Fach August Momberger Frank Witzel Dieter Rams Friedrich Albert Cremer Hans-Friedrich Müller Paul Kuhn Bernd Perplies Flora Veit-Wild Daniel Roesner Karl Ludwig Doerr Michael Kessler Dolf Sternberger Hermann Jöckel Sophie Goetzel-Leviathan J. William Schickel Francisco González Dirk Kurbjuweit Lia Eibenschütz Nyanatiloka Adolf Isbert Theo Wiederspahn Katharina Otto-Dorn Franz Bossong Thilo Wydra Helge Meeuw Daniel Klaus Ernst Lautz Bettina Bruinier Birgit Hogefeld Mathias Grassow Paul Gast Karl Michel Ise Gropius Wilhelm Bauer Thomas Stiller Alexander Rüstow Alfred Koerppen Walter Gerlach Jürgen Grabowski Ralph Baum Michael Walter Christophe Fricker Rainer Fromm Wladimir Eliasberg Julius Baum Dorothea Decker Ludwig Hohlwein Ingo Zamperoni Kerstin Polte Hermann Stieffel Ingeborg Maus Wolfgang Deichsel Christian Scholz Adolf Wahrmund Ingeborg Schöner Manfred Letzerich Arne Hoffmann Wilhelm Rudolf Mann Mathilde Ludendorff Hannes Sautter Jürgen Corleis Johann Daniel Bager Ernst Toepfer Hans Dieter Schreeb Kurt Pflieger Ernst Lotichius Ernst Scholz Harald Schwartz Sven Becker Kevin Kraus Friedrich Kempf Ulrich Eisel Heinz Krey Henry Schwarzschild Patrick Simon Sebastian Schmidt Ernst Perabo Klaus Haacker Karl Korn Katharina Sulzbach Herbert Eisenberger Hans Schleif Eduard Brenner Tinka Uphoff Hans-Reinhard Scheu Otfried Nippold Herman Watzinger Michael Schulz Ueli Prager Robert Wiedmaier Monique St. Pierre Georg Böning Ludwig Knaus Michael Heigl Rolf von Sydow Kristina Schröder Elke Back Adolf Schön Antje Damm Stefan Grüttner Alexander Finkenwirth Walter Hartenbach Martin Becker Anton Dieffenbach Eleonore Weisgerber Devante Parker Andy Dörner Werner Wemheuer Benedict Stattler Richard Matuschka-Greiffenclau Günther Massenkeil Thomas Löffelholz Maurice de Brunhoff Friedrich Pfeiffer Larissa Boehning Jürgen Schneider Christine Obermayr Hans-Jürgen Jakobs Ferdinand Rudio Romuald Karmakar Werner Krag Ludwig Kaiser Wilhelm Wengler Hans-Christian Oeser Friedrich Franz Karl Schenck Hendrik Schneider Karl Kaltwasser Silvia Weiss Hans Milch Claudia Wildhardt Marc Wachs Karl-Ludwig Selig Wilhelm Weygandt Fee von Reichlin August Conrady Eugen Hubrich Wilhelm Unverzagt Herbert Kieper Eduard Bornträger Elisabeth Naske Gustav Schellenberg Theodor Hergenhahn Sandra Kleinjung Wolfgang Giegerich Oskar Frank Leonhard Hagen Christian Saalfrank Adolf Lehr Carl Walther Gustav von Wangenheim Lei'D Tapa Josef Ludwig von Armansperg Friedrich Krell Bettina Kenter Walther Kampe Matthias Dittmer Roland Despains Johann Erhard Peter Prieger Ernst Hess Frank Eulberg Alois Paul Grafenberger Stefan Blöcher Wilhelm Avieny Johann Christian Reinhard Luja Kathrin Ackermann Dieter Schaad Wiebke Ullmann Raoul du Gardier Helga Schmidhuber Carl Hoffmann Sven Hasper Erich Eberhardt Fabrizio Hayer Franz von Reichenau Arthur Bahl Henriette Marion Gregor Werum Franz Reitz Tobias Schimmelbauer Pavlo Skoropadskyi Jens Harzer Andrea Klump Katharina Bauer Patrick Ludovicus Schmitz Rudolf von Ribbentrop Daniel Raht Katja Ebbinghaus Theodor Habicht Beatrice von Bismarck Elisabeth Hoffmann Walter Schmidt Walter Klaas Egenolf Engelhard Reinhard Oehme Charlotte Posenenske Theodor Goetz Liselott Diem Meike Schmelzer Ernst Schomer Adolf Glaser Schoolboy Q Norbert Becker Paul-Jacques Kalb Rudolf Bingel Thomas Ernst Mark Binz Kurt Leimer Melody Perkins Ludwig Löw von und zu Steinfurth Erika Skrotzki Adalbert von Roessler Jonas Kyratzes Werner Krämer Hans Günther Zempelin Bruno Schrep Erivan Haub Steffen Weber Betty Wahl Jo Miard Helene Raff Ali Ahraoui Johannes Reitmeier Wolfgang Schuppli Max Pagenstecher Jonathan Malu Gottfried Anton Schenck Karl Herxheimer Nils Döring Count Michael Mikhailovich de Torby Theodor Wilhelm Fresenius Ado Riegler Vivien Weiß-Drumm Rudi Arndt Edzard Ernst Claudia Herstatt Franz Kaiser Hannie Termeulen Heinrich von Nauendorf Princess Caroline of Nassau-Usingen Herbert Schneider August Müller Scott D. Davis Herbert Baldus Sabine Kornbichler Reinhold Merten Marco Sagurna Kurt Köster Herbert Wehnert Dario Azzellini Jens Zemke Stefan Büttner Albert Werminghoff Ernst Krag Karl Kösting Anna Teluren Tilman Grammes Edgar Wollgandt Marlene Zimmer Count Georg Nikolaus of Merenberg Richard Wünsch Bruno Melmer Craig Klass Tunay Acar Ernst Pagenstecher Hanno Hurth Karl Johann Pauly Alexa Feser August von Kruse Max Müller Eva Hagenbäumer Jasna Fritzi Bauer Lothar Wolf Barbara Christine von Bernhold Wilhelm Heise Johann von Wiesbaden Dorothee Schneider Sigrid Hirbodian Andreas Dorschel Abraham Moses Tendlau Rudolf Dietz Clemens Knobloch Kolja Erdmann Katharina Schubert Andreas Berg Hans von Kessel Hans Scharf Gabriele Dietze Arthur Kleinschmidt Reinhard Meier Sophie Cossaeus Jürgen Fauth Hans Hundertmarck Felix Isaak Brigitte Weining Adolph Albrecht Erlenmeyer Tanja Langer Klaus-Peter Todt Jeanette Bethge Gerhard Mohnike Thomas Stammberger Otto Krebs Rodney Hunter Günther Erkel Lina Carstens Remigius Heinrich Fresenius Walter Pradt Karl Rößler Hilmar Zahn Julius Buths Alexander Sternberg Claudia Grehn Matthias Frey Bernhard Ruberg Joseph Henninger Paul Krüger Ludwig von Rössler Christa Leiffheidt Anastasia de Torby Darryl Cox Emil Mangold Louis Wintermeyer Hans Grimm Karl Lotichius Oswald Dietz Marian Brandys Gary Weeks Dietrich Harth Tim Reynolds Fritz Philippi Alexander Pfeiffer Cuno Rantzau Marlene Dietrich Gotthold Herxheimer Hans Joachim Rauch Wilhelm Zais Wolfgang Grams Wilhelm Stuckart Stefan Kühne Verena Wriedt Wolfgang Goldner Felix Pfitzner mollath Dieter Leisegang Volker Elis Pilgrim Fritz Moeglich Heinrich Eufinger Norbert Horn John McEnroe Michael Herrmann Nico Rosberg Klaus Heger Wilhelm Krichbaum Hildegard Bachmann Princess Helena of Nassau Ruth Toma Hans Knöll Walter Zerlett-Olfenius Roelof van Lennep Rainer Forst Wolfgang Herber Egbert Peters Günther Bartels Gisbert zu Knyphausen Fritz Höhn Hans Heinz Zerlett Kiki Vandeweghe Fritz Hans Rehbold Tatjana Hauptmann Friedrich Zollinger Alexander Schwolow Georg Honigmann Clemens August Kiel Grete Wurm Friedrich Graefe Kurt Becker-Marx Hermann Wenzel Silke Reeh-Czak*mo Ken Bardowicks Adolf Richter Isa von Hardenberg Hans Fleischer Otto von Bothmer Alfons Paquet Jan-Olaf Immel Fabian Kalig Alexander Osteroth Carolus Horn Edin Rustemović Rainer Seifert Karin Dor Peter Dombrovskis Shawn Parker Jonas Schmidt Frank Schirrmacher Else Sparwasser Adolph Bermbach Birutė Galdikas Carl Schirm Shy Love Ralf Reichenbach August de Laspée Rudolf Essek Karl Philipp Franz Keil Annette Winkler Axel Wintermeyer Folkert Meeuw Dave McClain Gerhard Besier Jürgen Hofer Adolf Seel Norbert Hönnscheidt Karl Heun Stephan Schleim Tilmann Höhn Fritz Gerth Hans Zender Wilhelm Fresenius Christopher Hübner Felix Leinen Julia Kerr Jean Halpérin Sabine Rumpf Günther Lütjens Ernst Ferber Karl-Otto Leukefeld Sebastian Schulte Arno Kriegsheim Willi Rosenstein Adolf Bickel Adolf Lex Christian August Vogler Gernot Stroth Louis Schellenberg Martin Muhr Matthias Jacobs Lina Bürger Alexander Peez Hans Harms Ernst Bickel Karl Brugmann Wilhelm Bogler Helmuth Plessner Emmy Burg Frank Zuber Philipp Heinrich Dilthey Ferdinand Reuter Meinhard Hoffmann Hans Merten John Twiggs Myers Emil Heinrich Meyer Berthold Wolf Halil Savran Georg Buch Hans Thurn Johannes Masing Johann Jakob Bager Bruno von Niessen Louis Seel Wolfgang Bergmann Konrad Lied Rudolf G. Wagner
Peter Hanenberger, Christophe Fricker, Barbara Christine von Bernhold, Reinhold Merten, Jeanette Bethge, Helene Raff, August Kortheuer, Tilmann Höhn, Michael Schulz and Katharina Bauer were born at Wiesbaden or Bad Kötzting
Peter Hanenberger Christophe Fricker Barbara Christine von Bernhold Reinhold Merten Jeanette Bethge Helene Raff August Kortheuer Tilmann Höhn Michael Schulz Katharina Bauer
action filter_type
action union
action find_reverse
entity Wiesbaden
relation place of birth
action find_reverse
entity Bad Kötzting
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Wiesbaden'], [{'concept': 'common name'}, 'place of birth', 'Bad Kötzting']]}
SELECT DISTINCT ?y WHERE { { ?y property:place_of_birth ?e . VALUES ( ?e ) { ( resource:Wiesbaden ) ( resource:Bad_Kötzting ) } } . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P190
Q515 Q515 Q20667921
USER
Which cities are twin cities of min number of cities and french administrative divisions ?
(c(Q515)|c(Q20667921),P190,c(Q515))
action argmin
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q515
action find_reverse_tuple_counts
relation P190
type Q515
type Q20667921
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) ?g WHERE { VALUES ( ?d ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } . ?c rdf:type ?d } GROUP BY ?g } } . FILTER ( ?s = ?f ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?q WHERE { VALUES ( ?r ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } . ?m rdf:type ?r } GROUP BY ?q } }
action argmin
action union
action find_reverse_tuple_counts
relation sister city
type city
type city
action find_reverse_tuple_counts
relation sister city
type city
type type of french administrative division
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) ?g WHERE { VALUES ( ?d ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } . ?c rdf:type ?d } GROUP BY ?g } } . FILTER ( ?s = ?f ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?q WHERE { VALUES ( ?r ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } . ?m rdf:type ?r } GROUP BY ?q } }
[]
city city type of french administrative division
Q270704 Q3126 Q392429
SYSTEM
Třebíč, Erlangen, Šternberk
Q386691 Q384403 Q373542 Q39738 Q823988 Q843001 Q1017045 Q843006 Q847602 Q847607 Q222242 Q1000086 Q197379 Q849434 Q703158 Q205914 Q259498 Q83786 Q944051 Q696925 Q1000060 Q60037 Q278877 Q533157 Q217432 Q827041 Q819639 Q385375 Q304848 Q379030 Q57921 Q10395 Q10397 Q664895 Q858008 Q496667 Q1000467 Q281371 Q571808 Q837960 Q42651 Q612815 Q58273 Q1088716 Q1015011 Q695892 Q191120 Q385982 Q766168 Q383850 Q58650 Q214938 Q770187 Q392692 Q830394 Q850344 Q985465 Q1009003 Q846335 Q14499 Q789256 Q873835 Q7473516 Q946743 Q1321460 Q1001647 Q638312 Q502196 Q360069 Q1009095 Q377834 Q8247 Q295367 Q283023 Q166255 Q917888 Q59100 Q430864 Q1645575 Q1010131 Q57818 Q349982 Q548097 Q783255 Q166282 Q246723 Q198240 Q773312 Q696388 Q373346 Q363166 Q193719 Q1000029 Q1623 Q373023 Q1629 Q1008750 Q74957 Q404529 Q653446 Q158423 Q912224 Q851419 Q714636 Q740800 Q5690 Q852018 Q1000336 Q937008 Q605256 Q841603 Q1236048 Q860674 Q181276 Q3692 Q368429 Q8131 Q857202 Q192271 Q854956 Q235004 Q933641 Q1018700 Q92297 Q375651 Q69060 Q71227 Q1632616 Q1019339 Q132997 Q120103 Q389515 Q278017 Q216077 Q646847 Q321778 Q604625 Q68695 Q330409 Q221283 Q155975 Q57997 Q913754 Q958157 Q602976 Q793405 Q503411 Q386677 Q1818241 Q583910 Q1482 Q34217 Q625154 Q179608 Q144988 Q1467 Q855073 Q753731 Q68534 Q1010144 Q623549 Q379160 Q607625 Q526335 Q737830 Q200500 Q496072 Q755691 Q854906 Q12245 Q1019335 Q16959 Q317827 Q1844 Q837154 Q650015 Q819629 Q1015409 Q1013843 Q385461 Q291745 Q755698 Q324293 Q986070 Q946893 Q75150 Q8854 Q838669 Q858369 Q847577 Q15379 Q1019970 Q593157 Q161176 Q1725 Q79535 Q683165 Q1723 Q270704 Q6582 Q851021 Q478038 Q911610 Q386026 Q846345 Q207406 Q316841 Q1025213 Q126995 Q23661 Q817141 Q753864 Q570884 Q373101 Q158435 Q740810 Q498545 Q502988 Q734532 Q820760 Q7568 Q180379 Q842971 Q1475 Q622594 Q978446 Q784229 Q843028 Q341056 Q755681 Q1017261 Q1000033 Q589880 Q596486 Q1410 Q71108 Q749283 Q426130 Q651742 Q1852528 Q496431 Q674311 Q242108 Q207881 Q937688 Q453502 Q31238 Q1017769 Q1676870 Q860669 Q42664 Q151958 Q487439 Q665097 Q162880 Q174461 Q68614 Q496681 Q653402 Q514796 Q854949 Q404362 Q57756 Q320939 Q239597 Q158432 Q851007 Q335427 Q327764 Q1471150 Q42635 Q633789 Q495802 Q1019844 Q373813 Q116417 Q368929 Q693237 Q250733 Q221214 Q722732 Q488869 Q71284 Q740853 Q205922 Q840595 Q877266 Q840591 Q632146 Q207876 Q384926 Q842976 Q1676863 Q188082 Q270806 Q941061 Q349976 Q279642 Q756581 Q373564 Q203929 Q273880 Q855060 Q643929 Q1473 Q842996 Q843021 Q1020874 Q338616 Q954596 Q954611 Q57970 Q668318 Q851042 Q1575979 Q850395 Q92324 Q854977 Q325555 Q819613 Q941032 Q890122 Q854987 Q394108 Q855011 Q1258284 Q513417 Q1013914 Q2096 Q655417 Q930396 Q58210 Q335506 Q55597 Q374511 Q4174 Q377929 Q317844 Q200077 Q47916 Q846338 Q667208 Q191097 Q57885 Q29003 Q853623 Q946769 Q3126 Q789233 Q1729076 Q360374 Q1430746 Q523489 Q372791 Q237683 Q246634 Q369628 Q1019360 Q1394252 Q692745 Q158420 Q999916 Q211243 Q210661 Q532560 Q210667 Q58178 Q158257 Q750573 Q496080 Q656603 Q987487 Q118213 Q629471 Q187861 Q695911 Q695917 Q1641829 Q271917 Q57936 Q390798 Q3904 Q790370 Q572231 Q44244 Q75026 Q3826 Q2907 Q149108 Q492366 Q591823 Q149105 Q349973 Q732300 Q265555 Q470369 Q1865 Q2209 Q532981 Q1756960 Q359990 Q851114 Q180470 Q210365 Q696407 Q387211 Q17176 Q349985 Q517783 Q571918 Q360235 Q1355 Q498060 Q3167 Q183584 Q3859 Q5869 Q144663 Q508591 Q59227 Q1018857 Q789282 Q502993 Q637913 Q75091 Q728438 Q427769 Q634022 Q789261 Q189823 Q496837 Q855086 Q226000 Q845857 Q851492 Q911634 Q59223 Q187821 Q502205 Q230843 Q319729 Q460812 Q57944 Q57947 Q189769 Q373687 Q236197 Q386250 Q750224 Q263757 Q329797 Q488134 Q2061 Q184998 Q890949 Q416669 Q1017247 Q386988 Q854965 Q269634 Q489147 Q601254 Q161060 Q158523 Q629849 Q843043 Q850676 Q990988 Q20073 Q36063 Q924085 Q248959 Q3751 Q742160 Q933638 Q171943 Q651322 Q17189 Q386661 Q819672 Q847557 Q158245 Q518203 Q18575 Q652710 Q646766 Q71339 Q1013909 Q57948 Q950352 Q933374 Q649214 Q58422 Q40626 Q582209 Q877935 Q954808 Q209983 Q2427155 Q696783 Q885482 Q936145 Q842929 Q30340 Q842925 Q92277 Q392429 Q1019371 Q225100 Q303478 Q217681 Q263837 Q721163 Q275904 Q284480 Q911567 Q1641781 Q213296 Q1737652
(c(Q515)|c(Q20667921),P190,c(Q515))
action argmin
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q515
action find_reverse_tuple_counts
relation P190
type Q515
type Q20667921
[ANSWERS] are twin cities of min number of cities and french administrative divisions
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) ?g WHERE { VALUES ( ?d ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } . ?c rdf:type ?d } GROUP BY ?g } } . FILTER ( ?s = ?f ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?q WHERE { VALUES ( ?r ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } . ?m rdf:type ?r } GROUP BY ?q } }
Niiza City Litoměřice Szigetvár Laoag Kakegawa Csorna Protivín Nagykálló Nishinoomote Sanda Kisköre Nový Bor Zhangjiajie Fuefuki Velké Meziříčí Lijiang Rafaela Shimla Horní Jiřetín Iruma Humpolec Zalaegerszeg Český Těšín Tianshui Port Harcourt Beroun Gero Ōmachi Daqing Zalaszentgrót Lößnitz Cirebon Sukabumi Uherský Brod Murayama Muroran Hostinné Jászberény Guigang Năvodari Wuxi Garachico Taizhou Lőrinci Milevsko Nanao Jēkabpils Herend Nagykáta Litovel Zhangjiakou Gyula Kaminoyama Šumperk Nagykőrös Sakado Rakovník Staré Město Kahoku Samarinda Balatonalmádi Tomioka Tokyo Skalná Králíky Budyně nad Ohří Toride Tenri Bengbu Otrokovice Szentes Biratnagar Nagyatád Maglód Horšovský Týn Vinaròs Shantou Nymburk Kostelec nad Orlicí Frýdlant nad Ostravicí Huai'an Hegang Visegrád Kapuvár Alghero Záhony Zhumadian Třeboň Toyooka Linyi Ganzhou Cheb Kraslice Valenzuela Weihai Zamboanga City Stříbro Anshan Xuchang Tsuchiura Buštěhrad Techirghiol Turnov Miyakojima Paks Sparta Izumisano Tandil Tótkomlós Shimada Tiszakécske Dolní Benešov Tosu Szolnok Riyadh Felsőzsolca Palembang Sanuki Guiyang Ibrány Vigan Martonvásár Bystřice nad Pernštejnem Siping Valašské Meziříčí Xining Shiyan Počátky Město Albrechtice Florianópolis Kaga Kariya Tiszavasvári Jiujiang Sodegaura Hodonín Guyuan Quanzhou Ústí nad Orlicí Cape Coast Kutná Hora Wolkenstein Zalalövő Sezimovo Ústí Klatovy Berettyóújfalu Inuyama Kusatsu, Shiga Rousínov Aš Cavite City Oxford Komárom Nanning Zalakaros Cebu City Solt Masuda Nanping Hluboká nad Vltavou Puerto de la Cruz Kunszentmárton Tamási Keszthely Mizil Takehara Fujinomiya Budaörs Gyömrő Stanley Jílové u Prahy Ürümqi Hanamaki Vaduz Simeria Pannonhalma Toba Bílovec Dačice Ōmihachiman Ílhavo Svitavy Anyang Chrudim Teiuș Yingkou Las Piñas Yamatotakada Tōkamachi Susono Kendari Březnice Murfatlar Fukushima Lipa Fort Smith Poděbrady Batangas City Třebíč Carcassonne Pâncota Kiskunfélegyháza Lengyeltóti Orlová Suzu Mosonmagyaróvár Karlovo Rosice Weinan Wellington Benešov nad Ploučnicí Kurobe Tongliao Rizhao Vrbno pod Pradědem Békés Meldorf Takaoka Fukaya Mihara Yogyakarta Rēzekne Sellye Quezon City Takayama Trmice Szigethalom Oroszlány Česká Třebová Várpalota Rotava Lanškroun Pucioasa Fujioka Gibraltar Frauenstein San Juan Mianyang Minamiashigara City Třebechovice pod Orebem Sakaiminato Kisvárda Otaru Ichihara Strmilov Amami Miki Mnichovo Hradiště Jablonné nad Orlicí Nichinan Huzhou Yueyang Oral Minoh Dezhou Ranchi Sanming Ebetsu Shimoda Baoji Nyergesújfalu Xinxiang Lianyungang Mělník Neratovice Stochov Deta Kisarazu Prachatice Fryšták Wenzhou Dombóvár Hekinan Přimda Albufeira Sátoraljaújhely Jindřichův Hradec Chitose Wa Cugir Litomyšl Benalmádena Xiangyang Szigetszentmiklós Qiqihar Kamisu Tainai Miyoshi Enying Yamaguchi Ōgaki Mátészalka Jablonec nad Jizerou Český Krumlov Anjō Bystřice pod Hostýnem Yichun Myōkō Františkovy Lázně Liaocheng Zimnicea Beppu Encs Shūnan Davao City Pécsvárad Tolna Přeštice Čelákovice Havlíčkův Brod Jeseník Changzhou Sárospatak Hârlău Vratimov Gōtsu Tonghua Kerekegyháza Recaș Uozu Kozármisleny Bolhrad Soltvadkert Žirovnice Heves Raspenava Vsetín Polička Edmonton Kenderes Nagakute Jinhua Salto Muñoz Oyama Emden Hévíz Nishio Morioka Lucknow Suwa Fertőd Tachov Elterlein Jiamusi Bátaszék Mórahalom Erlangen Balassagyarmat Kardašova Řečice Anqing Košťany Terezín Jining Ōme Zábřeh Sumoto Dobřany Kosmonosy Monbetsu Červený Kostelec Vysoké Mýto Yinchuan Musashino Jiayuguan City Chōfu Jiaxing Hlučín Maizuru Kadoma Jičín Ostrov Yamatokōriyama Kiskunmajsa Wollongong Kuji Kitakami Jiříkov Kushiro Scheibenberg Szentendre Mbabane Barcs Chongzuo Santa Fe Fushun Muscat Sucre Jablunkov Norden Náchod Tanvald Shuangyashan Gyomaendrőd Kitami Kolín Kuala Lumpur Roxas Baiyin Poběžovice Wuhu Yasugi Huangshan City Beihai Hakusan Kamogawa Muntinlupa Suihua Pinamar Yulin Ma'anshan Bangalore Mooka Siegen Lanzhou Kigali Lhasa Hengyang Police nad Metují Chaozhou Nový Bydžov Balatonföldvár Uherské Hradiště Tōgane Benxi Siklós Kisbér Kiryū Balatonboglár Haikou Lincang Sajószentpéter Jimbolia Uwajima Shibukawa Kisújszállás Zhongshan Tatabánya Nemuro Zushi Urayasu Naruto Annaberg-Buchholz Nantong Salgótarján Binzhou Hino City Ōtake Strakonice Kadarkút Iwakuni Ontario Yellowknife Kaposvár Bohumín Yiyang Podbořany Říčany Lenti Tachikawa City Schmalkalden Dubí Přibyslav Ehingen Hatvan Sárvár Blansko Broumov Hohenstein-Ernstthal Vecsés Horní Slavkov Zărnești Praia Shijōnawate Mezőkövesd Nanchang Năsăud Pasay Fujisawa Kumano Nagai Písek Iwanuma Tucson Letovice Tōno Xiaogan Slaný Aue Brtnice Nagybajom Csongrád Tangshan Tacloban Tokaj Unnan Kaplice Gyöngyös Náměšť nad Oslavou Yaizu Blovice Loket Nepomuk Zhengzhou Edelény Jilin City Šternberk Studénka Bicaz Kravaře Tai'an Ozamiz Itō Flămânzi Bóly Nyékládháza Vítkov Sinaia Kdyně
Třebíč, Erlangen and Šternberk are twin cities of min number of cities and french administrative divisions
Třebíč Erlangen Šternberk
action argmin
action union
action find_reverse_tuple_counts
relation sister city
type city
type city
action find_reverse_tuple_counts
relation sister city
type city
type type of french administrative division
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) ?g WHERE { VALUES ( ?d ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } . ?c rdf:type ?d } GROUP BY ?g } } . FILTER ( ?s = ?f ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?q WHERE { VALUES ( ?r ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } . ?m rdf:type ?r } GROUP BY ?q } }
[]