Simple Question (Direct)
Simple Question
Q117185
P463
Q163740
USER
Which nonprofit organization was Luzius Wildhaber a member of ?
(Q117185,P463,c(Q163740))
action filter_type
action find
entity Q117185
relation P463
type Q163740
['Q117185', 'P463', {'concept': 'Q163740'}]
SELECT DISTINCT ?k WHERE { resource:Q117185 property:P463 ?k . ?k rdf:type ontology:Q163740 }
Luzius Wildhaber
action filter_type
action find
entity Luzius Wildhaber
relation member of
type nonprofit organization
['Luzius Wildhaber', 'member of', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?k WHERE { resource:Luzius_Wildhaber property:member_of ?k . ?k rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q392066
SYSTEM
Zofingia
Q392066
(Q117185,P463,c(Q163740))
action filter_type
action find
entity Q117185
relation P463
type Q163740
[ANSWER] was Luzius Wildhaber a member of
['Q117185', 'P463', {'concept': 'Q163740'}]
SELECT DISTINCT ?k WHERE { resource:Q117185 property:P463 ?k . ?k rdf:type ontology:Q163740 }
Zofingia
Zofingia was Luzius Wildhaber a member of
Zofingia
action filter_type
action find
entity Luzius Wildhaber
relation member of
type nonprofit organization
['Luzius Wildhaber', 'member of', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?k WHERE { resource:Luzius_Wildhaber property:member_of ?k . ?k rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q392066
P159
Q13220204
USER
Which administrative country subdivision is the head office of that nonprofit organization ?
(Q392066,P159,c(Q13220204))
action filter_type
action find
entity Q392066
relation P159
type Q13220204
['Q392066', 'P159', {'concept': 'Q13220204'}]
SELECT DISTINCT ?b WHERE { resource:Q392066 property:P159 ?b . ?b rdf:type ontology:Q13220204 }
Zofingia
action filter_type
action find
entity Zofingia
relation headquarters location
type second-level administrative country subdivision
['Zofingia', 'headquarters location', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?b WHERE { resource:Zofingia property:headquarters_location ?b . ?b rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q63986
SYSTEM
Zofingen
Q63986
(Q392066,P159,c(Q13220204))
action filter_type
action find
entity Q392066
relation P159
type Q13220204
[ANSWER] is the head office of that nonprofit organization
['Q392066', 'P159', {'concept': 'Q13220204'}]
SELECT DISTINCT ?b WHERE { resource:Q392066 property:P159 ?b . ?b rdf:type ontology:Q13220204 }
Zofingen
Zofingen is the head office of that nonprofit organization
Zofingen
action filter_type
action find
entity Zofingia
relation headquarters location
type second-level administrative country subdivision
['Zofingia', 'headquarters location', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?b WHERE { resource:Zofingia property:headquarters_location ?b . ?b rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q355304 Q13220204
USER
Which watercourses are around 1 administrative country subdivision named after ?
(c(Q13220204),P138,c(Q355304))
action approx
action find_reverse_tuple_counts
relation P138
type Q355304
type Q13220204
value 1
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:P138 ?q . ?g rdf:type ontology:Q13220204 . ?q rdf:type ontology:Q355304 } GROUP BY ?q } }
action approx
action find_reverse_tuple_counts
relation named after
type watercourse
type second-level administrative country subdivision
value 1
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:named_after ?q . ?g rdf:type ontology:second-level_administrative_country_subdivision . ?q rdf:type ontology:watercourse } GROUP BY ?q } }
[]
watercourse second-level administrative country subdivision
Q584 Q193904 Q1624768
SYSTEM
Rhine, Nestos, Hollandse IJssel
Q119152 Q1854148 Q2238502 Q1267964 Q1310069 Q16945 Q1624768 Q23648106 Q231763 Q7143957 Q584 Q2320130 Q193904
(c(Q13220204),P138,c(Q355304))
action approx
action find_reverse_tuple_counts
relation P138
type Q355304
type Q13220204
value 1
[ANSWERS] are around 1 administrative country subdivision named after
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:P138 ?q . ?g rdf:type ontology:Q13220204 . ?q rdf:type ontology:Q355304 } GROUP BY ?q } }
Eurotas Mouth of the Eems river Drentsche Aa Menthue Hunze Suhre Hollandse IJssel Lam Plai Mat Zwarte Water Pat River Rhine Golok River Nestos
Rhine, Nestos and Hollandse IJssel are around 1 administrative country subdivision named after
Rhine Nestos Hollandse IJssel
action approx
action find_reverse_tuple_counts
relation named after
type watercourse
type second-level administrative country subdivision
value 1
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:named_after ?q . ?g rdf:type ontology:second-level_administrative_country_subdivision . ?q rdf:type ontology:watercourse } GROUP BY ?q } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P469
Q23397 Q355304
USER
How many watercourses flows into greater number of lakes than that watercourse ?
(c(Q355304),P469,c(Q23397))
[{'concept': 'Q355304'}, 'P469', {'concept': 'Q23397'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P469 ?y . ?z rdf:type ontology:Q355304 . ?y rdf:type ontology:Q23397 }
[{'concept': 'watercourse'}, 'lakes on river', {'concept': 'lake'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:lakes_on_river ?y . ?z rdf:type ontology:watercourse . ?y rdf:type ontology:lake }
[]
lake watercourse
Comparative|Count over More/Less|Single entity type|Clarification
Q1624768
SYSTEM
Did you mean Hollandse IJssel ?
(c(Q355304),P469,c(Q23397))
[ANSWER]
[{'concept': 'Q355304'}, 'P469', {'concept': 'Q23397'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P469 ?y . ?z rdf:type ontology:Q355304 . ?y rdf:type ontology:Q23397 }
Did you mean Hollandse IJssel ?
Hollandse IJssel
[{'concept': 'watercourse'}, 'lakes on river', {'concept': 'lake'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:lakes_on_river ?y . ?z rdf:type ontology:watercourse . ?y rdf:type ontology:lake }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Nestos. Could you tell me the answer for that?
(c(Q355304),P469,c(Q23397))
Q193904
[{'concept': 'Q355304'}, 'P469', {'concept': 'Q23397'}]
[{'concept': 'watercourse'}, 'lakes on river', {'concept': 'lake'}]
[]
SYSTEM
1
Q1497
(c(Q355304),P469,c(Q23397))
[ANSWER]
[{'concept': 'Q355304'}, 'P469', {'concept': 'Q23397'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P469 ?y . ?z rdf:type ontology:Q355304 . ?y rdf:type ontology:Q23397 }
Mississippi River
1
[{'concept': 'watercourse'}, 'lakes on river', {'concept': 'lake'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:lakes_on_river ?y . ?z rdf:type ontology:watercourse . ?y rdf:type ontology:lake }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q584
P403
Q15324
USER
Which body of water does Rhine flow into ?
(Q584,P403,c(Q15324))
action filter_type
action find
entity Q584
relation P403
type Q15324
['Q584', 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?d WHERE { resource:Q584 property:P403 ?d . ?d rdf:type ontology:Q15324 }
Rhine
action filter_type
action find
entity Rhine
relation mouth of the watercourse
type body of water
['Rhine', 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?d WHERE { resource:Rhine property:mouth_of_the_watercourse ?d . ?d rdf:type ontology:body_of_water }
[]
body of water
Q1693
SYSTEM
North Sea
Q1693
(Q584,P403,c(Q15324))
action filter_type
action find
entity Q584
relation P403
type Q15324
Rhine flows to [ANSWER]
['Q584', 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?d WHERE { resource:Q584 property:P403 ?d . ?d rdf:type ontology:Q15324 }
North Sea
Rhine flows to North Sea
North Sea
action filter_type
action find
entity Rhine
relation mouth of the watercourse
type body of water
['Rhine', 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?d WHERE { resource:Rhine property:mouth_of_the_watercourse ?d . ?d rdf:type ontology:body_of_water }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q583044
Q15324
USER
And what about Papaloapan River?
(Q583044,P403,c(Q15324))
action filter_type
action find
entity Q583044
relation P403
type Q15324
['Q583044', 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?u WHERE { resource:Q583044 property:P403 ?u . ?u rdf:type ontology:Q15324 }
Papaloapan River
action filter_type
action find
entity Papaloapan River
relation mouth of the watercourse
type body of water
['Papaloapan River', 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?u WHERE { resource:Papaloapan_River property:mouth_of_the_watercourse ?u . ?u rdf:type ontology:body_of_water }
[]
body of water
Q12630
SYSTEM
Gulf of Mexico
Q12630
(Q583044,P403,c(Q15324))
action filter_type
action find
entity Q583044
relation P403
type Q15324
[ANSWER]
['Q583044', 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?u WHERE { resource:Q583044 property:P403 ?u . ?u rdf:type ontology:Q15324 }
Gulf of Mexico
Gulf of Mexico
action filter_type
action find
entity Papaloapan River
relation mouth of the watercourse
type body of water
['Papaloapan River', 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?u WHERE { resource:Papaloapan_River property:mouth_of_the_watercourse ?u . ?u rdf:type ontology:body_of_water }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P361
Q107425 Q1048835 Q15324
USER
Which bodies of water are a component of more number of landscapes or political territories than that body of water ?
(c(Q15324),P361,c(Q107425)|c(Q1048835))
action greater
action union
action find_tuple_counts
relation P361
type Q15324
type Q107425
action find_tuple_counts
relation P361
type Q15324
type Q1048835
action count
action filter_multi_types
action find
entity Q12630
relation P361
type Q107425
type Q1048835
[{'concept': 'Q15324'}, 'P361', [{'concept': 'Q107425'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { { ?c rdf:type ontology:Q107425 } UNION { ?c rdf:type ontology:Q1048835 } } . resource:Q12630 property:P361 ?c } } . FILTER ( ?b > ?e ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) ?w WHERE { { ?w property:P361 ?a . ?w rdf:type ontology:Q15324 . ?a rdf:type ontology:Q107425 } UNION { ?w property:P361 ?a . ?a rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15324 } } GROUP BY ?w } }
action greater
action union
action find_tuple_counts
relation part of
type body of water
type landscape
action find_tuple_counts
relation part of
type body of water
type political territorial entity
action count
action filter_multi_types
action find
entity Gulf of Mexico
relation part of
type landscape
type political territorial entity
[{'concept': 'body of water'}, 'part of', [{'concept': 'landscape'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { { ?c rdf:type ontology:landscape } UNION { ?c rdf:type ontology:political_territorial_entity } } . resource:Gulf_of_Mexico property:part_of ?c } } . FILTER ( ?b > ?e ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) ?w WHERE { { ?w property:part_of ?a . ?w rdf:type ontology:body_of_water . ?a rdf:type ontology:landscape } UNION { ?w property:part_of ?a . ?a rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:body_of_water } } GROUP BY ?w } }
[]
landscape political territorial entity body of water
SYSTEM
10
Q10424681 Q1474799 Q15621331 Q298119 Q7413532 Q10527445 Q1269176 Q10508937 Q10524190 Q10435180
(c(Q15324),P361,c(Q107425)|c(Q1048835))
action greater
action union
action find_tuple_counts
relation P361
type Q15324
type Q107425
action find_tuple_counts
relation P361
type Q15324
type Q1048835
action count
action filter_multi_types
action find
entity Q12630
relation P361
type Q107425
type Q1048835
[ANSWER]
[{'concept': 'Q15324'}, 'P361', [{'concept': 'Q107425'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { { ?c rdf:type ontology:Q107425 } UNION { ?c rdf:type ontology:Q1048835 } } . resource:Q12630 property:P361 ?c } } . FILTER ( ?b > ?e ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) ?w WHERE { { ?w property:P361 ?a . ?w rdf:type ontology:Q15324 . ?a rdf:type ontology:Q107425 } UNION { ?w property:P361 ?a . ?a rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15324 } } GROUP BY ?w } }
Baggensfjärden Torfajökull Bay of Roses Öræfajökull San Carlos Water Hustegafjärden Dyngjujökull Grisslingefjärden Himmerfjärden Breviken
10
action greater
action union
action find_tuple_counts
relation part of
type body of water
type landscape
action find_tuple_counts
relation part of
type body of water
type political territorial entity
action count
action filter_multi_types
action find
entity Gulf of Mexico
relation part of
type landscape
type political territorial entity
[{'concept': 'body of water'}, 'part of', [{'concept': 'landscape'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { { ?c rdf:type ontology:landscape } UNION { ?c rdf:type ontology:political_territorial_entity } } . resource:Gulf_of_Mexico property:part_of ?c } } . FILTER ( ?b > ?e ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) ?w WHERE { { ?w property:part_of ?a . ?w rdf:type ontology:body_of_water . ?a rdf:type ontology:landscape } UNION { ?w property:part_of ?a . ?a rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:body_of_water } } GROUP BY ?w } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q15324 Q811979
USER
How many architectural structures have their location as atleast 1 body of water ?
(c(Q811979),P706,c(Q15324))
action count
action atleast
action find_tuple_counts
relation P706
type Q811979
type Q15324
value 1
[{'concept': 'Q811979'}, 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { FILTER ( ?f >= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?f ) WHERE { ?a property:P706 ?b . ?a rdf:type ontology:Q811979 . ?b rdf:type ontology:Q15324 } GROUP BY ?a } }
action count
action atleast
action find_tuple_counts
relation located on terrain feature
type architectural structure
type body of water
value 1
[{'concept': 'architectural structure'}, 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { FILTER ( ?f >= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?f ) WHERE { ?a property:located_on_terrain_feature ?b . ?a rdf:type ontology:architectural_structure . ?b rdf:type ontology:body_of_water } GROUP BY ?a } }
[]
body of water architectural structure
SYSTEM
2
Q333875 Q385597
(c(Q811979),P706,c(Q15324))
action count
action atleast
action find_tuple_counts
relation P706
type Q811979
type Q15324
value 1
[ANSWER]
[{'concept': 'Q811979'}, 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { FILTER ( ?f >= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?f ) WHERE { ?a property:P706 ?b . ?a rdf:type ontology:Q811979 . ?b rdf:type ontology:Q15324 } GROUP BY ?a } }
Meoto Iwa Liuskasaari
2
action count
action atleast
action find_tuple_counts
relation located on terrain feature
type architectural structure
type body of water
value 1
[{'concept': 'architectural structure'}, 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { FILTER ( ?f >= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?f ) WHERE { ?a property:located_on_terrain_feature ?b . ?a rdf:type ontology:architectural_structure . ?b rdf:type ontology:body_of_water } GROUP BY ?a } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q213067
P469
Q337567 Q23397 Q355304
USER
How many watercourses flows through lesser number of still waterss or lakes than Svir River ?
(c(Q355304),P469,c(Q337567)|c(Q23397))
action count
action less
action union
action find_tuple_counts
relation P469
type Q355304
type Q337567
action find_tuple_counts
relation P469
type Q355304
type Q23397
action count
action filter_multi_types
action find
entity Q213067
relation P469
type Q337567
type Q23397
[{'concept': 'Q355304'}, 'P469', [{'concept': 'Q337567'}, {'concept': 'Q23397'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?d WHERE { { ?d property:P469 ?y . ?y rdf:type ontology:Q337567 . ?d rdf:type ontology:Q355304 } UNION { ?d property:P469 ?y . ?d rdf:type ontology:Q355304 . ?y rdf:type ontology:Q23397 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q213067 property:P469 ?l . { ?l rdf:type ?i . VALUES ( ?i ) { ( ontology:Q23397 ) ( ontology:Q337567 ) } } } } . FILTER ( ?u < ?b ) }
Svir River
action count
action less
action union
action find_tuple_counts
relation lakes on river
type watercourse
type still waters
action find_tuple_counts
relation lakes on river
type watercourse
type lake
action count
action filter_multi_types
action find
entity Svir River
relation lakes on river
type still waters
type lake
[{'concept': 'watercourse'}, 'lakes on river', [{'concept': 'still waters'}, {'concept': 'lake'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?d WHERE { { ?d property:lakes_on_river ?y . ?y rdf:type ontology:still_waters . ?d rdf:type ontology:watercourse } UNION { ?d property:lakes_on_river ?y . ?d rdf:type ontology:watercourse . ?y rdf:type ontology:lake } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Svir_River property:lakes_on_river ?l . { ?l rdf:type ?i . VALUES ( ?i ) { ( ontology:lake ) ( ontology:still_waters ) } } } } . FILTER ( ?u < ?b ) }
[]
still waters lake watercourse
SYSTEM
425
Q1888146 Q552 Q13533400 Q2279579 Q664341 Q581307 Q1393263 Q2028742 Q6661013 Q3458654 Q4071815 Q4503043 Q749950 Q1429523 Q1144474 Q410410 Q2492910 Q668244 Q160140 Q12004789 Q1813684 Q5507324 Q18150029 Q1682637 Q2415273 Q4580881 Q213975 Q2668113 Q3017105 Q3420323 Q6689819 Q362183 Q40059 Q1789505 Q2368048 Q1636349 Q4790369 Q664121 Q152331 Q668892 Q1458500 Q82776 Q15675 Q3458570 Q7069329 Q4068821 Q2621853 Q4408691 Q835333 Q142148 Q748195 Q1435649 Q255379 Q6976632 Q4246441 Q859274 Q220839 Q954009 Q14294 Q248756 Q450584 Q10718791 Q833164 Q6661118 Q4576100 Q537889 Q1445804 Q214748 Q506955 Q4427701 Q14366 Q43990 Q1506852 Q882739 Q18617 Q3377411 Q283622 Q289638 Q5882378 Q4059960 Q148307 Q3732920 Q1877245 Q2264472 Q502773 Q3275381 Q642694 Q3348721 Q1329928 Q2737438 Q152661 Q1586793 Q51845 Q181475 Q848670 Q870529 Q193904 Q1519836 Q1338024 Q3429762 Q1076530 Q1628265 Q3635074 Q4225184 Q5635 Q1779641 Q49582 Q6513766 Q870065 Q1032656 Q951240 Q927499 Q2549625 Q679808 Q298372 Q1524764 Q3111632 Q6513842 Q752554 Q315322 Q516140 Q1584933 Q2331787 Q10667340 Q82147 Q1164945 Q6236 Q1664 Q525091 Q4429078 Q3420310 Q120189 Q792016 Q524612 Q1882914 Q1047568 Q3218643 Q734838 Q1714941 Q1343164 Q4179226 Q3512615 Q2566970 Q668478 Q1273955 Q890526 Q395923 Q624655 Q1431382 Q11990461 Q499668 Q2598623 Q1144510 Q3433647 Q3433903 Q151858 Q1048696 Q1353913 Q10520049 Q712589 Q2041800 Q626 Q1376034 Q128350 Q80240 Q321043 Q2936036 Q2717931 Q11873746 Q18681925 Q128102 Q1430986 Q971114 Q75745 Q4282693 Q1669474 Q300672 Q300674 Q1953821 Q471382 Q7161432 Q4985505 Q17512637 Q383379 Q7402707 Q209530 Q3196524 Q30548 Q1710848 Q684728 Q2624495 Q81503 Q7401266 Q3433767 Q26475 Q2216 Q1046455 Q1666552 Q1538524 Q16511 Q429769 Q680765 Q3292 Q609096 Q4573966 Q3434641 Q4143776 Q10605391 Q978496 Q192415 Q486636 Q3720471 Q4134618 Q4460344 Q870071 Q3737285 Q53484 Q1809877 Q757914 Q4074592 Q2846182 Q1136502 Q11883442 Q1628207 Q258400 Q17521689 Q286703 Q1801063 Q1343379 Q203923 Q15867666 Q846926 Q843024 Q4251953 Q1748443 Q949042 Q324350 Q698586 Q517670 Q10706307 Q14764 Q2462900 Q1491454 Q8051453 Q16945 Q2081850 Q7852252 Q1066192 Q5307904 Q857676 Q3411 Q3200227 Q525121 Q3374047 Q10429656 Q555450 Q1636202 Q7294153 Q527521 Q1724509 Q1861845 Q1331306 Q6977407 Q1478566 Q2750140 Q1012142 Q258243 Q31379 Q1538332 Q4131027 Q19849708 Q19849705 Q1161204 Q156237 Q35591 Q1243669 Q19798122 Q1233866 Q2352764 Q3062302 Q2094012 Q43106 Q26215743 Q390433 Q4424134 Q317497 Q2626727 Q4424133 Q19518505 Q1235975 Q466893 Q1867521 Q382489 Q192567 Q209031 Q5603117 Q490186 Q548 Q2128582 Q106588 Q4249198 Q201823 Q1715173 Q226862 Q13712 Q17476676 Q426516 Q5327909 Q6990897 Q93360 Q4222569 Q3785326 Q82824 Q572425 Q3720244 Q941745 Q661667 Q16505 Q162737 Q1548669 Q23550 Q204127 Q59647 Q729851 Q503723 Q747911 Q1816805 Q1542229 Q166301 Q1742075 Q1531702 Q1009177 Q1420630 Q1808066 Q1570842 Q496274 Q7074548 Q11762217 Q391411 Q3773325 Q3179104 Q63109 Q22680166 Q2155664 Q1054311 Q584 Q1682 Q182042 Q3458740 Q4103724 Q2000773 Q1462727 Q5755799 Q318435 Q645 Q20983749 Q640366 Q2244 Q4375034 Q1865716 Q10727731 Q270427 Q5447707 Q203862 Q1010448 Q280126 Q4081114 Q1246029 Q4532009 Q1645200 Q4129930 Q1146090 Q2155708 Q1479784 Q5872598 Q4586319 Q2738652 Q1485122 Q1514693 Q770781 Q1156988 Q10891111 Q2090382 Q10484314 Q3432364 Q15122970 Q846419 Q602 Q9394362 Q2143805 Q4407311 Q138631 Q3433811 Q729801 Q562319 Q15842582 Q5625 Q273456 Q1343322 Q384194 Q671309 Q936688 Q785531 Q1364212 Q217956 Q650985 Q11899928 Q10561333 Q10466780 Q149182 Q782845 Q7516332 Q954645 Q14333 Q16661 Q779982 Q1272368 Q14338 Q1162365 Q2992698 Q599492 Q562385 Q3739940 Q4015 Q1349937
(c(Q355304),P469,c(Q337567)|c(Q23397))
action count
action less
action union
action find_tuple_counts
relation P469
type Q355304
type Q337567
action find_tuple_counts
relation P469
type Q355304
type Q23397
action count
action filter_multi_types
action find
entity Q213067
relation P469
type Q337567
type Q23397
[ANSWER]
[{'concept': 'Q355304'}, 'P469', [{'concept': 'Q337567'}, {'concept': 'Q23397'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?d WHERE { { ?d property:P469 ?y . ?y rdf:type ontology:Q337567 . ?d rdf:type ontology:Q355304 } UNION { ?d property:P469 ?y . ?d rdf:type ontology:Q355304 . ?y rdf:type ontology:Q23397 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q213067 property:P469 ?l . { ?l rdf:type ?i . VALUES ( ?i ) { ( ontology:Q23397 ) ( ontology:Q337567 ) } } } } . FILTER ( ?u < ?b ) }
Kaministiquia River Oder Vermilion River (Minnesota) Shire River Traun São Gonçalo Channel Fairford River Ord River Ljusnan Huahum River Astkhadzor (river) Tsakkar Elliðaár Karatal River Huskvarna River Hvítá Vytegra River Vedeggio Schwarzer Schöps Søo Leiblach Fui River Cochrane River Maulde Pola River Ålkistan Drin Ajaguz River Davsha Ravine Saint-Gilles Louros Ager Jordan River Ksani Tes River Råne River Nkusi River Glanfurt Rur Engelberger Aa Vodla River Terek River River Sever Palena River Symsarna Argichi Udy River Sarma River Niers São Francisco River Ruzizi River Fond du Lac River Lovat River Piaśnica Kultuchnaya Big Sioux River Luvua River River Corrib Tagus Tyya Alz Vårbybäcken Buzău River Llancahue River Skithegga Drammenselva Voxnan Göta älv Pangani River Solzan Ticino Caniapiscau River Tumut River Blue Nile Mundo Little Bostonnais River Atrek River Selizharovka River Hollyford River Aksu River Bóbr Ulluchay River Lumi River Seeache Dranse Astarachay Otra Ochlockonee River Ing River Kazinga Channel Salzach Rapa River Ume älv Orange River Oglio Goldbach Nestos Tokke Klarälven Aura River Sió Jacques-Cartier River Barnhusviken Kobona River Masurian Canal Hunnselva Olonka River Tinnelva Broye Rapel River Calcurrupe River Gudbrandsdalslågen Warragamba River Toce Österdal River Michipicoten River Goulaine Heddøla Gołdapa Nette Maggia Roanoke River Stanley River Sickla canal Taymyr River Nipigon River Urft Ruhr Großache Soroga (river) Ravine Bernica Rönne River Begna River Paatsjoki Mackintosh River Shelon River Laune Megdovas Jänisjoki Leysse Zhelcha River Sumgayit River White River Kander Saint Louis River Kymi River Agrafiotis Arachthos Almbach Mølleåen Nidelva Pirsaat River Långan Bostonnais River Rivière des Roches Luapula River Waiau River (Southland) Rickleån Helige å Mutirikwe River River Ouse Volga Waswanipi River Lukuga River Ural River Dornbirner Ach Canal de Savières Ross River Kutujoki Kaivanto Canal Irtysh River Sefīd-Rūd Pieman River Selenga River Martuni (river) Nottaway River Aabach Aabach (Seetal) Murray Mouth Kinda Canal Pelican River Bueno River Nares River Afon Glaslyn Sajna Vaal River Kika Hrazdan River Pic River Jona Thiou Vjosë Saint Francis River Nicolet River Treska Athabasca River Lepsy River Murchison River Gosen Canal Lozoya Tidan Glatt Nelson River Goulburn River Langvassåga Guavio River Gorgan Nästån Wisconsin River Volta River Draa River Shura-Ozen River Gdovka River Tompuda Rein da Curnera Söderström Syas River Richelieu River Attawapiskat River Babkha Andoma River Minnesota River Murole Canal Huon River Loisach Boyne River English River Lake River Enningdalsälven Achelous River Mitchinamecus River Madawaska River Chaudière River Lava River, Leningrad Oblast Sjoa Ljungan Königsseer Ache Bregenzer Ache Emba River Tunaån Esla river Utulik Große Aa Yelcho River Suhre Blackälven Tully River Sog River Drive Creek Lule River Mackenzie River Kugruk River Argen Kynne River Billstaån Akerselva Koitajoki Rapid Creek Palyavaam River Wehebach Ranelva Elizabeth River, Tasmania Svärtaån Santa Cruz River Kagera River Gordon River Würm La Grande River Hallingdalselva Gavaraget Seebach Grundlseer Traun San Juan River Western Bug Tigris Azopardo River Hurdalselva Pineios Phetchaburi River Naknek River Võhandu River Zambezi River Struga Siedmiu Jezior Agan River Slyudyanka Bigge Kura River Slyudyanka Sveselva Gullspångsälven Olef Lockhart River Alter Rhein Ili River Narva River Green River Andelva Vistula Rainy River Isar Qusar River Warta Jökulsá á Brú Suna River Tiber Nordbyelva Indalsälven East Branch Delaware River Nemadji River Bío Bío River Kichera Stryneelva Kvina Lütschine Rubas River Alfeios Flambeau River Rio Guadiela Angara River Great Bear River Velikaya River Struma Abitibi River Brombach Cassarate Lister Piusa River Jämsänjoki Amper King River Ruvu Turka Numedalslågen Otta L'Assomption River Manicouagan River Obabika River Liwna Gatineau River Aji Chay Kalambo River Adda Dajna Batiscan River Upper Angara River Rhine Havel Kuma River Pascua River Vardenis (river) North Santiam River Ladon Barabduchai Detroit River Neva Beutelmühlgraben Haliacmon Beaver River Pokhabikha Little Minnesota River Ösan Green River Figgja Saint-Maurice river Burdekin River Robson River Bezymyannaya Mornos Enco River Simojoki Alnaelva Sira River Matawin River Norrström Simineh River Hobølelva Fimi River Pigeon River Malagarasi River Sulak River Dadès River Jeannotte River Khara-Murin Enköpingsån Klara Sjö Manouane River (Saint-Maurice River) Kenai River Rhône Łososina Thompson River San Pedro River Mandalselva Rivière Sainte-Suzanne Trosaån Ennepe La Sarre River Pissa River Omo River Desaguadero River Łupawa Primero River Mincio Snezhnaya River Renaelva Tsna River Nidau-Büren Canal Vaajavirta Lidan Danvik canal Black Elster Awash River Zarriné-Rūd Little Zab Saane/Sarine Tiétar Shuya River Vindel River Limmat Salado River Burnaya River Seille Möhne Åker's Canal Reuss Nyköpingsån
425
action count
action less
action union
action find_tuple_counts
relation lakes on river
type watercourse
type still waters
action find_tuple_counts
relation lakes on river
type watercourse
type lake
action count
action filter_multi_types
action find
entity Svir River
relation lakes on river
type still waters
type lake
[{'concept': 'watercourse'}, 'lakes on river', [{'concept': 'still waters'}, {'concept': 'lake'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?d WHERE { { ?d property:lakes_on_river ?y . ?y rdf:type ontology:still_waters . ?d rdf:type ontology:watercourse } UNION { ?d property:lakes_on_river ?y . ?d rdf:type ontology:watercourse . ?y rdf:type ontology:lake } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Svir_River property:lakes_on_river ?l . { ?l rdf:type ?i . VALUES ( ?i ) { ( ontology:lake ) ( ontology:still_waters ) } } } } . FILTER ( ?u < ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q300674
P469
Q337567 Q23397 Q355304
USER
And how about Aabach (Seetal)?
(c(Q355304),P469,c(Q337567)|c(Q23397))
action count
action less
action union
action find_tuple_counts
relation P469
type Q355304
type Q337567
action find_tuple_counts
relation P469
type Q355304
type Q23397
action count
action filter_multi_types
action find
entity Q300674
relation P469
type Q337567
type Q23397
[{'concept': 'Q355304'}, 'P469', [{'concept': 'Q337567'}, {'concept': 'Q23397'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?b WHERE { VALUES ( ?c ) { ( ontology:Q23397 ) ( ontology:Q337567 ) } . ?t rdf:type ?c } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { resource:Q300674 property:P469 ?o . { { ?o rdf:type ontology:Q337567 } UNION { ?o rdf:type ontology:Q23397 } } } } . FILTER ( ?j < ?u ) }
Aabach (Seetal)
action count
action less
action union
action find_tuple_counts
relation lakes on river
type watercourse
type still waters
action find_tuple_counts
relation lakes on river
type watercourse
type lake
action count
action filter_multi_types
action find
entity Aabach (Seetal)
relation lakes on river
type still waters
type lake
[{'concept': 'watercourse'}, 'lakes on river', [{'concept': 'still waters'}, {'concept': 'lake'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?b WHERE { VALUES ( ?c ) { ( ontology:lake ) ( ontology:still_waters ) } . ?t rdf:type ?c } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { resource:Aabach_(Seetal) property:lakes_on_river ?o . { { ?o rdf:type ontology:still_waters } UNION { ?o rdf:type ontology:lake } } } } . FILTER ( ?j < ?u ) }
[]
still waters lake watercourse
SYSTEM
111
Q552 Q12004789 Q1682637 Q213975 Q3420323 Q6689819 Q40059 Q152331 Q15675 Q2621853 Q835333 Q142148 Q14294 Q506955 Q43990 Q1506852 Q18617 Q148307 Q181475 Q870529 Q193904 Q3429762 Q1628265 Q2549625 Q3111632 Q752554 Q315322 Q1584933 Q6236 Q1664 Q3420310 Q734838 Q395923 Q624655 Q1431382 Q3433903 Q712589 Q2041800 Q2717931 Q209530 Q81503 Q3433767 Q16511 Q609096 Q3434641 Q10605391 Q192415 Q486636 Q870071 Q3737285 Q1136502 Q17521689 Q203923 Q15867666 Q14764 Q2081850 Q7852252 Q3200227 Q7294153 Q527521 Q1724509 Q1861845 Q1012142 Q31379 Q156237 Q1233866 Q2352764 Q2094012 Q43106 Q26215743 Q390433 Q317497 Q466893 Q5603117 Q106588 Q201823 Q13712 Q5327909 Q82824 Q941745 Q16505 Q204127 Q729851 Q747911 Q1816805 Q1420630 Q1570842 Q496274 Q2000773 Q1462727 Q20983749 Q640366 Q1865716 Q1010448 Q1246029 Q4129930 Q1146090 Q1156988 Q10484314 Q3432364 Q3433811 Q562319 Q15842582 Q1343322 Q10466780 Q149182 Q16661 Q779982 Q1162365 Q599492 Q562385
(c(Q355304),P469,c(Q337567)|c(Q23397))
action count
action less
action union
action find_tuple_counts
relation P469
type Q355304
type Q337567
action find_tuple_counts
relation P469
type Q355304
type Q23397
action count
action filter_multi_types
action find
entity Q300674
relation P469
type Q337567
type Q23397
[ANSWER]
[{'concept': 'Q355304'}, 'P469', [{'concept': 'Q337567'}, {'concept': 'Q23397'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?b WHERE { VALUES ( ?c ) { ( ontology:Q23397 ) ( ontology:Q337567 ) } . ?t rdf:type ?c } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { resource:Q300674 property:P469 ?o . { { ?o rdf:type ontology:Q337567 } UNION { ?o rdf:type ontology:Q23397 } } } } . FILTER ( ?j < ?u ) }
Oder Søo Maulde Drin Ravine Saint-Gilles Louros Jordan River Rur River Sever Udy River Niers São Francisco River Tagus Pangani River Caniapiscau River Tumut River Mundo Bóbr Orange River Goldbach Nestos Aura River Jacques-Cartier River Warragamba River Goulaine Gołdapa Nette Roanoke River Urft Ruhr Ravine Bernica Megdovas Agrafiotis Arachthos Almbach Rivière des Roches Mutirikwe River River Ouse Ross River Vaal River Vjosë Nicolet River Lozoya Goulburn River Guavio River Nästån Volta River Draa River Rein da Curnera Söderström Minnesota River Boyne River Achelous River Mitchinamecus River Esla river Blackälven Tully River Kugruk River Rapid Creek Palyavaam River Wehebach Ranelva Gordon River La Grande River Western Bug Pineios Phetchaburi River Võhandu River Zambezi River Struga Siedmiu Jezior Agan River Bigge Olef Green River Isar Warta Tiber East Branch Delaware River Kvina Alfeios Rio Guadiela Struma Brombach Lister Piusa River Numedalslågen L'Assomption River Manicouagan River North Santiam River Ladon Beutelmühlgraben Haliacmon Little Minnesota River Burdekin River Mornos Alnaelva Sira River Dadès River Enköpingsån Klara Sjö Rivière Sainte-Suzanne Ennepe La Sarre River Desaguadero River Danvik canal Black Elster Tiétar Shuya River Salado River Seille Möhne
111
action count
action less
action union
action find_tuple_counts
relation lakes on river
type watercourse
type still waters
action find_tuple_counts
relation lakes on river
type watercourse
type lake
action count
action filter_multi_types
action find
entity Aabach (Seetal)
relation lakes on river
type still waters
type lake
[{'concept': 'watercourse'}, 'lakes on river', [{'concept': 'still waters'}, {'concept': 'lake'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?b WHERE { VALUES ( ?c ) { ( ontology:lake ) ( ontology:still_waters ) } . ?t rdf:type ?c } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { resource:Aabach_(Seetal) property:lakes_on_river ?o . { { ?o rdf:type ontology:still_waters } UNION { ?o rdf:type ontology:lake } } } } . FILTER ( ?j < ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12630
P206
Q271669
USER
Which landforms are located next to Gulf of Mexico ?
(c(Q271669),P206,Q12630)
action filter_type
action find_reverse
entity Q12630
relation P206
type Q271669
[{'concept': 'Q271669'}, 'P206', 'Q12630']
SELECT DISTINCT ?i WHERE { ?i property:P206 resource:Q12630 . ?i rdf:type ontology:Q271669 }
Gulf of Mexico
action filter_type
action find_reverse
entity Gulf of Mexico
relation located next to body of water
type landform
[{'concept': 'landform'}, 'located next to body of water', 'Gulf of Mexico']
SELECT DISTINCT ?i WHERE { ?i property:located_next_to_body_of_water resource:Gulf_of_Mexico . ?i rdf:type ontology:landform }
[]
landform
Q586657 Q6081491 Q2860041
SYSTEM
Cuba, Isla Pérez, Archer Key
Q6081491 Q2860041 Q3285107 Q1315101 Q2998615 Q3117050 Q3569757 Q586657 Q2908236 Q2904411 Q130978
(c(Q271669),P206,Q12630)
action filter_type
action find_reverse
entity Q12630
relation P206
type Q271669
[ANSWERS] are located next to Gulf of Mexico
[{'concept': 'Q271669'}, 'P206', 'Q12630']
SELECT DISTINCT ?i WHERE { ?i property:P206 resource:Q12630 . ?i rdf:type ontology:Q271669 }
Isla Pérez Archer Key Man Key Galveston Island Cottrell Key Marsh Island Woman Key Cuba Boca Grande Key Bird Key Yucatán Peninsula
Cuba, Isla Pérez and Archer Key are located next to Gulf of Mexico
Cuba Isla Pérez Archer Key
action filter_type
action find_reverse
entity Gulf of Mexico
relation located next to body of water
type landform
[{'concept': 'landform'}, 'located next to body of water', 'Gulf of Mexico']
SELECT DISTINCT ?i WHERE { ?i property:located_next_to_body_of_water resource:Gulf_of_Mexico . ?i rdf:type ontology:landform }
[]