Simple Question (Direct)
Simple Question
Q7612239
P106
Q151885
USER
What is the profession of Steve Colyer ?
(Q7612239,P106,c(Q151885))
action filter_type
action find
entity Q7612239
relation P106
type Q151885
['Q7612239', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q151885 . resource:Q7612239 property:P106 ?x }
Steve Colyer
action filter_type
action find
entity Steve Colyer
relation occupation
type concept
['Steve Colyer', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:concept . resource:Steve_Colyer property:occupation ?x }
[]
concept
Q10871364
SYSTEM
baseball player
Q10871364
(Q7612239,P106,c(Q151885))
action filter_type
action find
entity Q7612239
relation P106
type Q151885
The profession of Steve Colyer is a [ANSWER]
['Q7612239', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q151885 . resource:Q7612239 property:P106 ?x }
baseball player
The profession of Steve Colyer is a baseball player
baseball player
action filter_type
action find
entity Steve Colyer
relation occupation
type concept
['Steve Colyer', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:concept . resource:Steve_Colyer property:occupation ?x }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P106
Q1151733 Q95074
USER
How many baseball positions and fictional characters have the profession as that concept ?
(c(Q1151733),P106,Q10871364) (c(Q95074),P106,Q10871364) (c(Q1151733),P106,Q10871364) (c(Q95074),P106,Q10871364)
action count
action union
action filter_type
action find_reverse
entity Q10871364
relation P106
type Q1151733
action filter_type
action find_reverse
entity Q10871364
relation P106
type Q95074
[{'concept': 'Q1151733'}, 'P106', 'Q10871364'] [{'concept': 'Q95074'}, 'P106', 'Q10871364'] [{'concept': 'Q1151733'}, 'P106', 'Q10871364'] [{'concept': 'Q95074'}, 'P106', 'Q10871364']
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { VALUES ( ?j ) { ( ontology:Q1151733 ) ( ontology:Q95074 ) } . ?a rdf:type ?j }
action count
action union
action filter_type
action find_reverse
entity baseball player
relation occupation
type baseball position
action filter_type
action find_reverse
entity baseball player
relation occupation
type fictional character
[{'concept': 'baseball position'}, 'occupation', 'baseball player'] [{'concept': 'fictional character'}, 'occupation', 'baseball player'] [{'concept': 'baseball position'}, 'occupation', 'baseball player'] [{'concept': 'fictional character'}, 'occupation', 'baseball player']
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { VALUES ( ?j ) { ( ontology:baseball_position ) ( ontology:fictional_character ) } . ?a rdf:type ?j }
[]
baseball position fictional character
SYSTEM
1 baseball positions and 1 fictional characters
Q23638926 Q4931648
(c(Q1151733),P106,Q10871364) (c(Q95074),P106,Q10871364) (c(Q1151733),P106,Q10871364) (c(Q95074),P106,Q10871364)
action count
action union
action filter_type
action find_reverse
entity Q10871364
relation P106
type Q1151733
action filter_type
action find_reverse
entity Q10871364
relation P106
type Q95074
[ANSWER]
[{'concept': 'Q1151733'}, 'P106', 'Q10871364'] [{'concept': 'Q95074'}, 'P106', 'Q10871364'] [{'concept': 'Q1151733'}, 'P106', 'Q10871364'] [{'concept': 'Q95074'}, 'P106', 'Q10871364']
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { VALUES ( ?j ) { ( ontology:Q1151733 ) ( ontology:Q95074 ) } . ?a rdf:type ?j }
Jayson Turk Bob Allen
1 baseball positions and 1 fictional characters
action count
action union
action filter_type
action find_reverse
entity baseball player
relation occupation
type baseball position
action filter_type
action find_reverse
entity baseball player
relation occupation
type fictional character
[{'concept': 'baseball position'}, 'occupation', 'baseball player'] [{'concept': 'fictional character'}, 'occupation', 'baseball player'] [{'concept': 'baseball position'}, 'occupation', 'baseball player'] [{'concept': 'fictional character'}, 'occupation', 'baseball player']
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { VALUES ( ?j ) { ( ontology:baseball_position ) ( ontology:fictional_character ) } . ?a rdf:type ?j }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q171393
P706
Q82794 Q151885
USER
Which geographic regions are the location where approximately the same number of concepts are located as Wallachia ?
(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 Q171393
relation P706
type Q82794
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:P706 ?d . ?d rdf:type ontology:Q82794 . ?g rdf:type ontology:Q151885 } GROUP BY ?d } . FILTER ( ?c = ?n ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q171393 property:P706 ?f . ?f rdf:type ontology:Q82794 } } }
Wallachia
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 Wallachia
relation located on terrain feature
type geographic region
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:located_on_terrain_feature ?d . ?d rdf:type ontology:geographic_region . ?g rdf:type ontology:concept } GROUP BY ?d } . FILTER ( ?c = ?n ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Wallachia property:located_on_terrain_feature ?f . ?f rdf:type ontology:geographic_region } } }
[]
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 Q171393
relation P706
type Q82794
[ANSWERS] are the location where approximately the same number of concepts are located as Wallachia
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:P706 ?d . ?d rdf:type ontology:Q82794 . ?g rdf:type ontology:Q151885 } GROUP BY ?d } . FILTER ( ?c = ?n ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q171393 property:P706 ?f . ?f rdf:type ontology:Q82794 } } }
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 Wallachia
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 Wallachia
relation located on terrain feature
type geographic region
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:located_on_terrain_feature ?d . ?d rdf:type ontology:geographic_region . ?g rdf:type ontology:concept } GROUP BY ?d } . FILTER ( ?c = ?n ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Wallachia property:located_on_terrain_feature ?f . ?f rdf:type ontology:geographic_region } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2887520
P361
Q82794
USER
What is a component of that one ?
(c(Q82794),P361,Q2887520)
action filter_type
action find_reverse
entity Q2887520
relation P361
type Q82794
[{'concept': 'Q82794'}, 'P361', 'Q2887520']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q82794 . ?w property:P361 resource:Q2887520 }
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 ?w WHERE { ?w rdf:type ontology:geographic_region . ?w property:part_of resource:Vistula_basin }
[]
geographic region
Clarification for simple ques.
Q20925112
SYSTEM
Did you mean Bug Basin ?
Q2887520 Q20925112 Q20906226
(c(Q82794),P361,Q2887520) (c(Q82794),P361,Q20925112) (c(Q82794),P361,Q20906226)
[ANSWER]
[{'concept': 'Q82794'}, 'P361', 'Q2887520'] [{'concept': 'Q82794'}, 'P361', 'Q20925112'] [{'concept': 'Q82794'}, 'P361', 'Q20906226']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q82794 . ?w property:P361 resource:Q2887520 }
Vistula basin Bug Basin Narew Basin
Did you mean Bug Basin ?
Bug Basin
[{'concept': 'geographic region'}, 'part of', 'Vistula basin'] [{'concept': 'geographic region'}, 'part of', 'Bug Basin'] [{'concept': 'geographic region'}, 'part of', 'Narew Basin']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:geographic_region . ?w property:part_of resource:Vistula_basin }
[]
Simple Question (Coreferenced)
USER
No, I meant Vistula basin. Could you tell me the answer for that?
(c(Q82794),P361,Q2887520)
Q2887520
[{'concept': 'Q82794'}, 'P361', 'Q2887520']
[{'concept': 'geographic region'}, 'part of', 'Vistula basin']
[]
Q20906226
SYSTEM
Narew Basin
Q20906226
(c(Q82794),P361,Q2887520)
action filter_type
action find_reverse
entity Q2887520
relation P361
type Q82794
A component of that one is the [ANSWER]
[{'concept': 'Q82794'}, 'P361', 'Q2887520']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q82794 . ?w property:P361 resource:Q2887520 }
Narew Basin
A component of that one is the 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 ?w WHERE { ?w rdf:type ontology:geographic_region . ?w property:part_of resource:Vistula_basin }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P361
Q82794 Q15324
USER
Which geographic regions are around the same number of bodies of water a part of as that geographic region ?
(c(Q15324),P361,c(Q82794))
action approx
action find_reverse_tuple_counts
relation P361
type Q82794
type Q15324
action count
action filter_type
action find
entity Q20906226
relation P361
type Q82794
[{'concept': 'Q15324'}, 'P361', {'concept': 'Q82794'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:P361 ?x . ?x rdf:type ontology:Q82794 . ?i rdf:type ontology:Q15324 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Q20906226 property:P361 ?s . ?s rdf:type ontology:Q82794 } } . FILTER ( ?n = ?k ) }
action approx
action find_reverse_tuple_counts
relation part of
type geographic region
type body of water
action count
action filter_type
action find
entity Narew Basin
relation part of
type geographic region
[{'concept': 'body of water'}, 'part of', {'concept': 'geographic region'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:part_of ?x . ?x rdf:type ontology:geographic_region . ?i rdf:type ontology:body_of_water } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Narew_Basin property:part_of ?s . ?s rdf:type ontology:geographic_region } } . FILTER ( ?n = ?k ) }
[]
geographic region body of water
Q2887520 Q20906226 Q932289
SYSTEM
Vistula basin, Narew Basin, Congo basin
Q7162345 Q763829 Q2887549 Q821486 Q20906226 Q2485172 Q2887577 Q2887540 Q251246 Q9668161 Q1444797 Q2887503 Q2011523 Q2887506 Q1255748 Q2887520 Q27611 Q22883 Q3041080 Q2748698 Q738671 Q534290 Q1940689 Q1453235 Q1009958 Q14210889 Q3361344 Q383032 Q1794875 Q9210297 Q122443 Q1271701 Q1703681 Q1973680 Q12046596 Q4993045 Q12046593 Q3088645 Q1971810 Q13370189 Q912837 Q1412534 Q1434368 Q2887550 Q2887556 Q118899 Q48435 Q4079154 Q884315 Q132480 Q2290142 Q2565093 Q932289 Q2887515 Q2887512 Q2887510 Q450707 Q2009831 Q1741416 Q702179 Q970717 Q5567863 Q571607 Q10727017 Q62825 Q134638 Q2099232 Q481600 Q14223732 Q9210293 Q836349 Q1664249 Q7562193 Q178925 Q51614
(c(Q15324),P361,c(Q82794))
action approx
action find_reverse_tuple_counts
relation P361
type Q82794
type Q15324
action count
action filter_type
action find
entity Q20906226
relation P361
type Q82794
[ANSWERS] are around the same number of bodies of water a part of as that geographic region
[{'concept': 'Q15324'}, 'P361', {'concept': 'Q82794'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:P361 ?x . ?x rdf:type ontology:Q82794 . ?i rdf:type ontology:Q15324 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Q20906226 property:P361 ?s . ?s rdf:type ontology:Q82794 } } . FILTER ( ?n = ?k ) }
Penck Trough Jezreel Valley Po basin Fläming Heath Narew Basin Meuse basin Scheldt basin Dnieper basin Vienna Woods Budapest, including the Banks of the Danube, the Buda Castle Quarter and Andrássy Avenue Frankenweide Ob basin Oberwälder Land Garonne basin Drammensvassdraget Vistula basin Central America Engadin Valley of the Ten Peaks Lower Brittany Val Bregaglia Murray–Darling basin Central Black Forest Orkhon Valley Buntsandstein-Odenwald Chao Phraya basin Kagghamraån Lake System Brixental Niederwesterwald Wieprza Basin Attica Dümme Geest Lowland Willamette Valley Gäu Plateaus Elbe Basin Tyresån Lake System Danube basin Upper Brittany Nauen Plateau Neman Basin Glens of Antrim Filder Rhine basin Rhône basin Lake Eyre basin Brazilian Highlands Sagrada Família Volga Basin Cologne Lowland Kantō region IJpolders Western Ore Mountains Congo basin Seine basin Neva basin Loire basin Alzey Hills Upper Hessian Ridge Schleswig-Holstein Uplands Heide Park Kathmandu Valley Glen Lochay Middle Rhine Åvaån Lake System maritime republics Chūbu region Pleiser Hügelland Schönbuch Zschopau valley Oder Basin Stade Geest Inntal Sonoma Valley Gran Canaria Anatolia
Vistula basin, Narew Basin and Congo basin are around the same number of bodies of water a part of as that geographic region
Vistula basin Narew Basin Congo basin
action approx
action find_reverse_tuple_counts
relation part of
type geographic region
type body of water
action count
action filter_type
action find
entity Narew Basin
relation part of
type geographic region
[{'concept': 'body of water'}, 'part of', {'concept': 'geographic region'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:part_of ?x . ?x rdf:type ontology:geographic_region . ?i rdf:type ontology:body_of_water } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Narew_Basin property:part_of ?s . ?s rdf:type ontology:geographic_region } } . FILTER ( ?n = ?k ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q20906226
P361
Q355304
USER
How many watercourses are parts of Narew Basin ?
(c(Q355304),P361,Q20906226)
action count
action filter_type
action find_reverse
entity Q20906226
relation P361
type Q355304
[{'concept': 'Q355304'}, 'P361', 'Q20906226']
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:P361 resource:Q20906226 . ?k rdf:type ontology:Q355304 }
Narew Basin
action count
action filter_type
action find_reverse
entity Narew Basin
relation part of
type watercourse
[{'concept': 'watercourse'}, 'part of', 'Narew Basin']
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:part_of resource:Narew_Basin . ?k rdf:type ontology:watercourse }
[]
watercourse
SYSTEM
1
Q60055
(c(Q355304),P361,Q20906226)
action count
action filter_type
action find_reverse
entity Q20906226
relation P361
type Q355304
[ANSWER]
[{'concept': 'Q355304'}, 'P361', 'Q20906226']
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:P361 resource:Q20906226 . ?k rdf:type ontology:Q355304 }
Narew
1
action count
action filter_type
action find_reverse
entity Narew Basin
relation part of
type watercourse
[{'concept': 'watercourse'}, 'part of', 'Narew Basin']
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:part_of resource:Narew_Basin . ?k rdf:type ontology:watercourse }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P706
Q1048835 Q15324 Q82794
USER
Which geographic regions are located in min number of political territories or bodies of water ?
(c(Q82794),P706,c(Q1048835)|c(Q15324))
action argmin
action union
action find_tuple_counts
relation P706
type Q82794
type Q1048835
action find_tuple_counts
relation P706
type Q82794
type Q15324
[{'concept': 'Q82794'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?w WHERE { VALUES ( ?q ) { ( ontology:Q15324 ) ( ontology:Q1048835 ) } . ?x rdf:type ?q } GROUP BY ?w } } . FILTER ( ?b = ?l ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) ?j WHERE { { ?j property:P706 ?y . ?j rdf:type ontology:Q82794 . ?y rdf:type ontology:Q1048835 } UNION { ?j property:P706 ?y . ?j rdf:type ontology:Q82794 . ?y rdf:type ontology:Q15324 } } GROUP BY ?j } }
action argmin
action union
action find_tuple_counts
relation located on terrain feature
type geographic region
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type geographic region
type body of water
[{'concept': 'geographic region'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?w WHERE { VALUES ( ?q ) { ( ontology:body_of_water ) ( ontology:political_territorial_entity ) } . ?x rdf:type ?q } GROUP BY ?w } } . FILTER ( ?b = ?l ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) ?j WHERE { { ?j property:located_on_terrain_feature ?y . ?j rdf:type ontology:geographic_region . ?y rdf:type ontology:political_territorial_entity } UNION { ?j property:located_on_terrain_feature ?y . ?j rdf:type ontology:geographic_region . ?y rdf:type ontology:body_of_water } } GROUP BY ?j } }
[]
political territorial entity body of water geographic region
Q20925112 Q22667180 Q59918
SYSTEM
Bug Basin, Drwęca Basin, Cour des miracles
Q118388 Q17581963 Q17577772 Q129465 Q17581883 Q1320834 Q4008193 Q17582092 Q17582090 Q17582091 Q208629 Q17582098 Q17577228 Q11997824 Q7984868 Q17581813 Q17581811 Q17581810 Q17581817 Q17581816 Q17581815 Q17582077 Q17577665 Q17581819 Q134638 Q17581838 Q4740244 Q17582080 Q17581873 Q17577707 Q17581835 Q132480 Q17577813 Q17582585 Q17577778 Q17582582 Q17582113 Q702179 Q538820 Q17582094 Q18572459 Q17581800 Q17582586 Q17577677 Q17581808 Q17581809 Q17581864 Q2258070 Q17577794 Q17577798 Q17577418 Q17577733 Q8352403 Q17582110 Q119498 Q17577762 Q17581973 Q17577766 Q17582116 Q17582130 Q17581852 Q15735685 Q17577421 Q14234584 Q5603365 Q17577783 Q17577789 Q17576914 Q17576916 Q3487269 Q17576912 Q17577804 Q16891140 Q17577716 Q17581901 Q17577712 Q18008777 Q17576524 Q17576526 Q17577223 Q17582115 Q571430 Q815734 Q6948698 Q17577757 Q874416 Q1661032 Q20925112 Q864668 Q17582128 Q17582129 Q17582126 Q17582127 Q17582125 Q14215814 Q4993045 Q17582120 Q17582121 Q7549778 Q17581814 Q17577809 Q2148017 Q17577688 Q17577683 Q17582122 Q17582123 Q17581848 Q17582112 Q17582111 Q17577730 Q17581927 Q59918 Q4854879 Q17582114 Q17581840 Q17581841 Q17581842 Q17582118 Q17581844 Q17581845 Q17581846 Q17581847 Q17577752 Q17581944 Q207388 Q17582099 Q697081 Q17582577 Q17577694 Q17577698 Q22667180 Q17582578 Q929061 Q1339950 Q69116 Q17582104 Q17577726 Q17582107 Q17582100 Q17577721 Q17582102 Q17582103 Q17582580 Q17581834 Q17581837 Q17582109 Q17582073 Q17581832 Q17581953 Q17577740 Q17582096 Q17577745 Q17581892 Q17582085 Q17582086 Q17582081 Q7567823 Q17582083 Q17582082 Q17582088 Q15719459 Q17582074 Q17582075 Q17582078 Q17582076 Q17581828 Q17581829 Q17581826 Q17581827 Q17581824 Q17581825 Q17581822 Q17581823 Q17581820 Q17581821
(c(Q82794),P706,c(Q1048835)|c(Q15324))
action argmin
action union
action find_tuple_counts
relation P706
type Q82794
type Q1048835
action find_tuple_counts
relation P706
type Q82794
type Q15324
[ANSWERS] are located in min number of political territories or bodies of water
[{'concept': 'Q82794'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?w WHERE { VALUES ( ?q ) { ( ontology:Q15324 ) ( ontology:Q1048835 ) } . ?x rdf:type ?q } GROUP BY ?w } } . FILTER ( ?b = ?l ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) ?j WHERE { { ?j property:P706 ?y . ?j rdf:type ontology:Q82794 . ?y rdf:type ontology:Q1048835 } UNION { ?j property:P706 ?y . ?j rdf:type ontology:Q82794 . ?y rdf:type ontology:Q15324 } } GROUP BY ?j } }
Death Valley Caernarvonshire Monaghan Tōhoku region Breconshire Eistobel Valle di Saviore Cumberland North Northumberland Westmorland (with Furness) Oltenia Wigtownshire Limerick Rijpdalen West Cork North Wiltshire North Somerset South Somerset South Hampshire Isle of Wight Dorset Cheshire Kilkenny North Hampshire Chūbu region West Norfolk Amari Valley West Lancashire Glamorganshire Kildare East Suffolk Kantō region Londonderry East Sutherland Fermanagh North Ebudes Fifeshire Heide Park Valdarno Dumfriesshire Nachtigallental East Cornwall West Sutherland Carlow South Devon North Devon Shropshire Swabian Keuper-Lias Plains Tyrone Armagh Clare Roscommon Ebro Basin East Lothian Valle de la Luna Cavan Denbighshire Louth Mid Perthshire Clyde Isles Staffordshire Mucher Wiesental North Tipperary South Valley Green Valley East Donegal West Donegal East Cork Waterford Wurstelprater Mid-Cork Down Erskine Valley Dublin Carmarthenshire Wicklow Valleta d'Agres South Kerry North Kerry South Tipperary West Perthshire Antarctic ice sheet Bell Valley Mysore Leitrim West Suffolk Unteres Mittelrheingebiet Bug Basin Caithness Argyllshire Dunbartonshire East Inverness-shire West Inverness-shire Moray Murg Valley Tyresån Lake System Angus Kincardineshire Soan Sakaser Valley South Wiltshire Antrim Rheinwesterwälder Vulkanrücken South-east Galway Laois South Aberdeenshire North Aberdeenshire Herefordshire West Lothian Midlothian Longford Cardiganshire Cour des miracles Banffshire Stirlingshire Cambridgeshire Bedfordshire Huntingdonshire East Perthshire Northamptonshire East Gloucestershire West Gloucestershire Monmouthshire Sligo Montgomeryshire Muntenia Ayrshire Arådalen Kintyre West Galway North-east Galway Drwęca Basin South Ebudes Urstromtal Sternberg lake district Kuma–Manych Depression Selkirkshire Westmeath Roxburghshire Renfrewshire Meath Lanarkshire Peebleshire Mid Ebudes Buckinghamshire East Norfolk Berwickshire North Lincolnshire Oxfordshire Merionethshire East Mayo Kirkcudbrightshire West Mayo Radnorshire Mid-west Yorkshire North-west Yorkshire South-east Yorkshire South Lincolnshire South-west Yorkshire North-east Yorkshire South Northumberland Linzer Terrasse Leicestershire (with Rutland) Nottinghamshire South Lancashire Derbyshire Middlesex Berkshire North Essex Hertfordshire Surrey South Essex East Kent West Kent West Sussex East Sussex
Bug Basin, Drwęca Basin and Cour des miracles are located in min number of political territories or bodies of water
Bug Basin Drwęca Basin Cour des miracles
action argmin
action union
action find_tuple_counts
relation located on terrain feature
type geographic region
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type geographic region
type body of water
[{'concept': 'geographic region'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?w WHERE { VALUES ( ?q ) { ( ontology:body_of_water ) ( ontology:political_territorial_entity ) } . ?x rdf:type ?q } GROUP BY ?w } } . FILTER ( ?b = ?l ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) ?j WHERE { { ?j property:located_on_terrain_feature ?y . ?j rdf:type ontology:geographic_region . ?y rdf:type ontology:political_territorial_entity } UNION { ?j property:located_on_terrain_feature ?y . ?j rdf:type ontology:geographic_region . ?y rdf:type ontology:body_of_water } } GROUP BY ?j } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2887520 Q2367825
P47
Q15617994
USER
How many administrative territories are bordered by Vistula basin or Thakurgaon District ?
(c(Q15617994),P47,Q2887520) (c(Q15617994),P47,Q2367825)
action count
action union
action filter_type
action find_reverse
entity Q2887520
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q2367825
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q2887520'] [{'concept': 'Q15617994'}, 'P47', 'Q2367825']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { ?w property:P47 resource:Q2367825 . ?w rdf:type ontology:Q15617994 } UNION { ?w property:P47 resource:Q2887520 . ?w rdf:type ontology:Q15617994 } }
Vistula basin Thakurgaon District
action count
action union
action filter_type
action find_reverse
entity Vistula basin
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Thakurgaon District
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Vistula basin'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Thakurgaon District']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { ?w property:shares_border_with resource:Thakurgaon_District . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w property:shares_border_with resource:Vistula_basin . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q1985120 Q2367822
(c(Q15617994),P47,Q2887520) (c(Q15617994),P47,Q2367825)
action count
action union
action filter_type
action find_reverse
entity Q2887520
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q2367825
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q2887520'] [{'concept': 'Q15617994'}, 'P47', 'Q2367825']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { ?w property:P47 resource:Q2367825 . ?w rdf:type ontology:Q15617994 } UNION { ?w property:P47 resource:Q2887520 . ?w rdf:type ontology:Q15617994 } }
Dinajpur District Panchagarh District
2
action count
action union
action filter_type
action find_reverse
entity Vistula basin
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Thakurgaon District
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Vistula basin'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Thakurgaon District']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { ?w property:shares_border_with resource:Thakurgaon_District . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w property:shares_border_with resource:Vistula_basin . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2887520
P974
Q15324
USER
Which body of water is the tributary of that geographic region ?
action filter_type
action find
entity Q2887520
relation P974
type Q15324
SELECT DISTINCT ?b WHERE { resource:Q2887520 property:P974 ?b . ?b rdf:type ontology:Q15324 }
Vistula basin
action filter_type
action find
entity Vistula basin
relation tributary
type body of water
SELECT DISTINCT ?b WHERE { resource:Vistula_basin property:tributary ?b . ?b rdf:type ontology:body_of_water }
[]
body of water
Q5605
SYSTEM
Vistula Lagoon
Q5605
action filter_type
action find
entity Q2887520
relation P974
type Q15324
[ANSWER] is the tributary of that geographic region
SELECT DISTINCT ?b WHERE { resource:Q2887520 property:P974 ?b . ?b rdf:type ontology:Q15324 }
Vistula Lagoon
Vistula Lagoon is the tributary of that geographic region
Vistula Lagoon
action filter_type
action find
entity Vistula basin
relation tributary
type body of water
SELECT DISTINCT ?b WHERE { resource:Vistula_basin property:tributary ?b . ?b rdf:type ontology:body_of_water }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1794875
P706
Q82794 Q2221906 Q82794
USER
Which geographic regions are the location where lesser number of geographic locations or geographic regions are located than Niederwesterwald ?
(c(Q2221906)|c(Q82794),P706,c(Q82794))
action less
action union
action find_reverse_tuple_counts
relation P706
type Q82794
type Q2221906
action find_reverse_tuple_counts
relation P706
type Q82794
type Q82794
action count
action filter_multi_types
action find_reverse
entity Q1794875
relation P706
type Q2221906
type Q82794
[[{'concept': 'Q2221906'}, {'concept': 'Q82794'}], 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) ?v WHERE { { ?i rdf:type ontology:Q2221906 . ?v rdf:type ontology:Q82794 . ?i property:P706 ?v } UNION { ?i property:P706 ?v . ?v rdf:type ontology:Q82794 . ?i rdf:type ontology:Q82794 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:P706 resource:Q1794875 . { ?x rdf:type ?y . VALUES ( ?y ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } } } } . FILTER ( ?n < ?m ) }
Niederwesterwald
action less
action union
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic region
action count
action filter_multi_types
action find_reverse
entity Niederwesterwald
relation located on terrain feature
type geographic location
type geographic region
[[{'concept': 'geographic location'}, {'concept': 'geographic region'}], 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) ?v WHERE { { ?i rdf:type ontology:geographic_location . ?v rdf:type ontology:geographic_region . ?i property:located_on_terrain_feature ?v } UNION { ?i property:located_on_terrain_feature ?v . ?v rdf:type ontology:geographic_region . ?i rdf:type ontology:geographic_region } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:located_on_terrain_feature resource:Niederwesterwald . { ?x rdf:type ?y . VALUES ( ?y ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } } } } . FILTER ( ?n < ?m ) }
[]
geographic region geographic location geographic region
Q20925112 Q22667180 Q22680049
SYSTEM
Bug Basin, Drwęca Basin, Pregolya Basin
Q3554041 Q3554044 Q316883 Q202322 Q1404827 Q22703273 Q917858 Q214662 Q833127 Q15758768 Q1746460 Q375953 Q22951373 Q3039434 Q192273 Q301774 Q132480 Q1221188 Q317751 Q875085 Q1295846 Q5567863 Q881921 Q15139349 Q13130354 Q383032 Q571696 Q2258070 Q1444797 Q671694 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 Q565751 Q569073 Q14215814 Q12046593 Q884616 Q13370189 Q912837 Q384885 Q16004976 Q897389 Q12880609 Q244451 Q7594902 Q14683140 Q734149 Q1682868 Q192201 Q2099232 Q1616130 Q897333 Q314741 Q690127 Q207388 Q7549778 Q481600 Q2199768 Q22667180 Q118899 Q1339950 Q1940689 Q734317 Q14210889 Q1592977 Q530131 Q16004873 Q16004874 Q16004956 Q1935344 Q1471257 Q22680049 Q257965 Q2282388 Q174994 Q1772582 Q1138800 Q575245 Q6515602 Q2866905
(c(Q2221906)|c(Q82794),P706,c(Q82794))
action less
action union
action find_reverse_tuple_counts
relation P706
type Q82794
type Q2221906
action find_reverse_tuple_counts
relation P706
type Q82794
type Q82794
action count
action filter_multi_types
action find_reverse
entity Q1794875
relation P706
type Q2221906
type Q82794
[ANSWERS] are the location where lesser number of geographic locations or geographic regions are located than Niederwesterwald
[[{'concept': 'Q2221906'}, {'concept': 'Q82794'}], 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) ?v WHERE { { ?i rdf:type ontology:Q2221906 . ?v rdf:type ontology:Q82794 . ?i property:P706 ?v } UNION { ?i property:P706 ?v . ?v rdf:type ontology:Q82794 . ?i rdf:type ontology:Q82794 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:P706 resource:Q1794875 . { ?x rdf:type ?y . VALUES ( ?y ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } } } } . FILTER ( ?n < ?m ) }
Matapédia Valley Vézère Valley Teltow Beqaa Valley The Fens Hockley Valley The Burren Budjak Lower Bavarian Upland Yangtze River basin Westmünsterland Altes Land Elbląg Basin Syrtis Major quadrangle Karelia Etschtal Kantō region Diepholzer Moorniederung Kehdingen Gastein Valley Wesermünde Geest Glen Lochay Eider-Treene Depression Helen Planitia quadrangle Nant Gwynant Brixental Hoeksche Waard Swabian Keuper-Lias Plains Frankenweide Krimpenerwaard 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 Epirus Outback Murg Valley Danube basin Drömling Neman Basin Glens of Antrim Val Gardena Guinevere Planitia quadrangle Altmühltal Makedonika Tembi Amazon basin St Nectan's Glen Little Yosemite Valley Torne Valley Krimmler Achental Wachau Pleiser Hügelland Hetch Hetchy Teufelsmoor Dresden Basin Lower Engadine Muntenia Soan Sakaser Valley Schönbuch Southern Flevoland Drwęca Basin Brazilian Highlands Sternberg lake district Central Black Forest Val Camonica Chao Phraya basin Heckengäu Taylor Valley Lavinia Planitia quadrangle Ishtar Terra quadrangle Sedna Planitia quadrangle Tarfala Valley Franconian Keuper-Lias Plains Pregolya Basin Val Müstair Siebenmühlental Bessarabia Thames Valley Pelagonia Chad Basin Tørdal Aspé Valley
Bug Basin, Drwęca Basin and Pregolya Basin are the location where lesser number of geographic locations or geographic regions are located than Niederwesterwald
Bug Basin Drwęca Basin Pregolya Basin
action less
action union
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic region
action count
action filter_multi_types
action find_reverse
entity Niederwesterwald
relation located on terrain feature
type geographic location
type geographic region
[[{'concept': 'geographic location'}, {'concept': 'geographic region'}], 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) ?v WHERE { { ?i rdf:type ontology:geographic_location . ?v rdf:type ontology:geographic_region . ?i property:located_on_terrain_feature ?v } UNION { ?i property:located_on_terrain_feature ?v . ?v rdf:type ontology:geographic_region . ?i rdf:type ontology:geographic_region } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:located_on_terrain_feature resource:Niederwesterwald . { ?x rdf:type ?y . VALUES ( ?y ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } } } } . FILTER ( ?n < ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q171393
P706
Q82794 Q2221906 Q82794
USER
And how about Wallachia?
(c(Q2221906)|c(Q82794),P706,c(Q82794))
action less
action union
action find_reverse_tuple_counts
relation P706
type Q82794
type Q2221906
action find_reverse_tuple_counts
relation P706
type Q82794
type Q82794
action count
action filter_multi_types
action find_reverse
entity Q171393
relation P706
type Q2221906
type Q82794
[[{'concept': 'Q2221906'}, {'concept': 'Q82794'}], 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) ?o WHERE { ?f rdf:type ?x . VALUES ( ?x ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } } GROUP BY ?o } . FILTER ( ?j < ?q ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { ?y rdf:type ?h . VALUES ( ?h ) { ( ontology:Q82794 ) ( ontology:Q2221906 ) } } . ?y property:P706 resource:Q171393 } } }
Wallachia
action less
action union
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic region
action count
action filter_multi_types
action find_reverse
entity Wallachia
relation located on terrain feature
type geographic location
type geographic region
[[{'concept': 'geographic location'}, {'concept': 'geographic region'}], 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) ?o WHERE { ?f rdf:type ?x . VALUES ( ?x ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } } GROUP BY ?o } . FILTER ( ?j < ?q ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { ?y rdf:type ?h . VALUES ( ?h ) { ( ontology:geographic_region ) ( ontology:geographic_location ) } } . ?y property:located_on_terrain_feature resource:Wallachia } } }
[]
geographic region geographic location geographic region
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 Q192273 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 Q1682868 Q192201 Q2099232 Q1616130 Q897333 Q314741 Q690127 Q207388 Q20906226 Q7549778 Q481600 Q2199768 Q22667180 Q118899 Q1339950 Q1940689 Q816843 Q734317 Q14210889 Q1592977 Q530131 Q16004873 Q16004874 Q16004956 Q170526 Q1935344 Q1471257 Q22680049 Q257965 Q2282388 Q174994 Q1772582 Q1138800 Q575245 Q6515602 Q2866905
(c(Q2221906)|c(Q82794),P706,c(Q82794))
action less
action union
action find_reverse_tuple_counts
relation P706
type Q82794
type Q2221906
action find_reverse_tuple_counts
relation P706
type Q82794
type Q82794
action count
action filter_multi_types
action find_reverse
entity Q171393
relation P706
type Q2221906
type Q82794
[ANSWERS]
[[{'concept': 'Q2221906'}, {'concept': 'Q82794'}], 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) ?o WHERE { ?f rdf:type ?x . VALUES ( ?x ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } } GROUP BY ?o } . FILTER ( ?j < ?q ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { ?y rdf:type ?h . VALUES ( ?h ) { ( ontology:Q82794 ) ( ontology:Q2221906 ) } } . ?y property:P706 resource:Q171393 } } }
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 Karelia 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 Krimmler Achental Wachau Pleiser Hügelland Hetch Hetchy Teufelsmoor Dresden Basin Lower Engadine Muntenia 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 Val Müstair Siebenmühlental Bessarabia Thames Valley Pelagonia Chad Basin Tørdal Aspé Valley
Vistula basin Bug Basin Narew Basin
action less
action union
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic region
action count
action filter_multi_types
action find_reverse
entity Wallachia
relation located on terrain feature
type geographic location
type geographic region
[[{'concept': 'geographic location'}, {'concept': 'geographic region'}], 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) ?o WHERE { ?f rdf:type ?x . VALUES ( ?x ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } } GROUP BY ?o } . FILTER ( ?j < ?q ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { ?y rdf:type ?h . VALUES ( ?h ) { ( ontology:geographic_region ) ( ontology:geographic_location ) } } . ?y property:located_on_terrain_feature resource:Wallachia } } }
[]