Simple Question (Direct)
Simple Question
Q1634922
P166
Q618779
USER
Which award was Hugo Canditt awarded with ?
(Q1634922,P166,c(Q618779))
action filter_type
action find
entity Q1634922
relation P166
type Q618779
['Q1634922', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q1634922 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Hugo Canditt
action filter_type
action find
entity Hugo Canditt
relation award received
type award
['Hugo Canditt', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Hugo_Canditt property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Q10905334
SYSTEM
Officer's Cross of the Order of Merit of the Federal Republic of Germany
Q10905334
(Q1634922,P166,c(Q618779))
action filter_type
action find
entity Q1634922
relation P166
type Q618779
Hugo Canditt was awarded the [ANSWER]
['Q1634922', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q1634922 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Officer's Cross of the Order of Merit of the Federal Republic of Germany
Hugo Canditt was awarded the Officer's Cross of the Order of Merit of the Federal Republic of Germany
Officer's Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Hugo Canditt
relation award received
type award
['Hugo Canditt', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Hugo_Canditt property:award_received ?s . ?s rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1634922
P21
Q290
USER
Which sex does Hugo Canditt possess ?
(Q1634922,P21,c(Q290))
action filter_type
action find
entity Q1634922
relation P21
type Q290
['Q1634922', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q1634922 property:P21 ?b }
Hugo Canditt
action filter_type
action find
entity Hugo Canditt
relation gender
type sex
['Hugo Canditt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Hugo_Canditt property:gender ?b }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1634922,P21,c(Q290))
action filter_type
action find
entity Q1634922
relation P21
type Q290
Hugo Canditt possesses un [ANSWER]
['Q1634922', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q1634922 property:P21 ?b }
male
Hugo Canditt possesses un male
male
action filter_type
action find
entity Hugo Canditt
relation gender
type sex
['Hugo Canditt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Hugo_Canditt property:gender ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1634922
P20
Q56061
USER
Where did that person expire ?
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q1634922
relation P20
type Q56061
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q1634922 property:P20 ?o }
Hugo Canditt
action filter_type
action find
entity Hugo Canditt
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Hugo_Canditt property:place_of_death ?o }
[]
administrative territorial entity
Q1707
SYSTEM
Kiel
Q1707
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q1634922
relation P20
type Q56061
That person expired [ANSWER]
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q1634922 property:P20 ?o }
Kiel
That person expired Kiel
Kiel
action filter_type
action find
entity Hugo Canditt
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Hugo_Canditt property:place_of_death ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q198 Q234460 Q618779
USER
How many awards are a component of around 1 wars or texts ?
(c(Q618779),P361,c(Q198)|c(Q234460))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q618779
type Q198
action find_tuple_counts
relation P361
type Q618779
type Q234460
value 1
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q198'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?u ) WHERE { VALUES ( ?e ) { ( ontology:Q198 ) ( ontology:Q234460 ) } . ?k rdf:type ?e } GROUP BY ?g } . FILTER ( ?u = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation part of
type award
type war
action find_tuple_counts
relation part of
type award
type text
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'war'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?u ) WHERE { VALUES ( ?e ) { ( ontology:war ) ( ontology:text ) } . ?k rdf:type ?e } GROUP BY ?g } . FILTER ( ?u = 1 ) }
[]
war text award
SYSTEM
2
Q2547676 Q140146
(c(Q618779),P361,c(Q198)|c(Q234460))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q618779
type Q198
action find_tuple_counts
relation P361
type Q618779
type Q234460
value 1
[ANSWER]
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q198'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?u ) WHERE { VALUES ( ?e ) { ( ontology:Q198 ) ( ontology:Q234460 ) } . ?k rdf:type ?e } GROUP BY ?g } . FILTER ( ?u = 1 ) }
Croix de guerre 1939–1945 Zafenat-Paneach
2
action count
action approx
action union
action find_tuple_counts
relation part of
type award
type war
action find_tuple_counts
relation part of
type award
type text
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'war'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?u ) WHERE { VALUES ( ?e ) { ( ontology:war ) ( ontology:text ) } . ?k rdf:type ?e } GROUP BY ?g } . FILTER ( ?u = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1248497 Q1634922
P47 P27
Q1048835
USER
Which political territories are Hugo Canditt an inhabitant of or are bordered by Solivella ?
OR((Q1634922,P27,c(Q1048835)), (Q1248497,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1634922
relation P27
action find
entity Q1248497
relation P47
type Q1048835
{'OR': [['Q1634922', 'P27', {'concept': 'Q1048835'}], ['Q1248497', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q1634922 property:P27 ?u } UNION { resource:Q1248497 property:P47 ?u } } . ?u rdf:type ontology:Q1048835 }
Solivella Hugo Canditt
action filter_type
action union
action find
entity Hugo Canditt
relation country of citizenship
action find
entity Solivella
relation shares border with
type political territorial entity
{'OR': [['Hugo Canditt', 'country of citizenship', {'concept': 'political territorial entity'}], ['Solivella', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Hugo_Canditt property:country_of_citizenship ?u } UNION { resource:Solivella property:shares_border_with ?u } } . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1248551 Q183 Q654198 Q1905685 Q1230137 Q1248489 Q730021 Q1995219
SYSTEM
Pira, Germany, Blancafort, Vallbona de les Monges, Forès, Passanant i Belltall, Barberà de la Conca, Sarral
Q1248551 Q183 Q654198 Q1905685 Q1230137 Q1248489 Q730021 Q1995219
OR((Q1634922,P27,c(Q1048835)), (Q1248497,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1634922
relation P27
action find
entity Q1248497
relation P47
type Q1048835
[ANSWERS] are Hugo Canditt an inhabitant of or are bordered by Solivella
{'OR': [['Q1634922', 'P27', {'concept': 'Q1048835'}], ['Q1248497', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q1634922 property:P27 ?u } UNION { resource:Q1248497 property:P47 ?u } } . ?u rdf:type ontology:Q1048835 }
Pira Germany Blancafort Vallbona de les Monges Forès Passanant i Belltall Barberà de la Conca Sarral
Pira, Germany, Blancafort, Vallbona de les Monges, Forès, Passanant i Belltall, Barberà de la Conca and Sarral are Hugo Canditt an inhabitant of or are bordered by Solivella
Pira Germany Blancafort Vallbona de les Monges Forès Passanant i Belltall Barberà de la Conca Sarral
action filter_type
action union
action find
entity Hugo Canditt
relation country of citizenship
action find
entity Solivella
relation shares border with
type political territorial entity
{'OR': [['Hugo Canditt', 'country of citizenship', {'concept': 'political territorial entity'}], ['Solivella', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Hugo_Canditt property:country_of_citizenship ?u } UNION { resource:Solivella property:shares_border_with ?u } } . ?u rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3081528 Q1634922
P27
Q1048835
USER
Which political territories are the countries of citizenship of Hugo Canditt or Francis Kompaon ?
OR((Q1634922,P27,c(Q1048835)), (Q3081528,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1634922
relation P27
action find
entity Q3081528
relation P27
type Q1048835
{'OR': [['Q1634922', 'P27', {'concept': 'Q1048835'}], ['Q3081528', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { ?s property:P27 ?v . VALUES ( ?s ) { ( resource:Q1634922 ) ( resource:Q3081528 ) } } . ?v rdf:type ontology:Q1048835 }
Francis Kompaon Hugo Canditt
action filter_type
action union
action find
entity Hugo Canditt
relation country of citizenship
action find
entity Francis Kompaon
relation country of citizenship
type political territorial entity
{'OR': [['Hugo Canditt', 'country of citizenship', {'concept': 'political territorial entity'}], ['Francis Kompaon', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?s property:country_of_citizenship ?v . VALUES ( ?s ) { ( resource:Hugo_Canditt ) ( resource:Francis_Kompaon ) } } . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q691
SYSTEM
Germany, Papua New Guinea
Q183 Q691
OR((Q1634922,P27,c(Q1048835)), (Q3081528,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1634922
relation P27
action find
entity Q3081528
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Hugo Canditt or Francis Kompaon
{'OR': [['Q1634922', 'P27', {'concept': 'Q1048835'}], ['Q3081528', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { ?s property:P27 ?v . VALUES ( ?s ) { ( resource:Q1634922 ) ( resource:Q3081528 ) } } . ?v rdf:type ontology:Q1048835 }
Germany Papua New Guinea
Germany and Papua New Guinea are the countries of citizenship of Hugo Canditt or Francis Kompaon
Germany Papua New Guinea
action filter_type
action union
action find
entity Hugo Canditt
relation country of citizenship
action find
entity Francis Kompaon
relation country of citizenship
type political territorial entity
{'OR': [['Hugo Canditt', 'country of citizenship', {'concept': 'political territorial entity'}], ['Francis Kompaon', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?s property:country_of_citizenship ?v . VALUES ( ?s ) { ( resource:Hugo_Canditt ) ( resource:Francis_Kompaon ) } } . ?v rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q695
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relations with less number of political territories than Palau ?
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q695
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Q695 property:P530 ?d . ?d rdf:type ontology:Q1048835 } } . FILTER ( ?p < ?y ) . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1048835 } GROUP BY ?v } }
Palau
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Palau
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Palau property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity } } . FILTER ( ?p < ?y ) . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:political_territorial_entity } GROUP BY ?v } }
[]
designation for an administrative territorial entity political territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q784 Q710 Q399 Q398 Q790 Q1013 Q236 Q842 Q970 Q874 Q858
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q695
relation P530
type Q1048835
[ANSWERS] have diplomatic relations with less number of political territories than Palau
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Q695 property:P530 ?d . ?d rdf:type ontology:Q1048835 } } . FILTER ( ?p < ?y ) . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1048835 } GROUP BY ?v } }
Yemen Dominica Kiribati Armenia Bahrain Haiti Lesotho Montenegro Oman Comoros Turkmenistan Syria
Yemen, Syria and Oman have diplomatic relations with less number of political territories than Palau
Yemen Syria Oman
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Palau
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Palau property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity } } . FILTER ( ?p < ?y ) . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:political_territorial_entity } GROUP BY ?v } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q241
P530
Q15617994 Q1048835
USER
And what about Cuba?
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q241
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?a ) WHERE { ?u rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q1048835 . ?l property:P530 ?u } GROUP BY ?u } . FILTER ( ?a < ?c ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q241 property:P530 ?n } } }
Cuba
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Cuba
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?a ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:political_territorial_entity . ?l property:diplomatic_relation ?u } GROUP BY ?u } . FILTER ( ?a < ?c ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cuba property:diplomatic_relation ?n } } }
[]
designation for an administrative territorial entity political territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q784 Q710 Q399 Q398 Q790 Q1013 Q236 Q842 Q970 Q874 Q858
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q241
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?a ) WHERE { ?u rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q1048835 . ?l property:P530 ?u } GROUP BY ?u } . FILTER ( ?a < ?c ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q241 property:P530 ?n } } }
Yemen Dominica Kiribati Armenia Bahrain Haiti Lesotho Montenegro Oman Comoros Turkmenistan Syria
Yemen Syria Oman
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Cuba
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?a ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:political_territorial_entity . ?l property:diplomatic_relation ?u } GROUP BY ?u } . FILTER ( ?a < ?c ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cuba property:diplomatic_relation ?n } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q434053
P206
Q337567 Q15324 Q1048835
USER
Which political territories are located nearby approximately the same number of still waterss and bodies of water as Garafía ?
(c(Q1048835),P206,c(Q337567)|c(Q15324))
action approx
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 Q434053
relation P206
type Q337567
type Q15324
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { { ?e rdf:type ontology:Q337567 } UNION { ?e rdf:type ontology:Q15324 } } . resource:Q434053 property:P206 ?e } } . FILTER ( ?k = ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?l WHERE { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } } GROUP BY ?l } }
Garafía
action approx
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 Garafía
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 ?l WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { { ?e rdf:type ontology:still_waters } UNION { ?e rdf:type ontology:body_of_water } } . resource:Garafía property:located_next_to_body_of_water ?e } } . FILTER ( ?k = ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?l WHERE { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:still_waters ) ( ontology:body_of_water ) } } GROUP BY ?l } }
[]
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 approx
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 Q434053
relation P206
type Q337567
type Q15324
[ANSWERS] are located nearby approximately the same number of still waterss and bodies of water as Garafía
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { { ?e rdf:type ontology:Q337567 } UNION { ?e rdf:type ontology:Q15324 } } . resource:Q434053 property:P206 ?e } } . FILTER ( ?k = ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?l WHERE { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } } GROUP BY ?l } }
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 nearby approximately the same number of still waterss and bodies of water as Garafía
Canada Torfaen County Borough La Orotava
action approx
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 Garafía
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 ?l WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { { ?e rdf:type ontology:still_waters } UNION { ?e rdf:type ontology:body_of_water } } . resource:Garafía property:located_next_to_body_of_water ?e } } . FILTER ( ?k = ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?l WHERE { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:still_waters ) ( ontology:body_of_water ) } } GROUP BY ?l } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q844784
P206
Q337567 Q15324 Q1048835
USER
And also tell me about Vale of Glamorgan?
(c(Q1048835),P206,c(Q337567)|c(Q15324))
action approx
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 Q844784
relation P206
type Q337567
type Q15324
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) ?l WHERE { ?n rdf:type ?f . VALUES ( ?f ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } } GROUP BY ?l } . FILTER ( ?d = ?h ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { ?t rdf:type ?a . VALUES ( ?a ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } } . resource:Q844784 property:P206 ?t } } }
Vale of Glamorgan
action approx
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 Vale of Glamorgan
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 ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) ?l WHERE { ?n rdf:type ?f . VALUES ( ?f ) { ( ontology:still_waters ) ( ontology:body_of_water ) } } GROUP BY ?l } . FILTER ( ?d = ?h ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { ?t rdf:type ?a . VALUES ( ?a ) { ( ontology:still_waters ) ( ontology:body_of_water ) } } . resource:Vale_of_Glamorgan property:located_next_to_body_of_water ?t } } }
[]
still waters body of water political territorial entity
Q35 Q40 Q217840
SYSTEM
Denmark, Austria, Carmarthenshire
Q1649616 Q1228773 Q657407 Q1866 Q844784 Q2012050 Q1614800 Q492312 Q7206212 Q5065 Q5067 Q5068 Q18356359 Q147774 Q217829 Q7451347 Q40 Q5095 Q18350152 Q3557 Q804466 Q5096 Q492420 Q35 Q5017377 Q917886 Q6674900 Q7521776 Q616847 Q1637424 Q1443906 Q13751 Q847329 Q817971 Q16851746 Q1634820 Q1447802 Q217840 Q7130989 Q100166 Q163271 Q5437809 Q1823 Q3540 Q1443992 Q1631163 Q5078 Q1637406 Q743849 Q650682 Q748078 Q4481 Q1645555 Q5939706 Q3903 Q4673688 Q3724 Q1391437 Q18359182 Q171334 Q847127 Q5616614 Q47134 Q1623000 Q18357018 Q505610 Q607474 Q3891 Q168159 Q18351821 Q3586 Q936264 Q7684726 Q5197069 Q3906 Q824076 Q597201 Q6298722 Q697126
(c(Q1048835),P206,c(Q337567)|c(Q15324))
action approx
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 Q844784
relation P206
type Q337567
type Q15324
[ANSWERS]
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) ?l WHERE { ?n rdf:type ?f . VALUES ( ?f ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } } GROUP BY ?l } . FILTER ( ?d = ?h ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { ?t rdf:type ?a . VALUES ( ?a ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } } . resource:Q844784 property:P206 ?t } } }
Orio Plentzia Sopela Bangka–Belitung Islands Vale of Glamorgan Donetsk Oblast Val de San Vicente Hondarribia Poblacion Central Sulawesi Province Gorontalo Province North Sulawesi Province Manipulon Zarautz Ceredigion Sentinela Austria Papua Loguingot Central Java Province Bakio West Papua Getxo Denmark Cagting Santurtzi Looc, Mandaue Sinandigan Ribamontán al Mar Miengo Arnuero Biliran Comillas Conwy County Borough Caparangasan Barreiros Noja Carmarthenshire Pangpang Orkney Islands Kherson Oblast Fatima Aceh Banten Province Bareyo Aia South Sulawesi Ruiloba Valdáliga Denbighshire Neath Port Talbot County Borough Barrika Liendo Humayhumay North Kalimantan Achila West Java Province Alfoz de Lloredo Botlog Island Zaporizhzhya Oblast Pasaia Guintabo-an Shetland Piélagos Bayas Island Flintshire Muskiz Kalimantan Tengah Anglesey Malangabang East Java Lemoiz Tapon Cuya Kalimantan Selatan Ribadeo Lake of the Woods, Ontario Juagdan Bridgend County Borough
Denmark Austria Carmarthenshire
action approx
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 Vale of Glamorgan
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 ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) ?l WHERE { ?n rdf:type ?f . VALUES ( ?f ) { ( ontology:still_waters ) ( ontology:body_of_water ) } } GROUP BY ?l } . FILTER ( ?d = ?h ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { ?t rdf:type ?a . VALUES ( ?a ) { ( ontology:still_waters ) ( ontology:body_of_water ) } } . resource:Vale_of_Glamorgan property:located_next_to_body_of_water ?t } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q733
P530
Q1048835 Q15617994
USER
Which administrative territories are known to have diplomatic connections with lesser number of political territories than Paraguay ?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q733
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Q733 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?e < ?k ) . { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?e ) WHERE { ?t property:P530 ?v . ?t rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } GROUP BY ?t } }
Paraguay
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Paraguay
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Paraguay property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e < ?k ) . { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?e ) WHERE { ?t property:diplomatic_relation ?v . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?t } }
[]
political territorial entity designation for an administrative territorial entity
Q32 Q1011 Q805
SYSTEM
Luxembourg, Cape Verde, Yemen
Q702 Q805 Q262 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q236 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q733
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with lesser number of political territories than Paraguay
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Q733 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?e < ?k ) . { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?e ) WHERE { ?t property:P530 ?v . ?t rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } GROUP BY ?t } }
Federated States of Micronesia Yemen Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Montenegro Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
Luxembourg, Cape Verde and Yemen are known to have diplomatic connections with lesser number of political territories than Paraguay
Luxembourg Cape Verde Yemen
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Paraguay
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Paraguay property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e < ?k ) . { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?e ) WHERE { ?t property:diplomatic_relation ?v . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?t } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q912
P530
Q1048835 Q15617994
USER
And how about Mali?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q912
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?k ) WHERE { ?a property:P530 ?o . ?a rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1048835 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Q912 property:P530 ?s . ?s rdf:type ontology:Q1048835 } } . FILTER ( ?k < ?t ) }
Mali
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Mali
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?k ) WHERE { ?a property:diplomatic_relation ?o . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Mali property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } } . FILTER ( ?k < ?t ) }
[]
political territorial entity designation for an administrative territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q399 Q398 Q790 Q236 Q842 Q858
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q912
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?k ) WHERE { ?a property:P530 ?o . ?a rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1048835 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Q912 property:P530 ?s . ?s rdf:type ontology:Q1048835 } } . FILTER ( ?k < ?t ) }
Yemen Armenia Bahrain Haiti Montenegro Oman Syria
Yemen Syria Oman
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Mali
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?k ) WHERE { ?a property:diplomatic_relation ?o . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Mali property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } } . FILTER ( ?k < ?t ) }
[]