Simple Question (Direct)
Simple Question
Q688240
P17
Q15617994
USER
Which administrative territory is Emme situated in ?
(Q688240,P17,c(Q15617994))
action filter_type
action find
entity Q688240
relation P17
type Q15617994
['Q688240', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q688240 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Emme
action filter_type
action find
entity Emme
relation country
type designation for an administrative territorial entity
['Emme', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Emme property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q688240,P17,c(Q15617994))
action filter_type
action find
entity Q688240
relation P17
type Q15617994
Emme is situated in [ANSWER]
['Q688240', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q688240 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Switzerland
Emme is situated in Switzerland
Switzerland
action filter_type
action find
entity Emme
relation country
type designation for an administrative territorial entity
['Emme', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Emme property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q688240
P974
Q355304
USER
Which rivers or lakes flow into that one ?
(Q39,P974,c(Q355304))
action filter_type
action find
entity Q688240
relation P974
type Q355304
['Q39', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?g WHERE { resource:Q688240 property:P974 ?g . ?g rdf:type ontology:Q355304 }
Emme
action filter_type
action find
entity Emme
relation tributary
type watercourse
['Switzerland', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?g WHERE { resource:Emme property:tributary ?g . ?g rdf:type ontology:watercourse }
[]
watercourse
Q1471046 Q2502099
SYSTEM
Ilfis (river), Urtenen
Q1471046 Q2502099
(Q39,P974,c(Q355304))
action filter_type
action find
entity Q688240
relation P974
type Q355304
[ANSWERS] flow into that one
['Q39', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?g WHERE { resource:Q688240 property:P974 ?g . ?g rdf:type ontology:Q355304 }
Ilfis (river) Urtenen
Ilfis (river) and Urtenen flow into that one
Ilfis (river) Urtenen
action filter_type
action find
entity Emme
relation tributary
type watercourse
['Switzerland', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?g WHERE { resource:Emme property:tributary ?g . ?g rdf:type ontology:watercourse }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories do that watercourse belong to ?
(Q1471046,P17,c(Q15617994))
['Q1471046', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1471046 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['Ilfis (river)', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Ilfis_(river) property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q2502099
SYSTEM
Did you mean Urtenen ?
(Q1471046,P17,c(Q15617994)) (Q2502099,P17,c(Q15617994))
[ANSWER]
['Q1471046', 'P17', {'concept': 'Q15617994'}] ['Q2502099', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1471046 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Urtenen ?
Urtenen
['Ilfis (river)', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Urtenen', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Ilfis_(river) property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Ilfis (river). Could you tell me the answer for that?
(Q1471046,P17,c(Q15617994))
Q1471046
['Q1471046', 'P17', {'concept': 'Q15617994'}]
['Ilfis (river)', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q39
(Q1471046,P17,c(Q15617994))
[ANSWER]
['Q1471046', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1471046 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Switzerland
1
['Ilfis (river)', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Ilfis_(river) property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q10604657
P361
Q4830453 Q82794 Q355304
USER
Which watercourses are a portion of less number of business enterprises and geographic regions than Wättingeströmmen ?
(c(Q355304),P361,c(Q4830453)|c(Q82794))
action less
action union
action find_tuple_counts
relation P361
type Q355304
type Q4830453
action find_tuple_counts
relation P361
type Q355304
type Q82794
action count
action filter_multi_types
action find
entity Q10604657
relation P361
type Q4830453
type Q82794
[{'concept': 'Q355304'}, 'P361', [{'concept': 'Q4830453'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Q10604657 property:P361 ?f . { VALUES ( ?g ) { ( ontology:Q4830453 ) ( ontology:Q82794 ) } . ?f rdf:type ?g } } } . FILTER ( ?r < ?s ) . { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?r ) WHERE { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:Q4830453 ) ( ontology:Q82794 ) } } GROUP BY ?u } }
Wättingeströmmen
action less
action union
action find_tuple_counts
relation part of
type watercourse
type business enterprise
action find_tuple_counts
relation part of
type watercourse
type geographic region
action count
action filter_multi_types
action find
entity Wättingeströmmen
relation part of
type business enterprise
type geographic region
[{'concept': 'watercourse'}, 'part of', [{'concept': 'business enterprise'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Wättingeströmmen property:part_of ?f . { VALUES ( ?g ) { ( ontology:business_enterprise ) ( ontology:geographic_region ) } . ?f rdf:type ?g } } } . FILTER ( ?r < ?s ) . { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?r ) WHERE { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:business_enterprise ) ( ontology:geographic_region ) } } GROUP BY ?u } }
[]
business enterprise geographic region watercourse
Q941745 Q209891 Q214874
SYSTEM
Alfeios, Sura River, Jhelum River
Q38232 Q38604 Q3474287 Q6650876 Q16899180 Q37303 Q19371162 Q4525916 Q37515 Q37513 Q38736 Q14468586 Q1451182 Q1204160 Q38519 Q14875001 Q14714850 Q37812 Q1089031 Q8047210 Q3562321 Q2746999 Q11008122 Q36332 Q810526 Q1429734 Q2967747 Q2967745 Q2967741 Q2990535 Q6813913 Q1046875 Q672241 Q8058631 Q13185628 Q37369 Q13016179 Q13016176 Q1708121 Q37703 Q38574 Q4982362 Q6908578 Q941249 Q37411 Q5046437 Q573498 Q37415 Q37551 Q19558 Q38161 Q18293824 Q6109353 Q5585851 Q38244 Q38797 Q38247 Q6961571 Q3089832 Q652156 Q940305 Q4949596 Q650521 Q38549 Q38544 Q7852478 Q4966084 Q4926471 Q123058 Q730662 Q38330 Q1946396 Q211089 Q1635297 Q37826 Q1568711 Q11538700 Q5637 Q6693611 Q1552249 Q490295 Q1496402 Q7521090 Q37952 Q7690662 Q37454 Q2940848 Q37774 Q2006278 Q38120 Q37691 Q37752 Q14714687 Q2450564 Q7284626 Q38205 Q16307118 Q37472 Q824157 Q941745 Q37446 Q770907 Q37314 Q37522 Q663546 Q954384 Q232826 Q16893129 Q3652636 Q37729 Q38598 Q1532522 Q38590 Q24190406 Q21832876 Q1568140 Q38377 Q939218 Q38372 Q38379 Q37625 Q1194503 Q38477 Q25051479 Q38474 Q5275695 Q14685070 Q913539 Q1291809 Q24568667 Q1968596 Q1827108 Q214924 Q13016165 Q13016166 Q13016169 Q37919 Q11355802 Q37854 Q5306929 Q59067 Q37492 Q37493 Q3566505 Q37983 Q37981 Q209891 Q4261227 Q3432787 Q14684558 Q37357 Q37359 Q37358 Q4759277 Q22058797 Q1953821 Q37409 Q37408 Q382737 Q19368619 Q19322892 Q38622 Q38221 Q12981899 Q7689713 Q34221 Q1194094 Q223649 Q604144 Q37329 Q309243 Q24938562 Q38432 Q649907 Q17027505 Q37663 Q23926633 Q38531 Q38024 Q38026 Q1569059 Q1538524 Q1422753 Q15623410 Q37814 Q1997911 Q211852 Q830322 Q37818 Q7259932 Q4923510 Q5190052 Q38448 Q22692534 Q1137629 Q2430022 Q1046858 Q606130 Q37397 Q1475394 Q307675 Q5559152 Q6927684 Q3126744 Q37962 Q37966 Q739181 Q2940854 Q7350 Q38816 Q1277362 Q37689 Q38218 Q16307108 Q10917467 Q3694612 Q1030911 Q2923891 Q37249 Q37367 Q37533 Q20880767 Q38069 Q5567746 Q38067 Q43278 Q4980740 Q38580 Q38586 Q38369 Q555450 Q17493256 Q38565 Q37799 Q38562 Q38402 Q37790 Q2620166 Q16307083 Q37290 Q37299 Q37483 Q38086 Q79185 Q1382342 Q5599144 Q14714891 Q37992 Q21816316 Q37996 Q2967724 Q2967727 Q17294140 Q1101379 Q1130718 Q4999314 Q879159 Q7322166 Q3647343 Q38756 Q39544 Q37476 Q15169136 Q37475 Q38148 Q38227 Q38225 Q38141 Q7898564 Q38144 Q3295321 Q6505129 Q559340 Q18681909 Q552906 Q37505 Q626640 Q38709 Q37509 Q25106004 Q2844812 Q5019118 Q23729454 Q4712229 Q940892 Q38522 Q38525 Q210280 Q495475 Q1524840 Q38350 Q779607 Q37895 Q37891 Q1046868 Q639731 Q794701 Q577886 Q37977 Q37971 Q5215962 Q1152951 Q14309 Q6961972 Q14713866 Q38772 Q37274 Q37377 Q37427 Q37421 Q481339 Q37423 Q959903 Q187918 Q37545 Q38078 Q2923900 Q38177 Q38073 Q38275 Q16937744 Q5166828 Q38397 Q7548048 Q37418 Q38553 Q38557 Q38413 Q651323 Q38417 Q324404 Q827919 Q11532270 Q14935896 Q7994657 Q38488 Q37933 Q1393763 Q37289 Q37288 Q37926 Q11563734 Q2936058 Q2662478 Q38091 Q38093 Q5379359 Q214874 Q248285 Q2967735 Q15208043 Q10466780 Q6545563 Q37949 Q426309 Q37580 Q37747 Q37460
(c(Q355304),P361,c(Q4830453)|c(Q82794))
action less
action union
action find_tuple_counts
relation P361
type Q355304
type Q4830453
action find_tuple_counts
relation P361
type Q355304
type Q82794
action count
action filter_multi_types
action find
entity Q10604657
relation P361
type Q4830453
type Q82794
[ANSWERS] are a portion of less number of business enterprises and geographic regions than Wättingeströmmen
[{'concept': 'Q355304'}, 'P361', [{'concept': 'Q4830453'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Q10604657 property:P361 ?f . { VALUES ( ?g ) { ( ontology:Q4830453 ) ( ontology:Q82794 ) } . ?f rdf:type ?g } } } . FILTER ( ?r < ?s ) . { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?r ) WHERE { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:Q4830453 ) ( ontology:Q82794 ) } } GROUP BY ?u } }
Tueeulala Falls Virginia Falls saut de la Lézarde Little Mashel River Waterfalls Rearguard Falls Unchalli Falls Cascade de Cerveyrieu Chaudière Falls McLean Falls Depot Creek Falls Wells Creek Falls Lisbon Falls Pliva Waterfall Ibi River Gullfoss Nistowiak Falls Terraced Falls Blaeberry Falls Sichuan River Yakso Falls Bridal Veil Falls (Salazie) Celilo Falls Malanda Falls Iguaçu Falls bassin de la Villette Selfoss Carbet Falls Reversing Falls Rideau Falls Uchan-su Melville Water Cascade du Ray-Pic Jog Falls Youngs River Falls Rupse Falls Keyhole Falls Erawan waterfall Sapan waterfall Gokak Falls Emperor Falls Coomera Falls Vantaankoski Moose Falls Leichhardt Falls Dawson Falls Carrington Falls Danube Bend Mekedaatu Devon Falls Inga Falls Khone Phapheng Falls Nautelankoski J C Slaughter Falls Gordon Splits Nigretta Falls Barehipani Falls Virginia Cascades Namekagon River Hopetoun Falls Lachine Rapids Kalandula Falls Boulder River Waterfalls High Rhine Dinner Falls Wannon Falls Tumalo Falls Bridal Veil Falls Bliha Waterfall Kakabeka Falls Köhlbrand Pywiack Cascade Montmorency Falls Büyük Menderes River Shoshone Falls Twin Falls Mavroneri Azusa River Elbląg Canal Lower Mesa Falls Mutumuna Falls Tequendama Falls Gavarnie Falls Simpson Falls Weeks Falls Tchimbélé Burgess Falls Riandahy Falls Great Falls Lone Creek Falls Kaieteur Falls Ashlu Falls Tip Toe Falls Colonnade Falls canale di Cannaregio Rainbow Falls Namtok Sri Dit Khao Sip Ha Chan waterfall Kravice Dujiangyan Irrigation System Alfeios La Fortuna Waterfall Augustów Canal Apsley Falls Chutes de la Chaudière Upper Rhine Cascades de Karfiguéla Zweigkanal Kapachira Falls Ellenborough Falls Hogenakkal Falls Christine Falls Schie Narada Falls White's Falls Main canal of Vileyka-Minsk water system Hafragilsfoss Palaruvi Falls Cocytus Chitrakoot Falls Thalaiyar Falls Progreston Falls Afon Gwendraeth Fawr Huka Falls Matang Tubig Ki-a-Kuts Falls Dights Falls Rainbow Falls (Manitou Springs, Colorado) Bridal Veil Falls Kettle Falls Willibrordusput Rainbow Falls Aldeyjarfoss Rhine Falls Ton Tong waterfall Than Sawan waterfall Tat Luang waterfall Agate Falls Scenic Site Sanjō Falls Huilo-Huilo Falls Iris Falls Browns Falls Upper Weeks Falls Falls of Clyde Selemnos Denny Camp Falls Twin Falls Sura River Ligovsky Canal rio del Palazzo Helen Hunt Falls Asbestos Falls Bechler Falls Kaeng Song waterfall Andriamamovoka Falls Great Falls Murray Mouth Upper Comet Falls Aberdeen Falls Talakona Puits des Tines Salmon River Falls DeSoto Falls Maria Cristina Falls Štrbački buk Tay Canal Niagara Falls Nagara River Tugela Falls Félou Falls Cascata del Toce Grand Canal Agasthiyar Falls Huangguoshu Waterfall Cataracts of the Nile Mayur River Blum Basin Falls Pringle Falls Barron Falls St. Anne Falls Steavenson Falls Storforsen Gosen Canal Sacrow–Paretz Canal Wyoming Division Canal Ryūzu Falls Norderelbe Ionides Kupfergraben Kaeng Sopha waterfall Punch Bowl Falls Blackwall Reach Crumlin Arm Purakaunui Falls Kästleinsmühlbach Goðafoss Thur waterfalls Grand Galet Falls Gouina Falls Similkameen Falls Great Falls Öxarárfoss Gibraltar Falls Moyie Falls Hanford Reach Swiftcurrent Falls Upper Mesa Falls Athabasca Falls Sakaleona Falls Panama Canal Kunchikal Falls Plästerlegge Lewis Falls Salto del Nilahue Huai Hin Fon waterfall Diaoshuilou Waterfall Hundru Falls Yellowstone Falls Bras Rouge Sulphide Creek Falls Wapta Falls Sadni Falls Scudders Falls Nellie Falls Glen Falls Firehole Falls Victoria Falls Brychon Cascata delle Marmore Nevada Fall Shifen waterfall Akerselva Steinbach Tinaroo Falls Churchill Falls Bloomfield Falls Dry Falls Tully Falls Vernal Fall Sip Et Chan waterfall Comet Falls Herbert River Falls Chedoke Falls Mazama Falls Peenestrom Acis Great Falls East Aspetuck River Cohoes Falls Saut-Mathurine Great Conglomerate Falls Bridal Veil Falls Coulonge Chutes Pulo do Lobo Ruacana Falls Skógafoss Burlong Pool, Western Australia Lichtenhain Waterfall Rianbavy Falls Wollomombi Falls Purwa Falls Augrabies Falls Abe Great Falls Katoomba Falls Hagi Falls Jōren Falls Wapama Falls Thi Lo Su waterfall Trummelbach Upper Chush Falls Trollhättan Falls Edith Falls Laxapana Falls Livingstone Falls Juvankoski Powerscourt Waterfall Yellala Falls Barnafossar Salto Grande Chasm Falls Doovili Ella Falls Solimões Caldron Linn Afon Gwendraeth Fach Valea Seacă River Guaíra Falls Gibbon Falls Howick Falls Dettifoss Murchison Falls Western Scheldt St. Clair's Falls Kiso River Grindstone Cascade Rainbow Falls Niagara Falls Krimml Waterfalls Tumwater Falls Agua Azul Middle Twin Falls Nugget Falls Dangar Falls Nederrijn Guadalquivir Namo Falls Paradise River waterfalls Kanangra Falls Tarawera Falls Upper Twin Falls Bond Falls Franklin Falls Seerhein Lodh Falls Rusumo Falls Epupa Falls Dudhsagar Falls Manido Falls Bras de Cilaos Dhuandhar Falls Twin Falls Nawadaha Falls Reutenbach Coode Canal Shivanasamudra Falls Snoqualmie Falls Kepler Cascades Ebor Falls Yarrbilgong Falls Shaki Waterfall Rideau Canal Boyoma Falls Luisenstadt Canal Süderelbe Matsumi Falls Perth Water White Drin Waterfall Cumberland Falls Raneh Falls Kiutaköngäs Bow Falls Van Trump Falls Manabezho Falls Yudaki Falls canale della Giudecca Mongefossen Irupu Falls Barkana Falls Enoggera Creek Jhelum River ignition source Owen Falls Cauldron Linn (River Devon) Danvik canal Liffey Falls Overlander Falls Spercheios Kegon Falls Laughing Whitefish Falls Scenic Site Eagle Falls
Alfeios, Sura River and Jhelum River are a portion of less number of business enterprises and geographic regions than Wättingeströmmen
Alfeios Sura River Jhelum River
action less
action union
action find_tuple_counts
relation part of
type watercourse
type business enterprise
action find_tuple_counts
relation part of
type watercourse
type geographic region
action count
action filter_multi_types
action find
entity Wättingeströmmen
relation part of
type business enterprise
type geographic region
[{'concept': 'watercourse'}, 'part of', [{'concept': 'business enterprise'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Wättingeströmmen property:part_of ?f . { VALUES ( ?g ) { ( ontology:business_enterprise ) ( ontology:geographic_region ) } . ?f rdf:type ?g } } } . FILTER ( ?r < ?s ) . { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?r ) WHERE { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:business_enterprise ) ( ontology:geographic_region ) } } GROUP BY ?u } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q19296185
P138
Q355304 Q159334 Q1048835
USER
Which watercourses are the etymology of more number of secondary schools and political territories than Melbecke ?
(c(Q159334)|c(Q1048835),P138,c(Q355304))
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q355304
type Q159334
action find_reverse_tuple_counts
relation P138
type Q355304
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q19296185
relation P138
type Q159334
type Q1048835
[[{'concept': 'Q159334'}, {'concept': 'Q1048835'}], 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P138 resource:Q19296185 . { VALUES ( ?i ) { ( ontology:Q159334 ) ( ontology:Q1048835 ) } . ?v rdf:type ?i } } } . FILTER ( ?c > ?d ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?c ) WHERE { { ?g property:P138 ?q . ?q rdf:type ontology:Q355304 . ?g rdf:type ontology:Q159334 } UNION { ?g property:P138 ?q . ?q rdf:type ontology:Q355304 . ?g rdf:type ontology:Q1048835 } } GROUP BY ?q } }
Melbecke
action greater
action union
action find_reverse_tuple_counts
relation named after
type watercourse
type secondary school
action find_reverse_tuple_counts
relation named after
type watercourse
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Melbecke
relation named after
type secondary school
type political territorial entity
[[{'concept': 'secondary school'}, {'concept': 'political territorial entity'}], 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:named_after resource:Melbecke . { VALUES ( ?i ) { ( ontology:secondary_school ) ( ontology:political_territorial_entity ) } . ?v rdf:type ?i } } } . FILTER ( ?c > ?d ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?c ) WHERE { { ?g property:named_after ?q . ?q rdf:type ontology:watercourse . ?g rdf:type ontology:secondary_school } UNION { ?g property:named_after ?q . ?q rdf:type ontology:watercourse . ?g rdf:type ontology:political_territorial_entity } } GROUP BY ?q } }
[]
watercourse secondary school political territorial entity
Q584 Q41986 Q153317
SYSTEM
Rhine, Meuse, Inde
Q4689339 Q153317 Q41986 Q584 Q173017 Q890526
(c(Q159334)|c(Q1048835),P138,c(Q355304))
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q355304
type Q159334
action find_reverse_tuple_counts
relation P138
type Q355304
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q19296185
relation P138
type Q159334
type Q1048835
[ANSWERS] are the etymology of more number of secondary schools and political territories than Melbecke
[[{'concept': 'Q159334'}, {'concept': 'Q1048835'}], 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P138 resource:Q19296185 . { VALUES ( ?i ) { ( ontology:Q159334 ) ( ontology:Q1048835 ) } . ?v rdf:type ?i } } } . FILTER ( ?c > ?d ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?c ) WHERE { { ?g property:P138 ?q . ?q rdf:type ontology:Q355304 . ?g rdf:type ontology:Q159334 } UNION { ?g property:P138 ?q . ?q rdf:type ontology:Q355304 . ?g rdf:type ontology:Q1048835 } } GROUP BY ?q } }
Afon Lwyd Inde Meuse Rhine Limpopo River Kymi River
Rhine, Meuse and Inde are the etymology of more number of secondary schools and political territories than Melbecke
Rhine Meuse Inde
action greater
action union
action find_reverse_tuple_counts
relation named after
type watercourse
type secondary school
action find_reverse_tuple_counts
relation named after
type watercourse
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Melbecke
relation named after
type secondary school
type political territorial entity
[[{'concept': 'secondary school'}, {'concept': 'political territorial entity'}], 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:named_after resource:Melbecke . { VALUES ( ?i ) { ( ontology:secondary_school ) ( ontology:political_territorial_entity ) } . ?v rdf:type ?i } } } . FILTER ( ?c > ?d ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?c ) WHERE { { ?g property:named_after ?q . ?q rdf:type ontology:watercourse . ?g rdf:type ontology:secondary_school } UNION { ?g property:named_after ?q . ?q rdf:type ontology:watercourse . ?g rdf:type ontology:political_territorial_entity } } GROUP BY ?q } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q40855
P138
Q355304 Q159334 Q1048835
USER
And how about Dnieper River?
(c(Q159334)|c(Q1048835),P138,c(Q355304))
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q355304
type Q159334
action find_reverse_tuple_counts
relation P138
type Q355304
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q40855
relation P138
type Q159334
type Q1048835
[[{'concept': 'Q159334'}, {'concept': 'Q1048835'}], 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?i WHERE { VALUES ( ?b ) { ( ontology:Q159334 ) ( ontology:Q1048835 ) } . ?s rdf:type ?b } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:P138 resource:Q40855 . { { ?a rdf:type ontology:Q159334 } UNION { ?a rdf:type ontology:Q1048835 } } } } . FILTER ( ?z > ?x ) }
Dnieper River
action greater
action union
action find_reverse_tuple_counts
relation named after
type watercourse
type secondary school
action find_reverse_tuple_counts
relation named after
type watercourse
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Dnieper River
relation named after
type secondary school
type political territorial entity
[[{'concept': 'secondary school'}, {'concept': 'political territorial entity'}], 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?i WHERE { VALUES ( ?b ) { ( ontology:secondary_school ) ( ontology:political_territorial_entity ) } . ?s rdf:type ?b } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:named_after resource:Dnieper_River . { { ?a rdf:type ontology:secondary_school } UNION { ?a rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?z > ?x ) }
[]
watercourse secondary school political territorial entity
Q584 Q41986 Q153317
SYSTEM
Rhine, Meuse, Inde
Q4689339 Q153317 Q41986 Q584 Q173017 Q890526
(c(Q159334)|c(Q1048835),P138,c(Q355304))
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q355304
type Q159334
action find_reverse_tuple_counts
relation P138
type Q355304
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q40855
relation P138
type Q159334
type Q1048835
[ANSWERS]
[[{'concept': 'Q159334'}, {'concept': 'Q1048835'}], 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?i WHERE { VALUES ( ?b ) { ( ontology:Q159334 ) ( ontology:Q1048835 ) } . ?s rdf:type ?b } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:P138 resource:Q40855 . { { ?a rdf:type ontology:Q159334 } UNION { ?a rdf:type ontology:Q1048835 } } } } . FILTER ( ?z > ?x ) }
Afon Lwyd Inde Meuse Rhine Limpopo River Kymi River
Rhine Meuse Inde
action greater
action union
action find_reverse_tuple_counts
relation named after
type watercourse
type secondary school
action find_reverse_tuple_counts
relation named after
type watercourse
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Dnieper River
relation named after
type secondary school
type political territorial entity
[[{'concept': 'secondary school'}, {'concept': 'political territorial entity'}], 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?i WHERE { VALUES ( ?b ) { ( ontology:secondary_school ) ( ontology:political_territorial_entity ) } . ?s rdf:type ?b } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:named_after resource:Dnieper_River . { { ?a rdf:type ontology:secondary_school } UNION { ?a rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?z > ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1229
P180
Q355304 Q340169 Q2342494
USER
Which watercourses are expressed in approximately the same number of medias or collectables as Don ?
(c(Q340169)|c(Q2342494),P180,c(Q355304))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q355304
type Q340169
action find_reverse_tuple_counts
relation P180
type Q355304
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1229
relation P180
type Q340169
type Q2342494
[[{'concept': 'Q340169'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q355304'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?m WHERE { { ?i property:P180 ?m . ?m rdf:type ontology:Q355304 . ?i rdf:type ontology:Q340169 } UNION { ?i property:P180 ?m . ?m rdf:type ontology:Q355304 . ?i rdf:type ontology:Q2342494 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P180 resource:Q1229 . { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:Q340169 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?s = ?r ) }
Don
action approx
action union
action find_reverse_tuple_counts
relation depicts
type watercourse
type media
action find_reverse_tuple_counts
relation depicts
type watercourse
type collectable
action count
action filter_multi_types
action find_reverse
entity Don
relation depicts
type media
type collectable
[[{'concept': 'media'}, {'concept': 'collectable'}], 'depicts', {'concept': 'watercourse'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?m WHERE { { ?i property:depicts ?m . ?m rdf:type ontology:watercourse . ?i rdf:type ontology:media } UNION { ?i property:depicts ?m . ?m rdf:type ontology:watercourse . ?i rdf:type ontology:collectable } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:depicts resource:Don . { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:media ) ( ontology:collectable ) } } } } . FILTER ( ?s = ?r ) }
[]
watercourse media collectable
Q1644 Q131574 Q1653
SYSTEM
Elbe, Vltava, Danube
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 Q309243 Q842462 Q1469 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 Q47521 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 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 Q13125375 Q969618 Q1219 Q115457 Q4689303 Q7337369 Q185405 Q2527535 Q37529 Q13125377 Q602 Q383379 Q4689339 Q24662715 Q478348 Q679050 Q2936058 Q19700 Q25929266 Q279370 Q17264744 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(Q340169)|c(Q2342494),P180,c(Q355304))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q355304
type Q340169
action find_reverse_tuple_counts
relation P180
type Q355304
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1229
relation P180
type Q340169
type Q2342494
[ANSWERS] are expressed in approximately the same number of medias or collectables as Don
[[{'concept': 'Q340169'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q355304'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?m WHERE { { ?i property:P180 ?m . ?m rdf:type ontology:Q355304 . ?i rdf:type ontology:Q340169 } UNION { ?i property:P180 ?m . ?m rdf:type ontology:Q355304 . ?i rdf:type ontology:Q2342494 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P180 resource:Q1229 . { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:Q340169 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?s = ?r ) }
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 Grand Canal Vilaine Loire 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 stream 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 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 Afon Gain Touques 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 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
Elbe, Vltava and Danube are expressed in approximately the same number of medias or collectables as Don
Elbe Vltava Danube
action approx
action union
action find_reverse_tuple_counts
relation depicts
type watercourse
type media
action find_reverse_tuple_counts
relation depicts
type watercourse
type collectable
action count
action filter_multi_types
action find_reverse
entity Don
relation depicts
type media
type collectable
[[{'concept': 'media'}, {'concept': 'collectable'}], 'depicts', {'concept': 'watercourse'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?m WHERE { { ?i property:depicts ?m . ?m rdf:type ontology:watercourse . ?i rdf:type ontology:media } UNION { ?i property:depicts ?m . ?m rdf:type ontology:watercourse . ?i rdf:type ontology:collectable } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:depicts resource:Don . { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:media ) ( ontology:collectable ) } } } } . FILTER ( ?s = ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1658567
P180
Q355304 Q340169 Q2342494
USER
And how about Ilisos?
(c(Q340169)|c(Q2342494),P180,c(Q355304))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q355304
type Q340169
action find_reverse_tuple_counts
relation P180
type Q355304
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1658567
relation P180
type Q340169
type Q2342494
[[{'concept': 'Q340169'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q355304'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P180 resource:Q1658567 . { VALUES ( ?x ) { ( ontology:Q2342494 ) ( ontology:Q340169 ) } . ?u rdf:type ?x } } } . FILTER ( ?v = ?q ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:P180 ?d . ?d rdf:type ontology:Q355304 . ?z rdf:type ontology:Q340169 } UNION { ?z property:P180 ?d . ?d rdf:type ontology:Q355304 . ?z rdf:type ontology:Q2342494 } } GROUP BY ?d } }
Ilisos
action approx
action union
action find_reverse_tuple_counts
relation depicts
type watercourse
type media
action find_reverse_tuple_counts
relation depicts
type watercourse
type collectable
action count
action filter_multi_types
action find_reverse
entity Ilisos
relation depicts
type media
type collectable
[[{'concept': 'media'}, {'concept': 'collectable'}], 'depicts', {'concept': 'watercourse'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:depicts resource:Ilisos . { VALUES ( ?x ) { ( ontology:collectable ) ( ontology:media ) } . ?u rdf:type ?x } } } . FILTER ( ?v = ?q ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:depicts ?d . ?d rdf:type ontology:watercourse . ?z rdf:type ontology:media } UNION { ?z property:depicts ?d . ?d rdf:type ontology:watercourse . ?z rdf:type ontology:collectable } } GROUP BY ?d } }
[]
watercourse media collectable
Q1644 Q131574 Q1653
SYSTEM
Elbe, Vltava, Danube
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 Q309243 Q842462 Q1469 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 Q47521 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 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 Q13125375 Q969618 Q1219 Q115457 Q4689303 Q7337369 Q185405 Q2527535 Q37529 Q13125377 Q602 Q383379 Q4689339 Q24662715 Q478348 Q679050 Q2936058 Q19700 Q25929266 Q279370 Q17264744 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(Q340169)|c(Q2342494),P180,c(Q355304))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q355304
type Q340169
action find_reverse_tuple_counts
relation P180
type Q355304
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1658567
relation P180
type Q340169
type Q2342494
[ANSWERS]
[[{'concept': 'Q340169'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q355304'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P180 resource:Q1658567 . { VALUES ( ?x ) { ( ontology:Q2342494 ) ( ontology:Q340169 ) } . ?u rdf:type ?x } } } . FILTER ( ?v = ?q ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:P180 ?d . ?d rdf:type ontology:Q355304 . ?z rdf:type ontology:Q340169 } UNION { ?z property:P180 ?d . ?d rdf:type ontology:Q355304 . ?z rdf:type ontology:Q2342494 } } GROUP BY ?d } }
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 Grand Canal Vilaine Loire 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 stream 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 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 Afon Gain Touques 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 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
Elbe Vltava Danube
action approx
action union
action find_reverse_tuple_counts
relation depicts
type watercourse
type media
action find_reverse_tuple_counts
relation depicts
type watercourse
type collectable
action count
action filter_multi_types
action find_reverse
entity Ilisos
relation depicts
type media
type collectable
[[{'concept': 'media'}, {'concept': 'collectable'}], 'depicts', {'concept': 'watercourse'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:depicts resource:Ilisos . { VALUES ( ?x ) { ( ontology:collectable ) ( ontology:media ) } . ?u rdf:type ?x } } } . FILTER ( ?v = ?q ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:depicts ?d . ?d rdf:type ontology:watercourse . ?z rdf:type ontology:media } UNION { ?z property:depicts ?d . ?d rdf:type ontology:watercourse . ?z rdf:type ontology:collectable } } GROUP BY ?d } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P974
Q355304
USER
How many watercourses are the tributaries of that watercourse ?
(Q131574,P974,c(Q355304))
['Q131574', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q131574 property:Q159675 ?z . ?z rdf:type ontology:Q355304 }
['Vltava', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Vltava property:tributary ?z . ?z rdf:type ontology:watercourse }
[]
watercourse
Quantitative|Count|Single entity type|Clarification
Q1644
SYSTEM
Did you mean Elbe ?
(Q1644,P974,c(Q355304)) (Q131574,P974,c(Q355304)) (Q1653,P974,c(Q355304))
[ANSWER]
['Q1644', 'P974', {'concept': 'Q355304'}] ['Q131574', 'P974', {'concept': 'Q355304'}] ['Q1653', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q131574 property:Q159675 ?z . ?z rdf:type ontology:Q355304 }
Did you mean Elbe ?
Elbe
['Elbe', 'tributary', {'concept': 'watercourse'}] ['Vltava', 'tributary', {'concept': 'watercourse'}] ['Danube', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Vltava property:tributary ?z . ?z rdf:type ontology:watercourse }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Vltava. Could you tell me the answer for that?
(Q131574,P974,c(Q355304))
Q131574
['Q131574', 'P974', {'concept': 'Q355304'}]
['Vltava', 'tributary', {'concept': 'watercourse'}]
[]
SYSTEM
9
Q894740 Q827033 Q10949644 Q1507602 Q2162612 Q20658523 Q688880 Q279943 Q19297637
(Q131574,P974,c(Q355304))
[ANSWER]
['Q131574', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q131574 property:Q159675 ?z . ?z rdf:type ontology:Q355304 }
Botič Berounka Polečnice Otava Rokytka Strážný potok Malše Lužnice Olšina
9
['Vltava', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Vltava property:tributary ?z . ?z rdf:type ontology:watercourse }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q214874
P201
Q337567
USER
Where does Jhelum River gush out from ?
(c(Q337567),P201,Q214874)
action filter_type
action find_reverse
entity Q214874
relation P201
type Q337567
[{'concept': 'Q337567'}, 'P201', 'Q214874']
SELECT DISTINCT ?l WHERE { ?l property:P201 resource:Q214874 . ?l rdf:type ontology:Q337567 }
Jhelum River
action filter_type
action find_reverse
entity Jhelum River
relation lake outflow
type still waters
[{'concept': 'still waters'}, 'lake outflow', 'Jhelum River']
SELECT DISTINCT ?l WHERE { ?l property:lake_outflow resource:Jhelum_River . ?l rdf:type ontology:still_waters }
[]
still waters
Q744741
SYSTEM
Wular Lake
Q744741
(c(Q337567),P201,Q214874)
action filter_type
action find_reverse
entity Q214874
relation P201
type Q337567
[ANSWER] Jhelum River gushes out from
[{'concept': 'Q337567'}, 'P201', 'Q214874']
SELECT DISTINCT ?l WHERE { ?l property:P201 resource:Q214874 . ?l rdf:type ontology:Q337567 }
Wular Lake
Wular Lake Jhelum River gushes out from
Wular Lake
action filter_type
action find_reverse
entity Jhelum River
relation lake outflow
type still waters
[{'concept': 'still waters'}, 'lake outflow', 'Jhelum River']
SELECT DISTINCT ?l WHERE { ?l property:lake_outflow resource:Jhelum_River . ?l rdf:type ontology:still_waters }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q214874
P30
Q2221906
USER
Where is Jhelum River situated ?
(Q214874,P30,c(Q2221906))
action filter_type
action find
entity Q214874
relation P30
type Q2221906
['Q214874', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?j WHERE { resource:Q214874 property:P30 ?j . ?j rdf:type ontology:Q2221906 }
Jhelum River
action filter_type
action find
entity Jhelum River
relation continent
type geographic location
['Jhelum River', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?j WHERE { resource:Jhelum_River property:continent ?j . ?j rdf:type ontology:geographic_location }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q214874,P30,c(Q2221906))
action filter_type
action find
entity Q214874
relation P30
type Q2221906
Jhelum River is situated in [ANSWER]
['Q214874', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?j WHERE { resource:Q214874 property:P30 ?j . ?j rdf:type ontology:Q2221906 }
Asia
Jhelum River is situated in Asia
Asia
action filter_type
action find
entity Jhelum River
relation continent
type geographic location
['Jhelum River', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?j WHERE { resource:Jhelum_River property:continent ?j . ?j rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131574
P200
Q337567
USER
Where do Vltava flow into ?
(c(Q337567),P200,Q131574)
action filter_type
action find_reverse
entity Q131574
relation P200
type Q337567
[{'concept': 'Q337567'}, 'P200', 'Q131574']
SELECT DISTINCT ?w WHERE { ?w property:P200 resource:Q131574 . ?w rdf:type ontology:Q337567 }
Vltava
action filter_type
action find_reverse
entity Vltava
relation lake inflows
type still waters
[{'concept': 'still waters'}, 'lake inflows', 'Vltava']
SELECT DISTINCT ?w WHERE { ?w property:lake_inflows resource:Vltava . ?w rdf:type ontology:still_waters }
[]
still waters
Q1757602 Q1727768
SYSTEM
Orlík Dam, Štěchovice Reservoir
Q1757602 Q1727768
(c(Q337567),P200,Q131574)
action filter_type
action find_reverse
entity Q131574
relation P200
type Q337567
Into Vltava flow from [ANSWERS]
[{'concept': 'Q337567'}, 'P200', 'Q131574']
SELECT DISTINCT ?w WHERE { ?w property:P200 resource:Q131574 . ?w rdf:type ontology:Q337567 }
Orlík Dam Štěchovice Reservoir
Into Vltava flow from Orlík Dam and Štěchovice Reservoir
Orlík Dam Štěchovice Reservoir
action filter_type
action find_reverse
entity Vltava
relation lake inflows
type still waters
[{'concept': 'still waters'}, 'lake inflows', 'Vltava']
SELECT DISTINCT ?w WHERE { ?w property:lake_inflows resource:Vltava . ?w rdf:type ontology:still_waters }
[]