Simple Question (Direct)
Simple Question
Q1682409
P19
Q56061
USER
Which administrative territory is the place of birth of Sandra Steffl ?
(Q1682409,P19,c(Q56061))
action filter_type
action find
entity Q1682409
relation P19
type Q56061
['Q1682409', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1682409 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Sandra Steffl
action filter_type
action find
entity Sandra Steffl
relation place of birth
type administrative territorial entity
['Sandra Steffl', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Sandra_Steffl property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q1682409,P19,c(Q56061))
action filter_type
action find
entity Q1682409
relation P19
type Q56061
[ANSWER] is the place of birth of Sandra Steffl
['Q1682409', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1682409 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Munich
Munich is the place of birth of Sandra Steffl
Munich
action filter_type
action find
entity Sandra Steffl
relation place of birth
type administrative territorial entity
['Sandra Steffl', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Sandra_Steffl property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1682409
P21
Q290
USER
What is the sex of that person ?
(Q1726,P21,c(Q290))
action filter_type
action find
entity Q1682409
relation P21
type Q290
['Q1726', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q1682409 property:P21 ?l }
Sandra Steffl
action filter_type
action find
entity Sandra Steffl
relation gender
type sex
['Munich', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Sandra_Steffl property:gender ?l }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1726,P21,c(Q290))
action filter_type
action find
entity Q1682409
relation P21
type Q290
The sex of that person is the [ANSWER]
['Q1726', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q1682409 property:P21 ?l }
female
The sex of that person is the female
female
action filter_type
action find
entity Sandra Steffl
relation gender
type sex
['Munich', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Sandra_Steffl property:gender ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1726
P190
Q56061
USER
How many administrative territories are partner towns of Munich ?
(Q1726,P190,c(Q56061))
action count
action filter_type
action find
entity Q1726
relation P190
type Q56061
['Q1726', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Q1726 property:P190 ?m . ?m rdf:type ontology:Q56061 }
Munich
action count
action filter_type
action find
entity Munich
relation sister city
type administrative territorial entity
['Munich', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Munich property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
6
Q48195 Q121157 Q23436 Q3921 Q2028 Q1479
(Q1726,P190,c(Q56061))
action count
action filter_type
action find
entity Q1726
relation P190
type Q56061
[ANSWER]
['Q1726', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Q1726 property:P190 ?m . ?m rdf:type ontology:Q56061 }
Basra Mashhad Edinburgh Harare Verona Bordeaux
6
action count
action filter_type
action find
entity Munich
relation sister city
type administrative territorial entity
['Munich', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Munich property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q72672
Q56061
USER
And what about Sorrento?
(Q72672,P190,c(Q56061))
action count
action filter_type
action find
entity Q72672
relation P190
type Q56061
['Q72672', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Q72672 property:P190 ?p . ?p rdf:type ontology:Q56061 }
Sorrento
action count
action filter_type
action find
entity Sorrento
relation sister city
type administrative territorial entity
['Sorrento', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Sorrento property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
3
(Q72672,P190,c(Q56061))
action count
action filter_type
action find
entity Q72672
relation P190
type Q56061
[ANSWER]
['Q72672', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Q72672 property:P190 ?p . ?p rdf:type ontology:Q56061 }
3
action count
action filter_type
action find
entity Sorrento
relation sister city
type administrative territorial entity
['Sorrento', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Sorrento property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1726
P1376
Q7275
USER
Which states have Munich as their capital ?
(Q1726,P1376,c(Q7275))
action filter_type
action find
entity Q1726
relation P1376
type Q7275
['Q1726', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q1726 property:P1376 ?p . ?p rdf:type ontology:Q7275 }
Munich
action filter_type
action find
entity Munich
relation capital of
type state
['Munich', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:Munich property:capital_of ?p . ?p rdf:type ontology:state }
[]
state
Q154195 Q980
SYSTEM
Kingdom of Bavaria, Bavaria
Q154195 Q980
(Q1726,P1376,c(Q7275))
action filter_type
action find
entity Q1726
relation P1376
type Q7275
[ANSWERS] have Munich as their capital
['Q1726', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q1726 property:P1376 ?p . ?p rdf:type ontology:Q7275 }
Kingdom of Bavaria Bavaria
Kingdom of Bavaria and Bavaria have Munich as their capital
Kingdom of Bavaria Bavaria
action filter_type
action find
entity Munich
relation capital of
type state
['Munich', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:Munich property:capital_of ?p . ?p rdf:type ontology:state }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q216
Q7275
USER
And also tell me about Vilnius?
(Q216,P1376,c(Q7275))
action filter_type
action find
entity Q216
relation P1376
type Q7275
['Q216', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { resource:Q216 property:P1376 ?d . ?d rdf:type ontology:Q7275 }
Vilnius
action filter_type
action find
entity Vilnius
relation capital of
type state
['Vilnius', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { resource:Vilnius property:capital_of ?d . ?d rdf:type ontology:state }
[]
state
Q49683 Q172107 Q76236
SYSTEM
Grand Duchy of Lithuania, Polish–Lithuanian Commonwealth, Lithuanian–Belorussian Soviet Socialist Republic
Q80211 Q172107 Q49683 Q523380 Q76236
(Q216,P1376,c(Q7275))
action filter_type
action find
entity Q216
relation P1376
type Q7275
[ANSWERS]
['Q216', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { resource:Q216 property:P1376 ?d . ?d rdf:type ontology:Q7275 }
Lithuanian Soviet Socialist Republic Polish–Lithuanian Commonwealth Grand Duchy of Lithuania Republic of Central Lithuania Lithuanian–Belorussian Soviet Socialist Republic
Grand Duchy of Lithuania Polish–Lithuanian Commonwealth Lithuanian–Belorussian Soviet Socialist Republic
action filter_type
action find
entity Vilnius
relation capital of
type state
['Vilnius', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { resource:Vilnius property:capital_of ?d . ?d rdf:type ontology:state }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P122
Q22676587 Q151885 Q7275
USER
How many states have approximately the same number of monarchic systems or concepts as the type of government as that state ?
(c(Q7275),P122,c(Q22676587)|c(Q151885))
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:P122 ?j . VALUES ( ?j ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q22676587 . ?x rdf:type ontology:Q151885 }
[{'concept': 'state'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:basic_form_of_government ?j . VALUES ( ?j ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:state . ?y rdf:type ontology:monarchic_system . ?x rdf:type ontology:concept }
[]
monarchic system concept state
Comparative|Count over More/Less|Mult. entity type|Clarification
Q172107
SYSTEM
Did you mean Polish–Lithuanian Commonwealth ?
(c(Q7275),P122,c(Q22676587)|c(Q151885))
[ANSWER]
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:P122 ?j . VALUES ( ?j ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q22676587 . ?x rdf:type ontology:Q151885 }
Did you mean Polish–Lithuanian Commonwealth ?
Polish–Lithuanian Commonwealth
[{'concept': 'state'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:basic_form_of_government ?j . VALUES ( ?j ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:state . ?y rdf:type ontology:monarchic_system . ?x rdf:type ontology:concept }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Grand Duchy of Lithuania. Could you tell me the answer for that?
(c(Q7275),P122,c(Q22676587)|c(Q151885))
Q49683
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q151885'}]]
[{'concept': 'state'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'concept'}]]
[]
SYSTEM
253
Q241748 Q211853 Q484104 Q180573 Q105092 Q210163 Q3185305 Q2340665 Q1538311 Q476757 Q152115 Q285658 Q18285930 Q2414171 Q179876 Q2475921 Q218023 Q889374 Q798431 Q3456417 Q154401 Q174193 Q965174 Q282475 Q1269234 Q889394 Q48685 Q552157 Q229411 Q201038 Q761370 Q431731 Q175881 Q330988 Q1852345 Q1194329 Q533558 Q1423680 Q617218 Q2253783 Q1247508 Q13107370 Q986665 Q744042 Q209065 Q190513 Q10988528 Q631210 Q1811029 Q2308237 Q19801186 Q204920 Q1998866 Q207162 Q142417 Q834486 Q2006542 Q545205 Q131964 Q726798 Q133356 Q215530 Q150058 Q62589 Q161885 Q4461035 Q33946 Q150056 Q11876909 Q139319 Q191077 Q234009 Q271570 Q903779 Q841364 Q16957 Q558596 Q941881 Q1194765 Q514423 Q62623 Q870055 Q713750 Q544630 Q1057542 Q16949002 Q1789596 Q550374 Q1152126 Q44642 Q853348 Q203493 Q696908 Q147909 Q555994 Q980 Q652560 Q220167 Q2980623 Q1636212 Q737040 Q112558 Q124943 Q37024 Q317078 Q62519 Q503623 Q940123 Q14934927 Q137766 Q172579 Q153128 Q867782 Q877579 Q551798 Q83286 Q210036 Q1277557 Q186537 Q633573 Q1483430 Q200896 Q1068408 Q623751 Q49683 Q330362 Q736936 Q8146595 Q12557 Q2456191 Q310293 Q15864 Q212439 Q844250 Q1362278 Q267584 Q303421 Q207521 Q1658411 Q153015 Q2342822 Q1078602 Q75613 Q71092 Q1479726 Q15180 Q6083755 Q698089 Q1406298 Q179293 Q28278 Q157734 Q600093 Q170072 Q7382038 Q467864 Q76236 Q209857 Q1415585 Q953432 Q1115291 Q170174 Q4843701 Q212056 Q21005050 Q175276 Q210542 Q422065 Q7318 Q42585 Q170468 Q146328 Q487829 Q2365048 Q1138904 Q956451 Q27306 Q1493843 Q1508143 Q1477220 Q146713 Q156038 Q30623 Q736727 Q230407 Q940821 Q824489 Q157727 Q2088324 Q248572 Q189988 Q1192936 Q199841 Q71747 Q615902 Q1322229 Q173761 Q217196 Q16624774 Q23541302 Q199442 Q154195 Q10921634 Q13706 Q498735 Q1775277 Q173082 Q121932 Q680997 Q38872 Q4948 Q1152445 Q156020 Q16410 Q153660 Q1240096 Q1771831 Q70972 Q1986139 Q2145397 Q2353425 Q582861 Q1517772 Q1142179 Q12548 Q211274 Q158725 Q588672 Q6412664 Q6500954 Q1083009 Q391980 Q80211 Q1054184 Q1029847 Q832554 Q1155768 Q157367 Q427941 Q1044668 Q161036 Q266923 Q1061488 Q5148517 Q41304 Q752662 Q797422 Q206411 Q2305337 Q2184 Q2578706 Q1885093 Q149805
(c(Q7275),P122,c(Q22676587)|c(Q151885))
[ANSWER]
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P122 ?y } UNION { ?z property:P122 ?x } } . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q22676587 . ?x rdf:type ontology:Q151885 }
Kingdom of Serbia Republic of Serbian Krajina United States Army Military Government in Korea South Vietnam Kingdom of Mercia Astrakhan Khanate Kingdom of Israel Basutoland Travancore-Cochin Democratic Republic of Afghanistan Duchy of Warsaw First Mexican Empire German Empire of 1848/1849 First Brazilian Republic Kingdom of England Outer Mongolia Orange Free State Warsangali Sultanate Republic of Dahomey Republic of Saint-Malo Slovak Republic United Kingdom of Great Britain and Ireland Coalition Provisional Authority Kingdom of Kartli-Kakheti Stellaland Portuguese Mozambique Judah Nieuwe Republiek Delhi Sultanate Roman Kingdom Aro Confederacy Tanganyika Roman Republic Democratic Kampuchea Trucial States Nova Roma Kingdom of Croatia-Slavonia Gay and Lesbian Kingdom of the Coral Sea Islands Yamhad Kingdom of Glywysing Domain of Soissons Principality of Serbia First East Turkestan Republic Grand Duchy of Avram Kingdom of Greece Khanate of Sibir Second East Turkestan Republic Nogai Horde Finnish Socialist Workers' Republic Ahom kingdom Liberland Crown of Aragon Czech and Slovak Federal Republic Bourbon Restoration Kingdom of Valencia Federation of South Arabia Dominion of Pakistan Transcaucasian Socialist Federative Soviet Republic Austrian Empire Tulunids Ukrainian Soviet Socialist Republic Kingdom of Ireland Travancore Union between Sweden and Norway Kingdom of Great Britain Akkadian empire Czechoslovakia Kingdom of Cochin State of Brazil Russian Republic Kingdom of Yugoslavia Magadha Kingdom of Araucanía and Patagonia United Kingdom of Portugal, Brazil and the Algarves Ayutthaya Kingdom East Germany Hadiya Kingdom Netherlands New Guinea Kamarupa Parthenopean Republic Kalmar Union Kingdom of Laos West Germany Republic of Maryland Republic of Hawaii Lordship of Brecknock Croatia in personal union with Hungary South African Republic People's Republic of the Congo Federation of Arab Republics Czechoslovak Socialist Republic Kingdom of Romania Kingdom of Poland Kingdom of Bulgaria Ag Qoyunlu Bavaria West Indies Federation Lydenburg Republic Kingdom of Bosnia Karabakh Khanate Islamic Courts Union Republic of Saugeais Kingdom of Egypt Serbia and Montenegro Pskov Republic Finnish Democratic Republic Gold Coast Rustamid dynasty Murrawarri Republic Free Republic of Wendland Kingdom of Italy Independent State of Croatia Kingdom of Funan Kugelmugel Grand Duchy of Flandrensis Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Democratic Federal Yugoslavia Khanate of Kazan Kingdom of Rheged Principality of Kiev Slovak Soviet Republic Kuru Kingdom Kingdom of Bernicia Grand Duchy of Lithuania Commonwealth of England Lu Upingtonia Mongol Empire Kingdom of Seisyllwg Saar Protectorate United Kingdom of the Netherlands Cossack Hetmanate Lordship of Ireland United States of Stellaland Yemen Arab Republic Kingdom of Galicia Abyssinia Kingdom of Sarawak Kingdom of Saxony West Pakistan Kingdom of Nepal Almoravid dynasty Second French Empire Federation of Malaya Soviet Union Islands of Refreshment Grand Duchy of Würzburg Serbian Empire Kingdom of Castile Provisional Government of the Republic of Korea Muscat and Oman Habsburg Spain Dutch Republic Imperial Throne People's Socialist Republic of Albania Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Islamic State of Afghanistan Couto Misto Thonburi Kingdom Papal States Libyan Arab Jamahiriya Mongolian People's Republic Kingdom of Morgannwg Kingdom of León Second Brazilian Republic Sultanate of Sulu Nazi Germany Kingdom of Bohemia United Arab Republic Commonwealth of the Philippines Chagatai Khanate Adal Sultanate Kingdom of Afghanistan Kingdom of Dyfed Kingdom of Prussia Klein Vrystaat Ukrainian State Somali Democratic Republic Arab Federation Duchy of Courland and Semigallia Manchukuo Republic of Siena Kingdom of Israel People's Democratic Republic of Ethiopia Estado Novo Ifat Sultanate Colonial Brazil Sultanate of Maguindanao Central African Empire Kingdom of Burundi South Yemen Duchy of Brittany Kingdom of Finland Enlightenment in Spain Lithuanian Soviet Socialist Republic Crown of Castile Kingdom of Nicoya Kaluga Soviet Republic Kingdom of Aragon Kingdom of Bavaria Khoshut Khanate Principality of Sealand division of Korea Dominion of India Dacia People's Republic of Bulgaria Principality of Lower Pannonia Prussia Republic of Venice Aerican Empire State of the Teutonic Order People's Republic of Hungary Italian Social Republic Hyderabad State Kruševo Republic Kingdom of France Parthian Empire Goshen (South Africa) Talossa Marinid dynasty Protectorate of South Arabia Orange River Colony Holy Roman Empire People's Republic of Poland Tanganyika Territory Hammadid dynasty Realm of Stefan Dragutin Zaire Principality of Wy Free Territory of Trieste Lithuanian Soviet Socialist Republic Khmer Republic Natalia Republic Argentine Confederation Republic of Molossia Brandenburg-Prussia Islamic Emirate of Afghanistan Republic of Rose Island Free State of Prussia Kingdom of Mysore United States of Colombia Colony and Protectorate of Nigeria Weimar Republic Hafsid dynasty Republic of Upper Volta Democratic Republic of Azerbaijan Azerbaijan People's Government Russian Soviet Federative Socialist Republic Kingdom of Ceredigion Mahra Sultanate Kingdom of Iraq
253
[{'concept': 'state'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:basic_form_of_government ?y } UNION { ?z property:basic_form_of_government ?x } } . ?z rdf:type ontology:state . ?y rdf:type ontology:monarchic_system . ?x rdf:type ontology:concept }
[]