Simple Question (Direct)
Simple Question
Q17612538
P19
Q56061
USER
Where was Goran Labus born ?
(Q17612538,P19,c(Q56061))
action filter_type
action find
entity Q17612538
relation P19
type Q56061
['Q17612538', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q17612538 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Goran Labus
action filter_type
action find
entity Goran Labus
relation place of birth
type administrative territorial entity
['Goran Labus', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Goran_Labus property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q55630
SYSTEM
Novi Sad
Q55630
(Q17612538,P19,c(Q56061))
action filter_type
action find
entity Q17612538
relation P19
type Q56061
Goran Labus was born in [ANSWER]
['Q17612538', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q17612538 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Novi Sad
Goran Labus was born in Novi Sad
Novi Sad
action filter_type
action find
entity Goran Labus
relation place of birth
type administrative territorial entity
['Goran Labus', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Goran_Labus property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q55630
P206
Q355304
USER
Which watercourse is situated close to that administrative territory ?
(Q55630,P206,c(Q355304))
action filter_type
action find
entity Q55630
relation P206
type Q355304
['Q55630', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?q WHERE { resource:Q55630 property:P206 ?q . ?q rdf:type ontology:Q355304 }
Novi Sad
action filter_type
action find
entity Novi Sad
relation located next to body of water
type watercourse
['Novi Sad', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?q WHERE { resource:Novi_Sad property:located_next_to_body_of_water ?q . ?q rdf:type ontology:watercourse }
[]
watercourse
Q1653
SYSTEM
Danube
Q1653
(Q55630,P206,c(Q355304))
action filter_type
action find
entity Q55630
relation P206
type Q355304
River [ANSWER] is situated close to that administrative territory
['Q55630', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?q WHERE { resource:Q55630 property:P206 ?q . ?q rdf:type ontology:Q355304 }
Danube
River Danube is situated close to that administrative territory
Danube
action filter_type
action find
entity Novi Sad
relation located next to body of water
type watercourse
['Novi Sad', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?q WHERE { resource:Novi_Sad property:located_next_to_body_of_water ?q . ?q rdf:type ontology:watercourse }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q355304 Q355304 Q15617994
USER
Which watercourses are the etymology of exactly 1 watercourses and administrative territories ?
(c(Q355304)|c(Q15617994),P138,c(Q355304))
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q355304
type Q355304
action find_reverse_tuple_counts
relation P138
type Q355304
type Q15617994
value 1
[[{'concept': 'Q355304'}, {'concept': 'Q15617994'}], 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?i WHERE { VALUES ( ?x ) { ( ontology:Q355304 ) ( ontology:Q15617994 ) } . ?g rdf:type ?x } GROUP BY ?i } . FILTER ( ?w = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation named after
type watercourse
type watercourse
action find_reverse_tuple_counts
relation named after
type watercourse
type designation for an administrative territorial entity
value 1
[[{'concept': 'watercourse'}, {'concept': 'designation for an administrative territorial entity'}], 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?i WHERE { VALUES ( ?x ) { ( ontology:watercourse ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?g rdf:type ?x } GROUP BY ?i } . FILTER ( ?w = 1 ) }
[]
watercourse watercourse designation for an administrative territorial entity
Q1644 Q104437 Q643
SYSTEM
Elbe, Yukon River, Po
Q568686 Q257575 Q829239 Q1658 Q1650 Q1245601 Q933979 Q14372 Q40059 Q152331 Q934226 Q280650 Q743296 Q104437 Q659526 Q1816468 Q152484 Q497327 Q751887 Q115457 Q3280 Q405836 Q1225928 Q824585 Q539053 Q836299 Q1366872 Q3569 Q2464 Q2091292 Q490456 Q534813 Q462193 Q636608 Q208174 Q736290 Q704771 Q640263 Q315322 Q756886 Q1897196 Q851323 Q548466 Q841451 Q842462 Q450135 Q19721 Q1248298 Q649519 Q261717 Q649696 Q41962 Q875959 Q208267 Q160698 Q153945 Q633819 Q3047 Q1664 Q18451 Q826000 Q1644 Q675028 Q13712 Q213967 Q201341 Q1482537 Q160819 Q598322 Q895780 Q172089 Q643 Q7348 Q1456175 Q736600 Q1127173 Q208493 Q37646 Q214240 Q153972 Q562319 Q81773 Q1119726
(c(Q355304)|c(Q15617994),P138,c(Q355304))
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q355304
type Q355304
action find_reverse_tuple_counts
relation P138
type Q355304
type Q15617994
value 1
The etymology of exactly 1 watercourses and administrative territories are the [ANSWERS]
[[{'concept': 'Q355304'}, {'concept': 'Q15617994'}], 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?i WHERE { VALUES ( ?x ) { ( ontology:Q355304 ) ( ontology:Q15617994 ) } . ?g rdf:type ?x } GROUP BY ?i } . FILTER ( ?w = 1 ) }
Corrèze Mella Medebach Peene Weser Loiret Var Doubs Jordan River Rur Dyle / Dijle Mayenne Drôme Yukon River Orne fontaine de Vaucluse Sieg Gardon Aveyron Arno Warnow Ain Sèvre Niortaise Bieber Moldova River Gers Eschach Senegal river Allier Grande Nèthe Seeve Essonne Apfelstädt Taro Dordogne Ombrone Wied Ardèche Nette Maine Stura di Demonte Tanaro Aube Creuse Vilaine Wetter Clyde Sesia Golo Gladbach Vendée Aisne Veybach Sambre Ourthe Lippe Arve Saskatchewan River Ruhr Ariège Gehlsbach Elbe Dora Baltea Tiber Yonne Isère Liamone Gambia River Sèvre Nantaise Stepenitz Oka River Po Indus River Nièvre Sarthe Rance Leie River Somme Aude Saar Ennepe Hérault Nesse
The etymology of exactly 1 watercourses and administrative territories are the Elbe, Yukon River and Po
Elbe Yukon River Po
action equal
action union
action find_reverse_tuple_counts
relation named after
type watercourse
type watercourse
action find_reverse_tuple_counts
relation named after
type watercourse
type designation for an administrative territorial entity
value 1
[[{'concept': 'watercourse'}, {'concept': 'designation for an administrative territorial entity'}], 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?i WHERE { VALUES ( ?x ) { ( ontology:watercourse ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?g rdf:type ?x } GROUP BY ?i } . FILTER ( ?w = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q37446
P361
Q82794 Q2221906 Q355304
USER
Which watercourses are parts of approximately the same number of geographic regions and geographic locations as La Fortuna Waterfall ?
(c(Q355304),P361,c(Q82794)|c(Q2221906))
action approx
action union
action find_tuple_counts
relation P361
type Q355304
type Q82794
action find_tuple_counts
relation P361
type Q355304
type Q2221906
action count
action filter_multi_types
action find
entity Q37446
relation P361
type Q82794
type Q2221906
[{'concept': 'Q355304'}, 'P361', [{'concept': 'Q82794'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?m WHERE { FILTER ( ?n = ?g ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:Q37446 property:P361 ?u . { { ?u rdf:type ontology:Q82794 } UNION { ?u rdf:type ontology:Q2221906 } } } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?m WHERE { { ?m property:P361 ?f . ?m rdf:type ontology:Q355304 . ?f rdf:type ontology:Q82794 } UNION { ?m rdf:type ontology:Q355304 . ?f rdf:type ontology:Q2221906 . ?m property:P361 ?f } } GROUP BY ?m } }
La Fortuna Waterfall
action approx
action union
action find_tuple_counts
relation part of
type watercourse
type geographic region
action find_tuple_counts
relation part of
type watercourse
type geographic location
action count
action filter_multi_types
action find
entity La Fortuna Waterfall
relation part of
type geographic region
type geographic location
[{'concept': 'watercourse'}, 'part of', [{'concept': 'geographic region'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?m WHERE { FILTER ( ?n = ?g ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:La_Fortuna_Waterfall property:part_of ?u . { { ?u rdf:type ontology:geographic_region } UNION { ?u rdf:type ontology:geographic_location } } } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?m WHERE { { ?m property:part_of ?f . ?m rdf:type ontology:watercourse . ?f rdf:type ontology:geographic_region } UNION { ?m rdf:type ontology:watercourse . ?f rdf:type ontology:geographic_location . ?m property:part_of ?f } } GROUP BY ?m } }
[]
geographic region geographic location 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 Q1946396 Q211089 Q1635297 Q37826 Q1568711 Q11538700 Q5637 Q6693611 Q1552249 Q490295 Q1496402 Q3016582 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 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(Q82794)|c(Q2221906))
action approx
action union
action find_tuple_counts
relation P361
type Q355304
type Q82794
action find_tuple_counts
relation P361
type Q355304
type Q2221906
action count
action filter_multi_types
action find
entity Q37446
relation P361
type Q82794
type Q2221906
[ANSWERS] are parts of approximately the same number of geographic regions and geographic locations as La Fortuna Waterfall
[{'concept': 'Q355304'}, 'P361', [{'concept': 'Q82794'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?m WHERE { FILTER ( ?n = ?g ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:Q37446 property:P361 ?u . { { ?u rdf:type ontology:Q82794 } UNION { ?u rdf:type ontology:Q2221906 } } } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?m WHERE { { ?m property:P361 ?f . ?m rdf:type ontology:Q355304 . ?f rdf:type ontology:Q82794 } UNION { ?m rdf:type ontology:Q355304 . ?f rdf:type ontology:Q2221906 . ?m property:P361 ?f } } GROUP BY ?m } }
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 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 darsena Grande 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 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 parts of approximately the same number of geographic regions and geographic locations as La Fortuna Waterfall
Alfeios Sura River Jhelum River
action approx
action union
action find_tuple_counts
relation part of
type watercourse
type geographic region
action find_tuple_counts
relation part of
type watercourse
type geographic location
action count
action filter_multi_types
action find
entity La Fortuna Waterfall
relation part of
type geographic region
type geographic location
[{'concept': 'watercourse'}, 'part of', [{'concept': 'geographic region'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?m WHERE { FILTER ( ?n = ?g ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:La_Fortuna_Waterfall property:part_of ?u . { { ?u rdf:type ontology:geographic_region } UNION { ?u rdf:type ontology:geographic_location } } } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?m WHERE { { ?m property:part_of ?f . ?m rdf:type ontology:watercourse . ?f rdf:type ontology:geographic_region } UNION { ?m rdf:type ontology:watercourse . ?f rdf:type ontology:geographic_location . ?m property:part_of ?f } } GROUP BY ?m } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1322826
P361
Q82794 Q2221906 Q355304
USER
And also tell me about Noi River?
(c(Q355304),P361,c(Q82794)|c(Q2221906))
action approx
action union
action find_tuple_counts
relation P361
type Q355304
type Q82794
action find_tuple_counts
relation P361
type Q355304
type Q2221906
action count
action filter_multi_types
action find
entity Q1322826
relation P361
type Q82794
type Q2221906
[{'concept': 'Q355304'}, 'P361', [{'concept': 'Q82794'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) ?a WHERE { { ?a property:P361 ?j . ?a rdf:type ontology:Q355304 . ?j rdf:type ontology:Q82794 } UNION { ?a rdf:type ontology:Q355304 . ?j rdf:type ontology:Q2221906 . ?a property:P361 ?j } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { { ?x rdf:type ontology:Q82794 } UNION { ?x rdf:type ontology:Q2221906 } } . resource:Q1322826 property:P361 ?x } } . FILTER ( ?h = ?p ) }
Noi River
action approx
action union
action find_tuple_counts
relation part of
type watercourse
type geographic region
action find_tuple_counts
relation part of
type watercourse
type geographic location
action count
action filter_multi_types
action find
entity Noi River
relation part of
type geographic region
type geographic location
[{'concept': 'watercourse'}, 'part of', [{'concept': 'geographic region'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) ?a WHERE { { ?a property:part_of ?j . ?a rdf:type ontology:watercourse . ?j rdf:type ontology:geographic_region } UNION { ?a rdf:type ontology:watercourse . ?j rdf:type ontology:geographic_location . ?a property:part_of ?j } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { { ?x rdf:type ontology:geographic_region } UNION { ?x rdf:type ontology:geographic_location } } . resource:Noi_River property:part_of ?x } } . FILTER ( ?h = ?p ) }
[]
geographic region geographic location watercourse
Q60055 Q584 Q41986
SYSTEM
Narew, Rhine, Meuse
Q6373229 Q1322826 Q38330 Q3111632 Q129139 Q37620 Q4993580 Q60055 Q37663 Q934455 Q321043 Q118850 Q1153522 Q41986 Q1973608 Q839303 Q584 Q3320633 Q1359498 Q10604657
(c(Q355304),P361,c(Q82794)|c(Q2221906))
action approx
action union
action find_tuple_counts
relation P361
type Q355304
type Q82794
action find_tuple_counts
relation P361
type Q355304
type Q2221906
action count
action filter_multi_types
action find
entity Q1322826
relation P361
type Q82794
type Q2221906
[ANSWERS]
[{'concept': 'Q355304'}, 'P361', [{'concept': 'Q82794'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) ?a WHERE { { ?a property:P361 ?j . ?a rdf:type ontology:Q355304 . ?j rdf:type ontology:Q82794 } UNION { ?a rdf:type ontology:Q355304 . ?j rdf:type ontology:Q2221906 . ?a property:P361 ?j } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { { ?x rdf:type ontology:Q82794 } UNION { ?x rdf:type ontology:Q2221906 } } . resource:Q1322826 property:P361 ?x } } . FILTER ( ?h = ?p ) }
Dwa River Noi River Pywiack Cascade Goulaine Norrån Scheldt Storelva Narew Blum Basin Falls Ebola River Dornbirner Ach Chao Phraya River Nan River Meuse Wieprza Khwae Noi River Rhine Mongala River Tha Chin River Wättingeströmmen
Narew Rhine Meuse
action approx
action union
action find_tuple_counts
relation part of
type watercourse
type geographic region
action find_tuple_counts
relation part of
type watercourse
type geographic location
action count
action filter_multi_types
action find
entity Noi River
relation part of
type geographic region
type geographic location
[{'concept': 'watercourse'}, 'part of', [{'concept': 'geographic region'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) ?a WHERE { { ?a property:part_of ?j . ?a rdf:type ontology:watercourse . ?j rdf:type ontology:geographic_region } UNION { ?a rdf:type ontology:watercourse . ?j rdf:type ontology:geographic_location . ?a property:part_of ?j } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { { ?x rdf:type ontology:geographic_region } UNION { ?x rdf:type ontology:geographic_location } } . resource:Noi_River property:part_of ?x } } . FILTER ( ?h = ?p ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q16 Q104437
P403 P17
Q355304
USER
Which watercourses have Yukon River as their outlet and are present in Canada ?
AND((c(Q355304),P403,Q104437), (c(Q355304),P17,Q16))
action filter_type
action intersection
action find_reverse
entity Q104437
relation P403
action find_reverse
entity Q16
relation P17
type Q355304
{'AND': [[{'concept': 'Q355304'}, 'P403', 'Q104437'], [{'concept': 'Q355304'}, 'P17', 'Q16']]}
SELECT DISTINCT ?j WHERE { ?j property:P403 resource:Q104437 . ?j property:P17 resource:Q16 . ?j rdf:type ontology:Q355304 }
Canada Yukon River
action filter_type
action intersection
action find_reverse
entity Yukon River
relation mouth of the watercourse
action find_reverse
entity Canada
relation country
type watercourse
{'AND': [[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Yukon River'], [{'concept': 'watercourse'}, 'country', 'Canada']]}
SELECT DISTINCT ?j WHERE { ?j property:mouth_of_the_watercourse resource:Yukon_River . ?j property:country resource:Canada . ?j rdf:type ontology:watercourse }
[]
watercourse
Q1556789 Q859207 Q286340 Q750009 Q167118 Q284495 Q1439158 Q1529669 Q1898456 Q284603
SYSTEM
Kandik River, Big Salmon River, Klondike River, Takhini River, Stewart River, Teslin River, Fortymile River, White River, Pelly River, Porcupine River
Q1556789 Q859207 Q286340 Q750009 Q167118 Q284495 Q1439158 Q1529669 Q1898456 Q284603
AND((c(Q355304),P403,Q104437), (c(Q355304),P17,Q16))
action filter_type
action intersection
action find_reverse
entity Q104437
relation P403
action find_reverse
entity Q16
relation P17
type Q355304
River [ANSWERS] have Yukon River as their outlet and are present in Canada
{'AND': [[{'concept': 'Q355304'}, 'P403', 'Q104437'], [{'concept': 'Q355304'}, 'P17', 'Q16']]}
SELECT DISTINCT ?j WHERE { ?j property:P403 resource:Q104437 . ?j property:P17 resource:Q16 . ?j rdf:type ontology:Q355304 }
Kandik River Big Salmon River Klondike River Takhini River Stewart River Teslin River Fortymile River White River Pelly River Porcupine River
River Kandik River, Big Salmon River, Klondike River, Takhini River, Stewart River, Teslin River, Fortymile River, White River, Pelly River and Porcupine River have Yukon River as their outlet and are present in Canada
Kandik River Big Salmon River Klondike River Takhini River Stewart River Teslin River Fortymile River White River Pelly River Porcupine River
action filter_type
action intersection
action find_reverse
entity Yukon River
relation mouth of the watercourse
action find_reverse
entity Canada
relation country
type watercourse
{'AND': [[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Yukon River'], [{'concept': 'watercourse'}, 'country', 'Canada']]}
SELECT DISTINCT ?j WHERE { ?j property:mouth_of_the_watercourse resource:Yukon_River . ?j property:country resource:Canada . ?j rdf:type ontology:watercourse }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1630789 Q60055
P17
Q15617994
USER
Which administrative territories are Narew or Soumagne Tunnel situated in ?
OR((Q60055,P17,c(Q15617994)), (Q1630789,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q60055
relation P17
action find
entity Q1630789
relation P17
type Q15617994
{'OR': [['Q60055', 'P17', {'concept': 'Q15617994'}], ['Q1630789', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q60055 property:P17 ?z } UNION { resource:Q1630789 property:P17 ?z } } . ?z rdf:type ontology:Q15617994 }
Soumagne Tunnel Narew
action filter_type
action union
action find
entity Narew
relation country
action find
entity Soumagne Tunnel
relation country
type designation for an administrative territorial entity
{'OR': [['Narew', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Soumagne Tunnel', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Narew property:country ?z } UNION { resource:Soumagne_Tunnel property:country ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q184 Q36 Q31
SYSTEM
Belarus, Poland, Belgium
Q184 Q36 Q31
OR((Q60055,P17,c(Q15617994)), (Q1630789,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q60055
relation P17
action find
entity Q1630789
relation P17
type Q15617994
Narew or Soumagne Tunnel are situated in [ANSWERS]
{'OR': [['Q60055', 'P17', {'concept': 'Q15617994'}], ['Q1630789', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q60055 property:P17 ?z } UNION { resource:Q1630789 property:P17 ?z } } . ?z rdf:type ontology:Q15617994 }
Belarus Poland Belgium
Narew or Soumagne Tunnel are situated in Belarus, Poland and Belgium
Belarus Poland Belgium
action filter_type
action union
action find
entity Narew
relation country
action find
entity Soumagne Tunnel
relation country
type designation for an administrative territorial entity
{'OR': [['Narew', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Soumagne Tunnel', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Narew property:country ?z } UNION { resource:Soumagne_Tunnel property:country ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q38
P530
Q15617994
USER
Do Italy have diplomatic relations with those ones ?
(Q38,P530,Q184) (Q38,P530,Q36) (Q38,P530,Q31)
action is_in
entity prev_answer
action find
entity Q38
relation P530
['Q38', 'P530', 'Q184'] ['Q38', 'P530', 'Q36'] ['Q38', 'P530', 'Q31']
ASK WHERE { resource:Q38 property:P530 ?o . VALUES ( ?o ) { ( resource:Q184 ) ( resource:Q36 ) ( resource:Q31 ) } }
Italy
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Belarus'] ['Italy', 'diplomatic relation', 'Poland'] ['Italy', 'diplomatic relation', 'Belgium']
ASK WHERE { resource:Italy property:diplomatic_relation ?o . VALUES ( ?o ) { ( resource:Belarus ) ( resource:Poland ) ( resource:Belgium ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q38,P530,Q184) (Q38,P530,Q36) (Q38,P530,Q31)
action is_in
entity prev_answer
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q184'] ['Q38', 'P530', 'Q36'] ['Q38', 'P530', 'Q31']
ASK WHERE { resource:Q38 property:P530 ?o . VALUES ( ?o ) { ( resource:Q184 ) ( resource:Q36 ) ( resource:Q31 ) } }
Yes
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Belarus'] ['Italy', 'diplomatic relation', 'Poland'] ['Italy', 'diplomatic relation', 'Belgium']
ASK WHERE { resource:Italy property:diplomatic_relation ?o . VALUES ( ?o ) { ( resource:Belarus ) ( resource:Poland ) ( resource:Belgium ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1016
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with less number of administrative territories than Libya ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q1016
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:P530 resource:Q1016 . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?j < ?i ) }
Libya
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Libya
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:diplomatic_relation resource:Libya . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j < ?i ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q1016
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with less number of administrative territories than Libya
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:P530 resource:Q1016 . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?j < ?i ) }
Federated States of Micronesia Panama Costa Rica Peru Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
Georgia, Netherlands and Poland have diplomatic relationships with less number of administrative territories than Libya
Georgia Netherlands Poland
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Libya
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:diplomatic_relation resource:Libya . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j < ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q347
P530
Q15617994 Q15617994
USER
And also tell me about Liechtenstein?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q347
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?q ) WHERE { ?a rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 . ?o property:P530 ?a } GROUP BY ?a } . FILTER ( ?q < ?y ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { ?s property:P530 resource:Q347 . ?s rdf:type ontology:Q15617994 } } }
Liechtenstein
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Liechtenstein
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?q ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation ?a } GROUP BY ?a } . FILTER ( ?q < ?y ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { ?s property:diplomatic_relation resource:Liechtenstein . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q347
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?q ) WHERE { ?a rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 . ?o property:P530 ?a } GROUP BY ?a } . FILTER ( ?q < ?y ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { ?s property:P530 resource:Q347 . ?s rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
Georgia Netherlands Poland
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Liechtenstein
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?q ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation ?a } GROUP BY ?a } . FILTER ( ?q < ?y ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { ?s property:diplomatic_relation resource:Liechtenstein . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q60055
P403
Q355304
USER
How many watercourses flows into Narew ?
(c(Q355304),P403,Q60055)
action count
action filter_type
action find_reverse
entity Q60055
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', 'Q60055']
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ontology:Q355304 . ?t property:P403 resource:Q60055 }
Narew
action count
action filter_type
action find_reverse
entity Narew
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Narew']
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ontology:watercourse . ?t property:mouth_of_the_watercourse resource:Narew }
[]
watercourse
SYSTEM
7
Q771440 Q1722452 Q1630608 Q857160 Q156237 Q1644971 Q941710
(c(Q355304),P403,Q60055)
action count
action filter_type
action find_reverse
entity Q60055
relation P403
type Q355304
[ANSWER]
[{'concept': 'Q355304'}, 'P403', 'Q60055']
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ontology:Q355304 . ?t property:P403 resource:Q60055 }
Wkra Narewka Orlanka Biebrza Western Bug Supraśl Pisa
7
action count
action filter_type
action find_reverse
entity Narew
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Narew']
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ontology:watercourse . ?t property:mouth_of_the_watercourse resource:Narew }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1670
P403
Q355304
USER
And how about Main?
(c(Q355304),P403,Q1670)
action count
action filter_type
action find_reverse
entity Q1670
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', 'Q1670']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:P403 resource:Q1670 . ?y rdf:type ontology:Q355304 }
Main
action count
action filter_type
action find_reverse
entity Main
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Main']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:mouth_of_the_watercourse resource:Main . ?y rdf:type ontology:watercourse }
[]
watercourse
SYSTEM
60
Q829717 Q566481 Q645736 Q315393 Q833265 Q643525 Q1738186 Q1355497 Q708356 Q429199 Q324387 Q317530 Q825975 Q447072 Q476552 Q189873 Q453119 Q872988 Q825372 Q201695 Q825918 Q829395 Q825445 Q383967 Q880300 Q175981 Q871560 Q300832 Q830291 Q177480 Q198562 Q323766 Q831013 Q248147 Q870208 Q829344 Q531822 Q829371 Q1361921 Q829361 Q824946 Q324266 Q830747 Q883434 Q320349 Q872605 Q829442 Q829468 Q829461 Q568774 Q835011 Q824490 Q721987 Q874367 Q825798 Q895491 Q825786 Q706133 Q165707 Q829519
(c(Q355304),P403,Q1670)
action count
action filter_type
action find_reverse
entity Q1670
relation P403
type Q355304
[ANSWER]
[{'concept': 'Q355304'}, 'P403', 'Q1670']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:P403 resource:Q1670 . ?y rdf:type ontology:Q355304 }
Kembach Red Main Kinzig Gersprenz Welzbach Regnitz Kellbach Erlenbach Franconian Saale Leuchsenbach Breitbach Schwarzach Luderbach Mümling Kelster Zentbach Rodach Elsava Sindersbach Gründleinsbach Häckergrundbach Röllbach Haslochbach Liederbach Hainbach Biberbach Erf Aalbach (Main) Volkach Tauber Ziegelbach Wern Pleichach Thierbach Wickerbach Sulzbach White Main Karbach Weilbach Faulbach Schifflache Baunach Hafenlohr Rodau Weismain Lohr Heubach Wildbach Leitenbach Itz Nassach Forchbach Aschaff Mud Motschenbach Kahl Unkenbach Nidda Schwarzbach Hensbach
60
action count
action filter_type
action find_reverse
entity Main
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Main']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:mouth_of_the_watercourse resource:Main . ?y rdf:type ontology:watercourse }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P137
Q3084961
USER
Which product lining can be described as facility operator of Netherlands ?
(c(Q3084961),P137,Q55)
action filter_type
action find_reverse
entity Q55
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q55']
SELECT DISTINCT ?z WHERE { ?z property:P137 resource:Q55 . ?z rdf:type ontology:Q3084961 }
Netherlands
action filter_type
action find_reverse
entity Netherlands
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Netherlands']
SELECT DISTINCT ?z WHERE { ?z property:operator resource:Netherlands . ?z rdf:type ontology:product_lining }
[]
product lining
Q933767
SYSTEM
Hawk 75
Q933767
(c(Q3084961),P137,Q55)
action filter_type
action find_reverse
entity Q55
relation P137
type Q3084961
[ANSWER] can be described as facility operator of Netherlands
[{'concept': 'Q3084961'}, 'P137', 'Q55']
SELECT DISTINCT ?z WHERE { ?z property:P137 resource:Q55 . ?z rdf:type ontology:Q3084961 }
Hawk 75
Hawk 75 can be described as facility operator of Netherlands
Hawk 75
action filter_type
action find_reverse
entity Netherlands
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Netherlands']
SELECT DISTINCT ?z WHERE { ?z property:operator resource:Netherlands . ?z rdf:type ontology:product_lining }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P1346
Q13406554
USER
Where was Netherlands decalred as a victor ?
(c(Q13406554),P1346,Q55)
action filter_type
action find_reverse
entity Q55
relation P1346
type Q13406554
[{'concept': 'Q13406554'}, 'P1346', 'Q55']
SELECT DISTINCT ?m WHERE { ?m property:P1346 resource:Q55 . ?m rdf:type ontology:Q13406554 }
Netherlands
action filter_type
action find_reverse
entity Netherlands
relation winner
type sport competition
[{'concept': 'sport competition'}, 'winner', 'Netherlands']
SELECT DISTINCT ?m WHERE { ?m property:winner resource:Netherlands . ?m rdf:type ontology:sport_competition }
[]
sport competition
Q22712313
SYSTEM
2016 World Single Distance Speed Skating Championships – Women's team pursuit
Q22712313
(c(Q13406554),P1346,Q55)
action filter_type
action find_reverse
entity Q55
relation P1346
type Q13406554
As a victor Netherlands was decalred in [ANSWER]
[{'concept': 'Q13406554'}, 'P1346', 'Q55']
SELECT DISTINCT ?m WHERE { ?m property:P1346 resource:Q55 . ?m rdf:type ontology:Q13406554 }
2016 World Single Distance Speed Skating Championships – Women's team pursuit
As a victor Netherlands was decalred in 2016 World Single Distance Speed Skating Championships – Women's team pursuit
2016 World Single Distance Speed Skating Championships – Women's team pursuit
action filter_type
action find_reverse
entity Netherlands
relation winner
type sport competition
[{'concept': 'sport competition'}, 'winner', 'Netherlands']
SELECT DISTINCT ?m WHERE { ?m property:winner resource:Netherlands . ?m rdf:type ontology:sport_competition }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q55
P6
Q502895
USER
Which people have that administrative territory as their heads of government ?
(Q22712313,P6,c(Q502895))
action filter_type
action find
entity Q55
relation P6
type Q502895
['Q22712313', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q55 property:P6 ?b }
Netherlands
action filter_type
action find
entity Netherlands
relation head of government
type common name
["2016 World Single Distance Speed Skating Championships – Women's team pursuit", 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Netherlands property:head_of_government ?b }
[]
common name
Q159840 Q345481 Q380970
SYSTEM
Ruud Lubbers, Piet de Jong, Jelle Zijlstra
Q693053 Q686476 Q318334 Q159840 Q133386 Q57792 Q345481 Q471204 Q380970 Q781813 Q736026 Q221411 Q634025 Q719701 Q12769 Q318320 Q983186 Q735519 Q951705
(Q22712313,P6,c(Q502895))
action filter_type
action find
entity Q55
relation P6
type Q502895
[ANSWERS] have that administrative territory as their heads of government
['Q22712313', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q55 property:P6 ?b }
Dirk Jan de Geer Hendrikus Colijn Dries van Agt Ruud Lubbers Jan Peter Balkenende Mark Rutte Piet de Jong Barend Biesheuvel Jelle Zijlstra Jan de Quay Jo Cals Wim Kok Wim Schermerhorn Victor Marijnen Willem Drees Joop den Uyl Charles Ruijs de Beerenbrouck Louis Beel Pieter Sjoerds Gerbrandy
Ruud Lubbers, Piet de Jong and Jelle Zijlstra have that administrative territory as their heads of government
Ruud Lubbers Piet de Jong Jelle Zijlstra
action filter_type
action find
entity Netherlands
relation head of government
type common name
["2016 World Single Distance Speed Skating Championships – Women's team pursuit", 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Netherlands property:head_of_government ?b }
[]