Simple Question (Direct)
Simple Question
Q2007568
P641
Q349
USER
Which sport was Vyktor Berežnoj a part of ?
(Q2007568,P641,c(Q349))
action filter_type
action find
entity Q2007568
relation P641
type Q349
['Q2007568', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q349 . resource:Q2007568 property:P641 ?j }
Vyktor Berežnoj
action filter_type
action find
entity Vyktor Berežnoj
relation sport
type sport
['Vyktor Berežnoj', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sport . resource:Vyktor_Berežnoj property:sport ?j }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q2007568,P641,c(Q349))
action filter_type
action find
entity Q2007568
relation P641
type Q349
[ANSWER] was Vyktor Berežnoj a part of
['Q2007568', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q349 . resource:Q2007568 property:P641 ?j }
basketball
Basketball was Vyktor Berežnoj a part of
basketball
action filter_type
action find
entity Vyktor Berežnoj
relation sport
type sport
['Vyktor Berežnoj', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sport . resource:Vyktor_Berežnoj property:sport ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2007568
P27
Q15617994
USER
Which administrative territory does Vyktor Berežnoj belong to ?
(Q2007568,P27,c(Q15617994))
action filter_type
action find
entity Q2007568
relation P27
type Q15617994
['Q2007568', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q2007568 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Vyktor Berežnoj
action filter_type
action find
entity Vyktor Berežnoj
relation country of citizenship
type designation for an administrative territorial entity
['Vyktor Berežnoj', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Vyktor_Berežnoj property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
(Q2007568,P27,c(Q15617994))
action filter_type
action find
entity Q2007568
relation P27
type Q15617994
Vyktor Berežnoj belongs to [ANSWER]
['Q2007568', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q2007568 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Ukraine
Vyktor Berežnoj belongs to Ukraine
Ukraine
action filter_type
action find
entity Vyktor Berežnoj
relation country of citizenship
type designation for an administrative territorial entity
['Vyktor Berežnoj', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Vyktor_Berežnoj property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q212
P530
Q1048835
USER
Which political territories have ambassadorial relations with that administrative territory ?
(c(Q1048835),P530,Q212)
action filter_type
action find
entity Q212
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q212']
SELECT DISTINCT ?l WHERE { resource:Q212 property:P530 ?l . ?l rdf:type ontology:Q1048835 }
Ukraine
action filter_type
action find
entity Ukraine
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Ukraine']
SELECT DISTINCT ?l WHERE { resource:Ukraine property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q408 Q183
SYSTEM
Canada, Australia, Germany
Q16 Q408 Q183
(c(Q1048835),P530,Q212)
action filter_type
action find
entity Q212
relation P530
type Q1048835
[ANSWERS] have ambassadorial relations with that administrative territory
[{'concept': 'Q1048835'}, 'P530', 'Q212']
SELECT DISTINCT ?l WHERE { resource:Q212 property:P530 ?l . ?l rdf:type ontology:Q1048835 }
Canada Australia Germany
Canada, Australia and Germany have ambassadorial relations with that administrative territory
Canada Australia Germany
action filter_type
action find
entity Ukraine
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Ukraine']
SELECT DISTINCT ?l WHERE { resource:Ukraine property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories have tactful political relations with around 5 political territories ?
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 5
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?f ) WHERE { ?c property:P530 ?j . ?j rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q1048835 } GROUP BY ?c } . FILTER ( ?f = 5 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 5
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?f ) WHERE { ?c property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?c } . FILTER ( ?f = 5 ) }
[]
political territorial entity political territorial entity
Q183 Q35 Q16
SYSTEM
Germany, Denmark, Canada
Q183 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 5
[ANSWERS] have tactful political relations with around 5 political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?f ) WHERE { ?c property:P530 ?j . ?j rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q1048835 } GROUP BY ?c } . FILTER ( ?f = 5 ) }
Germany Denmark Canada New Zealand
Germany, Denmark and Canada have tactful political relations with around 5 political territories
Germany Denmark Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 5
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?f ) WHERE { ?c property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?c } . FILTER ( ?f = 5 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q183 Q35 Q16
P47
Q15617994
USER
Which administrative territories are adjacent to Germany, Denmark and Canada ?
(Q183,P47,c(Q15617994)) (Q35,P47,c(Q15617994)) (Q16,P47,c(Q15617994))
action union
action filter_type
action find
entity Q183
relation P47
type Q15617994
action filter_type
action find
entity Q35
relation P47
type Q15617994
action filter_type
action find
entity Q16
relation P47
type Q15617994
['Q183', 'P47', {'concept': 'Q15617994'}] ['Q35', 'P47', {'concept': 'Q15617994'}] ['Q16', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?i ) { ( resource:Q35 ) ( resource:Q183 ) } . ?i property:P47 ?c }
Germany Denmark Canada
action union
action filter_type
action find
entity Germany
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Denmark
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Canada
relation shares border with
type designation for an administrative territorial entity
['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Denmark', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Canada', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?i ) { ( resource:Denmark ) ( resource:Germany ) } . ?i property:shares_border_with ?c }
[]
designation for an administrative territorial entity
Q30 Q55 Q142
SYSTEM
United States of America, Netherlands, France
Q142 Q213 Q55 Q29999 Q32 Q31 Q36 Q39 Q20 Q145 Q34 Q1979 Q223 Q30
(Q183,P47,c(Q15617994)) (Q35,P47,c(Q15617994)) (Q16,P47,c(Q15617994))
action union
action filter_type
action find
entity Q183
relation P47
type Q15617994
action filter_type
action find
entity Q35
relation P47
type Q15617994
action filter_type
action find
entity Q16
relation P47
type Q15617994
[ANSWERS] are adjacent to Germany, Denmark and Canada
['Q183', 'P47', {'concept': 'Q15617994'}] ['Q35', 'P47', {'concept': 'Q15617994'}] ['Q16', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?i ) { ( resource:Q35 ) ( resource:Q183 ) } . ?i property:P47 ?c }
France Czech Republic Netherlands Kingdom of the Netherlands Luxembourg Belgium Poland Switzerland Norway United Kingdom Sweden Prince Edward Island Greenland United States of America
United States of America, Netherlands and France are adjacent to Germany, Denmark and Canada
United States of America Netherlands France
action union
action filter_type
action find
entity Germany
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Denmark
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Canada
relation shares border with
type designation for an administrative territorial entity
['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Denmark', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Canada', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?i ) { ( resource:Denmark ) ( resource:Germany ) } . ?i property:shares_border_with ?c }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q30 Q55 Q142
P610
Q14524493
USER
Which terrains are the highest point of those administrative territories ?
(Q30,P610,c(Q14524493)) (Q55,P610,c(Q14524493)) (Q142,P610,c(Q14524493))
action filter_type
action find
entity prev_answer
relation P610
type Q14524493
['Q30', 'P610', {'concept': 'Q14524493'}] ['Q55', 'P610', {'concept': 'Q14524493'}] ['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?j WHERE { ?p property:P610 ?j . ?j rdf:type ontology:Q14524493 . VALUES ( ?p ) { ( resource:Q142 ) ( resource:Q213 ) ( resource:Q55 ) } }
United States of America Netherlands France
action filter_type
action find
entity prev_answer
relation highest point
type terrain
['United States of America', 'highest point', {'concept': 'terrain'}] ['Netherlands', 'highest point', {'concept': 'terrain'}] ['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?j WHERE { ?p property:highest_point ?j . ?j rdf:type ontology:terrain . VALUES ( ?p ) { ( resource:France ) ( resource:Czech_Republic ) ( resource:Netherlands ) } }
[]
terrain
Q130018 Q159860 Q583
SYSTEM
Denali, Vaalserberg, Mont Blanc
Q130018 Q159860 Q583
(Q30,P610,c(Q14524493)) (Q55,P610,c(Q14524493)) (Q142,P610,c(Q14524493))
action filter_type
action find
entity prev_answer
relation P610
type Q14524493
[ANSWERS] are the highest point of those administrative territories
['Q30', 'P610', {'concept': 'Q14524493'}] ['Q55', 'P610', {'concept': 'Q14524493'}] ['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?j WHERE { ?p property:P610 ?j . ?j rdf:type ontology:Q14524493 . VALUES ( ?p ) { ( resource:Q142 ) ( resource:Q213 ) ( resource:Q55 ) } }
Denali Vaalserberg Mont Blanc
Denali, Vaalserberg and Mont Blanc are the highest point of those administrative territories
Denali Vaalserberg Mont Blanc
action filter_type
action find
entity prev_answer
relation highest point
type terrain
['United States of America', 'highest point', {'concept': 'terrain'}] ['Netherlands', 'highest point', {'concept': 'terrain'}] ['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?j WHERE { ?p property:highest_point ?j . ?j rdf:type ontology:terrain . VALUES ( ?p ) { ( resource:France ) ( resource:Czech_Republic ) ( resource:Netherlands ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q130018 Q159860 Q583
P30
Q2221906
USER
Which geographic locations are Denali, Vaalserberg and Mont Blanc situated in ?
(Q130018,P30,c(Q2221906)) (Q159860,P30,c(Q2221906)) (Q583,P30,c(Q2221906))
action union
action filter_type
action find
entity Q130018
relation P30
type Q2221906
action filter_type
action find
entity Q159860
relation P30
type Q2221906
action filter_type
action find
entity Q583
relation P30
type Q2221906
['Q130018', 'P30', {'concept': 'Q2221906'}] ['Q159860', 'P30', {'concept': 'Q2221906'}] ['Q583', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { ?c property:P30 ?n . VALUES ( ?c ) { ( resource:Q130018 ) ( resource:Q159860 ) } }
Denali Vaalserberg Mont Blanc
action union
action filter_type
action find
entity Denali
relation continent
type geographic location
action filter_type
action find
entity Vaalserberg
relation continent
type geographic location
action filter_type
action find
entity Mont Blanc
relation continent
type geographic location
['Denali', 'continent', {'concept': 'geographic location'}] ['Vaalserberg', 'continent', {'concept': 'geographic location'}] ['Mont Blanc', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { ?c property:continent ?n . VALUES ( ?c ) { ( resource:Denali ) ( resource:Vaalserberg ) } }
[]
geographic location
Q46 Q46 Q49
SYSTEM
Europe for 1st, 2nd, North America for 3rd
Q828 Q49 Q46 Q46
(Q130018,P30,c(Q2221906)) (Q159860,P30,c(Q2221906)) (Q583,P30,c(Q2221906))
action union
action filter_type
action find
entity Q130018
relation P30
type Q2221906
action filter_type
action find
entity Q159860
relation P30
type Q2221906
action filter_type
action find
entity Q583
relation P30
type Q2221906
[ANSWERS]
['Q130018', 'P30', {'concept': 'Q2221906'}] ['Q159860', 'P30', {'concept': 'Q2221906'}] ['Q583', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { ?c property:P30 ?n . VALUES ( ?c ) { ( resource:Q130018 ) ( resource:Q159860 ) } }
Americas North America Europe Europe
Which geographic locations are Denali, Vaalserberg and Mont Blanc situated in
Europe Europe North America
action union
action filter_type
action find
entity Denali
relation continent
type geographic location
action filter_type
action find
entity Vaalserberg
relation continent
type geographic location
action filter_type
action find
entity Mont Blanc
relation continent
type geographic location
['Denali', 'continent', {'concept': 'geographic location'}] ['Vaalserberg', 'continent', {'concept': 'geographic location'}] ['Mont Blanc', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { ?c property:continent ?n . VALUES ( ?c ) { ( resource:Denali ) ( resource:Vaalserberg ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q46
P361
Q1048835
USER
Which political territories are a portion of that geographic location ?
(c(Q1048835),P361,Q46)
action filter_type
action find_reverse
entity Q46
relation P361
type Q1048835
[{'concept': 'Q1048835'}, 'P361', 'Q46']
SELECT DISTINCT ?h WHERE { ?h property:P361 resource:Q46 . ?h rdf:type ontology:Q1048835 }
Europe
action filter_type
action find_reverse
entity Europe
relation part of
type political territorial entity
[{'concept': 'political territorial entity'}, 'part of', 'Europe']
SELECT DISTINCT ?h WHERE { ?h property:part_of resource:Europe . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q46
SYSTEM
Did you mean Europe ?
Q46 Q46 Q49
(c(Q1048835),P361,Q46) (c(Q1048835),P361,Q46) (c(Q1048835),P361,Q49)
[ANSWER]
[{'concept': 'Q1048835'}, 'P361', 'Q46'] [{'concept': 'Q1048835'}, 'P361', 'Q46'] [{'concept': 'Q1048835'}, 'P361', 'Q49']
SELECT DISTINCT ?h WHERE { ?h property:P361 resource:Q46 . ?h rdf:type ontology:Q1048835 }
Europe Europe North America
Did you mean Europe ?
Europe
[{'concept': 'political territorial entity'}, 'part of', 'Europe'] [{'concept': 'political territorial entity'}, 'part of', 'Europe'] [{'concept': 'political territorial entity'}, 'part of', 'North America']
SELECT DISTINCT ?h WHERE { ?h property:part_of resource:Europe . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1048835),P361,Q46)
[{'concept': 'Q1048835'}, 'P361', 'Q46']
[{'concept': 'political territorial entity'}, 'part of', 'Europe']
[]
Q183 Q35
SYSTEM
Germany, Denmark
Q183 Q35
(c(Q1048835),P361,Q46)
action filter_type
action find_reverse
entity Q46
relation P361
type Q1048835
[ANSWERS] are a portion of that geographic location
[{'concept': 'Q1048835'}, 'P361', 'Q46']
SELECT DISTINCT ?h WHERE { ?h property:P361 resource:Q46 . ?h rdf:type ontology:Q1048835 }
Germany Denmark
Germany and Denmark are a portion of that geographic location
Germany Denmark
action filter_type
action find_reverse
entity Europe
relation part of
type political territorial entity
[{'concept': 'political territorial entity'}, 'part of', 'Europe']
SELECT DISTINCT ?h WHERE { ?h property:part_of resource:Europe . ?h rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q692012
P17
Q83620
USER
Are European route E47 situated in those political territories ?
(Q692012,P17,Q183) (Q692012,P17,Q35)
action is_in
entity prev_answer
action find
entity Q692012
relation P17
['Q692012', 'P17', 'Q183'] ['Q692012', 'P17', 'Q35']
ASK WHERE { resource:Q692012 property:P17 ?e . VALUES ( ?e ) { ( resource:Q183 ) ( resource:Q35 ) } }
European route E47
action is_in
entity prev_answer
action find
entity European route E47
relation country
['European route E47', 'country', 'Germany'] ['European route E47', 'country', 'Denmark']
ASK WHERE { resource:European_route_E47 property:country ?e . VALUES ( ?e ) { ( resource:Germany ) ( resource:Denmark ) } }
[]
thoroughfare
SYSTEM
YES
(Q692012,P17,Q183) (Q692012,P17,Q35)
action is_in
entity prev_answer
action find
entity Q692012
relation P17
[ANSWER]
['Q692012', 'P17', 'Q183'] ['Q692012', 'P17', 'Q35']
ASK WHERE { resource:Q692012 property:P17 ?e . VALUES ( ?e ) { ( resource:Q183 ) ( resource:Q35 ) } }
Yes
action is_in
entity prev_answer
action find
entity European route E47
relation country
['European route E47', 'country', 'Germany'] ['European route E47', 'country', 'Denmark']
ASK WHERE { resource:European_route_E47 property:country ?e . VALUES ( ?e ) { ( resource:Germany ) ( resource:Denmark ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q616847
P206
Q337567 Q15324 Q1048835
USER
Which political territories are located in the neighbourhood of less number of still waterss and bodies of water than Ribamontán al Mar ?
(c(Q1048835),P206,c(Q337567)|c(Q15324))
action less
action union
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action count
action filter_multi_types
action find
entity Q616847
relation P206
type Q337567
type Q15324
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) ?m WHERE { { ?m property:P206 ?k . ?m rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q337567 } UNION { ?m rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15324 . ?m property:P206 ?k } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { ?n rdf:type ?g . VALUES ( ?g ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } } . resource:Q616847 property:P206 ?n } } . FILTER ( ?e < ?o ) }
Ribamontán al Mar
action less
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action count
action filter_multi_types
action find
entity Ribamontán al Mar
relation located next to body of water
type still waters
type body of water
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) ?m WHERE { { ?m property:located_next_to_body_of_water ?k . ?m rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:still_waters } UNION { ?m rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:body_of_water . ?m property:located_next_to_body_of_water ?k } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { ?n rdf:type ?g . VALUES ( ?g ) { ( ontology:still_waters ) ( ontology:body_of_water ) } } . resource:Ribamontán_al_Mar property:located_next_to_body_of_water ?n } } . FILTER ( ?e < ?o ) }
[]
still waters body of water political territorial entity
Q16 Q643919 Q920391
SYSTEM
Canada, Torfaen County Borough, La Orotava
Q736872 Q434192 Q691567 Q21590062 Q434053 Q782910 Q1447512 Q1628271 Q2044159 Q49562 Q52626 Q677038 Q540185 Q484552 Q433632 Q1470810 Q983556 Q193780 Q635308 Q741749 Q983465 Q2772 Q4359878 Q353618 Q4524665 Q983628 Q846153 Q925913 Q830969 Q846159 Q1324548 Q962773 Q12071 Q985601 Q615809 Q565002 Q1905388 Q16 Q390069 Q11339 Q55845 Q210887 Q2323549 Q594892 Q582901 Q898856 Q1853429 Q4408930 Q587114 Q434321 Q11492 Q11263 Q915283 Q11294004 Q4321529 Q661198 Q741765 Q985598 Q1617562 Q493933 Q913483 Q572542 Q13148 Q13149 Q716384 Q499184 Q13462 Q986364 Q956757 Q1798827 Q2244278 Q693258 Q736926 Q433918 Q434019 Q986359 Q575670 Q926410 Q1768232 Q698246 Q15907 Q624967 Q1606460 Q832984 Q11286 Q13150 Q913492 Q1628788 Q13154 Q176624 Q2451327 Q24342199 Q11811 Q426350 Q738674 Q7165 Q983433 Q524431 Q985586 Q1248474 Q11296 Q13424648 Q277302 Q628446 Q366948 Q492741 Q11822 Q932914 Q492748 Q904566 Q434150 Q944264 Q943431 Q920391 Q399702 Q491786 Q2140 Q985599 Q983635 Q706892 Q615061 Q953876 Q3741 Q657800 Q638013 Q492737 Q433958 Q492735 Q1588135 Q4469165 Q827393 Q11304 Q1260011 Q737440 Q657738 Q584446 Q427330 Q682964 Q171852 Q1607872 Q2110 Q433986 Q501077 Q80967 Q994034 Q586584 Q983577 Q42314 Q611250 Q615916 Q986727 Q181633 Q643919 Q487268 Q207176 Q736888 Q175057 Q398588 Q1110355 Q434173 Q575639 Q434286 Q594961 Q613832 Q491929 Q947285
(c(Q1048835),P206,c(Q337567)|c(Q15324))
action less
action union
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action count
action filter_multi_types
action find
entity Q616847
relation P206
type Q337567
type Q15324
[ANSWERS] are located in the neighbourhood of less number of still waterss and bodies of water than Ribamontán al Mar
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) ?m WHERE { { ?m property:P206 ?k . ?m rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q337567 } UNION { ?m rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15324 . ?m property:P206 ?k } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { ?n rdf:type ?g . VALUES ( ?g ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } } . resource:Q616847 property:P206 ?n } } . FILTER ( ?e < ?o ) }
Ayamonte San Andrés y Sauces Les Dirouilles Antarctic Treaty area Garafía El Sauzal Chantada Soutomaior Llanybydder Adra Formentera San Miguel de Abona Puerto del Rosario Algeciras Santa Cruz de La Palma Pierres de Lecq La Guancha Almuñécar Vallehermoso, Santa Cruz de Tenerife Chipiona Santa Eulària des Riu West Sumatra Pisocine Adeje Szychtory Sant Joan de Labritja San Roque Los Barrios Betancuria Puerto Real El Pinar, Canary Islands San Bartolomé, Las Palmas Vilassar de Mar La Victoria de Acentejo Sorvilán Albuñol L'Alcúdia de Crespins Canada Agaete Llançà Telde Sanlúcar de Barrameda Yaiza, Las Palmas La Oliva Lújar Jethou Valverde Sasiv Itamaracá Villa de Mazo Mataró Cadaqués Santiago del Teide Newport City Nuśmice Pájara San Fernando Moya, Las Palmas Nigrán El Ejido Casares Icod de los Vinos La Línea de la Concepción Nerja Arucas, Las Palmas Roquetas de Mar Begur San Juan de la Rambla, Santa Cruz de Tenerife Gáldar, Las Palmas La Frontera Tías, Las Palmas San Bartolomé de Tirajana Isla Cristina Barlovento, Santa Cruz de Tenerife Fuencaliente Santa María de Guía de Gran Canaria Antigua, Fuerteventura Algarrobo Trillo Arona, Tenerife Rota Arafo Malpica de Tajo Conil de la Frontera Castelló d'Empúries Torrox Manilva El Puente del Arzobispo Barbate El Rosario, Tenerife Sé City and County of Cardiff El Port de la Selva Tazacorte Santa Lucía de Tirajana Portbou Güímar Fasnia Tuineje, Las Palmas Rincón de la Victoria Colera Troitske Chiclana de la Frontera Mogán, Las Palmas Los Llanos de Aridane Vélez-Málaga Roses Alajeró, Santa Cruz de Tenerife Estepona Brecqhou Puntagorda Tacoronte, Santa Cruz de Tenerife Granadilla de Abona La Orotava Agüimes, Las Palmas Calvià North Sumatra Province Ingenio, Las Palmas Sant Josep de sa Talaia Artenara, Las Palmas Rubite Los Realejos Special Region of Yogyakarta Santa Úrsula Tinajo, Las Palmas Torremolinos Breña Alta Fuengirola Haría, Las Palmas Uhrynów Vejer de la Frontera L'Escala Hermigua Teguise Arico Valle Gran Rey Salobreña Los Silos Odessa Oblast Piedralaves Lampung Province Breña Baja Lepe Outer Hebrides Variazh Nînovîci, La Matanza de Acentejo Channel Islands Polopos Vasilivka La Aldea de San Nicolás Mykolaiv Oblast Torfaen County Borough Candelaria Monmouthshire Punta Umbría Fernando de Noronha Agulo Níjar Puntallana Gualchos Tijarafe Buenavista del Norte Mañón Berja Enix, Spain
Canada, Torfaen County Borough and La Orotava are located in the neighbourhood of less number of still waterss and bodies of water than Ribamontán al Mar
Canada Torfaen County Borough La Orotava
action less
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action count
action filter_multi_types
action find
entity Ribamontán al Mar
relation located next to body of water
type still waters
type body of water
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) ?m WHERE { { ?m property:located_next_to_body_of_water ?k . ?m rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:still_waters } UNION { ?m rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:body_of_water . ?m property:located_next_to_body_of_water ?k } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { ?n rdf:type ?g . VALUES ( ?g ) { ( ontology:still_waters ) ( ontology:body_of_water ) } } . resource:Ribamontán_al_Mar property:located_next_to_body_of_water ?n } } . FILTER ( ?e < ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q697126
P206
Q337567 Q15324 Q1048835
USER
And also tell me about Bridgend County Borough?
(c(Q1048835),P206,c(Q337567)|c(Q15324))
action less
action union
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action count
action filter_multi_types
action find
entity Q697126
relation P206
type Q337567
type Q15324
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?n ) WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Q697126 property:P206 ?k . { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } } } } . FILTER ( ?n < ?m ) }
Bridgend County Borough
action less
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action count
action filter_multi_types
action find
entity Bridgend County Borough
relation located next to body of water
type still waters
type body of water
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?n ) WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:still_waters ) ( ontology:body_of_water ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Bridgend_County_Borough property:located_next_to_body_of_water ?k . { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:still_waters ) ( ontology:body_of_water ) } } } } . FILTER ( ?n < ?m ) }
[]
still waters body of water political territorial entity
Q16 Q643919 Q920391
SYSTEM
Canada, Torfaen County Borough, La Orotava
Q736872 Q434192 Q691567 Q21590062 Q434053 Q782910 Q1447512 Q1628271 Q2044159 Q49562 Q52626 Q677038 Q540185 Q484552 Q433632 Q1470810 Q983556 Q193780 Q635308 Q741749 Q983465 Q2772 Q4359878 Q353618 Q4524665 Q983628 Q846153 Q925913 Q830969 Q846159 Q1324548 Q962773 Q12071 Q985601 Q615809 Q565002 Q1905388 Q16 Q390069 Q11339 Q55845 Q210887 Q2323549 Q594892 Q582901 Q898856 Q1853429 Q4408930 Q587114 Q434321 Q11492 Q11263 Q915283 Q11294004 Q4321529 Q661198 Q741765 Q985598 Q1617562 Q493933 Q913483 Q572542 Q13148 Q13149 Q716384 Q499184 Q13462 Q986364 Q956757 Q1798827 Q2244278 Q693258 Q736926 Q433918 Q434019 Q986359 Q575670 Q926410 Q1768232 Q698246 Q15907 Q624967 Q1606460 Q832984 Q11286 Q13150 Q913492 Q1628788 Q13154 Q176624 Q2451327 Q24342199 Q11811 Q426350 Q738674 Q7165 Q983433 Q524431 Q985586 Q1248474 Q11296 Q13424648 Q277302 Q628446 Q366948 Q492741 Q11822 Q932914 Q492748 Q904566 Q434150 Q944264 Q943431 Q920391 Q399702 Q491786 Q2140 Q985599 Q983635 Q706892 Q615061 Q953876 Q3741 Q657800 Q638013 Q492737 Q433958 Q492735 Q1588135 Q4469165 Q827393 Q11304 Q1260011 Q737440 Q657738 Q584446 Q427330 Q682964 Q171852 Q1607872 Q2110 Q433986 Q501077 Q80967 Q994034 Q586584 Q983577 Q42314 Q611250 Q615916 Q986727 Q181633 Q643919 Q487268 Q207176 Q736888 Q175057 Q398588 Q1110355 Q434173 Q575639 Q434286 Q594961 Q613832 Q491929 Q947285
(c(Q1048835),P206,c(Q337567)|c(Q15324))
action less
action union
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action count
action filter_multi_types
action find
entity Q697126
relation P206
type Q337567
type Q15324
[ANSWERS]
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?n ) WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Q697126 property:P206 ?k . { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } } } } . FILTER ( ?n < ?m ) }
Ayamonte San Andrés y Sauces Les Dirouilles Antarctic Treaty area Garafía El Sauzal Chantada Soutomaior Llanybydder Adra Formentera San Miguel de Abona Puerto del Rosario Algeciras Santa Cruz de La Palma Pierres de Lecq La Guancha Almuñécar Vallehermoso, Santa Cruz de Tenerife Chipiona Santa Eulària des Riu West Sumatra Pisocine Adeje Szychtory Sant Joan de Labritja San Roque Los Barrios Betancuria Puerto Real El Pinar, Canary Islands San Bartolomé, Las Palmas Vilassar de Mar La Victoria de Acentejo Sorvilán Albuñol L'Alcúdia de Crespins Canada Agaete Llançà Telde Sanlúcar de Barrameda Yaiza, Las Palmas La Oliva Lújar Jethou Valverde Sasiv Itamaracá Villa de Mazo Mataró Cadaqués Santiago del Teide Newport City Nuśmice Pájara San Fernando Moya, Las Palmas Nigrán El Ejido Casares Icod de los Vinos La Línea de la Concepción Nerja Arucas, Las Palmas Roquetas de Mar Begur San Juan de la Rambla, Santa Cruz de Tenerife Gáldar, Las Palmas La Frontera Tías, Las Palmas San Bartolomé de Tirajana Isla Cristina Barlovento, Santa Cruz de Tenerife Fuencaliente Santa María de Guía de Gran Canaria Antigua, Fuerteventura Algarrobo Trillo Arona, Tenerife Rota Arafo Malpica de Tajo Conil de la Frontera Castelló d'Empúries Torrox Manilva El Puente del Arzobispo Barbate El Rosario, Tenerife Sé City and County of Cardiff El Port de la Selva Tazacorte Santa Lucía de Tirajana Portbou Güímar Fasnia Tuineje, Las Palmas Rincón de la Victoria Colera Troitske Chiclana de la Frontera Mogán, Las Palmas Los Llanos de Aridane Vélez-Málaga Roses Alajeró, Santa Cruz de Tenerife Estepona Brecqhou Puntagorda Tacoronte, Santa Cruz de Tenerife Granadilla de Abona La Orotava Agüimes, Las Palmas Calvià North Sumatra Province Ingenio, Las Palmas Sant Josep de sa Talaia Artenara, Las Palmas Rubite Los Realejos Special Region of Yogyakarta Santa Úrsula Tinajo, Las Palmas Torremolinos Breña Alta Fuengirola Haría, Las Palmas Uhrynów Vejer de la Frontera L'Escala Hermigua Teguise Arico Valle Gran Rey Salobreña Los Silos Odessa Oblast Piedralaves Lampung Province Breña Baja Lepe Outer Hebrides Variazh Nînovîci, La Matanza de Acentejo Channel Islands Polopos Vasilivka La Aldea de San Nicolás Mykolaiv Oblast Torfaen County Borough Candelaria Monmouthshire Punta Umbría Fernando de Noronha Agulo Níjar Puntallana Gualchos Tijarafe Buenavista del Norte Mañón Berja Enix, Spain
Canada Torfaen County Borough La Orotava
action less
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action count
action filter_multi_types
action find
entity Bridgend County Borough
relation located next to body of water
type still waters
type body of water
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?n ) WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:still_waters ) ( ontology:body_of_water ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Bridgend_County_Borough property:located_next_to_body_of_water ?k . { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:still_waters ) ( ontology:body_of_water ) } } } } . FILTER ( ?n < ?m ) }
[]