Simple Question (Direct)
Simple Question
Q1372942
P21
Q290
USER
Which sex does Eugen Volz possess ?
(Q1372942,P21,c(Q290))
action filter_type
action find
entity Q1372942
relation P21
type Q290
['Q1372942', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q1372942 property:P21 ?e . ?e rdf:type ontology:Q290 }
Eugen Volz
action filter_type
action find
entity Eugen Volz
relation gender
type sex
['Eugen Volz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Eugen_Volz property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1372942,P21,c(Q290))
action filter_type
action find
entity Q1372942
relation P21
type Q290
Eugen Volz possesses un [ANSWER]
['Q1372942', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q1372942 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
Eugen Volz possesses un male
male
action filter_type
action find
entity Eugen Volz
relation gender
type sex
['Eugen Volz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Eugen_Volz property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1372942
P102
Q7278
USER
Which political party is Eugen Volz a member of ?
(Q1372942,P102,c(Q7278))
action filter_type
action find
entity Q1372942
relation P102
type Q7278
['Q1372942', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?r WHERE { resource:Q1372942 property:P102 ?r . ?r rdf:type ontology:Q7278 }
Eugen Volz
action filter_type
action find
entity Eugen Volz
relation member of political party
type political party
['Eugen Volz', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?r WHERE { resource:Eugen_Volz property:member_of_political_party ?r . ?r rdf:type ontology:political_party }
[]
political party
Q49762
SYSTEM
Christian Democratic Union
Q49762
(Q1372942,P102,c(Q7278))
action filter_type
action find
entity Q1372942
relation P102
type Q7278
Party [ANSWER] is Eugen Volz a member of
['Q1372942', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?r WHERE { resource:Q1372942 property:P102 ?r . ?r rdf:type ontology:Q7278 }
Christian Democratic Union
Party Christian Democratic Union is Eugen Volz a member of
Christian Democratic Union
action filter_type
action find
entity Eugen Volz
relation member of political party
type political party
['Eugen Volz', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?r WHERE { resource:Eugen_Volz property:member_of_political_party ?r . ?r rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1372942
P937
Q56061
USER
Which is the work location of that person ?
(Q49762,P937,c(Q56061))
action filter_type
action find
entity Q1372942
relation P937
type Q56061
['Q49762', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q1372942 property:P937 ?u }
Eugen Volz
action filter_type
action find
entity Eugen Volz
relation work location
type administrative territorial entity
['Christian Democratic Union', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Eugen_Volz property:work_location ?u }
[]
administrative territorial entity
Q1022
SYSTEM
Stuttgart
Q1022
(Q49762,P937,c(Q56061))
action filter_type
action find
entity Q1372942
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q49762', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q1372942 property:P937 ?u }
Stuttgart
The work location of that person is in Stuttgart
Stuttgart
action filter_type
action find
entity Eugen Volz
relation work location
type administrative territorial entity
['Christian Democratic Union', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Eugen_Volz property:work_location ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1372942
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q1022,P106,c(Q12737077))
action filter_type
action find
entity Q1372942
relation P106
type Q12737077
['Q1022', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1372942 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Eugen Volz
action filter_type
action find
entity Eugen Volz
relation occupation
type occupation
['Stuttgart', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Eugen_Volz property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1022,P106,c(Q12737077))
action filter_type
action find
entity Q1372942
relation P106
type Q12737077
A [ANSWER] has that person as his/her 's career
['Q1022', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1372942 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
politician
A politician has that person as his/her 's career
politician
action filter_type
action find
entity Eugen Volz
relation occupation
type occupation
['Stuttgart', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Eugen_Volz property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142637 Q1372942
P27 P495
Q1048835
USER
Which political territories are the native countriesof Eugen Volz and are the countries of origin of Help! I'm a Fish ?
AND((Q1372942,P27,c(Q1048835)), (Q142637,P495,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1372942
relation P27
action find
entity Q142637
relation P495
type Q1048835
{'AND': [['Q1372942', 'P27', {'concept': 'Q1048835'}], ['Q142637', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { resource:Q1372942 property:P27 ?n . resource:Q142637 property:P495 ?n . ?n rdf:type ontology:Q1048835 }
Help! I'm a Fish Eugen Volz
action filter_type
action intersection
action find
entity Eugen Volz
relation country of citizenship
action find
entity Help! I'm a Fish
relation country of origin
type political territorial entity
{'AND': [['Eugen Volz', 'country of citizenship', {'concept': 'political territorial entity'}], ["Help! I'm a Fish", 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { resource:Eugen_Volz property:country_of_citizenship ?n . resource:Help!_I'm_a_Fish property:country_of_origin ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q1372942,P27,c(Q1048835)), (Q142637,P495,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1372942
relation P27
action find
entity Q142637
relation P495
type Q1048835
[ANSWER] is the native countriesof Eugen Volz and is the countries of origin of Help! I'm a Fish
{'AND': [['Q1372942', 'P27', {'concept': 'Q1048835'}], ['Q142637', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { resource:Q1372942 property:P27 ?n . resource:Q142637 property:P495 ?n . ?n rdf:type ontology:Q1048835 }
Germany
Germany is the native countriesof Eugen Volz and is the countries of origin of Help! I'm a Fish
Germany
action filter_type
action intersection
action find
entity Eugen Volz
relation country of citizenship
action find
entity Help! I'm a Fish
relation country of origin
type political territorial entity
{'AND': [['Eugen Volz', 'country of citizenship', {'concept': 'political territorial entity'}], ["Help! I'm a Fish", 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { resource:Eugen_Volz property:country_of_citizenship ?n . resource:Help!_I'm_a_Fish property:country_of_origin ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q1048835 Q15617994 Q1048835
USER
Which political territories have diplomatic relationships with atleast 26 administrative territories or political territories ?
(c(Q15617994)|c(Q1048835),P530,c(Q1048835))
action atleast
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
value 26
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?e ) WHERE { { ?q property:P530 ?h . ?h rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q1048835 } UNION { ?q property:P530 ?h . ?h rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } } GROUP BY ?h } . FILTER ( ?e >= 26 ) }
action atleast
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 26
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?e ) WHERE { { ?q property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:political_territorial_entity } UNION { ?q property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?h } . FILTER ( ?e >= 26 ) }
[]
political territorial entity designation for an administrative territorial entity political territorial entity
Q183 Q408 Q16
SYSTEM
Germany, Australia, Canada
Q183 Q408 Q16
(c(Q15617994)|c(Q1048835),P530,c(Q1048835))
action atleast
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
value 26
[ANSWERS] have diplomatic relationships with atleast 26 administrative territories or political territories
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?e ) WHERE { { ?q property:P530 ?h . ?h rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q1048835 } UNION { ?q property:P530 ?h . ?h rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } } GROUP BY ?h } . FILTER ( ?e >= 26 ) }
Germany Australia Canada
Germany, Australia and Canada have diplomatic relationships with atleast 26 administrative territories or political territories
Germany Australia Canada
action atleast
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 26
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?e ) WHERE { { ?q property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:political_territorial_entity } UNION { ?q property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?h } . FILTER ( ?e >= 26 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q15320003
P921
Q12737077 Q386724 Q838948
USER
Which occupations were the main subjects of greater number of works or works of art 's work than migrant worker ?
(c(Q386724)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q15320003
relation P921
type Q386724
type Q838948
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:Q838948 ) ( ontology:Q386724 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:P921 resource:Q15320003 . { { ?u rdf:type ontology:Q386724 } UNION { ?u rdf:type ontology:Q838948 } } } } . FILTER ( ?e > ?i ) }
migrant worker
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity migrant worker
relation main subject
type work
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:work_of_art ) ( ontology:work ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:main_subject resource:migrant_worker . { { ?u rdf:type ontology:work } UNION { ?u rdf:type ontology:work_of_art } } } } . FILTER ( ?e > ?i ) }
[]
occupation work work of art
Q15637082 Q1930187 Q16746569
SYSTEM
industrialist, journalist, high school student
Q15637082 Q911554 Q39631 Q1124183 Q11631 Q33999 Q36180 Q7358 Q1930187 Q9402 Q2961580 Q101539 Q205375 Q164236 Q936969 Q16746569 Q16003605 Q245068 Q33231 Q2095549 Q1674312 Q16003532
(c(Q386724)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q15320003
relation P921
type Q386724
type Q838948
And [ANSWERS] were the main subjects of greater number of works or works of art 's work than migrant worker
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:Q838948 ) ( ontology:Q386724 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:P921 resource:Q15320003 . { { ?u rdf:type ontology:Q386724 } UNION { ?u rdf:type ontology:Q838948 } } } } . FILTER ( ?e > ?i ) }
industrialist business magnate physician lumberjack astronaut actor writer clown journalist ninja taxi driver flight attendant inventor war correspondent nanny high school student elementary school student comedian photographer aviator rag-and-bone man middle school student
And industrialist, journalist and high school student were the main subjects of greater number of works or works of art 's work than migrant worker
industrialist journalist high school student
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity migrant worker
relation main subject
type work
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:work_of_art ) ( ontology:work ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:main_subject resource:migrant_worker . { { ?u rdf:type ontology:work } UNION { ?u rdf:type ontology:work_of_art } } } } . FILTER ( ?e > ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q15958185
P921
Q12737077 Q386724 Q838948
USER
And how about racecar driver?
(c(Q386724)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q15958185
relation P921
type Q386724
type Q838948
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:P921 resource:Q15958185 . { { ?f rdf:type ontology:Q386724 } UNION { ?f rdf:type ontology:Q838948 } } } } . FILTER ( ?n > ?r ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?o WHERE { { ?o rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q838948 . ?s property:P921 ?o } UNION { ?s property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q386724 } } GROUP BY ?o } }
racecar driver
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity racecar driver
relation main subject
type work
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:main_subject resource:racecar_driver . { { ?f rdf:type ontology:work } UNION { ?f rdf:type ontology:work_of_art } } } } . FILTER ( ?n > ?r ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?o WHERE { { ?o rdf:type ontology:occupation . ?s rdf:type ontology:work_of_art . ?s property:main_subject ?o } UNION { ?s property:main_subject ?o . ?o rdf:type ontology:occupation . ?s rdf:type ontology:work } } GROUP BY ?o } }
[]
occupation work work of art
Q15637082 Q1930187 Q16746569
SYSTEM
industrialist, journalist, high school student
Q15637082 Q911554 Q39631 Q1124183 Q11631 Q33999 Q36180 Q7358 Q1930187 Q9402 Q2961580 Q101539 Q205375 Q164236 Q936969 Q16746569 Q16003605 Q245068 Q33231 Q2095549 Q1674312 Q16003532
(c(Q386724)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q15958185
relation P921
type Q386724
type Q838948
[ANSWERS]
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:P921 resource:Q15958185 . { { ?f rdf:type ontology:Q386724 } UNION { ?f rdf:type ontology:Q838948 } } } } . FILTER ( ?n > ?r ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?o WHERE { { ?o rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q838948 . ?s property:P921 ?o } UNION { ?s property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q386724 } } GROUP BY ?o } }
industrialist business magnate physician lumberjack astronaut actor writer clown journalist ninja taxi driver flight attendant inventor war correspondent nanny high school student elementary school student comedian photographer aviator rag-and-bone man middle school student
industrialist journalist high school student
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity racecar driver
relation main subject
type work
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:main_subject resource:racecar_driver . { { ?f rdf:type ontology:work } UNION { ?f rdf:type ontology:work_of_art } } } } . FILTER ( ?n > ?r ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?o WHERE { { ?o rdf:type ontology:occupation . ?s rdf:type ontology:work_of_art . ?s property:main_subject ?o } UNION { ?s property:main_subject ?o . ?o rdf:type ontology:occupation . ?s rdf:type ontology:work } } GROUP BY ?o } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q727
P206
Q337567 Q355304 Q56061
USER
Which administrative territories are located in the neighbourhood of lesser number of still waterss and watercourses than Amsterdam ?
(c(Q56061),P206,c(Q337567)|c(Q355304))
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q355304
action count
action filter_multi_types
action find
entity Q727
relation P206
type Q337567
type Q355304
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?h WHERE { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Q727 property:P206 ?g . { VALUES ( ?i ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?g rdf:type ?i } } } . FILTER ( ?e < ?w ) }
Amsterdam
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Amsterdam
relation located next to body of water
type still waters
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?h WHERE { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:still_waters ) ( ontology:watercourse ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Amsterdam property:located_next_to_body_of_water ?g . { VALUES ( ?i ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?g rdf:type ?i } } } . FILTER ( ?e < ?w ) }
[]
still waters watercourse administrative territorial entity
Q1085 Q649 Q2807
SYSTEM
Prague, Moscow, Madrid
Q165736 Q3579 Q991950 Q1721578 Q84 Q2003600 Q18682792 Q157478 Q2255397 Q2752171 Q539767 Q9248 Q3876 Q990253 Q1586529 Q3246724 Q740149 Q493544 Q957593 Q3718 Q12273 Q3818 Q23311 Q3238 Q4359610 Q3143983 Q41057 Q16650704 Q2207185 Q2222516 Q3844 Q770885 Q18682692 Q2047623 Q10014 Q643835 Q515728 Q321197 Q4083209 Q7054 Q25231 Q2335714 Q2454052 Q501661 Q501744 Q11882295 Q1939468 Q3549178 Q1520342 Q3150 Q18682889 Q16168559 Q10084 Q1416753 Q846242 Q1083051 Q18808 Q622030 Q985642 Q11974 Q548441 Q331556 Q369911 Q1309 Q991532 Q4093 Q955992 Q144773 Q3659 Q609698 Q1780116 Q1667345 Q2415951 Q987 Q2451654 Q6672525 Q11874170 Q254734 Q577891 Q631517 Q2943426 Q17151 Q15982011 Q13648690 Q175258 Q209176 Q1636296 Q1754096 Q746096 Q2135238 Q1521492 Q653025 Q2284683 Q105342 Q38834 Q162857 Q1521199 Q1757 Q1025910 Q1754 Q4201085 Q769631 Q7977 Q15377069 Q571970 Q2987335 Q1685683 Q15241516 Q257034 Q2500974 Q2088134 Q5350973 Q1252635 Q9365 Q9361 Q47048 Q156325 Q90 Q1519942 Q985587 Q3563897 Q7673494 Q986645 Q2441552 Q588293 Q501090 Q73049 Q486792 Q1610396 Q371532 Q385386 Q3397397 Q956954 Q1113813 Q34820 Q2726062 Q9375247 Q625761 Q2357495 Q1650017 Q1930 Q14621387 Q786111 Q2007261 Q1033978 Q2539726 Q2305394 Q20205325 Q17332337 Q597 Q73462 Q3183256 Q2287228 Q3929 Q3036324 Q328121 Q991661 Q1018010 Q20714928 Q185404 Q47164 Q810309 Q3897 Q93347 Q3894 Q3748 Q11901685 Q15320 Q365 Q5836 Q1020231 Q641390 Q1845104 Q572034 Q26362 Q624065 Q36433 Q11866294 Q2465220 Q2060910 Q617407 Q179454 Q23800 Q1020776 Q19613124 Q3323 Q2060859 Q8546656 Q2921491 Q473914 Q206954 Q16015040 Q3026650 Q8818 Q478036 Q18923859 Q9270 Q2886833 Q15981916 Q1718608 Q1335 Q635806 Q208337 Q3761 Q1779522 Q2916660 Q968631 Q24861 Q28721 Q1526933 Q1009524 Q7018666 Q427708 Q160642 Q14935628 Q174054 Q163091 Q2078223 Q185582 Q3483520 Q484799 Q14328 Q73221 Q9326 Q156717 Q573599 Q9918 Q1520 Q11902175 Q1646181 Q9911 Q1776515 Q997407 Q2467 Q554655 Q3561 Q6465685 Q3021755 Q28218 Q4527424 Q41295 Q2861 Q131233 Q793 Q621483 Q2482545 Q5465 Q6477002 Q20730670 Q18682920 Q1614071 Q43070 Q932008 Q3703 Q12246 Q4975194 Q2227038 Q2059003 Q37133 Q2069566 Q314367 Q207998 Q3792 Q52437 Q2525207 Q2598092 Q2983392 Q463937 Q997775 Q212096 Q986079 Q2280 Q550373 Q2174345 Q2627252 Q504544 Q3630 Q49149 Q8851 Q200783 Q18682241 Q4070552 Q16636995 Q1165854 Q10509 Q5474003 Q755657 Q3832 Q334 Q239 Q12994 Q5476889 Q4083 Q282461 Q1454043 Q515229 Q1094123 Q733368 Q35178 Q15377091 Q995159 Q508998 Q2300996 Q656709 Q2379952 Q2719861 Q1004822 Q4119405 Q238803 Q932955 Q1908062 Q846188 Q196397 Q542647 Q948468 Q145638 Q894535 Q1563 Q523651 Q987790 Q2543792 Q1748 Q210093 Q18682719 Q1223508 Q2335535 Q2677934 Q1042366 Q991274 Q2391779 Q3299785 Q85 Q15241507 Q533456 Q9536 Q849441 Q15068816 Q10707890 Q11901984 Q2255057 Q3947670 Q2933890 Q966534 Q1487909 Q629786 Q2229853 Q737877 Q2918470 Q73031 Q2543086 Q969531 Q1735 Q851034 Q3595479 Q1143278 Q14875773 Q984973 Q3398922 Q773280 Q2950738 Q2924158 Q19297212 Q3856 Q614919 Q3010939 Q1785679 Q36281 Q7481520 Q1000107 Q1442470 Q21060 Q5330523 Q14056 Q6278969 Q70 Q2021057 Q425780 Q3743068 Q1648515 Q1390389 Q1585348 Q831527 Q200036 Q1390387 Q2321706 Q12191 Q3674 Q651997 Q517053 Q7507390 Q15339 Q5912898 Q992474 Q172 Q270 Q1957 Q109535 Q847085 Q105037 Q214843 Q2336499 Q1519434 Q39178 Q40921 Q2225013 Q690 Q119446 Q1906235 Q3274 Q941967 Q285323 Q961068 Q1807382 Q11899935 Q537214 Q18681966 Q2684898 Q109386 Q2729544 Q14947347 Q301415 Q2160909 Q3051477 Q920968 Q192098 Q15241652 Q26296883 Q18663090 Q5189288 Q649738 Q715 Q567332 Q4374268 Q49414 Q3001 Q21197 Q9310 Q1052027 Q736906 Q10717 Q1874 Q1129607 Q1018225 Q837211 Q180333 Q543904 Q592123 Q586112 Q990651 Q2578642 Q239496 Q7107283 Q791602 Q959 Q654259 Q2842582 Q437 Q390588 Q3932309 Q3551 Q1265670 Q384 Q8745 Q38807 Q2745332 Q213707 Q1770 Q41699 Q491999 Q858775 Q19613821 Q425786 Q865808 Q6751200 Q938379 Q2191422 Q18419 Q2329846 Q3688 Q1780 Q1781 Q658902 Q6397865 Q2659563 Q1003576 Q2529554 Q2682753 Q3306 Q647543 Q11897598 Q4067724 Q914755 Q227064 Q1850 Q1070428 Q2893117 Q477232 Q3780 Q7314172 Q1314479 Q1490863 Q840867 Q285778 Q1732099 Q2807 Q133123 Q4357920 Q35381 Q986387 Q259617 Q3825 Q19613231 Q865021 Q3604 Q3407596 Q4405293 Q959517 Q5638429 Q2590944 Q4207520 Q183104 Q2238911 Q17315652 Q2225806 Q1025055 Q2424732 Q2538313 Q1330853 Q5379235 Q208143 Q806414 Q3733 Q593141 Q1189066 Q1785595 Q165486 Q3739 Q25230 Q2637838 Q16015068 Q2787064 Q1823092 Q617 Q952497 Q181359 Q1243780 Q7230655 Q810092 Q19613854 Q492744 Q1012411 Q3854 Q15241991 Q11902896 Q19906849 Q2574529 Q4072448 Q155955 Q10400 Q34713 Q5068781 Q183199 Q2350941 Q1545679 Q10690 Q5926907 Q915 Q16953999 Q311809 Q15682 Q1200892 Q161912 Q3028239 Q1997485 Q11889617 Q5493749 Q674395 Q2007254 Q2911365 Q1538830 Q632489 Q12047 Q2157144 Q724394 Q2267399 Q4347874 Q9347 Q2785515 Q671557 Q1043368 Q4454 Q1800099 Q9974 Q2292517 Q989288 Q987243 Q13640603 Q614706 Q2927534 Q276274 Q2449 Q1624013 Q17483998 Q36526 Q1792879 Q2511670 Q1423660 Q345389 Q1721184 Q3901 Q466046 Q2727978 Q2666506 Q3909 Q2931074 Q7056872 Q1026296 Q755389 Q1419813 Q1011866 Q62 Q736131 Q41572 Q306440 Q3882 Q3766 Q3889 Q9125 Q1861 Q15552182 Q1616324 Q1870405 Q868647 Q216939 Q2194010 Q5813 Q12439 Q83065 Q269 Q1794939 Q2392235 Q661700 Q767357 Q1947 Q2674551 Q1981987 Q162065 Q1160017 Q2751941 Q2928585 Q676689 Q2498737 Q939609 Q49550 Q37806 Q770518 Q1533868 Q795623 Q79716 Q840681 Q922981 Q2077402 Q2784834 Q2351343 Q166065 Q985659 Q971550 Q930204 Q2713838 Q13400194 Q18681979 Q2868 Q10313 Q1886770 Q5132825 Q2682566 Q40747 Q2087380 Q820949 Q649 Q304108 Q77056 Q58940 Q2423894 Q894955 Q2579332 Q504678 Q990527 Q2014445 Q187251 Q2948574 Q990130 Q9939 Q427044 Q28848 Q3112541 Q8050719 Q598948 Q368275 Q12762569 Q2413248 Q806799 Q34692 Q910997 Q766896 Q2830827 Q586 Q913649 Q585 Q8757 Q34370 Q954764 Q15287 Q1734018 Q1669399 Q1764 Q16531502 Q630478 Q9279 Q3940 Q2236639 Q11901684 Q2729387 Q2124272 Q602314 Q2704 Q986675 Q1270505 Q1713141 Q579556 Q11900887 Q176749 Q65502 Q14452 Q464955 Q508056 Q8826 Q3820 Q506700 Q6899495 Q11873187 Q36260 Q963894 Q36262 Q123076 Q2627415 Q2281721 Q2319224 Q569080 Q18386455 Q204234 Q787279 Q750760 Q19613699 Q3932 Q988100 Q1006998 Q719379 Q54898 Q353307 Q1025353 Q1572113 Q2432955 Q55630 Q7618827 Q4100 Q4914513 Q16016733 Q3361880 Q878809 Q4998230 Q683125 Q19612988 Q3726 Q57006 Q1742334 Q5674391 Q230406 Q1867127 Q502398 Q570990 Q2978763 Q222702 Q36600 Q36168 Q3114 Q956125 Q630334 Q773919 Q2051589 Q1553283 Q2409481 Q743521 Q1807728 Q1341 Q578026 Q1964137 Q503763 Q11901258 Q2355915 Q2084446 Q2303243 Q1531454 Q446232 Q1017 Q41547 Q18399563 Q2350685 Q15241523 Q7823825 Q1552720 Q505601 Q1850580 Q2585002 Q14205508 Q1522881 Q670057 Q5646331 Q179385 Q1248930 Q11901400 Q1728043 Q1743660 Q991400 Q1085 Q1758944
(c(Q56061),P206,c(Q337567)|c(Q355304))
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q355304
action count
action filter_multi_types
action find
entity Q727
relation P206
type Q337567
type Q355304
[ANSWERS] are located in the neighbourhood of lesser number of still waterss and watercourses than Amsterdam
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?h WHERE { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Q727 property:P206 ?g . { VALUES ( ?i ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?g rdf:type ?i } } } . FILTER ( ?e < ?w ) }
Doesburg Tripoli Karczew Tagazar London Walton-on-Thames Vaattojärvi Lesozavodsk Uitdam Ardnacrusha Ivalo Baku Lilongwe Henley-on-Thames Rothneusiedl Bisham Södermalm Makkum Den Oever Dakar Gijón Malabo City of London Tegucigalpa El Pescadero Lekkerkerk Topeka Innokent'evka Terneuzen Sansané Haoussa Brazzaville Bergen aan Zee Kirkonkylä Strzyżów Kampen Arfurt Harburg-Wilhelmsburg Cieszyn Seymour Arm Dalnegorsk Svalbard Steeden Olney Schleswig Alert Metsäkylä Paravur Onari Turvey Jena Väli-Olhava Novozhatkovo Vlissingen Sitra Nieuw-Lekkerland Swanscombe Pyongyang Palos de la Frontera Góra Kalwaria Las Palmas de Gran Canaria Portugalete Bosaso Athlone Maastricht Grays Glasgow Kobryn Zakroczym N'Djamena Lorain Cold Brayfield Marienwerder Whitchurch-on-Thames New Delhi Trentemoult Long Ditton Kätkäsuvanto Äkäslompolo East St. Louis Marivan Cayo Santa María Thessaloniki El Teso Taradei Novosil Ely Hulhumalé Weybridge North Shields East Tilbury Ghazaouet Bergambacht Mobridge Bolshoy Kamen Nuku'alofa Kourfeye Centre Great Barford Helsinki Maïné-Soroa Stockholm Innishannon Drohiczyn Priozersk Zellerfeld Torgelow East Cowes Jean Marie River Alchan Kemble Richmond San José del Cabo El Centenario Doulsou Dushanbe Bishkek Oulu Juan Fernández Islands Paris Bromham Lee-on-the-Solent Vyadhapura Taboiaki Imanan Tondikandia Sonning Castro Urdiales Hindeloopen Aranjuez Egham Hythe Lisala Spakenburg Radley Kaspi Come By Chance, Newfoundland and Labrador Santo Domingo Westmaas Winniki Bandipore Paesens Sidi Abdelaziz Ottawa Anna Kokorou N'Gonga Canvey Island Ashton Keynes Karesuvanto Hattian Dupatta Grand Forks, Yukon Lisbon Zaltbommel Opheusden Simmering Port Louis Pangbourne Greater Tokyo Area Callantsoog Sidi Barrani Port Famine Bundaberg Santa Monica Oberwurmbach Luanda Mostar Kampala Monrovia Virkkula Syasstroy Cologne Toledo Newport Pagnell Breskens Little Thetford Eggesin Lebus Molesey Porto Jeesiö Putney Fuvahmulah Eton Pitkyaranta Valletta Cabo San Lucas Alekseyevka Belgorod Nieuw-Beijerland Hurley Katwijk aan Zee Ibiza Town Kastoria Ariadnoye Lexmond Valencia Schoonhoven Busse Thimphu Basildon, Berkshire El Sargento Speising Montevideo Runkel Koltur Accra Kolmane Brakel Corringham, Essex Albany Beeston Regis Hacking Whalley Newnham Murren Chamberlain Salisbury Lune River Isola Bella Zwiesel Kelmscott Knoxville Siggebohyttan Marbella Santa Cruz de Tenerife Tiel Vientiane Khmelnytskyi Weilburg Enkhuizen Astana Väylä Worcester Den Helder New Bradwell Bubaque Nassau Ronneburg Algiers La Ventana Dellys Baton Rouge Shuyskoye, Vologda Oblast Basseterre Rostock South Tarawa Zwolle Villmar Tortuguero Cape Town Vuotso Glen Cove Yli-Olhava Dodewaard Donetsk Maarssen Bamako Huelva Brookville, Nova Scotia Warder, Netherlands Bourne End Mariupol Penzing Tunxdorf Fethiye Lomé Murano Ochten Shorne Colliers Saint Thomas Palojoensuu Kastelorizo Castro Marim Municipality Minsk Godstow Rudolfsheim Katwijk aan den Rijn Ellingen Jakarta Nantucket Málaga Monschau Mankila Arkhangelovka Glazovka Dargol Elche Köngäs Athlunkard Bangui Singapore Brussels Bruges Fox River, Nova Scotia Eschweiler IJmuiden Paesens-Moddergat Ngerulmud Rhoda Island Hoofdplaat Kuwait City Clausthal Ciechanowiec Marlow Caversham, Berkshire Nukunonu Moulsford Oost-Vlieland Bumba, Democratic Republic of the Congo Nabih Saleh Maidenhead Scharsterbrug Matankari Wervershoof Sortavala Méhana Carabane Kashira Bosso Havana St Mary Hoo Inagh Youri Copenhagen Motril Tepasto Ohrid Deest Puttershoek Lilla Essingen Kalamos Tamou Halat Nuaim Cairo Arkhipovka Cricklade Bad Doberan Saint John Norris Arm Olhava Vuontisjärvi Iffley San Mauro Mare Stoneleigh Elleholm Sinder Wraysbury Velsen-Noord Termunten Rossum, Gelderland Kessel Blanchland Monster Innsbruck San Leandro Andrott Twickenham Spencer's Island Laleham Y Felinheli Aumenau Waarde Bray Neuses Nicosia Atokos Salmon Arm Sambéra Roseau Wolvercote Kijkduin Santoña Ouddorp Eastern Tickle Jan Mayen Jormua Bern Hindersön 's-Gravendeel Muonio Tounouga Landön Harikanassou Djurgården Volos Fabidji Kingston upon Thames Nantes Niamey Alcobaça, Portugal De Koog Sicamous, British Columbia Shlisselburg Houghton, Cambridgeshire Taplow Toronto Warsaw Vologda Zutphen Heinenoord Callao Tipaza Higham, Kent Carlton Port of Spain Honiara Thénia Delft De Cocksdorp Łomianki Managua Peniche Staines-upon-Thames Chétimari Muiderberg Vaalajärvi Prenzlau Kaukonen Ter Heijde Nampho Rotterdam Centrum Beetz Marken Rodaun Ellewoutsdijk Nellim Oymyakon Busse Deventer Ylikiiminki Crowmarsh Gifford Alto Douro Heilbronn Annopol Mapledurham Ramsberg am Brombachsee Paramaribo Chișinău Dili Cayo Largo del Sur Almonte Georgetown Odessa Cookham St Neots Scheveningen Foča Bagdad, Tamaulipas Medmenham Amini Kozienice Purley on Thames Sheringham Osney Awala-Yalimapo Vladivostok Bukoba Ameide Ljubljana Metković Nieuw-Haamstede Rabat Dungass Skopje Vigo Suva Villa Las Estrellas Grímsey Tallinn Castries Andijk Dartford Bichura 's-Gravenzande Birni N'Gaouré Manoka Samarai Vingt Cinq Brooklyn Sandford-on-Thames Nouakchott Bratislava Budapest Otley Keväjärvi Little Wittenham Say Old Windsor Werkendam Panama City Arrecife Tikkaperä Anuchino Dogo Zoutelande Phnom Penh Chertsey Beit Ummar Aktobe Freetown Reposaari Sorbon Haoussa Gaden bei Pförring Rudnaya Pristan Datchet Twillingate Madrid Patras Kuttura Colombo Cárdenas Wasserburg am Inn Libreville Antonovka Birchington-on-Sea Djibouti Kennington, Oxfordshire Fobbing Koygolo Hafslundsøy Reimerswaal Kazakevichevo Feldkirch Kumta Siikajoenkylä Sassoumbroum Kruiningen Zuilichem Wacha Vilsandi Ennore Wigan Bandé Conakry Philip Point Cires Kourteye Kempston Bissau Guernsey Vlissingen-Oost Venyukovo Long Wittenham Liboré Padua Letterkenny Talavera de la Reina Dorchester on Thames Port Greville Unterwurmbach Bogoslovka Mijas Culham Bujumbura Nizhnie Luzhki Ylläsjärvi Novorossiyka Stanford-le-Hope Aurovka Kuybyshev Almería Salzburg Chalk, Kent Ioannina Scharwoude, Koggenland Shepperton Cardiff Hubbards, Nova Scotia Perm Daloloia Group Sidi Daoud Cádiz Dessa Solec Kujawski Greenhithe Littleport Raattama Fraserville, Nova Scotia Bovenkarspel N'Dounga Borssele Gothèye Niulakita Mügeln Almere Haven Poros Krimpen aan de Lek Emäsalo Malé West-Terschelling Brackley Stora Essingen Khabarovsk Wytham Weesp Skikda Yankton Kollo Banevurovo Anzourou Allhallows Wolverton Mogadishu Yampupata Ettling Port Moresby Canning Town Tima Hütteldorf Łochów Kahlenbergerdorf Moroni Salé Karwar Panaeati Island Maseru Termunterzijl North Stoke, Oxfordshire Jinotega Athenry Roatán Tillabéri San Francisco Alblasserdam Mykolaiv Abbeyfeale Manama Damascus Maputo Winterthur Bangkok Tikhmenevo Egmond aan Zee Lorrha Southport Essaouira Sunbury-on-Thames Canary Islands Detroit Leicester Tashkent Kwaya Tanda Sankt Andreasberg Caravela Juba West Tilbury Neuwaldegg Dishoek Perim South Stoke, Oxfordshire Burnt Islands, Newfoundland and Labrador Gravesend Dorney Lechlade Maó-Mahón Port Vila Boumerdès Godmanchester Oud-Beijerland Whittier Kinsale Mijnsheerenland Aldeburgh Dreumel Benson, Oxfordshire Lelystad Ciechocinek West Thurrock Wells-next-the-Sea Vaghena Island Dornbach Kelontekemä Lima Donostia/San Sebastián Malawa Cliffe, Kent Clifton Hampden Pierre Northfleet Gougane Barra Moscow Isola dei Pescatori Edam Capolago Funafala Boubon Appleford-on-Thames Berwick-upon-Tweed Diffa Bath, Netherlands Vestmannaeyjar Champ d'Asile Hook of Holland Huizen Guilladjé Saint Paul Vuren Ydrefors Wargrave Spetses Arenibek Cayo Romano Bankilaré Kingston Wyszków Gaya Remenham Bonn Wijk aan Zee Oslo A Coruña Rotterdam Thames Ditton Novaya Ladoga Karma Killorglin Reykjavík Baryshevo Rixensart Bandar Seri Begawan Victoria Oosterdijk, Enkhuizen Virmaila Huisduinen Maasdam Ruo Pescara Gorouol Deline Juliusplate Labasa Venetpalo Villingili Bönigen Easter Island Windsor Filingué Palma Beirut Ueckermünde Mongewell Kuivaniemi Apia Kilrush St. John's Palmyra Atoll Schellinkhout Teddington Goring-on-Thames Koipsi Canoe Island Milton Keynes Stony Stratford Sliedrecht Beloyarovo São Tomé Wallingford Sutton Courtenay Sachs Harbour San Cristóbal de La Laguna Addlestone Cadzand-Bad Útila Isleworth Novi Sad Stone, Kent Baden-Baden Binsey, Oxfordshire Orlinoye Schardam Bitinkodji Burcot, Oxfordshire Ustronie Morskie Abaykan Banjul Emmerich am Rhein Kiota Hartford, Cambridgeshire Zurich, Friesland Lobsing Oranje, Drenthe Lakewood Clearwater Beach Tarifa The Hague Bridgetown Canberra Kouré Bad Berka Aunu'u Streatley, Berkshire Gueskérou Little Thurrock Scarborough Samhah Tolyatti Kleszczele Namaro Pappenheim Vihiluoto Czyżew Arzew Shiplake Glin Petten Aachen St. George's Argunskoye Tolhuin Abramovka Too Good Arm Guanaja Wassenaar Hambleden Brockham Barra de Potosí Killaloe, County Clare Birgitz Hampton Wick Greenwich Bishop's Waltham Vikajärvi Sheremetyevo Kirtachi Puerto Barrios Prague Rottumeroog
Prague, Moscow and Madrid are located in the neighbourhood of lesser number of still waterss and watercourses than Amsterdam
Prague Moscow Madrid
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Amsterdam
relation located next to body of water
type still waters
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?h WHERE { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:still_waters ) ( ontology:watercourse ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Amsterdam property:located_next_to_body_of_water ?g . { VALUES ( ?i ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?g rdf:type ?i } } } . FILTER ( ?e < ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q649
P206
Q337567 Q355304 Q56061
USER
And also tell me about Moscow?
(c(Q56061),P206,c(Q337567)|c(Q355304))
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q355304
action count
action filter_multi_types
action find
entity Q649
relation P206
type Q337567
type Q355304
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?z WHERE { { ?z property:P206 ?i . ?z rdf:type ontology:Q56061 . ?i rdf:type ontology:Q337567 } UNION { ?z property:P206 ?i . ?z rdf:type ontology:Q56061 . ?i rdf:type ontology:Q355304 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Q649 property:P206 ?b . { { ?b rdf:type ontology:Q337567 } UNION { ?b rdf:type ontology:Q355304 } } } } . FILTER ( ?s < ?y ) }
Moscow
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Moscow
relation located next to body of water
type still waters
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?z WHERE { { ?z property:located_next_to_body_of_water ?i . ?z rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:still_waters } UNION { ?z property:located_next_to_body_of_water ?i . ?z rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:watercourse } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Moscow property:located_next_to_body_of_water ?b . { { ?b rdf:type ontology:still_waters } UNION { ?b rdf:type ontology:watercourse } } } } . FILTER ( ?s < ?y ) }
[]
still waters watercourse administrative territorial entity
Q2280 Q1874 Q8818
SYSTEM
Minsk, Odessa, Valencia
Q3579 Q9248 Q493544 Q957593 Q3718 Q12273 Q3818 Q4359610 Q770885 Q4083209 Q25231 Q501661 Q501744 Q1939468 Q3549178 Q1416753 Q622030 Q11974 Q548441 Q331556 Q2943426 Q17151 Q15982011 Q1636296 Q1521492 Q105342 Q38834 Q2088134 Q5350973 Q156325 Q985587 Q7673494 Q501090 Q73049 Q1113813 Q2357495 Q1650017 Q14621387 Q3929 Q328121 Q991661 Q1018010 Q47164 Q810309 Q3897 Q36433 Q2060910 Q23800 Q1020776 Q19613124 Q2921491 Q473914 Q8818 Q15981916 Q1718608 Q1335 Q208337 Q3761 Q28721 Q484799 Q14328 Q9911 Q997407 Q2467 Q3561 Q6465685 Q3021755 Q41295 Q131233 Q2482545 Q5465 Q20730670 Q12246 Q4975194 Q207998 Q3792 Q52437 Q2983392 Q463937 Q212096 Q986079 Q2280 Q49149 Q8851 Q10509 Q334 Q12994 Q5476889 Q282461 Q1454043 Q515229 Q35178 Q656709 Q2719861 Q4119405 Q846188 Q1748 Q210093 Q2677934 Q991274 Q3299785 Q849441 Q15068816 Q3947670 Q966534 Q969531 Q851034 Q3595479 Q14875773 Q3398922 Q614919 Q1000107 Q1442470 Q21060 Q5330523 Q14056 Q2021057 Q831527 Q200036 Q651997 Q517053 Q847085 Q105037 Q214843 Q39178 Q40921 Q2225013 Q119446 Q941967 Q2684898 Q14947347 Q301415 Q49414 Q9310 Q1052027 Q736906 Q1874 Q837211 Q586112 Q239496 Q791602 Q959 Q3932309 Q8745 Q38807 Q2745332 Q213707 Q1770 Q41699 Q491999 Q19613821 Q425786 Q6751200 Q938379 Q2191422 Q18419 Q3688 Q3306 Q647543 Q2893117 Q3780 Q7314172 Q840867 Q1732099 Q133123 Q986387 Q3825 Q19613231 Q865021 Q2590944 Q2238911 Q1330853 Q5379235 Q3733 Q1189066 Q25230 Q7230655 Q810092 Q492744 Q3854 Q4072448 Q10400 Q5926907 Q16953999 Q311809 Q15682 Q5493749 Q632489 Q2157144 Q724394 Q4347874 Q9347 Q2785515 Q2292517 Q13640603 Q2449 Q1624013 Q17483998 Q36526 Q3901 Q466046 Q2727978 Q2666506 Q1419813 Q62 Q3882 Q3889 Q1616324 Q216939 Q5813 Q767357 Q1160017 Q2928585 Q49550 Q37806 Q770518 Q79716 Q930204 Q2713838 Q10313 Q2423894 Q187251 Q9939 Q8050719 Q368275 Q2413248 Q34692 Q913649 Q8757 Q1764 Q3940 Q2236639 Q2729387 Q602314 Q176749 Q14452 Q8826 Q3820 Q36260 Q36262 Q123076 Q569080 Q18386455 Q3932 Q719379 Q54898 Q1572113 Q683125 Q230406 Q1867127 Q502398 Q2978763 Q222702 Q36600 Q3114 Q773919 Q743521 Q1807728 Q11901258 Q2084446 Q446232 Q41547 Q7823825 Q1552720 Q505601 Q14205508 Q670057 Q991400 Q1758944
(c(Q56061),P206,c(Q337567)|c(Q355304))
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q355304
action count
action filter_multi_types
action find
entity Q649
relation P206
type Q337567
type Q355304
[ANSWERS]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?z WHERE { { ?z property:P206 ?i . ?z rdf:type ontology:Q56061 . ?i rdf:type ontology:Q337567 } UNION { ?z property:P206 ?i . ?z rdf:type ontology:Q56061 . ?i rdf:type ontology:Q355304 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Q649 property:P206 ?b . { { ?b rdf:type ontology:Q337567 } UNION { ?b rdf:type ontology:Q355304 } } } } . FILTER ( ?s < ?y ) }
Tripoli Baku Makkum Den Oever Dakar Gijón Malabo El Pescadero Bergen aan Zee Seymour Arm Svalbard Schleswig Alert Paravur Onari Sitra Palos de la Frontera Las Palmas de Gran Canaria Portugalete Bosaso Cayo Santa María Thessaloniki El Teso Hulhumalé Ghazaouet Bolshoy Kamen Nuku'alofa San José del Cabo El Centenario Juan Fernández Islands Lee-on-the-Solent Taboiaki Castro Urdiales Hindeloopen Come By Chance, Newfoundland and Labrador Paesens Sidi Abdelaziz Anna Port Louis Greater Tokyo Area Callantsoog Sidi Barrani Santa Monica Oberwurmbach Luanda Porto Fuvahmulah Valletta Cabo San Lucas Alekseyevka Katwijk aan Zee Ibiza Town Valencia El Sargento Speising Montevideo Koltur Accra Beeston Regis Marbella Santa Cruz de Tenerife Den Helder Bubaque Nassau Algiers La Ventana Dellys Basseterre South Tarawa Tortuguero Cape Town Glen Cove Huelva Brookville, Nova Scotia Fethiye Lomé Murano Colliers Saint Thomas Kastelorizo Castro Marim Municipality Minsk Nantucket Málaga Elche Singapore Bruges Fox River, Nova Scotia IJmuiden Paesens-Moddergat Ngerulmud Kuwait City Nukunonu Oost-Vlieland Nabih Saleh Wervershoof Copenhagen Motril Puttershoek Kalamos Halat Nuaim Saint John Norris Arm San Mauro Mare Elleholm Monster San Leandro Andrott Spencer's Island Y Felinheli Atokos Kijkduin Santoña Ouddorp Eastern Tickle Jan Mayen Hindersön Djurgården Volos Alcobaça, Portugal De Koog Heinenoord Callao Tipaza Port of Spain Honiara Thénia De Cocksdorp Peniche Ter Heijde Beetz Marken Ramsberg am Brombachsee Dili Cayo Largo del Sur Almonte Odessa Scheveningen Amini Sheringham Awala-Yalimapo Vladivostok Nieuw-Haamstede Vigo Suva Villa Las Estrellas Grímsey Tallinn Castries Andijk Bichura 's-Gravenzande Manoka Samarai Vingt Cinq Brooklyn Nouakchott Panama City Arrecife Beit Ummar Freetown Reposaari Rudnaya Pristan Twillingate Patras Cárdenas Libreville Antonovka Birchington-on-Sea Reimerswaal Kumta Vilsandi Ennore Conakry Point Cires Guernsey Port Greville Unterwurmbach Mijas Bujumbura Aurovka Almería Hubbards, Nova Scotia Daloloia Group Sidi Daoud Cádiz Fraserville, Nova Scotia Niulakita Almere Haven Poros Emäsalo Malé West-Terschelling Skikda Banevurovo Mogadishu Yampupata Ettling Port Moresby Moroni Salé Karwar Panaeati Island Roatán San Francisco Manama Maputo Egmond aan Zee Essaouira Canary Islands Caravela Perim Burnt Islands, Newfoundland and Labrador Maó-Mahón Port Vila Boumerdès Whittier Wells-next-the-Sea Vaghena Island Donostia/San Sebastián Funafala Vestmannaeyjar Huizen Ydrefors Spetses Cayo Romano Kingston Wijk aan Zee A Coruña Reykjavík Victoria Oosterdijk, Enkhuizen Huisduinen Ruo Villingili Easter Island Palma Beirut Apia St. John's Palmyra Atoll Koipsi Canoe Island São Tomé Sachs Harbour San Cristóbal de La Laguna Útila Ustronie Morskie Zurich, Friesland Lobsing Oranje, Drenthe Clearwater Beach Tarifa The Hague Canberra Aunu'u Scarborough Samhah Vihiluoto Arzew Petten St. George's Too Good Arm Guanaja Wassenaar Barra de Potosí Birgitz Puerto Barrios Rottumeroog
Minsk Odessa Valencia
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Moscow
relation located next to body of water
type still waters
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?z WHERE { { ?z property:located_next_to_body_of_water ?i . ?z rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:still_waters } UNION { ?z property:located_next_to_body_of_water ?i . ?z rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:watercourse } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Moscow property:located_next_to_body_of_water ?b . { { ?b rdf:type ontology:still_waters } UNION { ?b rdf:type ontology:watercourse } } } } . FILTER ( ?s < ?y ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26481809 Q15637082
P425
Q58778
USER
Which systems are associated with the field of occupation industrialist or sports administrator ?
OR((Q15637082,P425,c(Q58778)), (Q26481809,P425,c(Q58778)))
action filter_type
action union
action find
entity Q15637082
relation P425
action find
entity Q26481809
relation P425
type Q58778
{'OR': [['Q15637082', 'P425', {'concept': 'Q58778'}], ['Q26481809', 'P425', {'concept': 'Q58778'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q58778 . { { resource:Q15637082 property:P425 ?i } UNION { resource:Q26481809 property:P425 ?i } } }
sports administrator industrialist
action filter_type
action union
action find
entity industrialist
relation field of this occupation
action find
entity sports administrator
relation field of this occupation
type system
{'OR': [['industrialist', 'field of this occupation', {'concept': 'system'}], ['sports administrator', 'field of this occupation', {'concept': 'system'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:system . { { resource:industrialist property:field_of_this_occupation ?i } UNION { resource:sports_administrator property:field_of_this_occupation ?i } } }
[]
system
Q8148 Q48519
SYSTEM
industry, sport management
Q8148 Q48519
OR((Q15637082,P425,c(Q58778)), (Q26481809,P425,c(Q58778)))
action filter_type
action union
action find
entity Q15637082
relation P425
action find
entity Q26481809
relation P425
type Q58778
And [ANSWERS] are associated with the field of occupation industrialist or sports administrator
{'OR': [['Q15637082', 'P425', {'concept': 'Q58778'}], ['Q26481809', 'P425', {'concept': 'Q58778'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q58778 . { { resource:Q15637082 property:P425 ?i } UNION { resource:Q26481809 property:P425 ?i } } }
industry sport management
And industry and sport management are associated with the field of occupation industrialist or sports administrator
industry sport management
action filter_type
action union
action find
entity industrialist
relation field of this occupation
action find
entity sports administrator
relation field of this occupation
type system
{'OR': [['industrialist', 'field of this occupation', {'concept': 'system'}], ['sports administrator', 'field of this occupation', {'concept': 'system'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:system . { { resource:industrialist property:field_of_this_occupation ?i } UNION { resource:sports_administrator property:field_of_this_occupation ?i } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8818
P840
Q838948
USER
Which work of art has its narrative set in Valencia ?
(c(Q838948),P840,Q8818)
action filter_type
action find_reverse
entity Q8818
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q8818']
SELECT DISTINCT ?y WHERE { ?y property:P840 resource:Q8818 . ?y rdf:type ontology:Q838948 }
Valencia
action filter_type
action find_reverse
entity Valencia
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Valencia']
SELECT DISTINCT ?y WHERE { ?y property:narrative_location resource:Valencia . ?y rdf:type ontology:work_of_art }
[]
work of art
Q26262791
SYSTEM
Production number 8
Q26262791
(c(Q838948),P840,Q8818)
action filter_type
action find_reverse
entity Q8818
relation P840
type Q838948
[ANSWER] has its narrative set in Valencia
[{'concept': 'Q838948'}, 'P840', 'Q8818']
SELECT DISTINCT ?y WHERE { ?y property:P840 resource:Q8818 . ?y rdf:type ontology:Q838948 }
Production number 8
Production number 8 has its narrative set in Valencia
Production number 8
action filter_type
action find_reverse
entity Valencia
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Valencia']
SELECT DISTINCT ?y WHERE { ?y property:narrative_location resource:Valencia . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15637082
P1056
Q43229
USER
Which organization produces industrialist ?
(c(Q43229),P1056,Q15637082)
action filter_type
action find_reverse
entity Q15637082
relation P1056
type Q43229
[{'concept': 'Q43229'}, 'P1056', 'Q15637082']
SELECT DISTINCT ?l WHERE { ?l property:P1056 resource:Q15637082 . ?l rdf:type ontology:Q43229 }
industrialist
action filter_type
action find_reverse
entity industrialist
relation product
type organization
[{'concept': 'organization'}, 'product', 'industrialist']
SELECT DISTINCT ?l WHERE { ?l property:product resource:industrialist . ?l rdf:type ontology:organization }
[]
organization
Q54173
SYSTEM
General Electric
Q54173
(c(Q43229),P1056,Q15637082)
action filter_type
action find_reverse
entity Q15637082
relation P1056
type Q43229
[ANSWER] produces industrialist
[{'concept': 'Q43229'}, 'P1056', 'Q15637082']
SELECT DISTINCT ?l WHERE { ?l property:P1056 resource:Q15637082 . ?l rdf:type ontology:Q43229 }
General Electric
General Electric produces industrialist
General Electric
action filter_type
action find_reverse
entity industrialist
relation product
type organization
[{'concept': 'organization'}, 'product', 'industrialist']
SELECT DISTINCT ?l WHERE { ?l property:product resource:industrialist . ?l rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q54173
P1454
Q2712963
USER
Which abstract noun is the type of legal form of that organization ?
(Q54173,P1454,c(Q2712963))
action filter_type
action find
entity Q54173
relation P1454
type Q2712963
['Q54173', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?l WHERE { resource:Q54173 property:P1454 ?l . ?l rdf:type ontology:Q2712963 }
General Electric
action filter_type
action find
entity General Electric
relation legal form
type abstract noun
['General Electric', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?l WHERE { resource:General_Electric property:legal_form ?l . ?l rdf:type ontology:abstract_noun }
[]
abstract noun
Q891723
SYSTEM
public company
Q891723
(Q54173,P1454,c(Q2712963))
action filter_type
action find
entity Q54173
relation P1454
type Q2712963
[ANSWER] is the type of legal form of that organization
['Q54173', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?l WHERE { resource:Q54173 property:P1454 ?l . ?l rdf:type ontology:Q2712963 }
public company
Public company is the type of legal form of that organization
public company
action filter_type
action find
entity General Electric
relation legal form
type abstract noun
['General Electric', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?l WHERE { resource:General_Electric property:legal_form ?l . ?l rdf:type ontology:abstract_noun }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q891723 Q2144525
P1454
Q1269299
USER
Does Scripps Networks Interactive have its legal form as that abstract noun ?
(Q2144525,P1454,Q891723)
action is_in
entity Q891723
action find
entity Q2144525
relation P1454
['Q2144525', 'P1454', 'Q891723']
ASK WHERE { resource:Q2144525 property:P1454 resource:Q891723 }
public company Scripps Networks Interactive
action is_in
entity public company
action find
entity Scripps Networks Interactive
relation legal form
['Scripps Networks Interactive', 'legal form', 'public company']
ASK WHERE { resource:Scripps_Networks_Interactive property:legal_form resource:public_company }
[]
type of business entity
SYSTEM
YES
(Q2144525,P1454,Q891723)
action is_in
entity Q891723
action find
entity Q2144525
relation P1454
[ANSWER]
['Q2144525', 'P1454', 'Q891723']
ASK WHERE { resource:Q2144525 property:P1454 resource:Q891723 }
Yes
action is_in
entity public company
action find
entity Scripps Networks Interactive
relation legal form
['Scripps Networks Interactive', 'legal form', 'public company']
ASK WHERE { resource:Scripps_Networks_Interactive property:legal_form resource:public_company }
[]