Simple Question (Direct)
Simple Question
Q20639337
P641
Q349
USER
Which sport did Francisco Vera participate in ?
(Q20639337,P641,c(Q349))
action filter_type
action find
entity Q20639337
relation P641
type Q349
['Q20639337', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q20639337 property:P641 ?i . ?i rdf:type ontology:Q349 }
Francisco Vera
action filter_type
action find
entity Francisco Vera
relation sport
type sport
['Francisco Vera', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Francisco_Vera property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q20639337,P641,c(Q349))
action filter_type
action find
entity Q20639337
relation P641
type Q349
[ANSWER]
['Q20639337', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q20639337 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Francisco Vera
relation sport
type sport
['Francisco Vera', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Francisco_Vera property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20639337
P734
Q82799
USER
Who has the surname that person ?
(Q2736,P734,c(Q82799))
action filter_type
action find
entity Q20639337
relation P734
type Q82799
['Q2736', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q20639337 property:P734 ?u . ?u rdf:type ontology:Q82799 }
Francisco Vera
action filter_type
action find
entity Francisco Vera
relation family name
type name
['association football', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:Francisco_Vera property:family_name ?u . ?u rdf:type ontology:name }
[]
name
Q6160477
SYSTEM
Vera
Q6160477
(Q2736,P734,c(Q82799))
action filter_type
action find
entity Q20639337
relation P734
type Q82799
[ANSWER]
['Q2736', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q20639337 property:P734 ?u . ?u rdf:type ontology:Q82799 }
Vera
Vera
action filter_type
action find
entity Francisco Vera
relation family name
type name
['association football', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:Francisco_Vera property:family_name ?u . ?u rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20639337
P19
Q13220204
USER
Which administrative country subdivision was that person born in ?
(Q6160477,P19,c(Q13220204))
action filter_type
action find
entity Q20639337
relation P19
type Q13220204
['Q6160477', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?d WHERE { resource:Q20639337 property:P19 ?d . ?d rdf:type ontology:Q13220204 }
Francisco Vera
action filter_type
action find
entity Francisco Vera
relation place of birth
type second-level administrative country subdivision
['Vera', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?d WHERE { resource:Francisco_Vera property:place_of_birth ?d . ?d rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q650191
SYSTEM
Minga Guazú
Q650191
(Q6160477,P19,c(Q13220204))
action filter_type
action find
entity Q20639337
relation P19
type Q13220204
[ANSWER]
['Q6160477', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?d WHERE { resource:Q20639337 property:P19 ?d . ?d rdf:type ontology:Q13220204 }
Minga Guazú
Minga Guazú
action filter_type
action find
entity Francisco Vera
relation place of birth
type second-level administrative country subdivision
['Vera', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?d WHERE { resource:Francisco_Vera property:place_of_birth ?d . ?d rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P138
Q271669 Q13220204
USER
Which landforms are the etymology of min number of administrative country subdivisions ?
(c(Q13220204),P138,Q135228)
action argmin
action find_reverse_tuple_counts
relation P138
type Q271669
type Q13220204
[{'concept': 'Q13220204'}, 'P138', 'Q135228']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?u ) { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?b ) WHERE { ?i rdf:type ontology:Q271669 . ?j rdf:type ontology:Q13220204 . ?j property:P138 ?i } GROUP BY ?i } } . { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P138 ?o . ?o rdf:type ontology:Q271669 . ?p rdf:type ontology:Q13220204 } GROUP BY ?o } . FILTER ( ?c = ?u ) }
action argmin
action find_reverse_tuple_counts
relation named after
type landform
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'named after', 'Bonaventure Island']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?u ) { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?b ) WHERE { ?i rdf:type ontology:landform . ?j rdf:type ontology:second-level_administrative_country_subdivision . ?j property:named_after ?i } GROUP BY ?i } } . { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:named_after ?o . ?o rdf:type ontology:landform . ?p rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?o } . FILTER ( ?c = ?u ) }
[]
landform second-level administrative country subdivision
Q121378 Q23522 Q31945
SYSTEM
Corfu, Balkans, Arabian Peninsula
Q204387 Q1004693 Q1665731 Q193264 Q10684506 Q1521279 Q4249457 Q1514540 Q1336091 Q185111 Q15700318 Q3493383 Q1090553 Q45328 Q2011047 Q477574 Q17054 Q4844763 Q34497 Q1469595 Q3772710 Q1636366 Q24376122 Q156882 Q525940 Q215727 Q73169 Q178611 Q851977 Q2280548 Q9679 Q25535 Q646296 Q307268 Q24236993 Q5490361 Q43467 Q5993 Q590422 Q1065669 Q1963777 Q3402460 Q7564 Q2696558 Q190695 Q192483 Q691151 Q10512320 Q941265 Q1935888 Q111444 Q7826822 Q5463 Q756016 Q2056358 Q2892706 Q6413909 Q682618 Q6763740 Q12837 Q128323 Q629238 Q10669603 Q26710874 Q314716 Q852067 Q3255 Q822822 Q639912 Q3906736 Q303967 Q31057 Q187471 Q849086 Q17070 Q3391892 Q662158 Q167061 Q675101 Q1888208 Q922 Q3593077 Q463529 Q3812 Q674040 Q1759193 Q3108859 Q666729 Q42000 Q1584096 Q3593257 Q165608 Q24282690 Q837306 Q845310 Q13991 Q173292 Q2656389 Q187843 Q34374 Q4011296 Q10549909 Q107393 Q10682469 Q4253105 Q744746 Q1288 Q1395106 Q6996741 Q460219 Q1474797 Q3558282 Q2735703 Q111509 Q6453423 Q993 Q1547493 Q3593006 Q16900024 Q46291 Q1043915 Q37056 Q2610088 Q3341878 Q504373 Q331099 Q1200572 Q974760 Q84170 Q932957 Q767528 Q208664 Q10431415 Q1644366 Q31945 Q657187 Q60010 Q509682 Q10669812 Q121378 Q1851445 Q3757 Q213730 Q4349554 Q1132109 Q10605047 Q1406859 Q610 Q1474508 Q418485 Q2301512 Q10527194 Q2547995 Q22890 Q3408575 Q24701978 Q2001725 Q1342240 Q757114 Q504763 Q5955 Q7792 Q4219 Q652226 Q12333182 Q644636 Q107640 Q969065 Q4648 Q48335 Q23522 Q2382382 Q2216473 Q21907140 Q29151 Q3492 Q1292905 Q106594 Q8828 Q245062 Q194446 Q27600 Q148440 Q94781 Q2290383 Q2731991 Q1276372 Q868952 Q389131 Q3575650 Q1147435 Q2112843 Q151559 Q10667348 Q696228 Q2271120 Q200226 Q3215919 Q3077260 Q378556 Q506284 Q2380493 Q228472 Q93352 Q23790598 Q206368 Q1544267 Q4096135 Q522605 Q847008 Q4467336 Q36117 Q173096 Q15120268 Q4951156 Q514259 Q49513 Q428390 Q681471 Q135228
(c(Q13220204),P138,Q135228)
action argmin
action find_reverse_tuple_counts
relation P138
type Q271669
type Q13220204
[ANSWERS]
[{'concept': 'Q13220204'}, 'P138', 'Q135228']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?u ) { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?b ) WHERE { ?i rdf:type ontology:Q271669 . ?j rdf:type ontology:Q13220204 . ?j property:P138 ?i } GROUP BY ?i } } . { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P138 ?o . ?o rdf:type ontology:Q271669 . ?p rdf:type ontology:Q13220204 } GROUP BY ?o } . FILTER ( ?c = ?u ) }
Kodiak Island Fårö Ko Kut Marajó Svartlöga Tjörn East Sister Island Olkiluoto Sable Island Tobago Waldemarsudde Trossö Ko Mak Elba Sint Philipsland Machias Seal Island Martinique Prince Leopold Island Saint Helena Tsing Yi Arholma Sotra Löhley Samos Ko Tao Iturup Scandinavian Peninsula Jura Mountains Hisingen Discovery Rupes Isle of Wight Zealand Cowal Abd al Kuri Kudriavy volcano Husarö Indochina Hvar Isle of Thanet Kastellholmen Vaxön Presqu'île de la Caravelle Lombok Faros Massif Central Lemnos Noto Peninsula Gällnö Ko Chang San Juan Island Isle of Mull Torr Works Rocky Mountains Atka Island Baccalieu Island Chissioua Mbouzi Kinkasan Berneray Marin Islands Iberian Peninsula Trinidad Shiretoko Peninsula Skaftö Francon quarry Rotes Kliff Nakanoshima Usedom Izu Peninsula Istria Lidingö island Mettnau Norfolk Island Ithaca Skeppsholmen Réunion plateau de Gravelle North Uist Ma Wan Okushiri Island Blasieholmen Brač Funk Island Cotentin Peninsula Sulawesi Albion Ornö Yagishiri Island Kungsholmen Tahiti Hanö Whitehorse Island Kola Stetind pegmatite Ishtar Terra Caprera Shikoku Capri Mauritius Island Vosges Mountains Crete Victoria Rupes Kullen Skye Sturkö Almagrundet Portage Island Carpathian Mountains Famenne Neruda Jasmund Fur Viksten Paracas Peninsula Jura Lewis Kamchatka Peninsula Herschel Island Bay du Vin Island Sharonov Isthmus of Suez Sadamisaki Peninsula Taymyr Peninsula moraine Nilo Syrtis Awaji Island Island of Mozambique Desecheo Island Orust Labrador Peninsula Älvsnabben Nisyros Pemba Island Blockhusudden Höri Arabian Peninsula Faial Island Kenai Peninsula Ven Skarpö Corfu Paraguaná Peninsula Java Antikythera Själö Oga Peninsula Nämdö Ropsten Iona Michipicoten Island Akimiski Island Utö Hundudden Land van Altena Ireland Hojskär Piława Górna quarry Nosy Mangabe Engelsmanplaat Palmaria Melville Island Altay Mountains Sakhalin Rothaargebirge Mohawk Island Reesholm Cyprus Komodo Raasay Bali Newfoundland Balkans Värmdö Barsa-Kelmes Lamington Plateau Jeju Island Sumatra Rhinplate Wrangel Island Majorca Philae Canna Vasilyevsky Island Flores Akusekijima Blidö Hildasay Cantal mountains Dia St. John's Island, Egypt Ko Lanta Yai Isle of Bute Promontorium Kelvin Gaspé Peninsula Sickla islse Tanegashima Arranmore Banks Island Lada Terra Shikano Island Palagruža Gigha Bandos Island île de Sein coast Aris quarries Sumba Great Cumbrae Browns Island, Auckland Shimabara Peninsula Raiatea Thacher Island Borneo Euboea Prince Edward Island Sicily Isle of Purbeck Mishima Rödlöga Door Peninsula Bonaventure Island
Corfu Balkans Arabian Peninsula
action argmin
action find_reverse_tuple_counts
relation named after
type landform
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'named after', 'Bonaventure Island']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?u ) { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?b ) WHERE { ?i rdf:type ontology:landform . ?j rdf:type ontology:second-level_administrative_country_subdivision . ?j property:named_after ?i } GROUP BY ?i } } . { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:named_after ?o . ?o rdf:type ontology:landform . ?p rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?o } . FILTER ( ?c = ?u ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P840
Q838948
USER
How many works of art have a setting location of that landform ?
(c(Q838948),P840,Q23522)
[{'concept': 'Q838948'}, 'P840', 'Q23522']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P840 resource:Q23522 . ?z rdf:type ontology:Q838948 }
[{'concept': 'work of art'}, 'narrative location', 'Balkans']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:narrative_location resource:Balkans . ?z rdf:type ontology:work_of_art }
[]
work of art
Quantitative|Count|Single entity type|Clarification
Q31945
SYSTEM
Did you mean Arabian Peninsula ?
(c(Q838948),P840,Q121378) (c(Q838948),P840,Q23522) (c(Q838948),P840,Q31945)
[ANSWER]
[{'concept': 'Q838948'}, 'P840', 'Q121378'] [{'concept': 'Q838948'}, 'P840', 'Q23522'] [{'concept': 'Q838948'}, 'P840', 'Q31945']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P840 resource:Q23522 . ?z rdf:type ontology:Q838948 }
Did you mean Arabian Peninsula ?
Arabian Peninsula
[{'concept': 'work of art'}, 'narrative location', 'Corfu'] [{'concept': 'work of art'}, 'narrative location', 'Balkans'] [{'concept': 'work of art'}, 'narrative location', 'Arabian Peninsula']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:narrative_location resource:Balkans . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Balkans. Could you tell me the answer for that?
(c(Q838948),P840,Q23522)
Q23522
[{'concept': 'Q838948'}, 'P840', 'Q23522']
[{'concept': 'work of art'}, 'narrative location', 'Balkans']
[]
SYSTEM
2
Q805042 Q339087
(c(Q838948),P840,Q23522)
[ANSWER]
[{'concept': 'Q838948'}, 'P840', 'Q23522']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P840 resource:Q23522 . ?z rdf:type ontology:Q838948 }
Balkan Traffic The Big Picture
2
[{'concept': 'work of art'}, 'narrative location', 'Balkans']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:narrative_location resource:Balkans . ?z rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q121378
P610
Q14524493
USER
Which is the highest point of Corfu ?
(Q121378,P610,c(Q14524493))
action filter_type
action find
entity Q121378
relation P610
type Q14524493
['Q121378', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q14524493 . resource:Q121378 property:P610 ?i }
Corfu
action filter_type
action find
entity Corfu
relation highest point
type terrain
['Corfu', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:terrain . resource:Corfu property:highest_point ?i }
[]
terrain
Q333229
SYSTEM
Mount Pantokrator
Q333229
(Q121378,P610,c(Q14524493))
action filter_type
action find
entity Q121378
relation P610
type Q14524493
[ANSWER]
['Q121378', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q14524493 . resource:Q121378 property:P610 ?i }
Mount Pantokrator
Mount Pantokrator
action filter_type
action find
entity Corfu
relation highest point
type terrain
['Corfu', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:terrain . resource:Corfu property:highest_point ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q121378
P190
Q56061
USER
Which administrative territories are sister towns of Corfu ?
(Q121378,P190,c(Q56061))
action filter_type
action find
entity Q121378
relation P190
type Q56061
['Q121378', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q121378 property:P190 ?e . ?e rdf:type ontology:Q56061 }
Corfu
action filter_type
action find
entity Corfu
relation sister city
type administrative territorial entity
['Corfu', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Corfu property:sister_city ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2028 Q3519 Q13496
SYSTEM
Verona, Bari, Brindisi
Q13496 Q200030 Q2028 Q3519 Q140075
(Q121378,P190,c(Q56061))
action filter_type
action find
entity Q121378
relation P190
type Q56061
[ANSWERS]
['Q121378', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q121378 property:P190 ?e . ?e rdf:type ontology:Q56061 }
Brindisi Latakia Verona Bari Gold Coast
Verona Bari Brindisi
action filter_type
action find
entity Corfu
relation sister city
type administrative territorial entity
['Corfu', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Corfu property:sister_city ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2028 Q3519 Q13496
P190
Q56061
USER
Which administrative territories are the sister cities of those ones ?
(Q2028,P190,c(Q56061)) (Q3519,P190,c(Q56061)) (Q13496,P190,c(Q56061))
action filter_type
action find
entity prev_answer
relation P190
type Q56061
['Q2028', 'P190', {'concept': 'Q56061'}] ['Q3519', 'P190', {'concept': 'Q56061'}] ['Q13496', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?h ) { ( resource:Q13496 ) ( resource:Q200030 ) ( resource:Q2028 ) } . ?s rdf:type ontology:Q56061 . ?h property:P190 ?s }
Verona Bari Brindisi
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
['Verona', 'sister city', {'concept': 'administrative territorial entity'}] ['Bari', 'sister city', {'concept': 'administrative territorial entity'}] ['Brindisi', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?h ) { ( resource:Brindisi ) ( resource:Latakia ) ( resource:Verona ) } . ?s rdf:type ontology:administrative_territorial_entity . ?h property:sister_city ?s }
[]
administrative territorial entity
Q5776 Q1726 Q8826
SYSTEM
Bethlehem, Munich, Palma
Q504215 Q24861 Q4656 Q25409 Q43301 Q13386 Q390358 Q309164 Q1726 Q205832 Q34713 Q121157 Q5776 Q270090 Q393 Q83285 Q133123 Q179833 Q8826 Q1891 Q178835 Q10690 Q170532 Q205832 Q1012887 Q83285 Q133123 Q187895
(Q2028,P190,c(Q56061)) (Q3519,P190,c(Q56061)) (Q13496,P190,c(Q56061))
action filter_type
action find
entity prev_answer
relation P190
type Q56061
[ANSWERS]
['Q2028', 'P190', {'concept': 'Q56061'}] ['Q3519', 'P190', {'concept': 'Q56061'}] ['Q13496', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?h ) { ( resource:Q13496 ) ( resource:Q200030 ) ( resource:Q2028 ) } . ?s rdf:type ontology:Q56061 . ?h property:P190 ?s }
Ayacucho Albany Pula Košice Fresno Lecce Jagodina Ra'anana Munich Corfu Salzburg Mashhad Bethlehem San Nicolás de Bari Szczecin Durrës Patras Sumqayit Palma Bologna Baalbek Cardiff Amasya Corfu Karadeniz Ereğli Durrës Patras Zonguldak
Bethlehem Munich Palma
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
['Verona', 'sister city', {'concept': 'administrative territorial entity'}] ['Bari', 'sister city', {'concept': 'administrative territorial entity'}] ['Brindisi', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?h ) { ( resource:Brindisi ) ( resource:Latakia ) ( resource:Verona ) } . ?s rdf:type ontology:administrative_territorial_entity . ?h property:sister_city ?s }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5776 Q1726 Q8826
P190
Q515
USER
Which cities are twin town of Bethlehem, Munich and Palma ?
(c(Q515),P190,Q5776) (c(Q515),P190,Q1726) (c(Q515),P190,Q8826)
action union
action filter_type
action find
entity Q5776
relation P190
type Q515
action filter_type
action find
entity Q1726
relation P190
type Q515
action filter_type
action find
entity Q8826
relation P190
type Q515
[{'concept': 'Q515'}, 'P190', 'Q5776'] [{'concept': 'Q515'}, 'P190', 'Q1726'] [{'concept': 'Q515'}, 'P190', 'Q8826']
SELECT DISTINCT ?l WHERE { ?u property:P190 ?l . VALUES ( ?u ) { ( resource:Q5776 ) ( resource:Q1726 ) } }
Bethlehem Munich Palma
action union
action filter_type
action find
entity Bethlehem
relation sister city
type city
action filter_type
action find
entity Munich
relation sister city
type city
action filter_type
action find
entity Palma
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Bethlehem'] [{'concept': 'city'}, 'sister city', 'Munich'] [{'concept': 'city'}, 'sister city', 'Palma']
SELECT DISTINCT ?l WHERE { ?u property:sister_city ?l . VALUES ( ?u ) { ( resource:Bethlehem ) ( resource:Munich ) } }
[]
city
Q1899 Q6602 Q52607
SYSTEM
Kyiv, Strasbourg, Mar del Plata
Q3926 Q679249 Q1852528 Q1519 Q6602 Q43196 Q1899 Q52607 Q166282
(c(Q515),P190,Q5776) (c(Q515),P190,Q1726) (c(Q515),P190,Q8826)
action union
action filter_type
action find
entity Q5776
relation P190
type Q515
action filter_type
action find
entity Q1726
relation P190
type Q515
action filter_type
action find
entity Q8826
relation P190
type Q515
[ANSWERS]
[{'concept': 'Q515'}, 'P190', 'Q5776'] [{'concept': 'Q515'}, 'P190', 'Q1726'] [{'concept': 'Q515'}, 'P190', 'Q8826']
SELECT DISTINCT ?l WHERE { ?u property:P190 ?l . VALUES ( ?u ) { ( resource:Q5776 ) ( resource:Q1726 ) } }
Pretoria Kalocsa Třebechovice pod Orebem Abu Dhabi Strasbourg Cincinnati Kyiv Mar del Plata Alghero
Kyiv Strasbourg Mar del Plata
action union
action filter_type
action find
entity Bethlehem
relation sister city
type city
action filter_type
action find
entity Munich
relation sister city
type city
action filter_type
action find
entity Palma
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Bethlehem'] [{'concept': 'city'}, 'sister city', 'Munich'] [{'concept': 'city'}, 'sister city', 'Palma']
SELECT DISTINCT ?l WHERE { ?u property:sister_city ?l . VALUES ( ?u ) { ( resource:Bethlehem ) ( resource:Munich ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1726
P47
Q1048835
USER
Which political territories have a shared border with Munich ?
(Q1726,P47,c(Q1048835))
action filter_type
action find
entity Q1726
relation P47
type Q1048835
['Q1726', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q1726 property:P47 ?b . ?b rdf:type ontology:Q1048835 }
Munich
action filter_type
action find
entity Munich
relation shares border with
type political territorial entity
['Munich', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Munich property:shares_border_with ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q10544 Q10502 Q10500
SYSTEM
Munich (district), Fürstenfeldbruck, Dachau
Q10544 Q10502 Q10500
(Q1726,P47,c(Q1048835))
action filter_type
action find
entity Q1726
relation P47
type Q1048835
[ANSWERS]
['Q1726', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q1726 property:P47 ?b . ?b rdf:type ontology:Q1048835 }
Munich (district) Fürstenfeldbruck Dachau
Munich (district) Fürstenfeldbruck Dachau
action filter_type
action find
entity Munich
relation shares border with
type political territorial entity
['Munich', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Munich property:shares_border_with ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10502
P36
Q15617994
USER
What is the capital of Fürstenfeldbruck ?
(Q10502,P36,c(Q15617994))
action filter_type
action find
entity Q10502
relation P36
type Q15617994
['Q10502', 'P36', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q10502 property:P36 ?l . ?l rdf:type ontology:Q15617994 }
Fürstenfeldbruck
action filter_type
action find
entity Fürstenfeldbruck
relation capital
type designation for an administrative territorial entity
['Fürstenfeldbruck', 'capital', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Fürstenfeldbruck property:capital ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q16003
SYSTEM
Fürstenfeldbruck
Q16003
(Q10502,P36,c(Q15617994))
action filter_type
action find
entity Q10502
relation P36
type Q15617994
[ANSWER]
['Q10502', 'P36', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q10502 property:P36 ?l . ?l rdf:type ontology:Q15617994 }
Fürstenfeldbruck
Fürstenfeldbruck
action filter_type
action find
entity Fürstenfeldbruck
relation capital
type designation for an administrative territorial entity
['Fürstenfeldbruck', 'capital', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Fürstenfeldbruck property:capital ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10502
P17
Q1048835
USER
Which political territory does that one belong to ?
(Q16003,P17,c(Q1048835))
action filter_type
action find
entity Q10502
relation P17
type Q1048835
['Q16003', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q10502 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Fürstenfeldbruck
action filter_type
action find
entity Fürstenfeldbruck
relation country
type political territorial entity
['Fürstenfeldbruck', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Fürstenfeldbruck property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q16003,P17,c(Q1048835))
action filter_type
action find
entity Q10502
relation P17
type Q1048835
[ANSWER]
['Q16003', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q10502 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Fürstenfeldbruck
relation country
type political territorial entity
['Fürstenfeldbruck', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Fürstenfeldbruck property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]