Simple Question (Direct)
Simple Question
Q760827
P20
Q56061
USER
Where did August Arnold expire ?
(Q760827,P20,c(Q56061))
action filter_type
action find
entity Q760827
relation P20
type Q56061
['Q760827', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q760827 property:P20 ?i . ?i rdf:type ontology:Q56061 }
August Arnold
action filter_type
action find
entity August Arnold
relation place of death
type administrative territorial entity
['August Arnold', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:August_Arnold property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q14945
SYSTEM
Merseburg
Q14945
(Q760827,P20,c(Q56061))
action filter_type
action find
entity Q760827
relation P20
type Q56061
August Arnold expired in [ANSWER]
['Q760827', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q760827 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Merseburg
August Arnold expired in Merseburg
Merseburg
action filter_type
action find
entity August Arnold
relation place of death
type administrative territorial entity
['August Arnold', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:August_Arnold property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q760827
P21
Q290
USER
Which sex does August Arnold have ?
(Q760827,P21,c(Q290))
action filter_type
action find
entity Q760827
relation P21
type Q290
['Q760827', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q760827 property:P21 ?n . ?n rdf:type ontology:Q290 }
August Arnold
action filter_type
action find
entity August Arnold
relation gender
type sex
['August Arnold', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:August_Arnold property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q760827,P21,c(Q290))
action filter_type
action find
entity Q760827
relation P21
type Q290
August Arnold has a [ANSWER]
['Q760827', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q760827 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
August Arnold has a male
male
action filter_type
action find
entity August Arnold
relation gender
type sex
['August Arnold', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:August_Arnold property:gender ?n . ?n rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q14945
P20
Q502895
USER
How many people have Merseburg as the location of death ?
(c(Q502895),P20,Q14945)
action count
action filter_type
action find_reverse
entity Q14945
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q14945']
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:P20 resource:Q14945 . ?s rdf:type ontology:Q502895 }
Merseburg
action count
action filter_type
action find_reverse
entity Merseburg
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Merseburg']
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:place_of_death resource:Merseburg . ?s rdf:type ontology:common_name }
[]
common name
SYSTEM
55
Q19273795 Q1690582 Q883009 Q68262 Q1349372 Q438435 Q1309440 Q91291 Q1712514 Q1355659 Q1260320 Q1694119 Q118925 Q78178 Q90918 Q323784 Q86114 Q77241 Q873859 Q1459931 Q15438700 Q1645260 Q1698052 Q1249291 Q97658 Q1279641 Q1693364 Q1458987 Q1506342 Q320295 Q1336508 Q591991 Q1587324 Q70213 Q1598436 Q1317236 Q1351449 Q275425 Q1604007 Q993621 Q1459687 Q1603358 Q496612 Q1110767 Q1463843 Q15450515 Q760827 Q77985 Q1695551 Q1695552 Q1113892 Q1733616 Q1556614 Q1079646 Q761299
(c(Q502895),P20,Q14945)
action count
action filter_type
action find_reverse
entity Q14945
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q14945']
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:P20 resource:Q14945 . ?s rdf:type ontology:Q502895 }
Wilhelm Pritzkow Joachim Wilhelm Marschall von Bieberstein Thilo von Trotha Christian I, Duke of Saxe-Merseburg Erdmuthe Dorothea of Saxe-Zeitz Rudolf of Rheinfelden Ludwig Bartels Johann Theodor Roemhildt Julius Boecker Wilhelm von Hegel Günter Horn Johann Gottfried Krug Adolph II, Prince of Anhalt-Köthen Ernst von Rebeur-Paschwitz Karl von Fritsch Christian II, Duke of Saxe-Merseburg Christian III Maurice, Duke of Saxe-Merseburg Karl Adolph von Basedow Georg Friedrich Kauffmann Friedrich II. von Hoym Ernst Christian Philippi Johann Wilhelm Chryselius Moritz Wölfel Otto Küstermann Willy A. Kleinau Eberhard von der Recke Johann Ernst Noricus Friedrich Erdmann von Sachsen-Merseburg Georg Weigel David Pohle Julius von Helldorff-Runstedt Anton Musa Hartmann Erasmus Witzleben Maurice Wilhelm, Duke of Saxe-Merseburg Heinrich Otte Max Clairon d’Haussonville Johann Augustin Wagner Thietmar of Merseburg pohle Bruno Müller Friedrich Herwarth von Bittenfeld Helmut Augustin Andreas Charitius Hermann Fischer Friedrich von Krosigk Simon Gedik August Arnold Johann Friedrich Alberti Johann Michael Hoppenhaupt Johann Michael Hoppenhaupt Michael Hoppenhaupt Karl Hülsen Gustav Diest Christian Friedrich Penzel August Friedrich Graun
55
action count
action filter_type
action find_reverse
entity Merseburg
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Merseburg']
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:place_of_death resource:Merseburg . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14945
P206
Q355304
USER
Which watercourses are located in the neighbourhood of that administrative territory ?
action filter_type
action find
entity Q14945
relation P206
type Q355304
SELECT DISTINCT ?l WHERE { resource:Q14945 property:P206 ?l . ?l rdf:type ontology:Q355304 }
Merseburg
action filter_type
action find
entity Merseburg
relation located next to body of water
type watercourse
SELECT DISTINCT ?l WHERE { resource:Merseburg property:located_next_to_body_of_water ?l . ?l rdf:type ontology:watercourse }
[]
watercourse
Q1678 Q1498849
SYSTEM
Saale, Geisel
Q1678 Q1498849
action filter_type
action find
entity Q14945
relation P206
type Q355304
[ANSWERS] are located in the neighbourhood of that administrative territory
SELECT DISTINCT ?l WHERE { resource:Q14945 property:P206 ?l . ?l rdf:type ontology:Q355304 }
Saale Geisel
Saale and Geisel are located in the neighbourhood of that administrative territory
Saale Geisel
action filter_type
action find
entity Merseburg
relation located next to body of water
type watercourse
SELECT DISTINCT ?l WHERE { resource:Merseburg property:located_next_to_body_of_water ?l . ?l rdf:type ontology:watercourse }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q5096001
P403
Q15324 Q355304
USER
How many bodies of water do approximately the same number of watercourses drain into as Chichester Harbour ?
(c(Q355304),P403,c(Q15324))
action count
action approx
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
action count
action filter_type
action find
entity Q5096001
relation P403
type Q15324
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { FILTER ( ?d = ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Q5096001 property:P403 ?q . ?q rdf:type ontology:Q15324 } } . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?d ) WHERE { ?e rdf:type ontology:Q15324 . ?y rdf:type ontology:Q355304 . ?y property:P403 ?e } GROUP BY ?e } }
Chichester Harbour
action count
action approx
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
action count
action filter_type
action find
entity Chichester Harbour
relation mouth of the watercourse
type body of water
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { FILTER ( ?d = ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Chichester_Harbour property:mouth_of_the_watercourse ?q . ?q rdf:type ontology:body_of_water } } . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?d ) WHERE { ?e rdf:type ontology:body_of_water . ?y rdf:type ontology:watercourse . ?y property:mouth_of_the_watercourse ?e } GROUP BY ?e } }
[]
body of water watercourse
SYSTEM
393
Q6021455 Q2036651 Q393854 Q21857993 Q19876321 Q1544796 Q217487 Q211779 Q5516517 Q2879490 Q6321425 Q654010 Q3215249 Q1866414 Q21844766 Q2560795 Q5578622 Q1882990 Q5048261 Q181969 Q21859586 Q6652328 Q1782677 Q876470 Q217501 Q2914958 Q15209014 Q1228583 Q2090594 Q944964 Q11875916 Q12058281 Q1243766 Q21855790 Q5401013 Q4959719 Q4767961 Q4874232 Q16903085 Q5875448 Q2837927 Q1331750 Q259929 Q35827 Q1635853 Q6549598 Q767824 Q2117497 Q7337350 Q21872194 Q2660138 Q63767 Q10438494 Q5096001 Q21922838 Q21852063 Q199436 Q7963133 Q1154346 Q673264 Q202083 Q2166147 Q7180290 Q159252 Q242326 Q224101 Q161591 Q192738 Q7981333 Q2369538 Q1480814 Q575365 Q2879686 Q2879685 Q2360948 Q52059 Q7230817 Q35000 Q2879708 Q795608 Q1314643 Q213517 Q1137163 Q1064776 Q645271 Q132811 Q2617172 Q76925 Q44725 Q1544353 Q3359189 Q21872065 Q644154 Q647879 Q128880 Q21862899 Q1468759 Q1059534 Q131274 Q810737 Q2879639 Q1130771 Q2996832 Q11568930 Q7231877 Q7990619 Q7990618 Q6075063 Q5138869 Q947086 Q894564 Q1441345 Q766872 Q5716492 Q7050615 Q4399477 Q21852389 Q19960979 Q14395416 Q47632 Q2560406 Q18010884 Q164466 Q2088977 Q14935920 Q2652752 Q2328243 Q616220 Q174731 Q1682481 Q549658 Q1974744 Q596362 Q1215321 Q21857803 Q21890286 Q21809333 Q747189 Q5596 Q642943 Q3354785 Q3032 Q700024 Q5605 Q21880702 Q21855781 Q1043510 Q995658 Q1509253 Q1127599 Q231312 Q697092 Q7413511 Q679298 Q6449726 Q5595169 Q479030 Q2119446 Q12068771 Q21803268 Q844003 Q3115516 Q10686340 Q1137498 Q5637955 Q7085600 Q1362310 Q7452698 Q21850122 Q1134573 Q6530294 Q1419628 Q20613 Q2731872 Q1201023 Q49364 Q2026815 Q21855145 Q999074 Q2576605 Q2066982 Q1503116 Q21857591 Q23406 Q3889761 Q7206510 Q21841013 Q2642187 Q271168 Q21857521 Q21856766 Q21857526 Q195413 Q160194 Q2628190 Q2879629 Q2750104 Q970130 Q21852940 Q1241943 Q844799 Q37960 Q1132941 Q481734 Q4176307 Q7990623 Q676154 Q131217 Q502233 Q3492639 Q45341 Q159183 Q1365066 Q4875263 Q24302942 Q182137 Q664704 Q4977122 Q4905044 Q2879476 Q4905040 Q16211082 Q212428 Q2363133 Q21844748 Q999031 Q1185210 Q548240 Q186733 Q2990274 Q122574 Q21823240 Q6940354 Q21860001 Q2398216 Q21859976 Q504571 Q894682 Q2879584 Q5599921 Q21885510 Q1978769 Q1600098 Q131418 Q6072425 Q40129 Q1059646 Q27068062 Q14686 Q27068068 Q379063 Q589528 Q1267413 Q584588 Q312433 Q939905 Q1544076 Q163434 Q3354931 Q218377 Q35367 Q913418 Q5642127 Q19270 Q1747324 Q3241044 Q19960443 Q1432730 Q14875364 Q6430597 Q1808731 Q34575 Q2056788 Q489472 Q959127 Q4843119 Q34675 Q2619452 Q426453 Q1974485 Q2333061 Q738808 Q2532834 Q2636405 Q33629 Q18395243 Q915250 Q1991455 Q117157 Q2506495 Q5281866 Q213367 Q4966924 Q1324526 Q650654 Q917872 Q27698 Q4874197 Q4874198 Q2621029 Q1474634 Q1359524 Q838737 Q838734 Q1241171 Q148621 Q934883 Q1048789 Q999162 Q810532 Q15278374 Q49557 Q2887467 Q15262475 Q2350307 Q1502095 Q2304586 Q11859035 Q3215030 Q47530 Q21857829 Q7205810 Q4973275 Q867460 Q2037402 Q4334869 Q4443093 Q1631968 Q547557 Q1512616 Q1310944 Q716044 Q7413309 Q2081187 Q912692 Q284841 Q7988 Q1893304 Q648954 Q1360927 Q2122604 Q5301569 Q1294277 Q3373915 Q1546836 Q1756937 Q1415688 Q1726244 Q1144680 Q1254743 Q2621939 Q700309 Q2438729 Q7167679 Q1947589 Q1062456 Q18164761 Q21860011 Q181857 Q266636 Q667456 Q2414202 Q7375342 Q810805 Q2879598 Q999055 Q25473 Q2879691 Q7619197 Q8023100 Q1129590 Q2148190 Q1649939 Q8026651 Q925649 Q4904096 Q132868 Q202868 Q908701 Q188203 Q2211837 Q23883 Q37040 Q141017 Q6845312 Q367304 Q74269 Q21855512 Q2033236 Q138708 Q3059075 Q2334445 Q845217
(c(Q355304),P403,c(Q15324))
action count
action approx
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
action count
action filter_type
action find
entity Q5096001
relation P403
type Q15324
[ANSWER]
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { FILTER ( ?d = ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Q5096001 property:P403 ?q . ?q rdf:type ontology:Q15324 } } . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?d ) WHERE { ?e rdf:type ontology:Q15324 . ?y rdf:type ontology:Q355304 . ?y property:P403 ?e } GROUP BY ?e } }
Indian River Bay Otago Harbour Narva Bay Ejnar Glacier Aspy Bay Mobile Bay Shark Bay Saronic Gulf Gael Hamkes Bay Baie Norvégienne Jøkelbugten Gulf of Khambhat Tuggerah Lake Morecambe Bay Gerard de Geer Glacier Molochnyi Liman Gold Coast Broadwater Macquarie Harbour Casco Bay Bohai Sea Borgjøkelen Glacier Little Traverse Bay Pegasus Bay Gulf of Maine Pechora Sea Famagusta Bay Chandler Bay Discovery Passage Cantabrian Sea Killala Bay Liminka Bay Tallinn Bay Dorchester Bay Godthåb Golf Estero Bay Bream Bay Annapolis Basin Bay of Saint Louis West Bay Hochstetterbugten Ortigueira estuary Lake Pontchartrain Wandel Sea Río de la Plata Western Port Limmen Bight Hauraki Gulf Taymyr Gulf River Don Navigation Kofoed-Hansen Glacier Princess Charlotte Bay Haifa Bay Bällstaviken Chichester Harbour Ansons Bay Hisinger Glacier Bismarck Sea Wallis Lake Mikawa Bay Hawke Bay Firth of Forth Sasyk Lagoon Phaleron Bay Chukchi Sea Bohol Sea Guanabara Bay Kola Bay Gulf of Taranto Wellington Bay Carlingford Lough Kachemak Bay Doubtful Sound Petre Bay Pensacola Bay Belfast Lough Korea Bay Port Musgrave Sea of Azov Bay of Quinte Gulf of Honduras Lough Foyle Gironde estuary Avacha Bay Upper New York Bay Sea of Sardinia Gulf of California Newark Bay Venetian Lagoon Bering Sea Great South Bay Oyster Harbour Sælsø Glacier Suisun Bay Bay of Greifswald Arafura Sea Storstrømmen Glacier Strymonian Gulf Tampa Bay Beaufort Sea Batchawana Bay Baie de Douarnenez Sivash Olenyok Gulf Kumano Sea Portland Bay Whangape Harbour Whangapoua Harbour Irwin Inlet Cobequid Bay Green Bay Boston Harbor Albemarle Sound Loch Linnhe Yendegaia Bay Nordenskiold Glacier Rudnaya Wahlenberg Glacier Salluit Fjord Macajalar Bay Andaman Sea Galveston Bay Marajó Bay Ross Sea Bodega Bay Vasse-Wonnerup Estuary Lumbovsky Gulf Gulf of Corcovado Aotea Harbour Gulf of Riga Lake St. Lucia Malian Gulf Amundsen Gulf Bandon Bay Apalachee Bay Budolfi Isstrøm Glacier Hyland Bay Eielson Eielsongletsjer Cardigan Bay Curonian Lagoon Huon Gulf Stockholms ström Darwin Harbour Hangzhou Bay Vistula Lagoon Storm Bay Vibeke Glacier Carmarthen Bay Bråviken Gulf of Nicoya Galway Bay Seto Inland Sea Hokianga San Carlos Bay Skjálfandi Kvichak Bay Grand Traverse Bay Port Stephens Bay of Puck Severn Estuary Padstow Bay Gulf of Gonâve Vanhankaupunginselkä Svinnegarnsviken Kandalaksha Gulf Hadley Bay Oldfield Estuary Tasman Bay Serangoon Harbour Jætte Glacier Coronation Gulf Leschenault Estuary Firth of Thames Meldorf Bay Estuary of Bilbao Suruga Bay Java Sea Gulf of Kalamita Spærre Glacier Gulf of Çandarlı Willapa Bay Peel-Harvey Estuary Geographe Bay L. Bistrup Glacier Red Sea Middle Harbour Pocomoke Sound Foster Bugt Bombetoka Bay Bay of Aarhus Soraner Glacier Ejnar Mikkelsen Glacier Dove Bay Solway Firth Sulu Sea Pyasino Gulf Corral Bay Shannon Estuary Argentine Sea Violin Glacier Narragansett Bay Gulf of Paria Yellow Sea Corio Bay Amur Bay Saltsjön Whangarei Harbour Manila Bay Gulf of Thailand Southampton Water Amatique Bay East China Sea Philippine Sea Karamea Bight Baía de São José Olhavanlahti Lake Maracaibo Chignecto Bay Bruce Bay Big Bay de Noc Missisquoi Bay Big Bay, Southland Nevill Bay Gulf of Tonkin Yana Bay Waltershausen Glacier Bight of Bonny Pagasetic Gulf Dvina Bay Great Australian Bight Anadyrsky Liman Gulf of Bothnia Bjørnbo Glacier Muscongus Bay Hastings Glacier Te Waewae Bay Trefork Glacier Jade Bight Botany Bay Ugashik Bay Great Sandy Strait Shark Bay Sukhyi Liman Matagorda Bay Timor Sea Iron Cove Marina Bay Chaleur Bay anse du Gouvernement Gulf of Finland Bay of Figari Thracian Sea Ussuri Bay Georgian Bay Monterey Bay Schlei Khatanga Gulf Grays Harbor East Siberian Sea Hammarby sjö Dollart Sea of Marmara Thermaic Gulf Halifax Bay Celebes Sea Tauranga Harbour Novigradsko more Boggy Bayou North Taranaki Bight Nottawasaga Bay Koolama Bay Mundaú Lagoon Aegean Sea Paterson Inlet Toyama Bay Massachusetts Bay Bahía del Carnero Persian Gulf Tyligul Estuary Scoresby Sund Dniester Liman Plymouth Sound Delaware Bay Olga Bay Pärnu Bay Kara Sea Wohoa Bay Chaunskaya Bay Baydaratskaya Bay Gulf of Cádiz Charlotte Harbor Discovery Bay Gdańsk Bay Bridgwater Bay Port Phillip Bay Archipelago Sea Bristol Bay Neva Bay Bay of Concepción Bay of Gods Mercy Dnieper Estuary Messenian Gulf Bay of Bangkok Mercury Bay Kāwhia Harbour Donegal Bay Dublin Bay Gulf of Patras Dusky Sound Osaka Bay Arcachon Bay Sogod Bay Ariake Sea Bedford Basin Nornalup Inlet Port Hacking Wellington Harbour South Taranaki Bight Eurajoensalmi Lake Macquarie Bight of Benin Ebbe Glacier Plymouth Harbor Broke Inlet Long Island Sound Samaná Bay Onemen Bay Storm Bay Howe Sound Zapadnaya Litsa Golden Bay Baía de Todos os Santos Aniva Bay San Antonio Bay Pechenga Bay Palliser Bay Ambracian Gulf Laptev Sea Reloncaví Estuary Spencer Gulf Moray Firth Queen Maud Gulf Douglas Harbour Lower New York Bay Peconic Bay Húnaflói Sydney Cove Mezen Bay Rangaunu Harbour Gulf of Morbihan Gulf of Papua Whangaroa Harbour Bay of Lübeck Toetoes Bay Perdido Bay Moreton Bay Chantrey Inlet Emu Bay Britannia Gletscher Bay of Fundy South Euboean Gulf Oslofjord Luga Bay Rozelle Bay Bathurst Inlet Bellingham Bay San Pablo Bay Queen Charlotte Sound Passamaquoddy Bay Stonehaven Bay Wilson Inlet Cook Inlet Rhode Island Sound Bothnian Sea Winyah Bay Broken Bay Bideford Bay Greenland Sea Edsviken Onega Bay Bristol Channel Saginaw Bay Dead Sea Baffin Bay Tokyo Bay Miho Bay Gulf of Patience Hamoaze Jupiter Glacier Pamlico Sound Gulf of Martaban Thames Estuary Bay of San Miguel Foxe Basin
393
action count
action approx
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
action count
action filter_type
action find
entity Chichester Harbour
relation mouth of the watercourse
type body of water
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { FILTER ( ?d = ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Chichester_Harbour property:mouth_of_the_watercourse ?q . ?q rdf:type ontology:body_of_water } } . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?d ) WHERE { ?e rdf:type ontology:body_of_water . ?y rdf:type ontology:watercourse . ?y property:mouth_of_the_watercourse ?e } GROUP BY ?e } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q15679 Q760827
P47 P27
Q1048835
USER
Which political territories are August Arnold a civilian of or share the border with Badajoz ?
OR((Q760827,P27,c(Q1048835)), (Q15679,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q760827
relation P27
action find
entity Q15679
relation P47
type Q1048835
{'OR': [['Q760827', 'P27', {'concept': 'Q1048835'}], ['Q15679', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q760827 property:P27 ?x } UNION { resource:Q15679 property:P47 ?x } } . ?x rdf:type ontology:Q1048835 }
Badajoz August Arnold
action filter_type
action union
action find
entity August Arnold
relation country of citizenship
action find
entity Badajoz
relation shares border with
type political territorial entity
{'OR': [['August Arnold', 'country of citizenship', {'concept': 'political territorial entity'}], ['Badajoz', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:August_Arnold property:country_of_citizenship ?x } UNION { resource:Badajoz property:shares_border_with ?x } } . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1387075 Q1246417 Q1387091 Q1372861 Q144268 Q1372541 Q580391 Q1098700 Q1613555 Q183
SYSTEM
Some of them are Talavera la Real, Valdelacalzada, Montijo, La Roca de la Sierra, La Albuera, Corte de Peleas, Almendral, Lobón, Torre de Miguel Sesmero, Germany
Q580391 Q144268 Q1387075 Q1098700 Q1372541 Q493370 Q183 Q1605952 Q1387091 Q1613555 Q1372861 Q1372742 Q1630843 Q1246417
OR((Q760827,P27,c(Q1048835)), (Q15679,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q760827
relation P27
action find
entity Q15679
relation P47
type Q1048835
[ANSWERS] are August Arnold a civilian of or share the border with Badajoz
{'OR': [['Q760827', 'P27', {'concept': 'Q1048835'}], ['Q15679', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q760827 property:P27 ?x } UNION { resource:Q15679 property:P47 ?x } } . ?x rdf:type ontology:Q1048835 }
Almendral La Albuera Talavera la Real Lobón Corte de Peleas Alburquerque Germany Entrín Bajo Montijo Torre de Miguel Sesmero La Roca de la Sierra Puebla de Obando Valverde de Leganés Valdelacalzada
Talavera la Real, Valdelacalzada, Montijo, La Roca de la Sierra, La Albuera, Corte de Peleas, Almendral, Lobón, Torre de Miguel Sesmero and Germany are August Arnold a civilian of or share the border with Badajoz
Talavera la Real Valdelacalzada Montijo La Roca de la Sierra La Albuera Corte de Peleas Almendral Lobón Torre de Miguel Sesmero Germany
action filter_type
action union
action find
entity August Arnold
relation country of citizenship
action find
entity Badajoz
relation shares border with
type political territorial entity
{'OR': [['August Arnold', 'country of citizenship', {'concept': 'political territorial entity'}], ['Badajoz', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:August_Arnold property:country_of_citizenship ?x } UNION { resource:Badajoz property:shares_border_with ?x } } . ?x rdf:type ontology:political_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q56061 Q1048835
USER
How many administrative territories or political territories do that political territory share a border with ?
(c(Q56061),P47,Q1613555) (c(Q1048835),P47,Q1613555) (c(Q56061),P47,Q1387075) (c(Q1048835),P47,Q1387075) (c(Q56061),P47,Q1246417) (c(Q1048835),P47,Q1246417) (c(Q56061),P47,Q1387091) (c(Q1048835),P47,Q1387091) (c(Q56061),P47,Q1372861) (c(Q1048835),P47,Q1372861) (c(Q56061),P47,Q144268) (c(Q1048835),P47,Q144268) (c(Q56061),P47,Q1372541) (c(Q1048835),P47,Q1372541) (c(Q56061),P47,Q580391) (c(Q1048835),P47,Q580391) (c(Q56061),P47,Q1098700) (c(Q1048835),P47,Q1098700) (c(Q56061),P47,Q1613555) (c(Q1048835),P47,Q1613555) (c(Q56061),P47,Q183) (c(Q1048835),P47,Q183)
[{'concept': 'Q56061'}, 'P47', 'Q1613555'] [{'concept': 'Q1048835'}, 'P47', 'Q1613555'] [{'concept': 'Q56061'}, 'P47', 'Q1387075'] [{'concept': 'Q1048835'}, 'P47', 'Q1387075'] [{'concept': 'Q56061'}, 'P47', 'Q1246417'] [{'concept': 'Q1048835'}, 'P47', 'Q1246417'] [{'concept': 'Q56061'}, 'P47', 'Q1387091'] [{'concept': 'Q1048835'}, 'P47', 'Q1387091'] [{'concept': 'Q56061'}, 'P47', 'Q1372861'] [{'concept': 'Q1048835'}, 'P47', 'Q1372861'] [{'concept': 'Q56061'}, 'P47', 'Q144268'] [{'concept': 'Q1048835'}, 'P47', 'Q144268'] [{'concept': 'Q56061'}, 'P47', 'Q1372541'] [{'concept': 'Q1048835'}, 'P47', 'Q1372541'] [{'concept': 'Q56061'}, 'P47', 'Q580391'] [{'concept': 'Q1048835'}, 'P47', 'Q580391'] [{'concept': 'Q56061'}, 'P47', 'Q1098700'] [{'concept': 'Q1048835'}, 'P47', 'Q1098700'] [{'concept': 'Q56061'}, 'P47', 'Q1613555'] [{'concept': 'Q1048835'}, 'P47', 'Q1613555'] [{'concept': 'Q56061'}, 'P47', 'Q183'] [{'concept': 'Q1048835'}, 'P47', 'Q183']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q1613555 } UNION { ?y property:P47 resource:Q1613555 } UNION { ?z property:P47 resource:Q1387075 } UNION { ?y property:P47 resource:Q1387075 } UNION { ?z property:P47 resource:Q1246417 } UNION { ?y property:P47 resource:Q1246417 } UNION { ?z property:P47 resource:Q346344 } UNION { ?y property:P47 resource:Q346344 } UNION { ?z property:P47 resource:Q1372861 } UNION { ?y property:P47 resource:Q1372861 } UNION { ?z property:P47 resource:Q144268 } UNION { ?y property:P47 resource:Q144268 } UNION { ?z property:P47 resource:Q1372541 } UNION { ?y property:P47 resource:Q1372541 } UNION { ?z property:P47 resource:Q580391 } UNION { ?y property:P47 resource:Q580391 } UNION { ?z property:P47 resource:Q1098700 } UNION { ?y property:P47 resource:Q1098700 } UNION { ?z property:P47 resource:Q1613555 } UNION { ?y property:P47 resource:Q1613555 } UNION { ?z property:P47 resource:Q423030 } UNION { ?y property:P47 resource:Q423030 } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1048835 }
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Torre de Miguel Sesmero'] [{'concept': 'political territorial entity'}, 'shares border with', 'Torre de Miguel Sesmero'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Talavera la Real'] [{'concept': 'political territorial entity'}, 'shares border with', 'Talavera la Real'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Valdelacalzada'] [{'concept': 'political territorial entity'}, 'shares border with', 'Valdelacalzada'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Montijo'] [{'concept': 'political territorial entity'}, 'shares border with', 'Montijo'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'La Roca de la Sierra'] [{'concept': 'political territorial entity'}, 'shares border with', 'La Roca de la Sierra'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'La Albuera'] [{'concept': 'political territorial entity'}, 'shares border with', 'La Albuera'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Corte de Peleas'] [{'concept': 'political territorial entity'}, 'shares border with', 'Corte de Peleas'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Almendral'] [{'concept': 'political territorial entity'}, 'shares border with', 'Almendral'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Lobón'] [{'concept': 'political territorial entity'}, 'shares border with', 'Lobón'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Torre de Miguel Sesmero'] [{'concept': 'political territorial entity'}, 'shares border with', 'Torre de Miguel Sesmero'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Germany'] [{'concept': 'political territorial entity'}, 'shares border with', 'Germany']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:Torre_de_Miguel_Sesmero } UNION { ?y property:shares_border_with resource:Torre_de_Miguel_Sesmero } UNION { ?z property:shares_border_with resource:Talavera_la_Real } UNION { ?y property:shares_border_with resource:Talavera_la_Real } UNION { ?z property:shares_border_with resource:Valdelacalzada } UNION { ?y property:shares_border_with resource:Valdelacalzada } UNION { ?z property:shares_border_with resource:Montijo } UNION { ?y property:shares_border_with resource:Montijo } UNION { ?z property:shares_border_with resource:La_Roca_de_la_Sierra } UNION { ?y property:shares_border_with resource:La_Roca_de_la_Sierra } UNION { ?z property:shares_border_with resource:La_Albuera } UNION { ?y property:shares_border_with resource:La_Albuera } UNION { ?z property:shares_border_with resource:Corte_de_Peleas } UNION { ?y property:shares_border_with resource:Corte_de_Peleas } UNION { ?z property:shares_border_with resource:Almendral } UNION { ?y property:shares_border_with resource:Almendral } UNION { ?z property:shares_border_with resource:Lobón } UNION { ?y property:shares_border_with resource:Lobón } UNION { ?z property:shares_border_with resource:Torre_de_Miguel_Sesmero } UNION { ?y property:shares_border_with resource:Torre_de_Miguel_Sesmero } UNION { ?z property:shares_border_with resource:Germany } UNION { ?y property:shares_border_with resource:Germany } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
administrative territorial entity political territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q1098700
SYSTEM
Did you mean Lobón ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q1613555 } UNION { ?y property:P47 resource:Q1613555 } UNION { ?z property:P47 resource:Q1387075 } UNION { ?y property:P47 resource:Q1387075 } UNION { ?z property:P47 resource:Q1246417 } UNION { ?y property:P47 resource:Q1246417 } UNION { ?z property:P47 resource:Q346344 } UNION { ?y property:P47 resource:Q346344 } UNION { ?z property:P47 resource:Q1372861 } UNION { ?y property:P47 resource:Q1372861 } UNION { ?z property:P47 resource:Q144268 } UNION { ?y property:P47 resource:Q144268 } UNION { ?z property:P47 resource:Q1372541 } UNION { ?y property:P47 resource:Q1372541 } UNION { ?z property:P47 resource:Q580391 } UNION { ?y property:P47 resource:Q580391 } UNION { ?z property:P47 resource:Q1098700 } UNION { ?y property:P47 resource:Q1098700 } UNION { ?z property:P47 resource:Q1613555 } UNION { ?y property:P47 resource:Q1613555 } UNION { ?z property:P47 resource:Q423030 } UNION { ?y property:P47 resource:Q423030 } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1048835 }
Did you mean Lobón ?
Lobón
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:Torre_de_Miguel_Sesmero } UNION { ?y property:shares_border_with resource:Torre_de_Miguel_Sesmero } UNION { ?z property:shares_border_with resource:Talavera_la_Real } UNION { ?y property:shares_border_with resource:Talavera_la_Real } UNION { ?z property:shares_border_with resource:Valdelacalzada } UNION { ?y property:shares_border_with resource:Valdelacalzada } UNION { ?z property:shares_border_with resource:Montijo } UNION { ?y property:shares_border_with resource:Montijo } UNION { ?z property:shares_border_with resource:La_Roca_de_la_Sierra } UNION { ?y property:shares_border_with resource:La_Roca_de_la_Sierra } UNION { ?z property:shares_border_with resource:La_Albuera } UNION { ?y property:shares_border_with resource:La_Albuera } UNION { ?z property:shares_border_with resource:Corte_de_Peleas } UNION { ?y property:shares_border_with resource:Corte_de_Peleas } UNION { ?z property:shares_border_with resource:Almendral } UNION { ?y property:shares_border_with resource:Almendral } UNION { ?z property:shares_border_with resource:Lobón } UNION { ?y property:shares_border_with resource:Lobón } UNION { ?z property:shares_border_with resource:Torre_de_Miguel_Sesmero } UNION { ?y property:shares_border_with resource:Torre_de_Miguel_Sesmero } UNION { ?z property:shares_border_with resource:Germany } UNION { ?y property:shares_border_with resource:Germany } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Torre de Miguel Sesmero. Could you tell me the answer for that?
(c(Q56061),P47,Q1613555) (c(Q1048835),P47,Q1613555) (c(Q56061),P47,Q1387075) (c(Q1048835),P47,Q1387075) (c(Q56061),P47,Q1246417) (c(Q1048835),P47,Q1246417) (c(Q56061),P47,Q1387091) (c(Q1048835),P47,Q1387091) (c(Q56061),P47,Q1372861) (c(Q1048835),P47,Q1372861) (c(Q56061),P47,Q144268) (c(Q1048835),P47,Q144268) (c(Q56061),P47,Q1372541) (c(Q1048835),P47,Q1372541) (c(Q56061),P47,Q580391) (c(Q1048835),P47,Q580391) (c(Q56061),P47,Q1098700) (c(Q1048835),P47,Q1098700) (c(Q56061),P47,Q1613555) (c(Q1048835),P47,Q1613555) (c(Q56061),P47,Q183) (c(Q1048835),P47,Q183)
Q1613555
[{'concept': 'Q56061'}, 'P47', 'Q1613555'] [{'concept': 'Q1048835'}, 'P47', 'Q1613555'] [{'concept': 'Q56061'}, 'P47', 'Q1387075'] [{'concept': 'Q1048835'}, 'P47', 'Q1387075'] [{'concept': 'Q56061'}, 'P47', 'Q1246417'] [{'concept': 'Q1048835'}, 'P47', 'Q1246417'] [{'concept': 'Q56061'}, 'P47', 'Q1387091'] [{'concept': 'Q1048835'}, 'P47', 'Q1387091'] [{'concept': 'Q56061'}, 'P47', 'Q1372861'] [{'concept': 'Q1048835'}, 'P47', 'Q1372861'] [{'concept': 'Q56061'}, 'P47', 'Q144268'] [{'concept': 'Q1048835'}, 'P47', 'Q144268'] [{'concept': 'Q56061'}, 'P47', 'Q1372541'] [{'concept': 'Q1048835'}, 'P47', 'Q1372541'] [{'concept': 'Q56061'}, 'P47', 'Q580391'] [{'concept': 'Q1048835'}, 'P47', 'Q580391'] [{'concept': 'Q56061'}, 'P47', 'Q1098700'] [{'concept': 'Q1048835'}, 'P47', 'Q1098700'] [{'concept': 'Q56061'}, 'P47', 'Q1613555'] [{'concept': 'Q1048835'}, 'P47', 'Q1613555'] [{'concept': 'Q56061'}, 'P47', 'Q183'] [{'concept': 'Q1048835'}, 'P47', 'Q183']
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Torre de Miguel Sesmero'] [{'concept': 'political territorial entity'}, 'shares border with', 'Torre de Miguel Sesmero'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Talavera la Real'] [{'concept': 'political territorial entity'}, 'shares border with', 'Talavera la Real'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Valdelacalzada'] [{'concept': 'political territorial entity'}, 'shares border with', 'Valdelacalzada'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Montijo'] [{'concept': 'political territorial entity'}, 'shares border with', 'Montijo'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'La Roca de la Sierra'] [{'concept': 'political territorial entity'}, 'shares border with', 'La Roca de la Sierra'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'La Albuera'] [{'concept': 'political territorial entity'}, 'shares border with', 'La Albuera'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Corte de Peleas'] [{'concept': 'political territorial entity'}, 'shares border with', 'Corte de Peleas'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Almendral'] [{'concept': 'political territorial entity'}, 'shares border with', 'Almendral'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Lobón'] [{'concept': 'political territorial entity'}, 'shares border with', 'Lobón'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Torre de Miguel Sesmero'] [{'concept': 'political territorial entity'}, 'shares border with', 'Torre de Miguel Sesmero'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Germany'] [{'concept': 'political territorial entity'}, 'shares border with', 'Germany']
[]
SYSTEM
2
Q580391 Q15679
(c(Q56061),P47,Q1613555) (c(Q1048835),P47,Q1613555) (c(Q56061),P47,Q1387075) (c(Q1048835),P47,Q1387075) (c(Q56061),P47,Q1246417) (c(Q1048835),P47,Q1246417) (c(Q56061),P47,Q1387091) (c(Q1048835),P47,Q1387091) (c(Q56061),P47,Q1372861) (c(Q1048835),P47,Q1372861) (c(Q56061),P47,Q144268) (c(Q1048835),P47,Q144268) (c(Q56061),P47,Q1372541) (c(Q1048835),P47,Q1372541) (c(Q56061),P47,Q580391) (c(Q1048835),P47,Q580391) (c(Q56061),P47,Q1098700) (c(Q1048835),P47,Q1098700) (c(Q56061),P47,Q1613555) (c(Q1048835),P47,Q1613555) (c(Q56061),P47,Q183) (c(Q1048835),P47,Q183)
[ANSWER]
[{'concept': 'Q56061'}, 'P47', 'Q1613555'] [{'concept': 'Q1048835'}, 'P47', 'Q1613555'] [{'concept': 'Q56061'}, 'P47', 'Q1387075'] [{'concept': 'Q1048835'}, 'P47', 'Q1387075'] [{'concept': 'Q56061'}, 'P47', 'Q1246417'] [{'concept': 'Q1048835'}, 'P47', 'Q1246417'] [{'concept': 'Q56061'}, 'P47', 'Q1387091'] [{'concept': 'Q1048835'}, 'P47', 'Q1387091'] [{'concept': 'Q56061'}, 'P47', 'Q1372861'] [{'concept': 'Q1048835'}, 'P47', 'Q1372861'] [{'concept': 'Q56061'}, 'P47', 'Q144268'] [{'concept': 'Q1048835'}, 'P47', 'Q144268'] [{'concept': 'Q56061'}, 'P47', 'Q1372541'] [{'concept': 'Q1048835'}, 'P47', 'Q1372541'] [{'concept': 'Q56061'}, 'P47', 'Q580391'] [{'concept': 'Q1048835'}, 'P47', 'Q580391'] [{'concept': 'Q56061'}, 'P47', 'Q1098700'] [{'concept': 'Q1048835'}, 'P47', 'Q1098700'] [{'concept': 'Q56061'}, 'P47', 'Q1613555'] [{'concept': 'Q1048835'}, 'P47', 'Q1613555'] [{'concept': 'Q56061'}, 'P47', 'Q183'] [{'concept': 'Q1048835'}, 'P47', 'Q183']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q1613555 } UNION { ?y property:P47 resource:Q1613555 } UNION { ?z property:P47 resource:Q1387075 } UNION { ?y property:P47 resource:Q1387075 } UNION { ?z property:P47 resource:Q1246417 } UNION { ?y property:P47 resource:Q1246417 } UNION { ?z property:P47 resource:Q346344 } UNION { ?y property:P47 resource:Q346344 } UNION { ?z property:P47 resource:Q1372861 } UNION { ?y property:P47 resource:Q1372861 } UNION { ?z property:P47 resource:Q144268 } UNION { ?y property:P47 resource:Q144268 } UNION { ?z property:P47 resource:Q1372541 } UNION { ?y property:P47 resource:Q1372541 } UNION { ?z property:P47 resource:Q580391 } UNION { ?y property:P47 resource:Q580391 } UNION { ?z property:P47 resource:Q1098700 } UNION { ?y property:P47 resource:Q1098700 } UNION { ?z property:P47 resource:Q1613555 } UNION { ?y property:P47 resource:Q1613555 } UNION { ?z property:P47 resource:Q423030 } UNION { ?y property:P47 resource:Q423030 } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1048835 }
Almendral Badajoz
2
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Torre de Miguel Sesmero'] [{'concept': 'political territorial entity'}, 'shares border with', 'Torre de Miguel Sesmero'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Talavera la Real'] [{'concept': 'political territorial entity'}, 'shares border with', 'Talavera la Real'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Valdelacalzada'] [{'concept': 'political territorial entity'}, 'shares border with', 'Valdelacalzada'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Montijo'] [{'concept': 'political territorial entity'}, 'shares border with', 'Montijo'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'La Roca de la Sierra'] [{'concept': 'political territorial entity'}, 'shares border with', 'La Roca de la Sierra'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'La Albuera'] [{'concept': 'political territorial entity'}, 'shares border with', 'La Albuera'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Corte de Peleas'] [{'concept': 'political territorial entity'}, 'shares border with', 'Corte de Peleas'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Almendral'] [{'concept': 'political territorial entity'}, 'shares border with', 'Almendral'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Lobón'] [{'concept': 'political territorial entity'}, 'shares border with', 'Lobón'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Torre de Miguel Sesmero'] [{'concept': 'political territorial entity'}, 'shares border with', 'Torre de Miguel Sesmero'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Germany'] [{'concept': 'political territorial entity'}, 'shares border with', 'Germany']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:Torre_de_Miguel_Sesmero } UNION { ?y property:shares_border_with resource:Torre_de_Miguel_Sesmero } UNION { ?z property:shares_border_with resource:Talavera_la_Real } UNION { ?y property:shares_border_with resource:Talavera_la_Real } UNION { ?z property:shares_border_with resource:Valdelacalzada } UNION { ?y property:shares_border_with resource:Valdelacalzada } UNION { ?z property:shares_border_with resource:Montijo } UNION { ?y property:shares_border_with resource:Montijo } UNION { ?z property:shares_border_with resource:La_Roca_de_la_Sierra } UNION { ?y property:shares_border_with resource:La_Roca_de_la_Sierra } UNION { ?z property:shares_border_with resource:La_Albuera } UNION { ?y property:shares_border_with resource:La_Albuera } UNION { ?z property:shares_border_with resource:Corte_de_Peleas } UNION { ?y property:shares_border_with resource:Corte_de_Peleas } UNION { ?z property:shares_border_with resource:Almendral } UNION { ?y property:shares_border_with resource:Almendral } UNION { ?z property:shares_border_with resource:Lobón } UNION { ?y property:shares_border_with resource:Lobón } UNION { ?z property:shares_border_with resource:Torre_de_Miguel_Sesmero } UNION { ?y property:shares_border_with resource:Torre_de_Miguel_Sesmero } UNION { ?z property:shares_border_with resource:Germany } UNION { ?y property:shares_border_with resource:Germany } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1678
P138
Q179049
USER
Which nature reserves have Saale as their toponym ?
(c(Q179049),P138,Q1678)
action filter_type
action find_reverse
entity Q1678
relation P138
type Q179049
[{'concept': 'Q179049'}, 'P138', 'Q1678']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q1678 . ?l rdf:type ontology:Q179049 }
Saale
action filter_type
action find_reverse
entity Saale
relation named after
type nature reserve
[{'concept': 'nature reserve'}, 'named after', 'Saale']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:Saale . ?l rdf:type ontology:nature_reserve }
[]
nature reserve
Q21042038 Q16887762 Q17048463
SYSTEM
Rabeninsel und Saaleaue bei Böllberg, Saaledurchbruch bei Rothenburg, Saalehänge bei Dobis
Q21042038 Q16887762 Q17048463 Q21042036 Q17048461
(c(Q179049),P138,Q1678)
action filter_type
action find_reverse
entity Q1678
relation P138
type Q179049
[ANSWERS] have Saale as their toponym
[{'concept': 'Q179049'}, 'P138', 'Q1678']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q1678 . ?l rdf:type ontology:Q179049 }
Rabeninsel und Saaleaue bei Böllberg Saaledurchbruch bei Rothenburg Saalehänge bei Dobis Abtei und Saaleaue bei Planena Teufelsgrund und Saalehänge
Rabeninsel und Saaleaue bei Böllberg, Saaledurchbruch bei Rothenburg and Saalehänge bei Dobis have Saale as their toponym
Rabeninsel und Saaleaue bei Böllberg Saaledurchbruch bei Rothenburg Saalehänge bei Dobis
action filter_type
action find_reverse
entity Saale
relation named after
type nature reserve
[{'concept': 'nature reserve'}, 'named after', 'Saale']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:Saale . ?l rdf:type ontology:nature_reserve }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21042038
P17
Q1048835
USER
Which political territory is that nature reserve located in ?
(Q21042038,P17,c(Q1048835))
action filter_type
action find
entity Q21042038
relation P17
type Q1048835
['Q21042038', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q21042038 property:P17 ?t . ?t rdf:type ontology:Q1048835 }
Rabeninsel und Saaleaue bei Böllberg
action filter_type
action find
entity Rabeninsel und Saaleaue bei Böllberg
relation country
type political territorial entity
['Rabeninsel und Saaleaue bei Böllberg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Rabeninsel_und_Saaleaue_bei_Böllberg property:country ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q21042038
SYSTEM
Did you mean Rabeninsel und Saaleaue bei Böllberg ?
Q21042038 Q16887762 Q17048463
(Q21042038,P17,c(Q1048835)) (Q16887762,P17,c(Q1048835)) (Q17048463,P17,c(Q1048835))
[ANSWER]
['Q21042038', 'P17', {'concept': 'Q1048835'}] ['Q16887762', 'P17', {'concept': 'Q1048835'}] ['Q17048463', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q21042038 property:P17 ?t . ?t rdf:type ontology:Q1048835 }
Rabeninsel und Saaleaue bei Böllberg Saaledurchbruch bei Rothenburg Saalehänge bei Dobis
Did you mean Rabeninsel und Saaleaue bei Böllberg ?
Rabeninsel und Saaleaue bei Böllberg
['Rabeninsel und Saaleaue bei Böllberg', 'country', {'concept': 'political territorial entity'}] ['Saaledurchbruch bei Rothenburg', 'country', {'concept': 'political territorial entity'}] ['Saalehänge bei Dobis', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Rabeninsel_und_Saaleaue_bei_Böllberg property:country ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q21042038,P17,c(Q1048835))
['Q21042038', 'P17', {'concept': 'Q1048835'}]
['Rabeninsel und Saaleaue bei Böllberg', 'country', {'concept': 'political territorial entity'}]
[]
Q183
SYSTEM
Germany
Q183
(Q21042038,P17,c(Q1048835))
action filter_type
action find
entity Q21042038
relation P17
type Q1048835
That nature reserve is located in [ANSWER]
['Q21042038', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q21042038 property:P17 ?t . ?t rdf:type ontology:Q1048835 }
Germany
That nature reserve is located in Germany
Germany
action filter_type
action find
entity Rabeninsel und Saaleaue bei Böllberg
relation country
type political territorial entity
['Rabeninsel und Saaleaue bei Böllberg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Rabeninsel_und_Saaleaue_bei_Böllberg property:country ?t . ?t rdf:type ontology:political_territorial_entity }
[]