Simple Question (Direct)
Simple Question
Q106011
P106
Q12737077
USER
What is the profession of Arthur Menge ?
(Q106011,P106,c(Q12737077))
action filter_type
action find
entity Q106011
relation P106
type Q12737077
['Q106011', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q106011 property:P106 ?j }
Arthur Menge
action filter_type
action find
entity Arthur Menge
relation occupation
type occupation
['Arthur Menge', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Arthur_Menge property:occupation ?j }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q106011,P106,c(Q12737077))
action filter_type
action find
entity Q106011
relation P106
type Q12737077
The profession of Arthur Menge is a [ANSWER]
['Q106011', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q106011 property:P106 ?j }
politician
The profession of Arthur Menge is a politician
politician
action filter_type
action find
entity Arthur Menge
relation occupation
type occupation
['Arthur Menge', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Arthur_Menge property:occupation ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q106011
P20
Q56061
USER
Where did Arthur Menge expire ?
(Q106011,P20,c(Q56061))
action filter_type
action find
entity Q106011
relation P20
type Q56061
['Q106011', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q106011 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Arthur Menge
action filter_type
action find
entity Arthur Menge
relation place of death
type administrative territorial entity
['Arthur Menge', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Arthur_Menge property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64044
SYSTEM
Bellinzona
Q64044
(Q106011,P20,c(Q56061))
action filter_type
action find
entity Q106011
relation P20
type Q56061
Arthur Menge expired in [ANSWER]
['Q106011', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q106011 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Bellinzona
Arthur Menge expired in Bellinzona
Bellinzona
action filter_type
action find
entity Arthur Menge
relation place of death
type administrative territorial entity
['Arthur Menge', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Arthur_Menge property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people have location of birth at that administrative territory ?
(c(Q502895),P19,Q64044)
action count
action filter_type
action find_reverse
entity Q64044
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q64044']
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:P19 resource:Q64044 . ?i rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Bellinzona
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Bellinzona']
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:place_of_birth resource:Bellinzona . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
48
Q578345 Q807350 Q22666415 Q118227 Q2926883 Q118674 Q3939042 Q3724470 Q3610110 Q3724413 Q309659 Q457522 Q3701700 Q4013411 Q116308 Q15278452 Q2692233 Q3850559 Q1724569 Q3876462 Q3351905 Q3831760 Q3665455 Q366571 Q2704759 Q1042453 Q3751528 Q3619819 Q3850567 Q15090682 Q1911595 Q353273 Q3856600 Q1149202 Q3777992 Q17496962 Q3852761 Q3736385 Q3645791 Q3264970 Q1987975 Q1413819 Q121252 Q6930383 Q671504 Q3751174 Q1390603 Q527872
(c(Q502895),P19,Q64044)
action count
action filter_type
action find_reverse
entity Q64044
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q64044']
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:P19 resource:Q64044 . ?i rdf:type ontology:Q502895 }
Mauro Lustrinelli Barbara Berta Beatrice Scalvedi Ernst Brugger Bruno Martignoni Fabio Reinhart Roberto Pasotti Emilio Motta Alessandro Mangiarratti Emilio Geiler Massimo Busacca Igor Djuric Daniel Panizzolo Vincenzo Molo Renato Berta Henri Dubuis Danijel Miličević Marzio Banfi Roberto Morinini Nicole Bullo Omar Tognini Libico Maraja Cesare Lucchini Kubilay Türkyilmaz Marco Giampaolo Carlo Salvioni Franco Ponti Antonio Marchesano Marzio Morocutti Cleto Locatelli Maurizio Conti Filippo Lombardi Michele Fazioli Tranquillo Mollo Grégory Sciaroni Vivaldo Martini Mauro Baranzini Ezio Guidi Bruno Grossi Luca Cereda Massimo Lombardo Filippo Bonzanigo Laura Sadis Giacomo Casserini Franco Cesarini Franco Brenni Fabio Tognetti Antonio Permunian
48
action count
action filter_type
action find_reverse
entity Bellinzona
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Bellinzona']
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:place_of_birth resource:Bellinzona . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64044
P159
Q4830453
USER
Which business enterprise has its HQ location at Bellinzona ?
(c(Q4830453),P159,Q64044)
action filter_type
action find_reverse
entity Q64044
relation P159
type Q4830453
[{'concept': 'Q4830453'}, 'P159', 'Q64044']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q4830453 . ?a property:P159 resource:Q64044 }
Bellinzona
action filter_type
action find_reverse
entity Bellinzona
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Bellinzona']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:business_enterprise . ?a property:headquarters_location resource:Bellinzona }
[]
business enterprise
Q806158
SYSTEM
Banca dello Stato del Cantone Ticino
Q806158
(c(Q4830453),P159,Q64044)
action filter_type
action find_reverse
entity Q64044
relation P159
type Q4830453
[ANSWER] has its HQ location at Bellinzona
[{'concept': 'Q4830453'}, 'P159', 'Q64044']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q4830453 . ?a property:P159 resource:Q64044 }
Banca dello Stato del Cantone Ticino
Banca dello Stato del Cantone Ticino has its HQ location at Bellinzona
Banca dello Stato del Cantone Ticino
action filter_type
action find_reverse
entity Bellinzona
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Bellinzona']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:business_enterprise . ?a property:headquarters_location resource:Bellinzona }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64044
P47
Q13220204
USER
Which administrative country subdivisions are adjacent to Bellinzona ?
(Q64044,P47,c(Q13220204))
action filter_type
action find
entity Q64044
relation P47
type Q13220204
['Q64044', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?z WHERE { resource:Q64044 property:P47 ?z . ?z rdf:type ontology:Q13220204 }
Bellinzona
action filter_type
action find
entity Bellinzona
relation shares border with
type second-level administrative country subdivision
['Bellinzona', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?z WHERE { resource:Bellinzona property:shares_border_with ?z . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q70313 Q70075 Q70306
SYSTEM
Sant'Antonio, Monte Carasso, Pianezzo
Q70313 Q70075 Q69788 Q69797 Q70306
(Q64044,P47,c(Q13220204))
action filter_type
action find
entity Q64044
relation P47
type Q13220204
[ANSWERS] are adjacent to Bellinzona
['Q64044', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?z WHERE { resource:Q64044 property:P47 ?z . ?z rdf:type ontology:Q13220204 }
Sant'Antonio Monte Carasso Arbedo-Castione Gorduno Pianezzo
Sant'Antonio, Monte Carasso and Pianezzo are adjacent to Bellinzona
Sant'Antonio Monte Carasso Pianezzo
action filter_type
action find
entity Bellinzona
relation shares border with
type second-level administrative country subdivision
['Bellinzona', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?z WHERE { resource:Bellinzona property:shares_border_with ?z . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q70313 Q70075 Q70306
P47
Q56061
USER
Which administrative territories share border with Sant'Antonio, Monte Carasso and Pianezzo ?
(Q70313,P47,c(Q56061)) (Q70075,P47,c(Q56061)) (Q70306,P47,c(Q56061))
action union
action filter_type
action find
entity Q70313
relation P47
type Q56061
action filter_type
action find
entity Q70075
relation P47
type Q56061
action filter_type
action find
entity Q70306
relation P47
type Q56061
['Q70313', 'P47', {'concept': 'Q56061'}] ['Q70075', 'P47', {'concept': 'Q56061'}] ['Q70306', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?p ) { ( resource:Q70313 ) ( resource:Q70075 ) } . ?p property:P47 ?a }
Sant'Antonio Monte Carasso Pianezzo
action union
action filter_type
action find
entity Sant'Antonio
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Monte Carasso
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Pianezzo
relation shares border with
type administrative territorial entity
["Sant'Antonio", 'shares border with', {'concept': 'administrative territorial entity'}] ['Monte Carasso', 'shares border with', {'concept': 'administrative territorial entity'}] ['Pianezzo', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?p ) { ( resource:Sant'Antonio ) ( resource:Monte_Carasso ) } . ?p property:shares_border_with ?a }
[]
administrative territorial entity
Q64044 Q64044 Q64044
SYSTEM
Bellinzona
Q64044 Q64044 Q64044
(Q70313,P47,c(Q56061)) (Q70075,P47,c(Q56061)) (Q70306,P47,c(Q56061))
action union
action filter_type
action find
entity Q70313
relation P47
type Q56061
action filter_type
action find
entity Q70075
relation P47
type Q56061
action filter_type
action find
entity Q70306
relation P47
type Q56061
[ANSWER], [ANSWER] and [ANSWER] share border with Sant'Antonio, Monte Carasso and Pianezzo
['Q70313', 'P47', {'concept': 'Q56061'}] ['Q70075', 'P47', {'concept': 'Q56061'}] ['Q70306', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?p ) { ( resource:Q70313 ) ( resource:Q70075 ) } . ?p property:P47 ?a }
Bellinzona Bellinzona Bellinzona
Bellinzona, Bellinzona and Bellinzona share border with Sant'Antonio, Monte Carasso and Pianezzo
Bellinzona Bellinzona Bellinzona
action union
action filter_type
action find
entity Sant'Antonio
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Monte Carasso
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Pianezzo
relation shares border with
type administrative territorial entity
["Sant'Antonio", 'shares border with', {'concept': 'administrative territorial entity'}] ['Monte Carasso', 'shares border with', {'concept': 'administrative territorial entity'}] ['Pianezzo', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?p ) { ( resource:Sant'Antonio ) ( resource:Monte_Carasso ) } . ?p property:shares_border_with ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64044
P37
Q34770
USER
What is considered to be the official language of that administrative territory ?
(Q64044,P37,c(Q34770)) (Q64044,P37,c(Q34770)) (Q64044,P37,c(Q34770))
action filter_type
action find
entity Q64044
relation P37
type Q34770
['Q64044', 'P37', {'concept': 'Q34770'}] ['Q64044', 'P37', {'concept': 'Q34770'}] ['Q64044', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q64044 property:P37 ?o . ?o rdf:type ontology:Q34770 }
Bellinzona
action filter_type
action find
entity Bellinzona
relation official language
type language
['Bellinzona', 'official language', {'concept': 'language'}] ['Bellinzona', 'official language', {'concept': 'language'}] ['Bellinzona', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Bellinzona property:official_language ?o . ?o rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q64044,P37,c(Q34770)) (Q64044,P37,c(Q34770)) (Q64044,P37,c(Q34770))
action filter_type
action find
entity Q64044
relation P37
type Q34770
[ANSWER] is considered to be the official language of that administrative territory
['Q64044', 'P37', {'concept': 'Q34770'}] ['Q64044', 'P37', {'concept': 'Q34770'}] ['Q64044', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q64044 property:P37 ?o . ?o rdf:type ontology:Q34770 }
Italian
Italian is considered to be the official language of that administrative territory
Italian
action filter_type
action find
entity Bellinzona
relation official language
type language
['Bellinzona', 'official language', {'concept': 'language'}] ['Bellinzona', 'official language', {'concept': 'language'}] ['Bellinzona', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Bellinzona property:official_language ?o . ?o rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64044
P127
Q483110
USER
Which stadium is owned by Bellinzona ?
(c(Q483110),P127,Q64044)
action filter_type
action find_reverse
entity Q64044
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q64044']
SELECT DISTINCT ?l WHERE { ?l property:P127 resource:Q64044 . ?l rdf:type ontology:Q483110 }
Bellinzona
action filter_type
action find_reverse
entity Bellinzona
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Bellinzona']
SELECT DISTINCT ?l WHERE { ?l property:owned_by resource:Bellinzona . ?l rdf:type ontology:stadium }
[]
stadium
Q690053
SYSTEM
Stadio Comunale Bellinzona
Q690053
(c(Q483110),P127,Q64044)
action filter_type
action find_reverse
entity Q64044
relation P127
type Q483110
[ANSWER] is owned by Bellinzona
[{'concept': 'Q483110'}, 'P127', 'Q64044']
SELECT DISTINCT ?l WHERE { ?l property:P127 resource:Q64044 . ?l rdf:type ontology:Q483110 }
Stadio Comunale Bellinzona
Stadio Comunale Bellinzona is owned by Bellinzona
Stadio Comunale Bellinzona
action filter_type
action find_reverse
entity Bellinzona
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Bellinzona']
SELECT DISTINCT ?l WHERE { ?l property:owned_by resource:Bellinzona . ?l rdf:type ontology:stadium }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64044
P17
Q15617994
USER
Which administrative territory is Bellinzona located in ?
(Q64044,P17,c(Q15617994))
action filter_type
action find
entity Q64044
relation P17
type Q15617994
['Q64044', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q64044 property:P17 ?w }
Bellinzona
action filter_type
action find
entity Bellinzona
relation country
type designation for an administrative territorial entity
['Bellinzona', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bellinzona property:country ?w }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q64044,P17,c(Q15617994))
action filter_type
action find
entity Q64044
relation P17
type Q15617994
Bellinzona is located in [ANSWER]
['Q64044', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q64044 property:P17 ?w }
Switzerland
Bellinzona is located in Switzerland
Switzerland
action filter_type
action find
entity Bellinzona
relation country
type designation for an administrative territorial entity
['Bellinzona', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bellinzona property:country ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64044
P740
Q43229
USER
Which organization originated at that administrative territory ?
(c(Q43229),P740,Q39)
action filter_type
action find_reverse
entity Q64044
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q39']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q43229 . ?f property:P740 resource:Q64044 }
Bellinzona
action filter_type
action find_reverse
entity Bellinzona
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Switzerland']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:organization . ?f property:location_of_formation resource:Bellinzona }
[]
organization
Q920695
SYSTEM
Azienda Elettrica Ticinese
Q920695
(c(Q43229),P740,Q39)
action filter_type
action find_reverse
entity Q64044
relation P740
type Q43229
[ANSWER] originated at that administrative territory
[{'concept': 'Q43229'}, 'P740', 'Q39']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q43229 . ?f property:P740 resource:Q64044 }
Azienda Elettrica Ticinese
Azienda Elettrica Ticinese originated at that administrative territory
Azienda Elettrica Ticinese
action filter_type
action find_reverse
entity Bellinzona
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Switzerland']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:organization . ?f property:location_of_formation resource:Bellinzona }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3955 Q64044
P19
Q502895
USER
Which people have location of birth at Bellinzona or Weimar ?
OR((c(Q502895),P19,Q64044), (c(Q502895),P19,Q3955))
action filter_type
action union
action find_reverse
entity Q64044
relation P19
action find_reverse
entity Q3955
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q64044'], [{'concept': 'Q502895'}, 'P19', 'Q3955']]}
SELECT DISTINCT ?l WHERE { { { ?l property:P19 resource:Q64044 } UNION { ?l property:P19 resource:Q3955 } } . ?l rdf:type ontology:Q502895 }
Weimar Bellinzona
action filter_type
action union
action find_reverse
entity Bellinzona
relation place of birth
action find_reverse
entity Weimar
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Bellinzona'], [{'concept': 'common name'}, 'place of birth', 'Weimar']]}
SELECT DISTINCT ?l WHERE { { { ?l property:place_of_birth resource:Bellinzona } UNION { ?l property:place_of_birth resource:Weimar } } . ?l rdf:type ontology:common_name }
[]
common name
Q1608749 Q3351905 Q694583 Q2343216 Q766558 Q849977 Q536581 Q3645791 Q15428758 Q72420
SYSTEM
Some of them are Herbert Lungwitz, Omar Tognini, Arno Senfft, Stephan Dierichs, Auguste Götze, Bettina Hürlimann, Christian Wilhelm Ernst Dietrich, Bruno Grossi, Ernst-Andreas Ziegler, Paul Laux
Q1505309 Q324837 Q66746 Q3610110 Q216362 Q61994 Q64215 Q1511877 Q2475516 Q118378 Q527872 Q60919 Q5503842 Q1624663 Q470198 Q100909 Q671504 Q65130 Q19834721 Q4522684 Q71153 Q14515326 Q69439 Q2531141 Q353273 Q1037954 Q1672532 Q18669819 Q3850567 Q1149202 Q164589 Q69655 Q1297100 Q1823682 Q350846 Q1624564 Q533929 Q113785 Q1717554 Q16389287 Q494032 Q78239 Q1732552 Q465193 Q3732150 Q3351905 Q364748 Q1615438 Q2173643 Q98845 Q1477803 Q1016438 Q1461579 Q1696434 Q111365 Q1294917 Q1668726 Q76428 Q525192 Q324525 Q497040 Q16623277 Q97687 Q1410557 Q1331685 Q90731 Q701085 Q1733340 Q60962 Q21029012 Q65194 Q108761 Q1565882 Q503178 Q3724413 Q589606 Q1336025 Q706662 Q1145061 Q1712953 Q119834 Q1603851 Q1731129 Q75699 Q22236696 Q1732223 Q72808 Q97941 Q1630111 Q443272 Q477230 Q698672 Q5700185 Q1580149 Q4715447 Q65178 Q1692953 Q15850936 Q106878 Q849977 Q3645791 Q86733 Q1390603 Q106973 Q1736698 Q1039204 Q578345 Q1267812 Q89634 Q1450183 Q1503732 Q1724569 Q87540 Q18028145 Q84447 Q3939042 Q22666415 Q826058 Q1417191 Q4820848 Q1890079 Q1745661 Q1736233 Q1991659 Q57541 Q556811 Q5741082 Q1337363 Q1067185 Q23060484 Q1819286 Q1624604 Q1474971 Q18508078 Q1469171 Q1411642 Q15431461 Q216234 Q66379 Q15813755 Q6351902 Q65376 Q810163 Q57242 Q3175135 Q1446394 Q1042453 Q113706 Q151774 Q21033744 Q331538 Q2141065 Q2645084 Q1505900 Q17418347 Q1624504 Q694653 Q1201326 Q64193 Q1730250 Q2577357 Q118227 Q539413 Q1463766 Q559792 Q3856600 Q1246576 Q1227990 Q2166510 Q1600681 Q2344197 Q124475 Q3701700 Q6510671 Q826394 Q517121 Q68664 Q1586540 Q1359347 Q15432877 Q1285224 Q2061293 Q525378 Q118674 Q1782050 Q21029009 Q2926883 Q2501791 Q1577953 Q1273544 Q15428758 Q457522 Q58037 Q1354946 Q3751528 Q1634752 Q1733439 Q4013411 Q643298 Q1459302 Q77982 Q3665455 Q98527 Q4182298 Q1459071 Q2074843 Q23060512 Q1894088 Q108621 Q1468400 Q69962 Q15064682 Q992735 Q213775 Q1579068 Q1731225 Q858511 Q96461 Q95205 Q1689255 Q3264970 Q2573258 Q1560292 Q108675 Q64169 Q1583255 Q820034 Q1520635 Q91679 Q2074437 Q3852761 Q453784 Q309659 Q1904039 Q2343216 Q1610781 Q5649598 Q2581889 Q17000319 Q69707 Q123008 Q108142 Q1444467 Q70390 Q15090682 Q88620 Q1127936 Q1911595 Q1639407 Q1126728 Q84970 Q2077358 Q1511678 Q4066202 Q1517859 Q696478 Q3724470 Q96564 Q213533 Q22294411 Q121252 Q4894202 Q17493416 Q1536638 Q1646176 Q1987975 Q21124276 Q1469644 Q19279980 Q61118 Q3808863 Q327557 Q107277 Q1413819 Q56689 Q3751174 Q76833 Q499837 Q6216330 Q1393190 Q276155 Q2424569 Q60743 Q1871780 Q2572322 Q106990 Q2575312 Q99203 Q2287856 Q15820959 Q694583 Q692261 Q1501931 Q807350 Q1157261 Q366571 Q106459 Q1329549 Q817579 Q2588858 Q536581 Q16652582 Q19285195 Q71618 Q1438188 Q1693682 Q1427729 Q77978 Q116308 Q4190125 Q60631 Q17462278 Q215521 Q2172580 Q92164 Q1694125 Q20107378 Q15819003 Q2214093 Q2520950 Q537260 Q3850559 Q109495 Q469943 Q1111632 Q107075 Q1081624 Q1038930 Q1413216 Q1162629 Q1354530 Q65885 Q15431540 Q1603944 Q214900 Q4521658 Q106253 Q15079141 Q1383030 Q2545736 Q766558 Q1712111 Q21124224 Q3777992 Q454810 Q67170 Q98873 Q1581363 Q67829 Q1583145 Q213715 Q69459 Q71016 Q1698646 Q15278452 Q2704759 Q1608902 Q3778845 Q1098378 Q2062473 Q1463247 Q3876462 Q90918 Q830682 Q694562 Q4111930 Q1447804 Q18508184 Q1732172 Q1277732 Q3736385 Q1734196 Q17496962 Q1678105 Q95378 Q1711963 Q77387 Q1610562 Q1582859 Q1467737 Q895504 Q108280 Q1283755 Q1875170 Q985036 Q45154 Q19243873 Q126747 Q72420 Q112218 Q1512047 Q1039399 Q1895012 Q61972 Q2425875 Q324041 Q87213 Q68238 Q1745243 Q442227 Q1608749 Q2075363 Q112175 Q1115410 Q6930383 Q1889458 Q3831760 Q1504547 Q1733298 Q1695615 Q2692233 Q1279275 Q1730609 Q15444810 Q2734193 Q95977 Q1712972 Q1578662 Q3619819
OR((c(Q502895),P19,Q64044), (c(Q502895),P19,Q3955))
action filter_type
action union
action find_reverse
entity Q64044
relation P19
action find_reverse
entity Q3955
relation P19
type Q502895
[ANSWERS] have location of birth at Bellinzona or Weimar
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q64044'], [{'concept': 'Q502895'}, 'P19', 'Q3955']]}
SELECT DISTINCT ?l WHERE { { { ?l property:P19 resource:Q64044 } UNION { ?l property:P19 resource:Q3955 } } . ?l rdf:type ontology:Q502895 }
Georg Mardersteig Dorothea Maria of Saxe-Weimar, Duchess of Saxe-Zeitz Christiane Vulpius Alessandro Mangiarratti August von Goethe Wolfgang Hohlbein Frederick William I, Duke of Saxe-Weimar Gerhard Kaun Ulrich Barnickel Ernst Christian Wilhelm Ackermann Antonio Permunian Princess Marie of Saxe-Weimar-Eisenach Friedrich Issermann Holger Zaunstöck Johann Gottfried Bernhard Bach Johann Bernhard Christoph Eichmann Franco Cesarini Karl Koch Anton Varus Eberhard von Scheller Karl Rathgen Bernd Schwarzer Amalia von Helvig Volker Mauersberger Filippo Lombardi Carl Friedrich Christian Steiner Irene Köhler Hans Werner Marzio Morocutti Tranquillo Mollo Anastassija Igorewna Tokarewa Prince Johann Ernst of Saxe-Weimar Max Martersteig Lidy Steche Adam Schmidt Holger Mahlich Angelica Facius August Jacob Liebeskind Jürgen Piquardt Walburga Gmür Andrea Hünniger Helene Böhlau Karl Pabst Dorothea Sophia, Abbess of Quedlinburg Ernestina Albertina di Sassonia-Weimar Omar Tognini Adolf von Donndorf Paul Walter Ehrhardt Rudolf Ridel Heinrich Ulmann Richard Ohmann Burkhard Gotthelf Struve Friedrich Preller the Younger Johann Ulrich Wallich Sigurd Lohde Edwin Redslob Ute Freudenberg Carl Philipp Emanuel Bach Bernardina Christina Sophia of Saxe-Weimar-Eisenach Frank Möller Andreas Ernemann William Marshall August Ernst Zinserling Jutta Hecker Ella Endlich Thomas Thieme Charles Augustus, Hereditary Grand Duke of Saxe-Weimar-Eisenach Karl Weiß Uziel Gal Johann Christoph Bach Hans Carl Friedrich von Mangoldt Johann Traugott Leberecht Danz Alexander Szpinger Andrejs Vlascenko Emilio Geiler Anton Georg Hauptmann Emil Gottfried von Herder Lothar-Günther Buchheim Kurt Fischer Julius Karl Schnauss Wilhelm Ernst Weber Helmut Lander Karl Friedrich Weber Anna Dorothea, Abbess of Quedlinburg Constanze Grobe Karl Ludwig Reimann Hermann Emminghaus Wolfgang Müller-Lauter Horst de Marées Princess Marie Alexandrine of Saxe-Weimar-Eisenach Johann Christian Lobe John George I, Duke of Saxe-Eisenach Heinrich Karsten Wagenfeld Hans Hellmich Aleksandr Shtyn Oscar Schlömilch Ludwig Klauer Till Sailer Hermann Schaeffer Bettina Hürlimann Bruno Grossi Karl Scheidemantel Fabio Tognetti Friedrich von Esebeck Katrin Bibiella Carl Kettel Mauro Lustrinelli Eduard Sältzer Emil Huschke Franziska Schulze Georg Bleyer Roberto Morinini Hans Gerhard Gräf Steffen Dittes Richard Kiepert Roberto Pasotti Beatrice Scalvedi Bernhard Trefflich Otto Flöl August Will Manfred Weißleder Klaus Schmid-Burgk Katherina Lange Nicolaus Rosthius Augusta of Saxe-Weimar-Eisenach Anke Lutz Hermann Ziegner Emilie von Gleichen-Rußwurm Charlotte Flemming Ottofritz Gaillard Leonhard Schrickel Holger Runge Günter Lampe Christian Romstet Fritz von Wille Gottfried Theodor Stichling Wilhelm Gerhard Carl Eberwein Ludwig Bechstein Mark Hauptmann Princess Sophie of Saxe-Weimar-Eisenach Christian August Vulpius Basilius Monner August von Kotzebue Johann Sebald Triemer Franz Burchart Carlo Salvioni Fritz Schöll Max Schmid Jörg Simmat Wolfgang Benkert Reinhard Urbach Alfred Götze Hans Eberling Eberhard Zschimmer Holger Franke Arno Zauche Detlef Pollack Frederick William II, Duke of Saxe-Altenburg Carl Alexander Brendel Willi Neuenhahn Ernst Brugger Manfred Matuschewski Lutz Gebhardt Anna Blässe Michele Fazioli Ernst Friedemann von Münchhausen Dirk Möller Rosa von Milde Heinz Nehrling Stephanie Krämer Reinhold Köhler Daniel Panizzolo Evelinde Trenkner Bernhard von Zech André Blechschmidt Friedrich Baumbach Wolfgang Maximilian von Goethe Ernst Ludwig Schellenberg Louisabeth Röckel Edith von Voigtländer Paul Michaelis Maria of Saxony, Duchess of Pomerania Fabio Reinhart Konrad Henker Maria Sophia Bach Bruno Martignoni Ursula Peter Carl Bertuch Karl Eckermann Ernst-Andreas Ziegler Igor Djuric William Ernest, Grand Duke of Saxe-Weimar-Eisenach Ludwig Wilhelm Seidel Franco Ponti Wolfgang Held Carl Wilhelm Fritsch Vincenzo Molo Prince Bernhard of Saxe-Weimar-Eisenach Friedrich Gotthilf Osann Marie Gutheil-Schoder Cesare Lucchini August Förster Max Saal Prince Frederick Ferdinand Constantin of Saxe-Weimar-Eisenach Peter Finger Heinz Hellmich Marcus Behmer Karl von Heygendorff Fritz Seidenstücker John Ernest II, Duke of Saxe-Weimar Johann Baptist Braun Tamara Thierbach Friedrich Justin Bertuch Hans-Constantin Paulssen Karl Georg Schmidt Carl Werner Johannes Aurifaber Jörg Jarnut Tilmann Köhler Luca Cereda Wilhelm Hoffmann Günter Apel Albert Stutzer Ernest Augustus II, Duke of Saxe-Weimar-Eisenach Hans Ziemer Hans Tutschku Rudolf Schöll Erich Wiesner Peter D. Krause Mauro Baranzini Princess Ernestine of Saxe-Weimar Massimo Busacca Martin Hermann Stephan Dierichs Hermann Buchterkirchen Hans-Joachim Löser Willy Eberling Sergi Kultšitskõi Karoline Jagemann Siegmund von Suchodolski Karl-Otto Kiepenheuer Frank Willmann Matthias Goerne Cleto Locatelli Max Koecher Carl Wilhelm Constantin Stichling Maurizio Conti Rolf Ripperger Conrad Curt Cappi August von Froriep Martin Unrein Gerhard Gundermann Joachim Albert Conrad Ansorge Carl Adelbert von Herder Arnold Waldschmidt Emilio Motta Giovanni Mardersteig Karl August, Grand Duke of Saxe-Weimar-Eisenach Andreas Paeslack Laura Sadis Bernhard Krause Franz Hübotter Golo Berg Johann Wilhelm Neumayr von Ramsla Massimo Lombardo Frédéric-Charles Weyland Hermann Uhde-Bernays Friedrich Martersteig Bernard of Saxe-Weimar Johann Gottfried Hasse Maria, Abbess of Quedlinburg Wilhelm Friedemann Bach Filippo Bonzanigo Bernhard II, Duke of Saxe-Jena Franco Brenni Carl Zeiss Andreas Oswald Johann von Böber Johann Ernst Rentzsch Martina Schröter Thomas Hartung Charles Alexander, Grand Duke of Saxe-Weimar-Eisenach Louis Jungmann Wilhelm Danz Friedrich August Brauell Wilhelm Stumpf Reinhard Hauke Simon Titius Jens Christian Susa Arno Senfft Arne Effenberger Ralf Bornkessel Barbara Berta Dagmar Dempe Kubilay Türkyilmaz Bernhard Neutsch Elinor Lüdde Benjamin Kramme Wolf von Kalckreuth Christian Wilhelm Ernst Dietrich Alfred Saal Heinrich Schmidt Sibylle Berg Robert Härtel Johann Friedrich Vulpius Hanns Floerke Walther von Goethe Renato Berta Karl Seebach Charles Frederick, Grand Duke of Saxe-Weimar-Eisenach Wolfram Huschke Traugott Maximilian Eberwein Rudolf Elle Hans Peter von Kirchbach Johann Gottfried Körner Dankmar Bosse Hagen Wiel Princess Elisabeth Sybille of Saxe-Weimar-Eisenach Pavel Pavlovich Demidov, 2nd Prince of San Donato Constanze Moser-Scandolo Marzio Banfi Udo Undeutsch Heike Warnicke Thomas Vogel Thilo Schoder Christian Rosenau Carl Hummel Rudolf Wünzer Daniel Schumann Erika Vogel Ernest Augustus I, Duke of Saxe-Weimar-Eisenach Volkmar Muthesius Helmut Müller-Lankow Eduard Genast Otto Karl Anton Schwarz Harald von Hirschfeld Catharina Dorothea Bach Johannes von Schroeter Walter Otto Paul Kettel Auguste Götze Juliane Korén Gustave-Théodore Weyland Grégory Sciaroni Margaret of Thuringia Gottfried Osann Alma von Goethe Hans Michel Salomon Franck Hans Wislicenus Prince Bernhard of Saxe-Weimar-Eisenach Adolf William, Duke of Saxe-Eisenach Herbert Kroemer Johannes Wittich Henri Dubuis Marco Giampaolo Herbert Peter Wilhelmine Christina of Saxe-Weimar Claus-Ekkehard Bärsch Paul Slevogt Friedrich Wilhelm Vitzthum von Eckstedt Nicole Bullo Karl von Fritsch Marcus Urban Arno Schröder Alexander Winterberger Franz Kirms Franz Hoffmann-Fallersleben Karl Linzen Holger Zürch Ezio Guidi Karola Stange Vivaldo Martini Marga Faulstich Sascha Anderson Julian Börner Christine Lieberknecht Hermann Apelt Hans Vent Willy Hüttenrauch Ferdinand Jagemann Jobus Fincelius Otto Schwerdgeburth Ludwig Wieland Konrad Weichberger Harald G. Petersson Alfred Heideloff Michael Schneider Paul Laux Max Wislicenus Luise Stichling Carl Leberecht Schwabe Margarete Pix Johann Ernst III, Duke of Saxe-Weimar Thomas Ludwig Johann Sebastiani Otto Schrader John II, Duke of Saxe-Weimar Klaus Hortschansky Princess Caroline Louise of Saxe-Weimar-Eisenach Herbert Lungwitz Peter Gülke Hans Muthesius Franz Horny Giacomo Casserini Manfred Heine Libico Maraja Georg Haar Karl-Walter Sprungala Johann Moritz Richter Danijel Miličević Eberhard Ponndorf Karl Bär Hans-Friedrich Geist Jennifer Heinemann Emil Osann Julius Schwabe Hans Bernhard Jacobi Antonio Marchesano
Herbert Lungwitz, Omar Tognini, Arno Senfft, Stephan Dierichs, Auguste Götze, Bettina Hürlimann, Christian Wilhelm Ernst Dietrich, Bruno Grossi, Ernst-Andreas Ziegler and Paul Laux have location of birth at Bellinzona or Weimar
Herbert Lungwitz Omar Tognini Arno Senfft Stephan Dierichs Auguste Götze Bettina Hürlimann Christian Wilhelm Ernst Dietrich Bruno Grossi Ernst-Andreas Ziegler Paul Laux
action filter_type
action union
action find_reverse
entity Bellinzona
relation place of birth
action find_reverse
entity Weimar
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Bellinzona'], [{'concept': 'common name'}, 'place of birth', 'Weimar']]}
SELECT DISTINCT ?l WHERE { { { ?l property:place_of_birth resource:Bellinzona } UNION { ?l property:place_of_birth resource:Weimar } } . ?l rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q766558
P27
Q1048835
USER
Which political territory is the country of citizenship of that person ?
(Q766558,P27,c(Q1048835))
action filter_type
action find
entity Q766558
relation P27
type Q1048835
['Q766558', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q766558 property:P27 ?s . ?s rdf:type ontology:Q1048835 }
Auguste Götze
action filter_type
action find
entity Auguste Götze
relation country of citizenship
type political territorial entity
['Auguste Götze', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Auguste_Götze property:country_of_citizenship ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q766558
SYSTEM
Did you mean Auguste Götze ?
Q1608749 Q3351905 Q694583 Q2343216 Q766558 Q849977 Q536581 Q3645791 Q15428758 Q72420
(Q1608749,P27,c(Q1048835)) (Q3351905,P27,c(Q1048835)) (Q694583,P27,c(Q1048835)) (Q2343216,P27,c(Q1048835)) (Q766558,P27,c(Q1048835)) (Q849977,P27,c(Q1048835)) (Q536581,P27,c(Q1048835)) (Q3645791,P27,c(Q1048835)) (Q15428758,P27,c(Q1048835)) (Q72420,P27,c(Q1048835))
[ANSWER]
['Q1608749', 'P27', {'concept': 'Q1048835'}] ['Q3351905', 'P27', {'concept': 'Q1048835'}] ['Q694583', 'P27', {'concept': 'Q1048835'}] ['Q2343216', 'P27', {'concept': 'Q1048835'}] ['Q766558', 'P27', {'concept': 'Q1048835'}] ['Q849977', 'P27', {'concept': 'Q1048835'}] ['Q536581', 'P27', {'concept': 'Q1048835'}] ['Q3645791', 'P27', {'concept': 'Q1048835'}] ['Q15428758', 'P27', {'concept': 'Q1048835'}] ['Q72420', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q766558 property:P27 ?s . ?s rdf:type ontology:Q1048835 }
Herbert Lungwitz Omar Tognini Arno Senfft Stephan Dierichs Auguste Götze Bettina Hürlimann Christian Wilhelm Ernst Dietrich Bruno Grossi Ernst-Andreas Ziegler Paul Laux
Did you mean Auguste Götze ?
Auguste Götze
['Herbert Lungwitz', 'country of citizenship', {'concept': 'political territorial entity'}] ['Omar Tognini', 'country of citizenship', {'concept': 'political territorial entity'}] ['Arno Senfft', 'country of citizenship', {'concept': 'political territorial entity'}] ['Stephan Dierichs', 'country of citizenship', {'concept': 'political territorial entity'}] ['Auguste Götze', 'country of citizenship', {'concept': 'political territorial entity'}] ['Bettina Hürlimann', 'country of citizenship', {'concept': 'political territorial entity'}] ['Christian Wilhelm Ernst Dietrich', 'country of citizenship', {'concept': 'political territorial entity'}] ['Bruno Grossi', 'country of citizenship', {'concept': 'political territorial entity'}] ['Ernst-Andreas Ziegler', 'country of citizenship', {'concept': 'political territorial entity'}] ['Paul Laux', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Auguste_Götze property:country_of_citizenship ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q766558,P27,c(Q1048835))
['Q766558', 'P27', {'concept': 'Q1048835'}]
['Auguste Götze', 'country of citizenship', {'concept': 'political territorial entity'}]
[]
Q183
SYSTEM
Germany
Q183
(Q766558,P27,c(Q1048835))
action filter_type
action find
entity Q766558
relation P27
type Q1048835
[ANSWER] is the country of citizenship of that person
['Q766558', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q766558 property:P27 ?s . ?s rdf:type ontology:Q1048835 }
Germany
Germany is the country of citizenship of that person
Germany
action filter_type
action find
entity Auguste Götze
relation country of citizenship
type political territorial entity
['Auguste Götze', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Auguste_Götze property:country_of_citizenship ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P840
Q56061 Q838948 Q15416
USER
Which administrative territories are max number of works of art and television programs set in ?
(c(Q838948)|c(Q15416),P840,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?y ) { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?b ) WHERE { VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?v rdf:type ?u } GROUP BY ?r } } . FILTER ( ?f = ?y ) . { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?f ) WHERE { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } GROUP BY ?g } }
action argmax
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?y ) { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?b ) WHERE { VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?v rdf:type ?u } GROUP BY ?r } } . FILTER ( ?f = ?y ) . { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?f ) WHERE { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:television_program ) ( ontology:work_of_art ) } } GROUP BY ?g } }
[]
administrative territorial entity work of art television program
Q60
SYSTEM
New York City
Q60
(c(Q838948)|c(Q15416),P840,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
Set [ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?y ) { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?b ) WHERE { VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?v rdf:type ?u } GROUP BY ?r } } . FILTER ( ?f = ?y ) . { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?f ) WHERE { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } GROUP BY ?g } }
New York City
Set New York City
New York City
action argmax
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?y ) { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?b ) WHERE { VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?v rdf:type ?u } GROUP BY ?r } } . FILTER ( ?f = ?y ) . { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?f ) WHERE { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:television_program ) ( ontology:work_of_art ) } } GROUP BY ?g } }
[]