Simple Question (Direct)
Simple Question
Q1080462
P19
Q486972
USER
Which human settlement is the birthplace of Christian Jansen ?
(Q1080462,P19,c(Q486972))
action filter_type
action find
entity Q1080462
relation P19
type Q486972
['Q1080462', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?b WHERE { resource:Q1080462 property:P19 ?b . ?b rdf:type ontology:Q486972 }
Christian Jansen
action filter_type
action find
entity Christian Jansen
relation place of birth
type human settlement
['Christian Jansen', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?b WHERE { resource:Christian_Jansen property:place_of_birth ?b . ?b rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q1080462,P19,c(Q486972))
action filter_type
action find
entity Q1080462
relation P19
type Q486972
[ANSWER] is the birthplace of Christian Jansen
['Q1080462', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?b WHERE { resource:Q1080462 property:P19 ?b . ?b rdf:type ontology:Q486972 }
Hamburg
Hamburg is the birthplace of Christian Jansen
Hamburg
action filter_type
action find
entity Christian Jansen
relation place of birth
type human settlement
['Christian Jansen', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?b WHERE { resource:Christian_Jansen property:place_of_birth ?b . ?b rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1055
P206
Q355304
USER
Which watercourses are located in the neighbourhood of that human settlement ?
(Q1055,P206,c(Q355304))
action filter_type
action find
entity Q1055
relation P206
type Q355304
['Q1055', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?u WHERE { resource:Q1055 property:P206 ?u . ?u rdf:type ontology:Q355304 }
Hamburg
action filter_type
action find
entity Hamburg
relation located next to body of water
type watercourse
['Hamburg', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?u WHERE { resource:Hamburg property:located_next_to_body_of_water ?u . ?u rdf:type ontology:watercourse }
[]
watercourse
Q1644 Q430677 Q1219
SYSTEM
Elbe, Este, Alster
Q3339 Q321993 Q430677 Q877543 Q2225573 Q1464580 Q317889 Q1219 Q882922 Q316958 Q316450 Q1644
(Q1055,P206,c(Q355304))
action filter_type
action find
entity Q1055
relation P206
type Q355304
[ANSWERS] are located in the neighbourhood of that human settlement
['Q1055', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?u WHERE { resource:Q1055 property:P206 ?u . ?u rdf:type ontology:Q355304 }
Bille Osterbek Este Rodenbek Saselbek Isebekkanal Tarpenbek Alster Bredenbek Flottbek Wandse Elbe
Elbe, Este and Alster are located in the neighbourhood of that human settlement
Elbe Este Alster
action filter_type
action find
entity Hamburg
relation located next to body of water
type watercourse
['Hamburg', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?u WHERE { resource:Hamburg property:located_next_to_body_of_water ?u . ?u rdf:type ontology:watercourse }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3593062
Q355304
USER
And also tell me about île Dorelle?
(Q3593062,P206,c(Q355304))
action filter_type
action find
entity Q3593062
relation P206
type Q355304
['Q3593062', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q355304 . resource:Q3593062 property:P206 ?q }
île Dorelle
action filter_type
action find
entity île Dorelle
relation located next to body of water
type watercourse
['île Dorelle', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:watercourse . resource:île_Dorelle property:located_next_to_body_of_water ?q }
[]
watercourse
Q1469
SYSTEM
Loire
Q1469
(Q3593062,P206,c(Q355304))
action filter_type
action find
entity Q3593062
relation P206
type Q355304
[ANSWER]
['Q3593062', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q355304 . resource:Q3593062 property:P206 ?q }
Loire
Loire
action filter_type
action find
entity île Dorelle
relation located next to body of water
type watercourse
['île Dorelle', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:watercourse . resource:île_Dorelle property:located_next_to_body_of_water ?q }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q12150956
P706
Q14524493 Q107425 Q355304
USER
How many watercourses have their location as around the same number of terrains and landscapes as Svynya ?
(c(Q355304),P706,c(Q14524493)|c(Q107425))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q355304
type Q14524493
action find_tuple_counts
relation P706
type Q355304
type Q107425
action count
action filter_multi_types
action find
entity Q12150956
relation P706
type Q14524493
type Q107425
[{'concept': 'Q355304'}, 'P706', [{'concept': 'Q14524493'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?z ) WHERE { { ?d property:P706 ?c . ?d rdf:type ontology:Q355304 . ?c rdf:type ontology:Q14524493 } UNION { ?d property:P706 ?c . ?d rdf:type ontology:Q355304 . ?c rdf:type ontology:Q107425 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:Q12150956 property:P706 ?g . { VALUES ( ?o ) { ( ontology:Q14524493 ) ( ontology:Q107425 ) } . ?g rdf:type ?o } } } . FILTER ( ?z = ?r ) }
Svynya
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type watercourse
type terrain
action find_tuple_counts
relation located on terrain feature
type watercourse
type landscape
action count
action filter_multi_types
action find
entity Svynya
relation located on terrain feature
type terrain
type landscape
[{'concept': 'watercourse'}, 'located on terrain feature', [{'concept': 'terrain'}, {'concept': 'landscape'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?z ) WHERE { { ?d property:located_on_terrain_feature ?c . ?d rdf:type ontology:watercourse . ?c rdf:type ontology:terrain } UNION { ?d property:located_on_terrain_feature ?c . ?d rdf:type ontology:watercourse . ?c rdf:type ontology:landscape } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:Svynya property:located_on_terrain_feature ?g . { VALUES ( ?o ) { ( ontology:terrain ) ( ontology:landscape ) } . ?g rdf:type ?o } } } . FILTER ( ?z = ?r ) }
[]
terrain landscape watercourse
SYSTEM
459
Q3472662 Q430677 Q7166886 Q15731986 Q15731987 Q15731984 Q15731985 Q15731983 Q12146392 Q3555227 Q9346819 Q11818697 Q5413 Q1144779 Q23975436 Q11132218 Q5613 Q2090677 Q7235780 Q20348 Q3472697 Q20343 Q22680166 Q16597800 Q17760 Q2336884 Q6689819 Q119152 Q17765 Q6115002 Q49544 Q1261531 Q3682039 Q3433912 Q6957053 Q1653 Q25930324 Q17021445 Q9364423 Q9337690 Q11111583 Q14661 Q9192325 Q7069329 Q1871901 Q15677 Q20034253 Q3558323 Q20033704 Q2666460 Q23927400 Q9393347 Q11202802 Q362276 Q1721931 Q5118500 Q18622368 Q2011766 Q5887036 Q16705 Q3018497 Q16707 Q16706 Q14299 Q5615 Q3043299 Q9179569 Q5445615 Q3499201 Q17074877 Q9283910 Q1815266 Q20926432 Q16572982 Q7423144 Q7294256 Q11104205 Q4428204 Q9197848 Q5455008 Q9346842 Q3791516 Q3433893 Q14637 Q1462727 Q1336624 Q6436394 Q1233866 Q9181787 Q5637214 Q23130 Q18704573 Q11744168 Q9180783 Q9333518 Q14676 Q3299894 Q6115052 Q1946396 Q5329653 Q12261102 Q5141049 Q1641987 Q5635 Q5735534 Q182873 Q3018454 Q11945685 Q3393309 Q25938187 Q12082692 Q8343335 Q3918909 Q19516159 Q752554 Q657615 Q638345 Q11734592 Q12158399 Q2940848 Q1343546 Q19516569 Q23155 Q23152 Q16673 Q23158 Q16676 Q26207129 Q9388780 Q19520578 Q9260103 Q12154994 Q16599883 Q4794746 Q490456 Q7198428 Q11800545 Q9346806 Q9346809 Q460293 Q14770 Q14771 Q2579197 Q20357 Q20354 Q1348658 Q17432910 Q3573008 Q17776 Q11832679 Q624655 Q17442985 Q668156 Q7069027 Q939218 Q3579508 Q7986988 Q12074137 Q14608 Q25930251 Q9375974 Q9210712 Q11831692 Q191087 Q19522168 Q1674993 Q5613204 Q11104926 Q12160409 Q12161970 Q3558316 Q9381297 Q11818460 Q1889871 Q1194375 Q12130402 Q16550352 Q12094288 Q2967741 Q3566505 Q3555039 Q1633197 Q6115796 Q3848184 Q704775 Q11728226 Q12106989 Q4738012 Q2913189 Q700081 Q19461682 Q3100663 Q6986298 Q772970 Q1166701 Q3472760 Q7402707 Q11703420 Q1697063 Q5616468 Q11740364 Q18594285 Q3919391 Q9346835 Q9346831 Q14642 Q11800874 Q4090956 Q1195715 Q741927 Q16510 Q2555401 Q16512 Q16513 Q3915961 Q17748 Q6114885 Q211852 Q9324546 Q7448488 Q6115064 Q15670 Q15671 Q15673 Q15675 Q15676 Q11688890 Q3773573 Q3362574 Q2682762 Q11752145 Q23134 Q5395271 Q6981044 Q11830519 Q1232916 Q18751502 Q2359780 Q147832 Q3918938 Q2294027 Q842462 Q11945747 Q9381304 Q17801 Q3918278 Q23141 Q23145 Q925450 Q3566497 Q17799 Q2227821 Q321043 Q2043315 Q11142243 Q38743 Q1498757 Q21832959 Q118850 Q17153885 Q20926414 Q14769 Q14761 Q14760 Q14763 Q14765 Q14764 Q12133491 Q14766 Q9266280 Q325197 Q4896951 Q3783 Q2376337 Q155841 Q17761 Q9395229 Q73562 Q430799 Q14617 Q18627385 Q4082807 Q9275181 Q26132909 Q6401833 Q11750871 Q4500254 Q27067635 Q3918897 Q3566426 Q676885 Q572158 Q18213985 Q1872337 Q14682 Q9324212 Q3657762 Q11738905 Q17755 Q7594908 Q37847 Q11750238 Q156237 Q16689 Q971515 Q5611 Q5616 Q19947021 Q9260855 Q17587971 Q12153796 Q3566513 Q15224141 Q4905491 Q20360 Q15663 Q17427511 Q23930495 Q2647270 Q2998706 Q527132 Q7578862 Q9200860 Q4869848 Q25930115 Q4390717 Q548 Q2474078 Q11696715 Q13032224 Q5169705 Q7856175 Q16511 Q3054057 Q17476676 Q917851 Q5491858 Q9346826 Q9346824 Q1608575 Q4081591 Q4852569 Q14650 Q14653 Q647970 Q320151 Q11747649 Q16509 Q16508 Q11818526 Q6503577 Q16507 Q16505 Q16504 Q7337795 Q16961146 Q783114 Q15666 Q729851 Q12061044 Q5166723 Q15669 Q6115581 Q11750829 Q19394202 Q6673218 Q10361520 Q455416 Q12104390 Q7405928 Q3566399 Q23125 Q23122 Q6085159 Q6863767 Q9343806 Q12167528 Q14309 Q23974254 Q18594338 Q11762217 Q81503 Q3566520 Q9336599 Q16710 Q11786467 Q3566529 Q11131554 Q3272065 Q1552966 Q2428158 Q1866578 Q18566047 Q19921410 Q686094 Q3393192 Q12108085 Q17794 Q19371036 Q7876637 Q11999457 Q729702 Q1752963 Q19371038 Q2649593 Q9190103 Q960887 Q23975438 Q4905993 Q23975437 Q9333131 Q19520581 Q20339 Q5804164 Q4499919 Q3495285 Q2669946 Q11744399 Q2569831 Q3433883 Q12150956 Q14626 Q570235 Q5454484 Q4696259 Q9268451 Q1657122 Q20380 Q11692129 Q14755 Q14756 Q14757 Q14750 Q14758 Q11766324 Q2621807 Q23160 Q7398706 Q7031677 Q16692 Q20361 Q16699 Q5625 Q5620 Q11692158 Q4950822 Q9287455 Q2096140 Q812108 Q52341 Q12148586 Q24853 Q2045096 Q3555219 Q16663 Q16661 Q1269456 Q16664 Q16665
(c(Q355304),P706,c(Q14524493)|c(Q107425))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q355304
type Q14524493
action find_tuple_counts
relation P706
type Q355304
type Q107425
action count
action filter_multi_types
action find
entity Q12150956
relation P706
type Q14524493
type Q107425
[ANSWER]
[{'concept': 'Q355304'}, 'P706', [{'concept': 'Q14524493'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?z ) WHERE { { ?d property:P706 ?c . ?d rdf:type ontology:Q355304 . ?c rdf:type ontology:Q14524493 } UNION { ?d property:P706 ?c . ?d rdf:type ontology:Q355304 . ?c rdf:type ontology:Q107425 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:Q12150956 property:P706 ?g . { VALUES ( ?o ) { ( ontology:Q14524493 ) ( ontology:Q107425 ) } . ?g rdf:type ?o } } } . FILTER ( ?z = ?r ) }
Żarnica Este Perales River Vortrapptief Westerley Osterley Rantumlohe Eidumtief Pitushok Erymanthos Brodnicka Rivulet Piszczanka Yangtze Cetynia Lau Creek Miedzanka Angrapa River Wadąg Ług Ega river Rudka Najerilla Dajna Ruda Genil Voidomatis Louros Eurotas Guadalimar Chico River Xingu River Drwęca Codera Rivière du Château Nabão River Danube Rhaeadr y Cwm Hotnarko River Udal Skarlanka Kamianka Águeda River Cichówka Symsarna Vouraikos River Erges Wożuczynka Glafkos Czyżówka Guadiamar Louisekilden Złota Krzywula Guareña River Wel Thyamis Chwiszczej Padneva Kacha River Guadyerbas Jabalón Lutnia Zújar River Guadalupe Douro Deyma River Oja little Brok Fervença River Lewaja Lasnaja Kokish River Górzanka Leine Lepitucha Guadalmellato Sarantaporos Rapides du Cheval Blanc Mianka Solokiya River Czarna Fishing Creek Wąbrzeska Rivulet Iardanus Rivière des Galets Rabazal river Ladon Pulwa Krathis Pineios Bukowa Aulencia Gállego Shevnya Kostrzyń Brynica Sandela Zapardiel river Trabancos Corneja River Montmorency Falls East Webburn River Inglares Cofio River Neda Masurian Canal Leszczka Corinth Canal Zielawa Riu Bullent Ambroz Machno Falls Bystryak Cega Dahlovka Grøtneselva Gołdapa Krzna Arda River Kamionka Studzianka Riandahy Falls Algés River Reinskarelva Ésera Cinca River Chanza River Noguera Ribagorzana Ardila River Larraun Zbuczynka Ringbolt Rapids Fiszor Spasivka Sarenka Arney River Seeve Pissing Mare Falls Osownica Struga Struga Oos Huebra River Yeltes River Rio Eresma Aragón Cidacos Liasnaja Nordkjoselva Piedra Corbones Płośniczanka Arachthos Imofossen Alcanadre Numa Falls Cocytus Muława West Webburn River Izivka Tâmega River Rhaeadr Mawddach Witówka Drela Pukawka Acheron Warężanka Isábena Guadalmena Pełchówka Telytsya Topkjy Charadros Wągroda Pisa Warmińska Nurzec Buczynka Moshanka Groblica Gara Rideau Falls Selemnos Aroanios Iławka Turones River Algodor River Uecker Jordan Zolotukha Alviela River Río Córcoles Murg Soltindelva Pamisos Nedonas Brda Darro Grabarka Sajna Nela River Phum Duang River Guinea Gut Klukówka Minenkow Malorita Rychnowska Młyńska Rivulet Tuela river Osusznica Bolotnya Tapi River Krasnaya River Henares Odra Manzanares Alberche Sainte-Anne fountain Guadiana Menor Bornova river Ionides Rypienica Selinountas Cuerpo de Hombre River Sor River Zêzere River Rio Ocreza River Sever River Ponsul Bronka Gornalunga Larissos Kałamanka Kłonecznica Rio Aguasvivas Gamo River Francia River Prądzono Dnieper–Bug Canal Botnelva Styx River Zare Shabinka Royal Military Canal Vilaine River Cana Wąska River Viar Trostyanitsa Guadalope Segre Brok Meilichos Bembézar Saut du Doubs Dornbirner Ach Rita Młosina Kaaterskill Falls Geilebach Palachva Chao Phraya River Hertebron Kmiczynka Tera River Arlanzón river Arlanza river Esgueva river Cea River Esla river Neretva Órbigo River Gawroniec Senserbach Set Amazonas Syrabach Lech Guadaíra Łętówka Varezhanka Mukhavets River Paiva River Hoge Dwarsvaart Bialystok Grabiczek ribera de Campcardós Khlong Kui Kulawa south Krzna gave d'Aspé Kamenka Zacholitikos Toczna Pistyll Rhaeadr Arve Loussios Duratón river Ruziec Krynica Kicz Guadajoz St Nectan's Kieve Mynach Falls Krówka Western Bug Caia River Giessen Pregolya River Instruch River Prutnik Flis Barranc dels Racons Solotvyna Volinaios Hinatuan Enchanted River Big creek Arga Sorraia River Sint-Servaasbron Rush creek Aliste The Bend Eisbach Spokane Falls Dajna Battery Gut Rhaeadr Du Rata Vistula Uherka Elszka Vierchniaja Rita Corb Turpentine Run Lozoya Queiles Nordbyelva Lee Ladrillar River Lubicka Rivulet Kujawska Rivulet Carol Bila Balsemão River Sabor river Côa River Kladeos Lichte Kośna Tajuña Jarama Pissa Lawashi Channel Guadarrama River Rio Guadiela Río Gallo Rye Chase River Vinalopó Ribeira do Divor Brombach Krimmler Ache Conway River Ribeira da Raia Quilamas River Kukawka Valira d'Orient Long Sault Azibo River Kobrynka Zheldets Salt River Tytheus Huerva River Jiloca Isna River Mindemoya River Stara Rzeka Holoyivka Guadalquivir Lau Creek Studzianka Liwna Vjosë Plataneiko Siennica Matachel Muchawka Krios Kołodziejka Lézarde Guber Tirón River Liwiec Lepesovka Clareen Włodawka Poggiolo Kamenka Jándula River Storelva Uces River Sandselva Rohrach Saint Anthony Falls Storelva Czapelka Chocina Oca Lau Creek Big Manitou Falls Lau Creek Samionka Roaring Rapids Zadorra Río Ojuelo norther Krzna Leśna Prawa Minnebron Kotomierzanka Zbrzyca River Rivière de l'Est Svynya Tua River Randow Fish Bay Gut Ahnapee River Gizela Igelsbach Jalón Czerska Rivulet Tormes River Valderaduey river Pisuerga river Adaja river Carrión river Mahomet Poltva River Noguera Pallaresa Saffold Dam Niemica Cigüela Alhama Záncara Pissa River Łyna River Czerwonka Bowen River Helenka Guadalevín Bayas River Khuchva Rokitna Gran Valira Asipovka Peiros Alagón River Tiétar Dzierzgoń Salor River Almonte
459
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type watercourse
type terrain
action find_tuple_counts
relation located on terrain feature
type watercourse
type landscape
action count
action filter_multi_types
action find
entity Svynya
relation located on terrain feature
type terrain
type landscape
[{'concept': 'watercourse'}, 'located on terrain feature', [{'concept': 'terrain'}, {'concept': 'landscape'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?z ) WHERE { { ?d property:located_on_terrain_feature ?c . ?d rdf:type ontology:watercourse . ?c rdf:type ontology:terrain } UNION { ?d property:located_on_terrain_feature ?c . ?d rdf:type ontology:watercourse . ?c rdf:type ontology:landscape } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:Svynya property:located_on_terrain_feature ?g . { VALUES ( ?o ) { ( ontology:terrain ) ( ontology:landscape ) } . ?g rdf:type ?o } } } . FILTER ( ?z = ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3472697
P706
Q14524493 Q107425 Q355304
USER
And what about Rudka?
(c(Q355304),P706,c(Q14524493)|c(Q107425))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q355304
type Q14524493
action find_tuple_counts
relation P706
type Q355304
type Q107425
action count
action filter_multi_types
action find
entity Q3472697
relation P706
type Q14524493
type Q107425
[{'concept': 'Q355304'}, 'P706', [{'concept': 'Q14524493'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Q3472697 property:P706 ?s . { ?s rdf:type ?a . VALUES ( ?a ) { ( ontology:Q14524493 ) ( ontology:Q107425 ) } } } } . FILTER ( ?y = ?h ) . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?y ) WHERE { { ?v property:P706 ?k . ?k rdf:type ontology:Q14524493 . ?v rdf:type ontology:Q355304 } UNION { ?v property:P706 ?k . ?v rdf:type ontology:Q355304 . ?k rdf:type ontology:Q107425 } } GROUP BY ?v } }
Rudka
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type watercourse
type terrain
action find_tuple_counts
relation located on terrain feature
type watercourse
type landscape
action count
action filter_multi_types
action find
entity Rudka
relation located on terrain feature
type terrain
type landscape
[{'concept': 'watercourse'}, 'located on terrain feature', [{'concept': 'terrain'}, {'concept': 'landscape'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Rudka property:located_on_terrain_feature ?s . { ?s rdf:type ?a . VALUES ( ?a ) { ( ontology:terrain ) ( ontology:landscape ) } } } } . FILTER ( ?y = ?h ) . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?y ) WHERE { { ?v property:located_on_terrain_feature ?k . ?k rdf:type ontology:terrain . ?v rdf:type ontology:watercourse } UNION { ?v property:located_on_terrain_feature ?k . ?v rdf:type ontology:watercourse . ?k rdf:type ontology:landscape } } GROUP BY ?v } }
[]
terrain landscape watercourse
SYSTEM
459
Q3472662 Q430677 Q7166886 Q15731986 Q15731987 Q15731984 Q15731985 Q15731983 Q12146392 Q3555227 Q9346819 Q11818697 Q5413 Q1144779 Q23975436 Q11132218 Q5613 Q2090677 Q7235780 Q20348 Q3472697 Q20343 Q22680166 Q16597800 Q17760 Q2336884 Q6689819 Q119152 Q17765 Q6115002 Q49544 Q1261531 Q3682039 Q3433912 Q6957053 Q1653 Q25930324 Q17021445 Q9364423 Q9337690 Q11111583 Q14661 Q9192325 Q7069329 Q1871901 Q15677 Q20034253 Q3558323 Q20033704 Q2666460 Q23927400 Q9393347 Q11202802 Q362276 Q1721931 Q5118500 Q18622368 Q2011766 Q5887036 Q16705 Q3018497 Q16707 Q16706 Q14299 Q5615 Q3043299 Q9179569 Q5445615 Q3499201 Q17074877 Q9283910 Q1815266 Q20926432 Q16572982 Q7423144 Q7294256 Q11104205 Q4428204 Q9197848 Q5455008 Q9346842 Q3791516 Q3433893 Q14637 Q1462727 Q1336624 Q6436394 Q1233866 Q9181787 Q5637214 Q23130 Q18704573 Q11744168 Q9180783 Q9333518 Q14676 Q3299894 Q6115052 Q1946396 Q5329653 Q12261102 Q5141049 Q1641987 Q5635 Q5735534 Q182873 Q3018454 Q11945685 Q3393309 Q25938187 Q12082692 Q8343335 Q3918909 Q19516159 Q752554 Q657615 Q638345 Q11734592 Q12158399 Q2940848 Q1343546 Q19516569 Q23155 Q23152 Q16673 Q23158 Q16676 Q26207129 Q9388780 Q19520578 Q9260103 Q12154994 Q16599883 Q4794746 Q490456 Q7198428 Q11800545 Q9346806 Q9346809 Q460293 Q14770 Q14771 Q2579197 Q20357 Q20354 Q1348658 Q17432910 Q3573008 Q17776 Q11832679 Q624655 Q17442985 Q668156 Q7069027 Q939218 Q3579508 Q7986988 Q12074137 Q14608 Q25930251 Q9375974 Q9210712 Q11831692 Q191087 Q19522168 Q1674993 Q5613204 Q11104926 Q12160409 Q12161970 Q3558316 Q9381297 Q11818460 Q1889871 Q1194375 Q12130402 Q16550352 Q12094288 Q2967741 Q3566505 Q3555039 Q1633197 Q6115796 Q3848184 Q704775 Q11728226 Q12106989 Q4738012 Q2913189 Q700081 Q19461682 Q3100663 Q6986298 Q772970 Q1166701 Q3472760 Q7402707 Q11703420 Q1697063 Q5616468 Q11740364 Q18594285 Q3919391 Q9346835 Q9346831 Q14642 Q11800874 Q4090956 Q1195715 Q741927 Q16510 Q2555401 Q16512 Q16513 Q3915961 Q17748 Q6114885 Q211852 Q9324546 Q7448488 Q6115064 Q15670 Q15671 Q15673 Q15675 Q15676 Q11688890 Q3773573 Q3362574 Q2682762 Q11752145 Q23134 Q5395271 Q6981044 Q11830519 Q1232916 Q18751502 Q2359780 Q147832 Q3918938 Q2294027 Q842462 Q11945747 Q9381304 Q17801 Q3918278 Q23141 Q23145 Q925450 Q3566497 Q17799 Q2227821 Q321043 Q2043315 Q11142243 Q38743 Q1498757 Q21832959 Q118850 Q17153885 Q20926414 Q14769 Q14761 Q14760 Q14763 Q14765 Q14764 Q12133491 Q14766 Q9266280 Q325197 Q4896951 Q3783 Q2376337 Q155841 Q17761 Q9395229 Q73562 Q430799 Q14617 Q18627385 Q4082807 Q9275181 Q26132909 Q6401833 Q11750871 Q4500254 Q27067635 Q3918897 Q3566426 Q676885 Q572158 Q18213985 Q1872337 Q14682 Q9324212 Q3657762 Q11738905 Q17755 Q7594908 Q37847 Q11750238 Q156237 Q16689 Q971515 Q5611 Q5616 Q19947021 Q9260855 Q17587971 Q12153796 Q3566513 Q15224141 Q4905491 Q20360 Q15663 Q17427511 Q23930495 Q2647270 Q2998706 Q527132 Q7578862 Q9200860 Q4869848 Q25930115 Q4390717 Q548 Q2474078 Q11696715 Q13032224 Q5169705 Q7856175 Q16511 Q3054057 Q17476676 Q917851 Q5491858 Q9346826 Q9346824 Q1608575 Q4081591 Q4852569 Q14650 Q14653 Q647970 Q320151 Q11747649 Q16509 Q16508 Q11818526 Q6503577 Q16507 Q16505 Q16504 Q7337795 Q16961146 Q783114 Q15666 Q729851 Q12061044 Q5166723 Q15669 Q6115581 Q11750829 Q19394202 Q6673218 Q10361520 Q455416 Q12104390 Q7405928 Q3566399 Q23125 Q23122 Q6085159 Q6863767 Q9343806 Q12167528 Q14309 Q23974254 Q18594338 Q11762217 Q81503 Q3566520 Q9336599 Q16710 Q11786467 Q3566529 Q11131554 Q3272065 Q1552966 Q2428158 Q1866578 Q18566047 Q19921410 Q686094 Q3393192 Q12108085 Q17794 Q19371036 Q7876637 Q11999457 Q729702 Q1752963 Q19371038 Q2649593 Q9190103 Q960887 Q23975438 Q4905993 Q23975437 Q9333131 Q19520581 Q20339 Q5804164 Q4499919 Q3495285 Q2669946 Q11744399 Q2569831 Q3433883 Q12150956 Q14626 Q570235 Q5454484 Q4696259 Q9268451 Q1657122 Q20380 Q11692129 Q14755 Q14756 Q14757 Q14750 Q14758 Q11766324 Q2621807 Q23160 Q7398706 Q7031677 Q16692 Q20361 Q16699 Q5625 Q5620 Q11692158 Q4950822 Q9287455 Q2096140 Q812108 Q52341 Q12148586 Q24853 Q2045096 Q3555219 Q16663 Q16661 Q1269456 Q16664 Q16665
(c(Q355304),P706,c(Q14524493)|c(Q107425))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q355304
type Q14524493
action find_tuple_counts
relation P706
type Q355304
type Q107425
action count
action filter_multi_types
action find
entity Q3472697
relation P706
type Q14524493
type Q107425
[ANSWER]
[{'concept': 'Q355304'}, 'P706', [{'concept': 'Q14524493'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Q3472697 property:P706 ?s . { ?s rdf:type ?a . VALUES ( ?a ) { ( ontology:Q14524493 ) ( ontology:Q107425 ) } } } } . FILTER ( ?y = ?h ) . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?y ) WHERE { { ?v property:P706 ?k . ?k rdf:type ontology:Q14524493 . ?v rdf:type ontology:Q355304 } UNION { ?v property:P706 ?k . ?v rdf:type ontology:Q355304 . ?k rdf:type ontology:Q107425 } } GROUP BY ?v } }
Żarnica Este Perales River Vortrapptief Westerley Osterley Rantumlohe Eidumtief Pitushok Erymanthos Brodnicka Rivulet Piszczanka Yangtze Cetynia Lau Creek Miedzanka Angrapa River Wadąg Ług Ega river Rudka Najerilla Dajna Ruda Genil Voidomatis Louros Eurotas Guadalimar Chico River Xingu River Drwęca Codera Rivière du Château Nabão River Danube Rhaeadr y Cwm Hotnarko River Udal Skarlanka Kamianka Águeda River Cichówka Symsarna Vouraikos River Erges Wożuczynka Glafkos Czyżówka Guadiamar Louisekilden Złota Krzywula Guareña River Wel Thyamis Chwiszczej Padneva Kacha River Guadyerbas Jabalón Lutnia Zújar River Guadalupe Douro Deyma River Oja little Brok Fervença River Lewaja Lasnaja Kokish River Górzanka Leine Lepitucha Guadalmellato Sarantaporos Rapides du Cheval Blanc Mianka Solokiya River Czarna Fishing Creek Wąbrzeska Rivulet Iardanus Rivière des Galets Rabazal river Ladon Pulwa Krathis Pineios Bukowa Aulencia Gállego Shevnya Kostrzyń Brynica Sandela Zapardiel river Trabancos Corneja River Montmorency Falls East Webburn River Inglares Cofio River Neda Masurian Canal Leszczka Corinth Canal Zielawa Riu Bullent Ambroz Machno Falls Bystryak Cega Dahlovka Grøtneselva Gołdapa Krzna Arda River Kamionka Studzianka Riandahy Falls Algés River Reinskarelva Ésera Cinca River Chanza River Noguera Ribagorzana Ardila River Larraun Zbuczynka Ringbolt Rapids Fiszor Spasivka Sarenka Arney River Seeve Pissing Mare Falls Osownica Struga Struga Oos Huebra River Yeltes River Rio Eresma Aragón Cidacos Liasnaja Nordkjoselva Piedra Corbones Płośniczanka Arachthos Imofossen Alcanadre Numa Falls Cocytus Muława West Webburn River Izivka Tâmega River Rhaeadr Mawddach Witówka Drela Pukawka Acheron Warężanka Isábena Guadalmena Pełchówka Telytsya Topkjy Charadros Wągroda Pisa Warmińska Nurzec Buczynka Moshanka Groblica Gara Rideau Falls Selemnos Aroanios Iławka Turones River Algodor River Uecker Jordan Zolotukha Alviela River Río Córcoles Murg Soltindelva Pamisos Nedonas Brda Darro Grabarka Sajna Nela River Phum Duang River Guinea Gut Klukówka Minenkow Malorita Rychnowska Młyńska Rivulet Tuela river Osusznica Bolotnya Tapi River Krasnaya River Henares Odra Manzanares Alberche Sainte-Anne fountain Guadiana Menor Bornova river Ionides Rypienica Selinountas Cuerpo de Hombre River Sor River Zêzere River Rio Ocreza River Sever River Ponsul Bronka Gornalunga Larissos Kałamanka Kłonecznica Rio Aguasvivas Gamo River Francia River Prądzono Dnieper–Bug Canal Botnelva Styx River Zare Shabinka Royal Military Canal Vilaine River Cana Wąska River Viar Trostyanitsa Guadalope Segre Brok Meilichos Bembézar Saut du Doubs Dornbirner Ach Rita Młosina Kaaterskill Falls Geilebach Palachva Chao Phraya River Hertebron Kmiczynka Tera River Arlanzón river Arlanza river Esgueva river Cea River Esla river Neretva Órbigo River Gawroniec Senserbach Set Amazonas Syrabach Lech Guadaíra Łętówka Varezhanka Mukhavets River Paiva River Hoge Dwarsvaart Bialystok Grabiczek ribera de Campcardós Khlong Kui Kulawa south Krzna gave d'Aspé Kamenka Zacholitikos Toczna Pistyll Rhaeadr Arve Loussios Duratón river Ruziec Krynica Kicz Guadajoz St Nectan's Kieve Mynach Falls Krówka Western Bug Caia River Giessen Pregolya River Instruch River Prutnik Flis Barranc dels Racons Solotvyna Volinaios Hinatuan Enchanted River Big creek Arga Sorraia River Sint-Servaasbron Rush creek Aliste The Bend Eisbach Spokane Falls Dajna Battery Gut Rhaeadr Du Rata Vistula Uherka Elszka Vierchniaja Rita Corb Turpentine Run Lozoya Queiles Nordbyelva Lee Ladrillar River Lubicka Rivulet Kujawska Rivulet Carol Bila Balsemão River Sabor river Côa River Kladeos Lichte Kośna Tajuña Jarama Pissa Lawashi Channel Guadarrama River Rio Guadiela Río Gallo Rye Chase River Vinalopó Ribeira do Divor Brombach Krimmler Ache Conway River Ribeira da Raia Quilamas River Kukawka Valira d'Orient Long Sault Azibo River Kobrynka Zheldets Salt River Tytheus Huerva River Jiloca Isna River Mindemoya River Stara Rzeka Holoyivka Guadalquivir Lau Creek Studzianka Liwna Vjosë Plataneiko Siennica Matachel Muchawka Krios Kołodziejka Lézarde Guber Tirón River Liwiec Lepesovka Clareen Włodawka Poggiolo Kamenka Jándula River Storelva Uces River Sandselva Rohrach Saint Anthony Falls Storelva Czapelka Chocina Oca Lau Creek Big Manitou Falls Lau Creek Samionka Roaring Rapids Zadorra Río Ojuelo norther Krzna Leśna Prawa Minnebron Kotomierzanka Zbrzyca River Rivière de l'Est Svynya Tua River Randow Fish Bay Gut Ahnapee River Gizela Igelsbach Jalón Czerska Rivulet Tormes River Valderaduey river Pisuerga river Adaja river Carrión river Mahomet Poltva River Noguera Pallaresa Saffold Dam Niemica Cigüela Alhama Záncara Pissa River Łyna River Czerwonka Bowen River Helenka Guadalevín Bayas River Khuchva Rokitna Gran Valira Asipovka Peiros Alagón River Tiétar Dzierzgoń Salor River Almonte
459
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type watercourse
type terrain
action find_tuple_counts
relation located on terrain feature
type watercourse
type landscape
action count
action filter_multi_types
action find
entity Rudka
relation located on terrain feature
type terrain
type landscape
[{'concept': 'watercourse'}, 'located on terrain feature', [{'concept': 'terrain'}, {'concept': 'landscape'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Rudka property:located_on_terrain_feature ?s . { ?s rdf:type ?a . VALUES ( ?a ) { ( ontology:terrain ) ( ontology:landscape ) } } } } . FILTER ( ?y = ?h ) . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?y ) WHERE { { ?v property:located_on_terrain_feature ?k . ?k rdf:type ontology:terrain . ?v rdf:type ontology:watercourse } UNION { ?v property:located_on_terrain_feature ?k . ?v rdf:type ontology:watercourse . ?k rdf:type ontology:landscape } } GROUP BY ?v } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q183 Q430677
P974 P17
Q355304
USER
Which watercourses are Este a tributary of and are situated in Germany ?
AND((c(Q355304),P974,Q430677), (c(Q355304),P17,Q183))
action filter_type
action intersection
action find_reverse
entity Q430677
relation P974
action find_reverse
entity Q183
relation P17
type Q355304
{'AND': [[{'concept': 'Q355304'}, 'P974', 'Q430677'], [{'concept': 'Q355304'}, 'P17', 'Q183']]}
SELECT DISTINCT ?n WHERE { ?n property:P17 resource:Q183 . ?n property:P974 resource:Q430677 . ?n rdf:type ontology:Q355304 }
Germany Este
action filter_type
action intersection
action find_reverse
entity Este
relation tributary
action find_reverse
entity Germany
relation country
type watercourse
{'AND': [[{'concept': 'watercourse'}, 'tributary', 'Este'], [{'concept': 'watercourse'}, 'country', 'Germany']]}
SELECT DISTINCT ?n WHERE { ?n property:country resource:Germany . ?n property:tributary resource:Este . ?n rdf:type ontology:watercourse }
[]
watercourse
Q1644
SYSTEM
Elbe
Q1644
AND((c(Q355304),P974,Q430677), (c(Q355304),P17,Q183))
action filter_type
action intersection
action find_reverse
entity Q430677
relation P974
action find_reverse
entity Q183
relation P17
type Q355304
[ANSWER] is Este a tributary of and is situated in Germany
{'AND': [[{'concept': 'Q355304'}, 'P974', 'Q430677'], [{'concept': 'Q355304'}, 'P17', 'Q183']]}
SELECT DISTINCT ?n WHERE { ?n property:P17 resource:Q183 . ?n property:P974 resource:Q430677 . ?n rdf:type ontology:Q355304 }
Elbe
Elbe is Este a tributary of and is situated in Germany
Elbe
action filter_type
action intersection
action find_reverse
entity Este
relation tributary
action find_reverse
entity Germany
relation country
type watercourse
{'AND': [[{'concept': 'watercourse'}, 'tributary', 'Este'], [{'concept': 'watercourse'}, 'country', 'Germany']]}
SELECT DISTINCT ?n WHERE { ?n property:country resource:Germany . ?n property:tributary resource:Este . ?n rdf:type ontology:watercourse }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1644
P403
Q355304
USER
How many watercourses flows into Elbe ?
(c(Q355304),P403,Q1644)
action count
action filter_type
action find_reverse
entity Q1644
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', 'Q1644']
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ontology:Q355304 . ?a property:P403 resource:Q1644 }
Elbe
action count
action filter_type
action find_reverse
entity Elbe
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Elbe']
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ontology:watercourse . ?a property:mouth_of_the_watercourse resource:Elbe }
[]
watercourse
SYSTEM
65
Q163723 Q131574 Q1678 Q610116 Q582675 Q430677 Q1091758 Q3339 Q3330 Q678002 Q642605 Q1088409 Q2253979 Q3346 Q1564654 Q1951496 Q896609 Q1219 Q562369 Q2452864 Q1958317 Q490456 Q45653 Q1688 Q1680 Q1682 Q316958 Q1721806 Q289447 Q1739147 Q149182 Q546853 Q259925 Q825392 Q877270 Q825506 Q1678554 Q317130 Q1774010 Q884667 Q563813 Q330256 Q1740010 Q227268 Q895510 Q1930857 Q314552 Q1880012 Q13479431 Q684403 Q1019526 Q453306 Q456505 Q648385 Q20282 Q895847 Q882683 Q648395 Q695628 Q877721 Q896137 Q1271095 Q464456 Q155045 Q1602099
(c(Q355304),P403,Q1644)
action count
action filter_type
action find_reverse
entity Q1644
relation P403
type Q355304
[ANSWER]
[{'concept': 'Q355304'}, 'P403', 'Q1644']
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ontology:Q355304 . ?a property:P403 resource:Q1644 }
Wesenitz Vltava Saale Pinnau (river) Jizera Este Cidlina Bille Oste Löcknitz Metuje Chrudimka Schwarzer Graben Ilmenau Lockwitzbach Mrlina Lachsbach Alster Biela Triebisch Müglitz Seeve Orlice Elde Mulde Havel Flottbek Kaitzbach Krückau Keppbach Black Elster Prießnitz Sülze Jahnabach Reiherstieg Spolebach Jahna Schwinge Klejnárka Nuthe Stepenitz Úpa Ketzerbach Zschonerbach Krippenbach Ploučnice Sude Lößnitzbach Rhin (Elbe) Stör Bílina Kirnitzsch Jeetzel Aland Weißeritz Dahle Lühe Gottleuba Ohre Ehle Medem Döllnitz Tanger Ohře Helfenberger Bach
65
action count
action filter_type
action find_reverse
entity Elbe
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Elbe']
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ontology:watercourse . ?a property:mouth_of_the_watercourse resource:Elbe }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1496406
P403
Q355304
USER
Which watercourse does gave d'Aspe drain into ?
(Q1496406,P403,c(Q355304))
action filter_type
action find
entity Q1496406
relation P403
type Q355304
['Q1496406', 'P403', {'concept': 'Q355304'}]
SELECT DISTINCT ?d WHERE { resource:Q1496406 property:P403 ?d . ?d rdf:type ontology:Q355304 }
gave d'Aspe
action filter_type
action find
entity gave d'Aspe
relation mouth of the watercourse
type watercourse
["gave d'Aspe", 'mouth of the watercourse', {'concept': 'watercourse'}]
SELECT DISTINCT ?d WHERE { resource:gave_d'Aspe property:mouth_of_the_watercourse ?d . ?d rdf:type ontology:watercourse }
[]
watercourse
Q1194777
SYSTEM
Gave d'Oloron
Q1194777
(Q1496406,P403,c(Q355304))
action filter_type
action find
entity Q1496406
relation P403
type Q355304
[ANSWER]
['Q1496406', 'P403', {'concept': 'Q355304'}]
SELECT DISTINCT ?d WHERE { resource:Q1496406 property:P403 ?d . ?d rdf:type ontology:Q355304 }
Gave d'Oloron
Gave d'Oloron
action filter_type
action find
entity gave d'Aspe
relation mouth of the watercourse
type watercourse
["gave d'Aspe", 'mouth of the watercourse', {'concept': 'watercourse'}]
SELECT DISTINCT ?d WHERE { resource:gave_d'Aspe property:mouth_of_the_watercourse ?d . ?d rdf:type ontology:watercourse }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1245665
Q355304
USER
And also tell me about Dorndorfer Bach?
(Q1245665,P403,c(Q355304))
action filter_type
action find
entity Q1245665
relation P403
type Q355304
['Q1245665', 'P403', {'concept': 'Q355304'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q355304 . resource:Q1245665 property:P403 ?m }
Dorndorfer Bach
action filter_type
action find
entity Dorndorfer Bach
relation mouth of the watercourse
type watercourse
['Dorndorfer Bach', 'mouth of the watercourse', {'concept': 'watercourse'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:watercourse . resource:Dorndorfer_Bach property:mouth_of_the_watercourse ?m }
[]
watercourse
Q1439837
SYSTEM
Salzbach
Q1439837
(Q1245665,P403,c(Q355304))
action filter_type
action find
entity Q1245665
relation P403
type Q355304
[ANSWER]
['Q1245665', 'P403', {'concept': 'Q355304'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q355304 . resource:Q1245665 property:P403 ?m }
Salzbach
Salzbach
action filter_type
action find
entity Dorndorfer Bach
relation mouth of the watercourse
type watercourse
['Dorndorfer Bach', 'mouth of the watercourse', {'concept': 'watercourse'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:watercourse . resource:Dorndorfer_Bach property:mouth_of_the_watercourse ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P3173
Q355304 Q811979
USER
How many architectural structures can offer views of atleast 1 watercourse ?
(c(Q811979),P3173,c(Q355304))
action count
action atleast
action find_tuple_counts
relation P3173
type Q811979
type Q355304
value 1
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { FILTER ( ?d >= 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?d ) WHERE { ?r property:P3173 ?i . ?i rdf:type ontology:Q355304 . ?r rdf:type ontology:Q811979 } GROUP BY ?r } }
action count
action atleast
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
value 1
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { FILTER ( ?d >= 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?d ) WHERE { ?r property:offers_view_on ?i . ?i rdf:type ontology:watercourse . ?r rdf:type ontology:architectural_structure } GROUP BY ?r } }
[]
watercourse architectural structure
SYSTEM
2
Q26196531 Q2433474
(c(Q811979),P3173,c(Q355304))
action count
action atleast
action find_tuple_counts
relation P3173
type Q811979
type Q355304
value 1
[ANSWER]
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { FILTER ( ?d >= 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?d ) WHERE { ?r property:P3173 ?i . ?i rdf:type ontology:Q355304 . ?r rdf:type ontology:Q811979 } GROUP BY ?r } }
Washburn Point Tunnel View
2
action count
action atleast
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
value 1
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { FILTER ( ?d >= 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?d ) WHERE { ?r property:offers_view_on ?i . ?i rdf:type ontology:watercourse . ?r rdf:type ontology:architectural_structure } GROUP BY ?r } }
[]