Simple Question (Direct)
Simple Question
Q1644518
P106
Q151885
USER
What is the job of Édouard Yves ?
(Q1644518,P106,c(Q151885))
action filter_type
action find
entity Q1644518
relation P106
type Q151885
['Q1644518', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q1644518 property:P106 ?z . ?z rdf:type ontology:Q151885 }
Édouard Yves
action filter_type
action find
entity Édouard Yves
relation occupation
type concept
['Édouard Yves', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Édouard_Yves property:occupation ?z . ?z rdf:type ontology:concept }
[]
concept
Q13381863
SYSTEM
fencer
Q13381863
(Q1644518,P106,c(Q151885))
action filter_type
action find
entity Q1644518
relation P106
type Q151885
The job of Édouard Yves is a [ANSWER]
['Q1644518', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q1644518 property:P106 ?z . ?z rdf:type ontology:Q151885 }
fencer
The job of Édouard Yves is a fencer
fencer
action filter_type
action find
entity Édouard Yves
relation occupation
type concept
['Édouard Yves', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Édouard_Yves property:occupation ?z . ?z rdf:type ontology:concept }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q316883
P706
Q82794 Q151885
USER
Which geographic regions are the location where approximately the same number of concepts are located as Teltow ?
(c(Q151885),P706,c(Q82794))
action approx
action find_reverse_tuple_counts
relation P706
type Q82794
type Q151885
action count
action filter_type
action find
entity Q316883
relation P706
type Q82794
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:P706 ?c . ?c rdf:type ontology:Q82794 . ?v rdf:type ontology:Q151885 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { resource:Q316883 property:P706 ?q . ?q rdf:type ontology:Q82794 } } . FILTER ( ?x = ?y ) }
Teltow
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type concept
action count
action filter_type
action find
entity Teltow
relation located on terrain feature
type geographic region
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:located_on_terrain_feature ?c . ?c rdf:type ontology:geographic_region . ?v rdf:type ontology:concept } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { resource:Teltow property:located_on_terrain_feature ?q . ?q rdf:type ontology:geographic_region } } . FILTER ( ?x = ?y ) }
[]
geographic region concept
Q2887520 Q20925112 Q20906226
SYSTEM
Vistula basin, Bug Basin, Narew Basin
Q3554041 Q3554044 Q316883 Q202322 Q1404827 Q22703273 Q917858 Q214662 Q833127 Q15758768 Q1661032 Q1746460 Q375953 Q22951373 Q3039434 Q301774 Q132480 Q1221188 Q317751 Q875085 Q1295846 Q5567863 Q571607 Q881921 Q15139349 Q13130354 Q383032 Q571696 Q2258070 Q1444797 Q671694 Q2887520 Q3041080 Q8352403 Q22666716 Q489533 Q51614 Q15139348 Q721298 Q2214132 Q303730 Q14523513 Q2887517 Q15719556 Q3487269 Q7909150 Q1741416 Q2507852 Q178925 Q7686375 Q6311733 Q763829 Q306950 Q251246 Q16004983 Q1325091 Q567318 Q16004967 Q738671 Q60140 Q14912672 Q170081 Q20925112 Q1794875 Q565751 Q569073 Q14215814 Q12046593 Q884616 Q13370189 Q912837 Q384885 Q16004976 Q897389 Q39061 Q12880609 Q2148017 Q244451 Q7594902 Q14683140 Q734149 Q171393 Q1682868 Q192201 Q2099232 Q1616130 Q897333 Q314741 Q20906226 Q7549778 Q481600 Q2199768 Q22667180 Q118899 Q1339950 Q1940689 Q816843 Q734317 Q14210889 Q1592977 Q530131 Q16004873 Q16004874 Q16004956 Q170526 Q1935344 Q1471257 Q22680049 Q2282388 Q1772582 Q1138800 Q575245 Q6515602 Q2866905
(c(Q151885),P706,c(Q82794))
action approx
action find_reverse_tuple_counts
relation P706
type Q82794
type Q151885
action count
action filter_type
action find
entity Q316883
relation P706
type Q82794
[ANSWERS] are the location where approximately the same number of concepts are located as Teltow
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:P706 ?c . ?c rdf:type ontology:Q82794 . ?v rdf:type ontology:Q151885 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { resource:Q316883 property:P706 ?q . ?q rdf:type ontology:Q82794 } } . FILTER ( ?x = ?y ) }
Matapédia Valley Vézère Valley Teltow Beqaa Valley The Fens Hockley Valley The Burren Budjak Lower Bavarian Upland Yangtze River basin Unteres Mittelrheingebiet Westmünsterland Altes Land Elbląg Basin Syrtis Major quadrangle Etschtal Kantō region Diepholzer Moorniederung Kehdingen Gastein Valley Wesermünde Geest Glen Lochay Middle Rhine Eider-Treene Depression Helen Planitia quadrangle Nant Gwynant Brixental Hoeksche Waard Swabian Keuper-Lias Plains Frankenweide Krimpenerwaard Vistula basin Valley of the Ten Peaks Ebro Basin Brda basin Binn valley Anatolia Niobe Planitia quadrangle Asbacher Hochfläche Alblasserwaard Aatal Baden Airpark Vilaine basin Honnefer Talweitung Wurstelprater Val Sinestra Schleswig-Holstein Uplands Val d'Illiez Gran Canaria Tarn Valley Junction Hollow Jezreel Valley Eastern Upper Lusatia Vienna Woods Lada Terra quadrangle Elbe Urstromtal Thuringian Basin Aphrodite Terra  quadrangle Val Bregaglia Indian subcontinent Rheinwald Neandertal Bug Basin Niederwesterwald Epirus Outback Murg Valley Danube basin Drömling Neman Basin Glens of Antrim Val Gardena Guinevere Planitia quadrangle Altmühltal Northern Hemisphere Makedonika Tembi Rheinwesterwälder Vulkanrücken Amazon basin St Nectan's Glen Little Yosemite Valley Torne Valley Wallachia Krimmler Achental Wachau Pleiser Hügelland Hetch Hetchy Teufelsmoor Dresden Basin Narew Basin Soan Sakaser Valley Schönbuch Southern Flevoland Drwęca Basin Brazilian Highlands Sternberg lake district Central Black Forest San Fernando Valley Val Camonica Chao Phraya basin Heckengäu Taylor Valley Lavinia Planitia quadrangle Ishtar Terra quadrangle Sedna Planitia quadrangle Fertile Crescent Tarfala Valley Franconian Keuper-Lias Plains Pregolya Basin Siebenmühlental Thames Valley Pelagonia Chad Basin Tørdal Aspé Valley
Vistula basin, Bug Basin and Narew Basin are the location where approximately the same number of concepts are located as Teltow
Vistula basin Bug Basin Narew Basin
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type concept
action count
action filter_type
action find
entity Teltow
relation located on terrain feature
type geographic region
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:located_on_terrain_feature ?c . ?c rdf:type ontology:geographic_region . ?v rdf:type ontology:concept } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { resource:Teltow property:located_on_terrain_feature ?q . ?q rdf:type ontology:geographic_region } } . FILTER ( ?x = ?y ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P706
Q82794 Q355304
USER
Which watercourses are located in min number of geographic regions ?
(c(Q355304),P706,c(Q82794))
action argmin
action find_tuple_counts
relation P706
type Q355304
type Q82794
[{'concept': 'Q355304'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?c ) WHERE { ?d property:P706 ?y . ?d rdf:type ontology:Q355304 . ?y rdf:type ontology:Q82794 } GROUP BY ?d } . FILTER ( ?c = ?l ) . { SELECT DISTINCT ( MIN ( ?p ) AS ?l ) { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?p ) WHERE { ?n property:P706 ?i . ?i rdf:type ontology:Q82794 . ?n rdf:type ontology:Q355304 } GROUP BY ?n } } }
action argmin
action find_tuple_counts
relation located on terrain feature
type watercourse
type geographic region
[{'concept': 'watercourse'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?c ) WHERE { ?d property:located_on_terrain_feature ?y . ?d rdf:type ontology:watercourse . ?y rdf:type ontology:geographic_region } GROUP BY ?d } . FILTER ( ?c = ?l ) . { SELECT DISTINCT ( MIN ( ?p ) AS ?l ) { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?p ) WHERE { ?n property:located_on_terrain_feature ?i . ?i rdf:type ontology:geographic_region . ?n rdf:type ontology:watercourse } GROUP BY ?n } } }
[]
geographic region watercourse
Q14299 Q5455008 Q430677
SYSTEM
Douro, Fishing Creek, Este
Q430677 Q7166886 Q15731986 Q15731987 Q15731984 Q15731985 Q15731983 Q3555227 Q23975436 Q17760 Q2336884 Q6689819 Q119152 Q17765 Q6115002 Q1151114 Q3682039 Q3433912 Q6957053 Q25930324 Q17021445 Q14661 Q1871901 Q15677 Q3558323 Q2666460 Q23927400 Q11202802 Q1721931 Q2011766 Q5887036 Q16705 Q16707 Q16706 Q14299 Q5445615 Q17074877 Q1815266 Q16572982 Q7423144 Q7294256 Q5455008 Q3791516 Q3433893 Q14637 Q1462727 Q6436394 Q1233866 Q5637214 Q14676 Q3299894 Q6115052 Q1946396 Q5329653 Q5141049 Q1641987 Q182873 Q11945685 Q3393309 Q25938187 Q8343335 Q19516159 Q638345 Q2940848 Q1343546 Q19516569 Q16673 Q16676 Q19520578 Q4794746 Q490456 Q7198428 Q460293 Q14770 Q14771 Q2579197 Q17432910 Q17776 Q624655 Q17442985 Q7069027 Q939218 Q7986988 Q14608 Q25930251 Q191087 Q5613204 Q3558316 Q2967741 Q3566505 Q3555039 Q6115796 Q3848184 Q704775 Q4738012 Q2913189 Q19461682 Q3100663 Q6986298 Q1166701 Q1697063 Q5616468 Q14642 Q17510634 Q1195715 Q16510 Q2555401 Q16512 Q16513 Q3915961 Q17748 Q6114885 Q211852 Q7448488 Q6115064 Q15670 Q15671 Q15673 Q15675 Q15676 Q3773573 Q3362574 Q5395271 Q6981044 Q18751502 Q2359780 Q147832 Q2294027 Q17801 Q3566497 Q17799 Q2227821 Q321043 Q38743 Q3358050 Q1498757 Q17153885 Q14769 Q14761 Q14760 Q14763 Q14765 Q14764 Q14766 Q325197 Q2376337 Q155841 Q17761 Q14617 Q18627385 Q6401833 Q3566426 Q572158 Q18213985 Q1872337 Q14682 Q17755 Q37847 Q16689 Q17587971 Q3566513 Q15224141 Q4905491 Q15663 Q17427511 Q23930495 Q2647270 Q2998706 Q11922514 Q527132 Q7578862 Q4869848 Q25930115 Q7856175 Q16511 Q17476676 Q917851 Q5491858 Q4852569 Q14650 Q14653 Q647970 Q320151 Q16509 Q16508 Q6503577 Q16507 Q16505 Q16504 Q7337795 Q16961146 Q783114 Q15666 Q729851 Q5166723 Q15669 Q6115581 Q6673218 Q10361520 Q7405928 Q3566399 Q6085159 Q6863767 Q14309 Q23974254 Q81503 Q3566520 Q16710 Q3566529 Q3272065 Q19921410 Q3393192 Q17794 Q19371036 Q7876637 Q11999457 Q729702 Q1752963 Q19371038 Q23975438 Q4905993 Q23975437 Q19520581 Q5804164 Q2669946 Q19364073 Q3433883 Q14626 Q570235 Q5454484 Q4696259 Q1657122 Q14755 Q14756 Q14757 Q14750 Q14758 Q7398706 Q7031677 Q16692 Q16699 Q4950822 Q2096140 Q3555219 Q16663 Q16661 Q16664 Q16665
(c(Q355304),P706,c(Q82794))
action argmin
action find_tuple_counts
relation P706
type Q355304
type Q82794
[ANSWERS] are located in min number of geographic regions
[{'concept': 'Q355304'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?c ) WHERE { ?d property:P706 ?y . ?d rdf:type ontology:Q355304 . ?y rdf:type ontology:Q82794 } GROUP BY ?d } . FILTER ( ?c = ?l ) . { SELECT DISTINCT ( MIN ( ?p ) AS ?l ) { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?p ) WHERE { ?n property:P706 ?i . ?i rdf:type ontology:Q82794 . ?n rdf:type ontology:Q355304 } GROUP BY ?n } } }
Este Perales River Vortrapptief Westerley Osterley Rantumlohe Eidumtief Erymanthos Lau Creek Genil Voidomatis Louros Eurotas Guadalimar Chico River Călmățui River Codera Rivière du Château Nabão River Rhaeadr y Cwm Hotnarko River Águeda River Vouraikos River Erges Glafkos Guadiamar Louisekilden Guareña River Thyamis Kacha River Guadyerbas Jabalón Zújar River Guadalupe Douro Fervença River Kokish River Leine Guadalmellato Sarantaporos Rapides du Cheval Blanc Fishing Creek Iardanus Rivière des Galets Rabazal river Ladon Krathis Pineios Aulencia Zapardiel river Trabancos Corneja River Montmorency Falls East Webburn River Cofio River Neda Corinth Canal Riu Bullent Ambroz Machno Falls Cega Grøtneselva Arda River Riandahy Falls Algés River Reinskarelva Chanza River Ardila River Ringbolt Rapids Arney River Seeve Pissing Mare Falls Oos Huebra River Yeltes River Rio Eresma Nordkjoselva Corbones Arachthos Imofossen Numa Falls Cocytus West Webburn River Tâmega River Rhaeadr Mawddach Acheron Guadalmena Charadros Rideau Falls Selemnos Aroanios Turones River Algodor River Uecker Alviela River Río Córcoles Soltindelva Pamisos Nedonas Darro Phum Duang River Guinea Gut Tuela river Font de l'Ull Tapi River Henares Odra Manzanares Alberche Sainte-Anne fountain Guadiana Menor Bornova river Ionides Selinountas Cuerpo de Hombre River Sor River Zêzere River Rio Ocreza River Sever River Ponsul Gornalunga Larissos Gamo River Francia River Botnelva Styx River Zare Royal Military Canal River Viar Meilichos Bembézar Saut du Doubs Dornbirner Ach Kaaterskill Falls Oued Saoura Geilebach Hertebron Tera River Arlanzón river Arlanza river Esgueva river Cea River Esla river Órbigo River Senserbach Syrabach Lech Guadaíra Paiva River Hoge Dwarsvaart Khlong Kui Zacholitikos Pistyll Rhaeadr Arve Loussios Duratón river Guadajoz Mynach Falls Caia River Barranc dels Racons Volinaios Hinatuan Enchanted River Big creek Sorraia River Sint-Servaasbron Rush creek Aliste The Bend Font del Xopet Eisbach Spokane Falls Battery Gut Rhaeadr Du Turpentine Run Lozoya Nordbyelva Lee Ladrillar River Balsemão River Sabor river Côa River Kladeos Lichte Tajuña Jarama Lawashi Channel Guadarrama River Rio Guadiela Río Gallo Rye Chase River Vinalopó Ribeira do Divor Brombach Conway River Ribeira da Raia Quilamas River Long Sault Azibo River Salt River Tytheus Isna River Mindemoya River Guadalquivir Lau Creek Vjosë Plataneiko Matachel Krios Lézarde Clareen Poggiolo Jándula River Storelva Uces River Sandselva Rohrach Saint Anthony Falls Storelva Lau Creek Big Manitou Falls Lau Creek Roaring Rapids Río Ojuelo Minnebron Oued Messaoud Rivière de l'Est Tua River Randow Fish Bay Gut Ahnapee River Igelsbach Tormes River Valderaduey river Pisuerga river Adaja river Carrión river Saffold Dam Niemica Cigüela Záncara Bowen River Guadalevín Peiros Alagón River Tiétar Salor River Almonte
Douro, Fishing Creek and Este are located in min number of geographic regions
Douro Fishing Creek Este
action argmin
action find_tuple_counts
relation located on terrain feature
type watercourse
type geographic region
[{'concept': 'watercourse'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?c ) WHERE { ?d property:located_on_terrain_feature ?y . ?d rdf:type ontology:watercourse . ?y rdf:type ontology:geographic_region } GROUP BY ?d } . FILTER ( ?c = ?l ) . { SELECT DISTINCT ( MIN ( ?p ) AS ?l ) { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?p ) WHERE { ?n property:located_on_terrain_feature ?i . ?i rdf:type ontology:geographic_region . ?n rdf:type ontology:watercourse } GROUP BY ?n } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P177
Q12280
USER
How many bridges are over/under that watercourse ?
(c(Q12280),P177,Q5455008)
[{'concept': 'Q12280'}, 'P177', 'Q5455008']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P177 resource:Q5455009 . ?z rdf:type ontology:Q996044 }
[{'concept': 'bridge'}, 'crosses', 'Fishing Creek']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:crosses resource:Fishing_Creek . ?z rdf:type ontology:bridge }
[]
bridge
Quantitative|Count|Single entity type|Clarification
Q430677
SYSTEM
Did you mean Este ?
(c(Q12280),P177,Q14299) (c(Q12280),P177,Q5455008) (c(Q12280),P177,Q430677)
[ANSWER]
[{'concept': 'Q12280'}, 'P177', 'Q14299'] [{'concept': 'Q12280'}, 'P177', 'Q5455008'] [{'concept': 'Q12280'}, 'P177', 'Q430677']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P177 resource:Q5455009 . ?z rdf:type ontology:Q996044 }
Did you mean Este ?
Este
[{'concept': 'bridge'}, 'crosses', 'Douro'] [{'concept': 'bridge'}, 'crosses', 'Fishing Creek'] [{'concept': 'bridge'}, 'crosses', 'Este']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:crosses resource:Fishing_Creek . ?z rdf:type ontology:bridge }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Fishing Creek. Could you tell me the answer for that?
(c(Q12280),P177,Q5455008)
Q5455008
[{'concept': 'Q12280'}, 'P177', 'Q5455008']
[{'concept': 'bridge'}, 'crosses', 'Fishing Creek']
[]
SYSTEM
2
Q7981201 Q7380269
(c(Q12280),P177,Q5455008)
[ANSWER]
[{'concept': 'Q12280'}, 'P177', 'Q5455008']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P177 resource:Q5455009 . ?z rdf:type ontology:Q996044 }
Welle Hess Covered Bridge No. S1 Rupert Covered Bridge No. 56
2
[{'concept': 'bridge'}, 'crosses', 'Fishing Creek']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:crosses resource:Fishing_Creek . ?z rdf:type ontology:bridge }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q355304 Q2221906 Q82794
USER
How many geographic regions are located in approximately 1 watercourses or geographic locations ?
(c(Q82794),P706,c(Q355304)|c(Q2221906))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q82794
type Q355304
action find_tuple_counts
relation P706
type Q82794
type Q2221906
value 1
[{'concept': 'Q82794'}, 'P706', [{'concept': 'Q355304'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?z WHERE { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:Q355304 ) ( ontology:Q2221906 ) } } GROUP BY ?z } . FILTER ( ?l = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type geographic region
type watercourse
action find_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
value 1
[{'concept': 'geographic region'}, 'located on terrain feature', [{'concept': 'watercourse'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?z WHERE { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:watercourse ) ( ontology:geographic_location ) } } GROUP BY ?z } . FILTER ( ?l = 1 ) }
[]
watercourse geographic location geographic region
SYSTEM
7
Q118388 Q1320834 Q538820 Q571430 Q14215814 Q929061 Q1339950
(c(Q82794),P706,c(Q355304)|c(Q2221906))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q82794
type Q355304
action find_tuple_counts
relation P706
type Q82794
type Q2221906
value 1
[ANSWER]
[{'concept': 'Q82794'}, 'P706', [{'concept': 'Q355304'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?z WHERE { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:Q355304 ) ( ontology:Q2221906 ) } } GROUP BY ?z } . FILTER ( ?l = 1 ) }
Death Valley Eistobel Valdarno Antarctic ice sheet Murg Valley Urstromtal Sternberg lake district
7
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type geographic region
type watercourse
action find_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
value 1
[{'concept': 'geographic region'}, 'located on terrain feature', [{'concept': 'watercourse'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?z WHERE { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:watercourse ) ( ontology:geographic_location ) } } GROUP BY ?z } . FILTER ( ?l = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2887520
P361
Q82794
USER
What is a part of Vistula basin ?
(c(Q82794),P361,Q2887520)
action filter_type
action find_reverse
entity Q2887520
relation P361
type Q82794
[{'concept': 'Q82794'}, 'P361', 'Q2887520']
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q2887520 . ?b rdf:type ontology:Q82794 }
Vistula basin
action filter_type
action find_reverse
entity Vistula basin
relation part of
type geographic region
[{'concept': 'geographic region'}, 'part of', 'Vistula basin']
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:Vistula_basin . ?b rdf:type ontology:geographic_region }
[]
geographic region
Q20906226
SYSTEM
Narew Basin
Q20906226
(c(Q82794),P361,Q2887520)
action filter_type
action find_reverse
entity Q2887520
relation P361
type Q82794
A part of Vistula basin is called [ANSWER]
[{'concept': 'Q82794'}, 'P361', 'Q2887520']
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q2887520 . ?b rdf:type ontology:Q82794 }
Narew Basin
A part of Vistula basin is called Narew Basin
Narew Basin
action filter_type
action find_reverse
entity Vistula basin
relation part of
type geographic region
[{'concept': 'geographic region'}, 'part of', 'Vistula basin']
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:Vistula_basin . ?b rdf:type ontology:geographic_region }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20906226
P974
Q355304
USER
Which rivers or lakes flow into that geographic region ?
(Q20906226,P974,c(Q355304))
action filter_type
action find
entity Q20906226
relation P974
type Q355304
['Q20906226', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?o WHERE { resource:Q20906226 property:P974 ?o . ?o rdf:type ontology:Q355304 }
Narew Basin
action filter_type
action find
entity Narew Basin
relation tributary
type watercourse
['Narew Basin', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?o WHERE { resource:Narew_Basin property:tributary ?o . ?o rdf:type ontology:watercourse }
[]
watercourse
Q156237 Q857160 Q1722452
SYSTEM
Western Bug, Biebrza, Narewka
Q857160 Q646358 Q771440 Q1644971 Q7386586 Q1333952 Q1722452 Q156237 Q941710 Q1630608
(Q20906226,P974,c(Q355304))
action filter_type
action find
entity Q20906226
relation P974
type Q355304
[ANSWERS] flow into that geographic region
['Q20906226', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?o WHERE { resource:Q20906226 property:P974 ?o . ?o rdf:type ontology:Q355304 }
Biebrza Rządza Wkra Supraśl Róż Orzyc Narewka Western Bug Pisa Orlanka
Western Bug, Biebrza and Narewka flow into that geographic region
Western Bug Biebrza Narewka
action filter_type
action find
entity Narew Basin
relation tributary
type watercourse
['Narew Basin', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?o WHERE { resource:Narew_Basin property:tributary ?o . ?o rdf:type ontology:watercourse }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q60055
P974
Q355304
USER
Do Narew have those ones as their tributary ?
(Q60055,P974,Q156237) (Q60055,P974,Q857160) (Q60055,P974,Q1722452)
action is_in
entity prev_answer
action find
entity Q60055
relation P974
['Q60055', 'P974', 'Q156237'] ['Q60055', 'P974', 'Q857160'] ['Q60055', 'P974', 'Q1722452']
ASK WHERE { resource:Q60055 property:P974 ?o . VALUES ( ?o ) { ( resource:Q857160 ) ( resource:Q646358 ) ( resource:Q771440 ) } }
Narew
action is_in
entity prev_answer
action find
entity Narew
relation tributary
['Narew', 'tributary', 'Western Bug'] ['Narew', 'tributary', 'Biebrza'] ['Narew', 'tributary', 'Narewka']
ASK WHERE { resource:Narew property:tributary ?o . VALUES ( ?o ) { ( resource:Biebrza ) ( resource:Rządza ) ( resource:Wkra ) } }
[]
watercourse
SYSTEM
YES
(Q60055,P974,Q156237) (Q60055,P974,Q857160) (Q60055,P974,Q1722452)
action is_in
entity prev_answer
action find
entity Q60055
relation P974
[ANSWER]
['Q60055', 'P974', 'Q156237'] ['Q60055', 'P974', 'Q857160'] ['Q60055', 'P974', 'Q1722452']
ASK WHERE { resource:Q60055 property:P974 ?o . VALUES ( ?o ) { ( resource:Q857160 ) ( resource:Q646358 ) ( resource:Q771440 ) } }
Yes
action is_in
entity prev_answer
action find
entity Narew
relation tributary
['Narew', 'tributary', 'Western Bug'] ['Narew', 'tributary', 'Biebrza'] ['Narew', 'tributary', 'Narewka']
ASK WHERE { resource:Narew property:tributary ?o . VALUES ( ?o ) { ( resource:Biebrza ) ( resource:Rządza ) ( resource:Wkra ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q156237
P17
Q15617994
USER
Which administrative territories do Western Bug belong to ?
(Q156237,P17,c(Q15617994))
action filter_type
action find
entity Q156237
relation P17
type Q15617994
['Q156237', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q156237 property:P17 ?g }
Western Bug
action filter_type
action find
entity Western Bug
relation country
type designation for an administrative territorial entity
['Western Bug', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Western_Bug property:country ?g }
[]
designation for an administrative territorial entity
Q212 Q184 Q36
SYSTEM
Ukraine, Belarus, Poland
Q212 Q184 Q36
(Q156237,P17,c(Q15617994))
action filter_type
action find
entity Q156237
relation P17
type Q15617994
Western Bug belong to [ANSWERS]
['Q156237', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q156237 property:P17 ?g }
Ukraine Belarus Poland
Western Bug belong to Ukraine, Belarus and Poland
Ukraine Belarus Poland
action filter_type
action find
entity Western Bug
relation country
type designation for an administrative territorial entity
['Western Bug', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Western_Bug property:country ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3246949
Q15617994
USER
And how about drielandenpunt?
(Q3246949,P17,c(Q15617994))
action filter_type
action find
entity Q3246949
relation P17
type Q15617994
['Q3246949', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q3246949 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
drielandenpunt
action filter_type
action find
entity drielandenpunt
relation country
type designation for an administrative territorial entity
['drielandenpunt', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:drielandenpunt property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q55
SYSTEM
Belgium, Netherlands
Q31 Q55
(Q3246949,P17,c(Q15617994))
action filter_type
action find
entity Q3246949
relation P17
type Q15617994
[ANSWERS]
['Q3246949', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q3246949 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Belgium Netherlands
Belgium Netherlands
action filter_type
action find
entity drielandenpunt
relation country
type designation for an administrative territorial entity
['drielandenpunt', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:drielandenpunt property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2285808 Q316883
P17
Q1048835
USER
Which political territories are Teltow and Silberhütte situated in ?
AND((Q316883,P17,c(Q1048835)), (Q2285808,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q316883
relation P17
action find
entity Q2285808
relation P17
type Q1048835
{'AND': [['Q316883', 'P17', {'concept': 'Q1048835'}], ['Q2285808', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { resource:Q316883 property:P17 ?m . resource:Q2285808 property:P17 ?m . ?m rdf:type ontology:Q1048835 }
Silberhütte Teltow
action filter_type
action intersection
action find
entity Teltow
relation country
action find
entity Silberhütte
relation country
type political territorial entity
{'AND': [['Teltow', 'country', {'concept': 'political territorial entity'}], ['Silberhütte', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { resource:Teltow property:country ?m . resource:Silberhütte property:country ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q316883,P17,c(Q1048835)), (Q2285808,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q316883
relation P17
action find
entity Q2285808
relation P17
type Q1048835
Which political territories is Teltow and Silberhütte situated in
{'AND': [['Q316883', 'P17', {'concept': 'Q1048835'}], ['Q2285808', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { resource:Q316883 property:P17 ?m . resource:Q2285808 property:P17 ?m . ?m rdf:type ontology:Q1048835 }
Germany
Which political territories is Teltow and Silberhütte situated in
Germany
action filter_type
action intersection
action find
entity Teltow
relation country
action find
entity Silberhütte
relation country
type political territorial entity
{'AND': [['Teltow', 'country', {'concept': 'political territorial entity'}], ['Silberhütte', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { resource:Teltow property:country ?m . resource:Silberhütte property:country ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q596362 Q1722452
P403
Q355304
USER
Which watercourses ultimately merges into Narewka or Bandon Bay ?
OR((c(Q355304),P403,Q1722452), (c(Q355304),P403,Q596362))
action filter_type
action union
action find_reverse
entity Q1722452
relation P403
action find_reverse
entity Q596362
relation P403
type Q355304
{'OR': [[{'concept': 'Q355304'}, 'P403', 'Q1722452'], [{'concept': 'Q355304'}, 'P403', 'Q596362']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P403 resource:Q1722452 } UNION { ?w property:P403 resource:Q596362 } } . ?w rdf:type ontology:Q355304 }
Bandon Bay Narewka
action filter_type
action union
action find_reverse
entity Narewka
relation mouth of the watercourse
action find_reverse
entity Bandon Bay
relation mouth of the watercourse
type watercourse
{'OR': [[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Narewka'], [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Bandon Bay']]}
SELECT DISTINCT ?w WHERE { { { ?w property:mouth_of_the_watercourse resource:Narewka } UNION { ?w property:mouth_of_the_watercourse resource:Bandon_Bay } } . ?w rdf:type ontology:watercourse }
[]
watercourse
Q1195715 Q5734986
SYSTEM
Tapi River, Okulanka
Q1195715 Q5734986
OR((c(Q355304),P403,Q1722452), (c(Q355304),P403,Q596362))
action filter_type
action union
action find_reverse
entity Q1722452
relation P403
action find_reverse
entity Q596362
relation P403
type Q355304
[ANSWERS] ultimately merge into Narewka or Bandon Bay
{'OR': [[{'concept': 'Q355304'}, 'P403', 'Q1722452'], [{'concept': 'Q355304'}, 'P403', 'Q596362']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P403 resource:Q1722452 } UNION { ?w property:P403 resource:Q596362 } } . ?w rdf:type ontology:Q355304 }
Tapi River Okulanka
Tapi River and Okulanka ultimately merge into Narewka or Bandon Bay
Tapi River Okulanka
action filter_type
action union
action find_reverse
entity Narewka
relation mouth of the watercourse
action find_reverse
entity Bandon Bay
relation mouth of the watercourse
type watercourse
{'OR': [[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Narewka'], [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Bandon Bay']]}
SELECT DISTINCT ?w WHERE { { { ?w property:mouth_of_the_watercourse resource:Narewka } UNION { ?w property:mouth_of_the_watercourse resource:Bandon_Bay } } . ?w rdf:type ontology:watercourse }
[]