Simple Question (Direct)
Simple Question
Q15532716
P20
Q515
USER
Where did the expiration of Matthäus Johann Bermuth occur ?
(Q15532716,P20,c(Q515))
action filter_type
action find
entity Q15532716
relation P20
type Q515
['Q15532716', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q15532716 property:P20 ?q . ?q rdf:type ontology:Q515 }
Matthäus Johann Bermuth
action filter_type
action find
entity Matthäus Johann Bermuth
relation place of death
type city
['Matthäus Johann Bermuth', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Matthäus_Johann_Bermuth property:place_of_death ?q . ?q rdf:type ontology:city }
[]
city
Q2999
SYSTEM
Würzburg
Q2999
(Q15532716,P20,c(Q515))
action filter_type
action find
entity Q15532716
relation P20
type Q515
The expiration of Matthäus Johann Bermuth occurred in [ANSWER]
['Q15532716', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q15532716 property:P20 ?q . ?q rdf:type ontology:Q515 }
Würzburg
The expiration of Matthäus Johann Bermuth occurred in Würzburg
Würzburg
action filter_type
action find
entity Matthäus Johann Bermuth
relation place of death
type city
['Matthäus Johann Bermuth', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Matthäus_Johann_Bermuth property:place_of_death ?q . ?q rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2999
P1376
Q1048835
USER
Which political territory has that city has its first city ?
(Q2999,P1376,c(Q1048835))
action filter_type
action find
entity Q2999
relation P1376
type Q1048835
['Q2999', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1048835 . resource:Q2999 property:P1376 ?w }
Würzburg
action filter_type
action find
entity Würzburg
relation capital of
type political territorial entity
['Würzburg', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_territorial_entity . resource:Würzburg property:capital_of ?w }
[]
political territorial entity
Q10547
SYSTEM
Lower Franconia
Q10547
(Q2999,P1376,c(Q1048835))
action filter_type
action find
entity Q2999
relation P1376
type Q1048835
The [ANSWER] has that city has its first city
['Q2999', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1048835 . resource:Q2999 property:P1376 ?w }
Lower Franconia
The Lower Franconia has that city has its first city
Lower Franconia
action filter_type
action find
entity Würzburg
relation capital of
type political territorial entity
['Würzburg', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_territorial_entity . resource:Würzburg property:capital_of ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2999
P206
Q355304
USER
Which watercourse is situated nearby Würzburg ?
(Q2999,P206,c(Q355304))
action filter_type
action find
entity Q2999
relation P206
type Q355304
['Q2999', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?c WHERE { resource:Q2999 property:P206 ?c . ?c rdf:type ontology:Q355304 }
Würzburg
action filter_type
action find
entity Würzburg
relation located next to body of water
type watercourse
['Würzburg', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?c WHERE { resource:Würzburg property:located_next_to_body_of_water ?c . ?c rdf:type ontology:watercourse }
[]
watercourse
Q1670
SYSTEM
Main
Q1670
(Q2999,P206,c(Q355304))
action filter_type
action find
entity Q2999
relation P206
type Q355304
[ANSWER] is situated nearby Würzburg
['Q2999', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?c WHERE { resource:Q2999 property:P206 ?c . ?c rdf:type ontology:Q355304 }
Main
Main is situated nearby Würzburg
Main
action filter_type
action find
entity Würzburg
relation located next to body of water
type watercourse
['Würzburg', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?c WHERE { resource:Würzburg property:located_next_to_body_of_water ?c . ?c rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1670
P403
Q355304
USER
Which watercourse does that one flow into ?
(Q1670,P403,c(Q355304))
action filter_type
action find
entity Q1670
relation P403
type Q355304
['Q1670', 'P403', {'concept': 'Q355304'}]
SELECT DISTINCT ?i WHERE { resource:Q1670 property:P403 ?i . ?i rdf:type ontology:Q355304 }
Main
action filter_type
action find
entity Main
relation mouth of the watercourse
type watercourse
['Main', 'mouth of the watercourse', {'concept': 'watercourse'}]
SELECT DISTINCT ?i WHERE { resource:Main property:mouth_of_the_watercourse ?i . ?i rdf:type ontology:watercourse }
[]
watercourse
Q584
SYSTEM
Rhine
Q584
(Q1670,P403,c(Q355304))
action filter_type
action find
entity Q1670
relation P403
type Q355304
That one flows the [ANSWER]
['Q1670', 'P403', {'concept': 'Q355304'}]
SELECT DISTINCT ?i WHERE { resource:Q1670 property:P403 ?i . ?i rdf:type ontology:Q355304 }
Rhine
That one flows the Rhine
Rhine
action filter_type
action find
entity Main
relation mouth of the watercourse
type watercourse
['Main', 'mouth of the watercourse', {'concept': 'watercourse'}]
SELECT DISTINCT ?i WHERE { resource:Main property:mouth_of_the_watercourse ?i . ?i rdf:type ontology:watercourse }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P469
Q23397 Q355304
USER
Which watercourses flow through more number of lakes than that watercourse ?
(c(Q355304),P469,c(Q23397))
action greater
action find_tuple_counts
relation P469
type Q355304
type Q23397
action count
action filter_type
action find
entity Q584
relation P469
type Q23397
[{'concept': 'Q355304'}, 'P469', {'concept': 'Q23397'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?a ) WHERE { ?w rdf:type ontology:Q355304 . ?m rdf:type ontology:Q23397 . ?w property:P469 ?m } GROUP BY ?w } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:Q584 property:P469 ?f . ?f rdf:type ontology:Q23397 } } }
action greater
action find_tuple_counts
relation lakes on river
type watercourse
type lake
action count
action filter_type
action find
entity Rhine
relation lakes on river
type lake
[{'concept': 'watercourse'}, 'lakes on river', {'concept': 'lake'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?a ) WHERE { ?w rdf:type ontology:watercourse . ?m rdf:type ontology:lake . ?w property:lakes_on_river ?m } GROUP BY ?w } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:Rhine property:lakes_on_river ?f . ?f rdf:type ontology:lake } } }
[]
lake watercourse
Q1497 Q3411 Q80240
SYSTEM
Mississippi River, Mackenzie River, Ural River
Q1888146 Q2279579 Q3458654 Q1429523 Q5507324 Q18150029 Q2668113 Q2368048 Q82776 Q75468 Q748195 Q859274 Q220839 Q6661118 Q670886 Q283622 Q4059960 Q3732920 Q3275381 Q1076530 Q1524764 Q1164945 Q1343164 Q3512615 Q2566970 Q1273955 Q2598623 Q940488 Q626 Q128350 Q80240 Q2936036 Q1430986 Q2155696 Q1710848 Q1046455 Q4143776 Q3720471 Q1497 Q517670 Q3411 Q15111619 Q1478566 Q35591 Q2626727 Q192567 Q4249198 Q1715173 Q6990897 Q3720244 Q3773325 Q3179104 Q182042 Q3458740 Q5755799 Q4532009 Q5872598 Q1485122 Q1514693 Q770781 Q4407311 Q273456 Q1048219 Q782845 Q7516332
(c(Q355304),P469,c(Q23397))
action greater
action find_tuple_counts
relation P469
type Q355304
type Q23397
action count
action filter_type
action find
entity Q584
relation P469
type Q23397
[ANSWERS] flow through more number of lakes than that watercourse
[{'concept': 'Q355304'}, 'P469', {'concept': 'Q23397'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?a ) WHERE { ?w rdf:type ontology:Q355304 . ?m rdf:type ontology:Q23397 . ?w property:P469 ?m } GROUP BY ?w } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:Q584 property:P469 ?f . ?f rdf:type ontology:Q23397 } } }
Kaministiquia River Shire River Huahum River Karatal River Fui River Cochrane River Ajaguz River Tes River Terek River Ljanselva Ruzizi River Big Sioux River Luvua River Llancahue River Lorze Atrek River Aksu River Ulluchay River Astarachay Sió Michipicoten River Nipigon River Leysse Sumgayit River White River Saint Louis River Pirsaat River St. Marys River Volga Lukuga River Ural River Canal de Savières Sefīd-Rūd Magog River Pic River Lepsy River Gorgan Shura-Ozen River Mississippi River Emba River Mackenzie River Muuramenjoki Santa Cruz River Tigris Kura River Ili River Qusar River Jökulsá á Brú Nemadji River Rubas River Aji Chay Kalambo River Kuma River Pascua River Barabduchai Enco River Simineh River Pigeon River Malagarasi River Sulak River San Pedro River Omo River Waikato River Awash River Zarriné-Rūd
Mississippi River, Mackenzie River and Ural River flow through more number of lakes than that watercourse
Mississippi River Mackenzie River Ural River
action greater
action find_tuple_counts
relation lakes on river
type watercourse
type lake
action count
action filter_type
action find
entity Rhine
relation lakes on river
type lake
[{'concept': 'watercourse'}, 'lakes on river', {'concept': 'lake'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?a ) WHERE { ?w rdf:type ontology:watercourse . ?m rdf:type ontology:lake . ?w property:lakes_on_river ?m } GROUP BY ?w } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:Rhine property:lakes_on_river ?f . ?f rdf:type ontology:lake } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q19699
P180
Q355304 Q15709879 Q3305213
USER
How many watercourses are depicted in lesser number of artwork series or paintings than River Usk ?
(c(Q15709879)|c(Q3305213),P180,c(Q355304))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q355304
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q355304
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q19699
relation P180
type Q15709879
type Q3305213
[[{'concept': 'Q15709879'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?a WHERE { { ?r property:P180 ?a . ?r rdf:type ontology:Q15709879 . ?a rdf:type ontology:Q355304 } UNION { ?a rdf:type ontology:Q355304 . ?r rdf:type ontology:Q3305213 . ?r property:P180 ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:P180 resource:Q19699 . { { ?d rdf:type ontology:Q15709879 } UNION { ?d rdf:type ontology:Q3305213 } } } } . FILTER ( ?o < ?p ) }
River Usk
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type watercourse
type artwork series
action find_reverse_tuple_counts
relation depicts
type watercourse
type painting
action count
action filter_multi_types
action find_reverse
entity River Usk
relation depicts
type artwork series
type painting
[[{'concept': 'artwork series'}, {'concept': 'painting'}], 'depicts', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?a WHERE { { ?r property:depicts ?a . ?r rdf:type ontology:artwork_series . ?a rdf:type ontology:watercourse } UNION { ?a rdf:type ontology:watercourse . ?r rdf:type ontology:painting . ?r property:depicts ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:depicts resource:River_Usk . { { ?d rdf:type ontology:artwork_series } UNION { ?d rdf:type ontology:painting } } } } . FILTER ( ?o < ?p ) }
[]
watercourse artwork series painting
SYSTEM
231
Q1888146 Q10965 Q24656043 Q31347 Q200231 Q1653 Q1650 Q626 Q3529419 Q5089 Q13125370 Q548466 Q4689351 Q24638204 Q1585830 Q1245601 Q2454720 Q222149 Q335575 Q19751 Q2188006 Q19686 Q319590 Q1667 Q765106 Q201463 Q13125393 Q23130 Q3399804 Q144825 Q11990461 Q191829 Q1329599 Q751915 Q13125388 Q393137 Q25938187 Q1876030 Q842462 Q1631368 Q3395302 Q790404 Q155397 Q27538 Q534813 Q171009 Q2611124 Q605122 Q1043657 Q207928 Q20594120 Q918867 Q1364549 Q5077 Q450324 Q1941117 Q685344 Q1364559 Q40059 Q1126662 Q1935995 Q38743 Q7337876 Q8493 Q24662750 Q1030911 Q952791 Q24488211 Q25930324 Q686835 Q83471 Q20118 Q7348 Q851348 Q1540243 Q19682 Q182343 Q1401902 Q37538 Q1349493 Q6812447 Q860172 Q7602263 Q25929501 Q7337618 Q584 Q1470035 Q188871 Q26257535 Q2360422 Q25930251 Q838143 Q3783 Q7882224 Q40855 Q3399445 Q655754 Q4667048 Q868968 Q990106 Q208174 Q898425 Q20601505 Q1585864 Q5446244 Q1968596 Q20597232 Q20601350 Q191087 Q38586 Q23766747 Q3398402 Q204347 Q213967 Q14508715 Q216875 Q1194478 Q26300491 Q491677 Q41962 Q193737 Q5058789 Q2620166 Q2373449 Q643 Q1265 Q4689363 Q572158 Q1545456 Q1143852 Q3398779 Q3355703 Q14369 Q26203882 Q2210898 Q1422687 Q3445979 Q20599704 Q379648 Q2121702 Q38754 Q923929 Q2935978 Q269710 Q879306 Q209540 Q37646 Q37847 Q1143108 Q534181 Q20655849 Q2936027 Q971590 Q35591 Q7337078 Q20590910 Q798460 Q4689355 Q4689350 Q1373778 Q859548 Q13125375 Q969618 Q34589 Q115457 Q4689303 Q7337369 Q185405 Q2527535 Q37529 Q13125377 Q602 Q383379 Q4689339 Q24662715 Q478348 Q679050 Q2936058 Q19700 Q25929266 Q279370 Q17264744 Q41983 Q282530 Q24285831 Q3058095 Q41986 Q514154 Q4689346 Q4689348 Q490295 Q131574 Q1279831 Q134750 Q7337062 Q214874 Q25930176 Q1229 Q3359370 Q25930443 Q123058 Q10958655 Q600675 Q1032662 Q25930115 Q5331562 Q25972997 Q3432819 Q586586 Q3432787 Q1946396 Q3401771 Q7161973 Q1523834 Q175117 Q23798 Q143762 Q3399942 Q1644 Q738230 Q2089585 Q179751 Q7337306 Q25738143 Q20596483 Q16512 Q13712 Q249062 Q187834 Q19695 Q25930821
(c(Q15709879)|c(Q3305213),P180,c(Q355304))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q355304
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q355304
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q19699
relation P180
type Q15709879
type Q3305213
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?a WHERE { { ?r property:P180 ?a . ?r rdf:type ontology:Q15709879 . ?a rdf:type ontology:Q355304 } UNION { ?a rdf:type ontology:Q355304 . ?r rdf:type ontology:Q3305213 . ?r property:P180 ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:P180 resource:Q19699 . { { ?d rdf:type ontology:Q15709879 } UNION { ?d rdf:type ontology:Q3305213 } } } } . FILTER ( ?o < ?p ) }
Kaministiquia River Ebro Rhaeadr Du Grand Canal Oise Danube Weser Volga small river Ganges River Edw Aube Afon Rhythallt River Rhiw River Mawddach Loiret River Towy Sumida River Sacramento River Qiantang River Gein River Thames Beas River Moselle Barada Pearl River River Prysor Gállego River Rheidol Kiel Canal Mølleåen Magdalena River Kokemäenjoki River Dovey River Loughor Dan River Machno Falls River Lugg Vilaine Housatonic River River Clwyd Aven River Monnow Susquehanna River Essonne Drava River Dwyryd Schuylkill River River Dee Gauja Ogwen Falls Kanawha River Isole Garonne Little Miami River River Stour Khabur River River Tawe Jordan River Kern River Ausable River Kaaterskill Falls River Thaw Amu Darya Afon Trystion Yellowstone Falls Petit Morin Ceunant Mawr Rhaeadr y Cwm Staubbach Falls geyser Turia Indus River River Cleddau River Stour Severn Niagara River Minnehaha Falls High Falls Erdre Melincourt Falls Canal Saint-Martin Starrucca Creek Rhaeadr Cynfal River Machno Rhine Merced River Orontes River Nant Gau Bridalveil Fall Rhaeadr Mawddach Gila River Amazonas Unadilla River Dnieper River River Llugwy Platte River Aberdulais Falls River Conwy Epte Dordogne Brandywine Creek Nant y Gwryd River Honddu Ffrwd Fawr Waterfall Rainbow Falls Sgwd yr Eira River Twrch Acheron Nevada Fall Pistyll Cain River Ely Maritsa Yonne Sgwd Gwladys Chenab River River Gwendraeth Caradog Falls Yosemite Falls Aisne Tennessee River Cenarth Falls Vernal Fall River Tâf Po Colorado River Afon Tarell Pistyll Rhaeadr Yerres Lek Aber Falls River Elwy Inn Rhaeadr Peiran Saco River Genesee River Silver Burn River Cynfal Connecticut River River Ystwyth Dolgoch Falls Pactolus irrigation canal Fraser River Bièvre Scioto River River Somme Mynach Falls Ternin Saint Croix River River Solva canale di Santa Chiara Tamar River Tigris River Alun, Pembrokeshire River Ceirw Zarqa River River Seiont Afon Pyrddin Horseshoe Falls Río Negro Afon Gain Touques Euphrates Arno Afon Aber River Dulais Amstel Viosne Swallow Falls River Gwyrfai Rhône Afon Glaslyn Afon Lwyd Afon Teigl Amsterdam–Rhine Canal Armançon canale della Giudecca River Taff Cavern Cascade Loue Afon Eden Marne Merwede Carew River Esopus Creek Meuse Androscoggin River Afon Mynach Afon Ogwen Tequendama Falls Vltava Jerma Saint Lawrence River River Afan Jhelum River Afon Gamlan Don River Mellte Devil's Kitchen Kakabeka Falls Afon Wnion Cure Canal du Loing Rhaeadr Du Ebbw River River Hwch rio dei Mendicanti Suså River rio del Palazzo Montmorency Falls Afon Hepste Pembroke River River Teifi Moskva River Eure Delaware River Ewenny River Elbe Spaarne River Neath Aras River River Cothi Scwd Einion Gam Afon y Garth Manzanares Tiber Loing Saône River Wye Afon Babi
231
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type watercourse
type artwork series
action find_reverse_tuple_counts
relation depicts
type watercourse
type painting
action count
action filter_multi_types
action find_reverse
entity River Usk
relation depicts
type artwork series
type painting
[[{'concept': 'artwork series'}, {'concept': 'painting'}], 'depicts', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?a WHERE { { ?r property:depicts ?a . ?r rdf:type ontology:artwork_series . ?a rdf:type ontology:watercourse } UNION { ?a rdf:type ontology:watercourse . ?r rdf:type ontology:painting . ?r property:depicts ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:depicts resource:River_Usk . { { ?d rdf:type ontology:artwork_series } UNION { ?d rdf:type ontology:painting } } } } . FILTER ( ?o < ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q47521
P180
Q355304 Q15709879 Q3305213
USER
And what about stream?
(c(Q15709879)|c(Q3305213),P180,c(Q355304))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q355304
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q355304
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q47521
relation P180
type Q15709879
type Q3305213
[[{'concept': 'Q15709879'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) ?o WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15709879 ) ( ontology:Q3305213 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { ?w property:P180 resource:Q47521 . { { ?w rdf:type ontology:Q15709879 } UNION { ?w rdf:type ontology:Q3305213 } } } } . FILTER ( ?e < ?q ) }
stream
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type watercourse
type artwork series
action find_reverse_tuple_counts
relation depicts
type watercourse
type painting
action count
action filter_multi_types
action find_reverse
entity stream
relation depicts
type artwork series
type painting
[[{'concept': 'artwork series'}, {'concept': 'painting'}], 'depicts', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) ?o WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:artwork_series ) ( ontology:painting ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { ?w property:depicts resource:stream . { { ?w rdf:type ontology:artwork_series } UNION { ?w rdf:type ontology:painting } } } } . FILTER ( ?e < ?q ) }
[]
watercourse artwork series painting
SYSTEM
242
Q1888146 Q2055835 Q10965 Q24656043 Q31347 Q200231 Q1653 Q1650 Q626 Q3529419 Q5089 Q13125370 Q548466 Q4689351 Q24638204 Q1585830 Q1245601 Q2454720 Q222149 Q335575 Q19751 Q2188006 Q19686 Q3392 Q319590 Q1667 Q765106 Q201463 Q13125393 Q23130 Q3399804 Q144825 Q11990461 Q191829 Q1329599 Q751915 Q13125388 Q393137 Q25938187 Q1876030 Q842462 Q1631368 Q3395302 Q790404 Q155397 Q27538 Q534813 Q171009 Q2611124 Q605122 Q7960172 Q1043657 Q207928 Q20594120 Q918867 Q1364549 Q5077 Q450324 Q1941117 Q685344 Q1364559 Q40059 Q1126662 Q1935995 Q38743 Q7337876 Q8493 Q24662750 Q1030911 Q952791 Q24488211 Q25930324 Q2048319 Q686835 Q83471 Q20118 Q7348 Q851348 Q1540243 Q19682 Q182343 Q1401902 Q37538 Q1349493 Q6812447 Q860172 Q7602263 Q25929501 Q7337618 Q584 Q1470035 Q188871 Q26257535 Q2360422 Q25930251 Q838143 Q3783 Q7882224 Q40855 Q3399445 Q655754 Q4667048 Q868968 Q990106 Q208174 Q898425 Q20601505 Q1585864 Q5446244 Q1968596 Q20597232 Q20601350 Q191087 Q38586 Q23766747 Q3398402 Q204347 Q213967 Q37620 Q14508715 Q216875 Q1194478 Q26300491 Q491677 Q41962 Q193737 Q5058789 Q2620166 Q2373449 Q643 Q1265 Q4689363 Q572158 Q1545456 Q1143852 Q3398779 Q3355703 Q5599145 Q14369 Q26203882 Q2210898 Q1422687 Q3445979 Q20599704 Q379648 Q2121702 Q38754 Q923929 Q1658567 Q2935978 Q269710 Q879306 Q209540 Q37646 Q37847 Q1143108 Q534181 Q20655849 Q2936027 Q971590 Q35591 Q7337078 Q20590910 Q798460 Q4689355 Q4689350 Q1373778 Q859548 Q13125375 Q969618 Q34589 Q1219 Q115457 Q4689303 Q7337369 Q185405 Q2527535 Q37529 Q13125377 Q602 Q383379 Q4689339 Q24662715 Q478348 Q679050 Q2936058 Q19700 Q25929266 Q279370 Q17264744 Q41983 Q282530 Q24285831 Q3058095 Q41986 Q514154 Q4689346 Q4689348 Q490295 Q131574 Q1279831 Q134750 Q7337062 Q214874 Q25930176 Q1229 Q3359370 Q25930443 Q123058 Q34221 Q10958655 Q600675 Q1032662 Q25930115 Q5331562 Q25972997 Q3432819 Q586586 Q3432787 Q1946396 Q3401771 Q7161973 Q1523834 Q175117 Q7403053 Q23798 Q143762 Q3399942 Q1644 Q738230 Q2089585 Q179751 Q7337306 Q25738143 Q20596483 Q16512 Q13712 Q249062 Q19699 Q187834 Q19695 Q25930821
(c(Q15709879)|c(Q3305213),P180,c(Q355304))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q355304
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q355304
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q47521
relation P180
type Q15709879
type Q3305213
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) ?o WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15709879 ) ( ontology:Q3305213 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { ?w property:P180 resource:Q47521 . { { ?w rdf:type ontology:Q15709879 } UNION { ?w rdf:type ontology:Q3305213 } } } } . FILTER ( ?e < ?q ) }
Kaministiquia River Passaic River Ebro Rhaeadr Du Grand Canal Oise Danube Weser Volga small river Ganges River Edw Aube Afon Rhythallt River Rhiw River Mawddach Loiret River Towy Sumida River Sacramento River Qiantang River Gein River Thames Nile Beas River Moselle Barada Pearl River River Prysor Gállego River Rheidol Kiel Canal Mølleåen Magdalena River Kokemäenjoki River Dovey River Loughor Dan River Machno Falls River Lugg Vilaine Housatonic River River Clwyd Aven River Monnow Susquehanna River Essonne Drava River Dwyryd Schuylkill River Wainimala River River Dee Gauja Ogwen Falls Kanawha River Isole Garonne Little Miami River River Stour Khabur River River Tawe Jordan River Kern River Ausable River Kaaterskill Falls River Thaw Amu Darya Afon Trystion Yellowstone Falls Petit Morin Ceunant Mawr Rhaeadr y Cwm ditch Staubbach Falls geyser Turia Indus River River Cleddau River Stour Severn Niagara River Minnehaha Falls High Falls Erdre Melincourt Falls Canal Saint-Martin Starrucca Creek Rhaeadr Cynfal River Machno Rhine Merced River Orontes River Nant Gau Bridalveil Fall Rhaeadr Mawddach Gila River Amazonas Unadilla River Dnieper River River Llugwy Platte River Aberdulais Falls River Conwy Epte Dordogne Brandywine Creek Nant y Gwryd River Honddu Ffrwd Fawr Waterfall Rainbow Falls Sgwd yr Eira River Twrch Acheron Nevada Fall Pistyll Cain River Ely Maritsa Yonne Scheldt Sgwd Gwladys Chenab River River Gwendraeth Caradog Falls Yosemite Falls Aisne Tennessee River Cenarth Falls Vernal Fall River Tâf Po Colorado River Afon Tarell Pistyll Rhaeadr Yerres Lek Aber Falls River Elwy Great Falls Inn Rhaeadr Peiran Saco River Genesee River Silver Burn River Cynfal Connecticut River River Ystwyth Dolgoch Falls Pactolus Ilisos irrigation canal Fraser River Bièvre Scioto River River Somme Mynach Falls Ternin Saint Croix River River Solva canale di Santa Chiara Tamar River Tigris River Alun, Pembrokeshire River Ceirw Zarqa River River Seiont Afon Pyrddin Horseshoe Falls Río Negro Afon Gain Touques Euphrates Alster Arno Afon Aber River Dulais Amstel Viosne Swallow Falls River Gwyrfai Rhône Afon Glaslyn Afon Lwyd Afon Teigl Amsterdam–Rhine Canal Armançon canale della Giudecca River Taff Cavern Cascade Loue Afon Eden Marne Merwede Carew River Esopus Creek Meuse Androscoggin River Afon Mynach Afon Ogwen Tequendama Falls Vltava Jerma Saint Lawrence River River Afan Jhelum River Afon Gamlan Don River Mellte Devil's Kitchen Kakabeka Falls Niagara Falls Afon Wnion Cure Canal du Loing Rhaeadr Du Ebbw River River Hwch rio dei Mendicanti Suså River rio del Palazzo Montmorency Falls Afon Hepste Pembroke River River Teifi Moskva River Sakonnet River Eure Delaware River Ewenny River Elbe Spaarne River Neath Aras River River Cothi Scwd Einion Gam Afon y Garth Manzanares Tiber Loing River Usk Saône River Wye Afon Babi
242
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type watercourse
type artwork series
action find_reverse_tuple_counts
relation depicts
type watercourse
type painting
action count
action filter_multi_types
action find_reverse
entity stream
relation depicts
type artwork series
type painting
[[{'concept': 'artwork series'}, {'concept': 'painting'}], 'depicts', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) ?o WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:artwork_series ) ( ontology:painting ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { ?w property:depicts resource:stream . { { ?w rdf:type ontology:artwork_series } UNION { ?w rdf:type ontology:painting } } } } . FILTER ( ?e < ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3411
P19
Q502895
USER
Who has location of birth at Mackenzie River ?
(c(Q502895),P19,Q3411)
action filter_type
action find_reverse
entity Q3411
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q3411']
SELECT DISTINCT ?w WHERE { ?w property:P19 resource:Q3411 . ?w rdf:type ontology:Q502895 }
Mackenzie River
action filter_type
action find_reverse
entity Mackenzie River
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Mackenzie River']
SELECT DISTINCT ?w WHERE { ?w property:place_of_birth resource:Mackenzie_River . ?w rdf:type ontology:common_name }
[]
common name
Q4666429
SYSTEM
Abe Okpik
Q4666429
(c(Q502895),P19,Q3411)
action filter_type
action find_reverse
entity Q3411
relation P19
type Q502895
[ANSWER] has location of birth at Mackenzie River
[{'concept': 'Q502895'}, 'P19', 'Q3411']
SELECT DISTINCT ?w WHERE { ?w property:P19 resource:Q3411 . ?w rdf:type ontology:Q502895 }
Abe Okpik
Abe Okpik has location of birth at Mackenzie River
Abe Okpik
action filter_type
action find_reverse
entity Mackenzie River
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Mackenzie River']
SELECT DISTINCT ?w WHERE { ?w property:place_of_birth resource:Mackenzie_River . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q584
P974
Q355304
USER
Which rivers have Rhine as their parent rive ?
(Q584,P974,c(Q355304))
action filter_type
action find
entity Q584
relation P974
type Q355304
['Q584', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?b WHERE { resource:Q584 property:P974 ?b . ?b rdf:type ontology:Q355304 }
Rhine
action filter_type
action find
entity Rhine
relation tributary
type watercourse
['Rhine', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?b WHERE { resource:Rhine property:tributary ?b . ?b rdf:type ontology:watercourse }
[]
watercourse
Q1675 Q1667 Q1664
SYSTEM
Aare, Moselle, Ruhr
Q1670 Q1667 Q1664 Q41986 Q152484 Q504922 Q153394 Q153945 Q1673 Q708840 Q103148 Q1675
(Q584,P974,c(Q355304))
action filter_type
action find
entity Q584
relation P974
type Q355304
[ANSWERS] have Rhine as their parent rive
['Q584', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?b WHERE { resource:Q584 property:P974 ?b . ?b rdf:type ontology:Q355304 }
Main Moselle Ruhr Meuse Sieg Emscher Ahr Lippe Neckar Erft Lahn Aare
Aare, Moselle and Ruhr have Rhine as their parent rive
Aare Moselle Ruhr
action filter_type
action find
entity Rhine
relation tributary
type watercourse
['Rhine', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?b WHERE { resource:Rhine property:tributary ?b . ?b rdf:type ontology:watercourse }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2633964
Q355304
USER
And how about Acheron River?
(Q2633964,P974,c(Q355304))
action filter_type
action find
entity Q2633964
relation P974
type Q355304
['Q2633964', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?k WHERE { resource:Q2633964 property:P974 ?k . ?k rdf:type ontology:Q355304 }
Acheron River
action filter_type
action find
entity Acheron River
relation tributary
type watercourse
['Acheron River', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?k WHERE { resource:Acheron_River property:tributary ?k . ?k rdf:type ontology:watercourse }
[]
watercourse
Q1865811 Q1670320 Q2335393
SYSTEM
Little Steavenson River, Little River, Steavenson River
Q1865811 Q1670320 Q2335393
(Q2633964,P974,c(Q355304))
action filter_type
action find
entity Q2633964
relation P974
type Q355304
[ANSWERS]
['Q2633964', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?k WHERE { resource:Q2633964 property:P974 ?k . ?k rdf:type ontology:Q355304 }
Little Steavenson River Little River Steavenson River
Little Steavenson River Little River Steavenson River
action filter_type
action find
entity Acheron River
relation tributary
type watercourse
['Acheron River', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?k WHERE { resource:Acheron_River property:tributary ?k . ?k rdf:type ontology:watercourse }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1865811 Q1670320 Q2335393
P17
Q1048835
USER
Which political territories are Little Steavenson River, Little River and Steavenson River located in ?
(Q1865811,P17,c(Q1048835)) (Q1670320,P17,c(Q1048835)) (Q2335393,P17,c(Q1048835))
action union
action filter_type
action find
entity Q1865811
relation P17
type Q1048835
action filter_type
action find
entity Q1670320
relation P17
type Q1048835
action filter_type
action find
entity Q2335393
relation P17
type Q1048835
['Q1865811', 'P17', {'concept': 'Q1048835'}] ['Q1670320', 'P17', {'concept': 'Q1048835'}] ['Q2335393', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { ?f property:P17 ?x . VALUES ( ?f ) { ( resource:Q1865811 ) ( resource:Q1670320 ) } }
Little Steavenson River Little River Steavenson River
action union
action filter_type
action find
entity Little Steavenson River
relation country
type political territorial entity
action filter_type
action find
entity Little River
relation country
type political territorial entity
action filter_type
action find
entity Steavenson River
relation country
type political territorial entity
['Little Steavenson River', 'country', {'concept': 'political territorial entity'}] ['Little River', 'country', {'concept': 'political territorial entity'}] ['Steavenson River', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { ?f property:country ?x . VALUES ( ?f ) { ( resource:Little_Steavenson_River ) ( resource:Little_River ) } }
[]
political territorial entity
Q408 Q408 Q408
SYSTEM
Australia
Q408 Q408 Q408
(Q1865811,P17,c(Q1048835)) (Q1670320,P17,c(Q1048835)) (Q2335393,P17,c(Q1048835))
action union
action filter_type
action find
entity Q1865811
relation P17
type Q1048835
action filter_type
action find
entity Q1670320
relation P17
type Q1048835
action filter_type
action find
entity Q2335393
relation P17
type Q1048835
[ANSWER], [ANSWER] and [ANSWER] are Little Steavenson River, Little River and Steavenson River located in
['Q1865811', 'P17', {'concept': 'Q1048835'}] ['Q1670320', 'P17', {'concept': 'Q1048835'}] ['Q2335393', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { ?f property:P17 ?x . VALUES ( ?f ) { ( resource:Q1865811 ) ( resource:Q1670320 ) } }
Australia Australia Australia
Australia, Australia and Australia are Little Steavenson River, Little River and Steavenson River located in
Australia Australia Australia
action union
action filter_type
action find
entity Little Steavenson River
relation country
type political territorial entity
action filter_type
action find
entity Little River
relation country
type political territorial entity
action filter_type
action find
entity Steavenson River
relation country
type political territorial entity
['Little Steavenson River', 'country', {'concept': 'political territorial entity'}] ['Little River', 'country', {'concept': 'political territorial entity'}] ['Steavenson River', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { ?f property:country ?x . VALUES ( ?f ) { ( resource:Little_Steavenson_River ) ( resource:Little_River ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1675
P201
Q337567
USER
Which still waterss do Aare outflow from ?
(c(Q337567),P201,Q1675)
action filter_type
action find_reverse
entity Q1675
relation P201
type Q337567
[{'concept': 'Q337567'}, 'P201', 'Q1675']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q337567 . ?g property:P201 resource:Q1675 }
Aare
action filter_type
action find_reverse
entity Aare
relation lake outflow
type still waters
[{'concept': 'still waters'}, 'lake outflow', 'Aare']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:still_waters . ?g property:lake_outflow resource:Aare }
[]
still waters
Q14426 Q14442 Q14429
SYSTEM
Lake Thun, Lake Brienz, Lake Biel
Q14426 Q14442 Q14429 Q5821829
(c(Q337567),P201,Q1675)
action filter_type
action find_reverse
entity Q1675
relation P201
type Q337567
Aare outflow s [ANSWERS]
[{'concept': 'Q337567'}, 'P201', 'Q1675']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q337567 . ?g property:P201 resource:Q1675 }
Lake Thun Lake Brienz Lake Biel Niederriedsee
Aare outflow s Lake Thun, Lake Brienz and Lake Biel
Lake Thun Lake Brienz Lake Biel
action filter_type
action find_reverse
entity Aare
relation lake outflow
type still waters
[{'concept': 'still waters'}, 'lake outflow', 'Aare']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:still_waters . ?g property:lake_outflow resource:Aare }
[]