Simple Question (Direct)
Simple Question
Q3887394
P106
Q151885
USER
What is the job of Ottó Hátszeghy ?
(Q3887394,P106,c(Q151885))
action filter_type
action find
entity Q3887394
relation P106
type Q151885
['Q3887394', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { resource:Q3887394 property:P106 ?k . ?k rdf:type ontology:Q151885 }
Ottó Hátszeghy
action filter_type
action find
entity Ottó Hátszeghy
relation occupation
type concept
['Ottó Hátszeghy', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { resource:Ottó_Hátszeghy property:occupation ?k . ?k rdf:type ontology:concept }
[]
concept
Q13381863
SYSTEM
fencer
Q13381863
(Q3887394,P106,c(Q151885))
action filter_type
action find
entity Q3887394
relation P106
type Q151885
The job of Ottó Hátszeghy is a [ANSWER]
['Q3887394', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { resource:Q3887394 property:P106 ?k . ?k rdf:type ontology:Q151885 }
fencer
The job of Ottó Hátszeghy is a fencer
fencer
action filter_type
action find
entity Ottó Hátszeghy
relation occupation
type concept
['Ottó Hátszeghy', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { resource:Ottó_Hátszeghy property:occupation ?k . ?k rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13381863
P425
Q349
USER
Which sport is associated with the field of occupation that concept ?
(Q13381863,P425,c(Q349))
action filter_type
action find
entity Q13381863
relation P425
type Q349
['Q13381863', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q13381863 property:P425 ?e . ?e rdf:type ontology:Q349 }
fencer
action filter_type
action find
entity fencer
relation field of this occupation
type sport
['fencer', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:fencer property:field_of_this_occupation ?e . ?e rdf:type ontology:sport }
[]
sport
Q12100
SYSTEM
fencing
Q12100
(Q13381863,P425,c(Q349))
action filter_type
action find
entity Q13381863
relation P425
type Q349
[ANSWER] is associated with the field of occupation that concept
['Q13381863', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q13381863 property:P425 ?e . ?e rdf:type ontology:Q349 }
fencing
Fencing is associated with the field of occupation that concept
fencing
action filter_type
action find
entity fencer
relation field of this occupation
type sport
['fencer', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:fencer property:field_of_this_occupation ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3887394
P20
Q56061
USER
Where did the expiration of Ottó Hátszeghy occur ?
(Q3887394,P20,c(Q56061))
action filter_type
action find
entity Q3887394
relation P20
type Q56061
['Q3887394', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3887394 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Ottó Hátszeghy
action filter_type
action find
entity Ottó Hátszeghy
relation place of death
type administrative territorial entity
['Ottó Hátszeghy', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Ottó_Hátszeghy property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q3887394,P20,c(Q56061))
action filter_type
action find
entity Q3887394
relation P20
type Q56061
The expiration of Ottó Hátszeghy occurred in [ANSWER]
['Q3887394', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3887394 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Budapest
The expiration of Ottó Hátszeghy occurred in Budapest
Budapest
action filter_type
action find
entity Ottó Hátszeghy
relation place of death
type administrative territorial entity
['Ottó Hátszeghy', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Ottó_Hátszeghy property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1781
P206
Q355304
USER
Which watercourse is situated in the neighbourhood of that administrative territory ?
(Q1781,P206,c(Q355304))
action filter_type
action find
entity Q1781
relation P206
type Q355304
['Q1781', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?x WHERE { resource:Q1781 property:P206 ?x . ?x rdf:type ontology:Q355304 }
Budapest
action filter_type
action find
entity Budapest
relation located next to body of water
type watercourse
['Budapest', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?x WHERE { resource:Budapest property:located_next_to_body_of_water ?x . ?x rdf:type ontology:watercourse }
[]
watercourse
Q1653
SYSTEM
Danube
Q1653
(Q1781,P206,c(Q355304))
action filter_type
action find
entity Q1781
relation P206
type Q355304
Of [ANSWER] is situated in the neighbourhood of that administrative territory
['Q1781', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?x WHERE { resource:Q1781 property:P206 ?x . ?x rdf:type ontology:Q355304 }
Danube
Of Danube is situated in the neighbourhood of that administrative territory
Danube
action filter_type
action find
entity Budapest
relation located next to body of water
type watercourse
['Budapest', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?x WHERE { resource:Budapest property:located_next_to_body_of_water ?x . ?x rdf:type ontology:watercourse }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1653 Q1938900
P201
Q337567
USER
Does Silver Lake have that watercourse as outflow from it ?
(Q1938900,P201,Q1653)
action is_in
entity Q1653
action find
entity Q1938900
relation P201
['Q1938900', 'P201', 'Q1653']
ASK WHERE { resource:Q1938900 property:P201 resource:Q1653 }
Danube Silver Lake
action is_in
entity Danube
action find
entity Silver Lake
relation lake outflow
['Silver Lake', 'lake outflow', 'Danube']
ASK WHERE { resource:Silver_Lake property:lake_outflow resource:Danube }
[]
still waters
SYSTEM
YES
(Q1938900,P201,Q1653)
action is_in
entity Q1653
action find
entity Q1938900
relation P201
[ANSWER]
['Q1938900', 'P201', 'Q1653']
ASK WHERE { resource:Q1938900 property:P201 resource:Q1653 }
Yes
action is_in
entity Danube
action find
entity Silver Lake
relation lake outflow
['Silver Lake', 'lake outflow', 'Danube']
ASK WHERE { resource:Silver_Lake property:lake_outflow resource:Danube }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82955
P921
Q223393
USER
Which literary genre has politician as its principal topic ?
(c(Q223393),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q223393
[{'concept': 'Q223393'}, 'P921', 'Q82955']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q82955 . ?m rdf:type ontology:Q223393 }
politician
action filter_type
action find_reverse
entity politician
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'politician']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:politician . ?m rdf:type ontology:literary_genre }
[]
literary genre
Q21815179
SYSTEM
worldstatesmen
Q21815179
(c(Q223393),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q223393
[ANSWER] has politician as its principal topic
[{'concept': 'Q223393'}, 'P921', 'Q82955']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q82955 . ?m rdf:type ontology:Q223393 }
worldstatesmen
Worldstatesmen has politician as its principal topic
worldstatesmen
action filter_type
action find_reverse
entity politician
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'politician']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:politician . ?m rdf:type ontology:literary_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q21815179 Q19523169
P921
Q502895
USER
How many people were discussed in worldstatesmen or Villa Castelli helicopter collision ?
(Q21815179,P921,c(Q502895)) (Q19523169,P921,c(Q502895))
action count
action union
action filter_type
action find
entity Q21815179
relation P921
type Q502895
action filter_type
action find
entity Q19523169
relation P921
type Q502895
['Q21815179', 'P921', {'concept': 'Q502895'}] ['Q19523169', 'P921', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { VALUES ( ?o ) { ( resource:Q21815179 ) ( resource:Q19523169 ) } . ?o property:P921 ?p }
worldstatesmen Villa Castelli helicopter collision
action count
action union
action filter_type
action find
entity worldstatesmen
relation main subject
type common name
action filter_type
action find
entity Villa Castelli helicopter collision
relation main subject
type common name
['worldstatesmen', 'main subject', {'concept': 'common name'}] ['Villa Castelli helicopter collision', 'main subject', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { VALUES ( ?o ) { ( resource:worldstatesmen ) ( resource:Villa_Castelli_helicopter_collision ) } . ?o property:main_subject ?p }
[]
common name
SYSTEM
7
Q930934 Q19521468 Q217760 Q297477 Q435208 Q233834 Q728423
(Q21815179,P921,c(Q502895)) (Q19523169,P921,c(Q502895))
action count
action union
action filter_type
action find
entity Q21815179
relation P921
type Q502895
action filter_type
action find
entity Q19523169
relation P921
type Q502895
[ANSWER]
['Q21815179', 'P921', {'concept': 'Q502895'}] ['Q19523169', 'P921', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { VALUES ( ?o ) { ( resource:Q21815179 ) ( resource:Q19523169 ) } . ?o property:P921 ?p }
Alexis Vastine Anne-Flore Marxer Sylvain Wiltord Alain Bernard Florence Arthaud Jeannie Longo Philippe Candeloro
7
action count
action union
action filter_type
action find
entity worldstatesmen
relation main subject
type common name
action filter_type
action find
entity Villa Castelli helicopter collision
relation main subject
type common name
['worldstatesmen', 'main subject', {'concept': 'common name'}] ['Villa Castelli helicopter collision', 'main subject', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { VALUES ( ?o ) { ( resource:worldstatesmen ) ( resource:Villa_Castelli_helicopter_collision ) } . ?o property:main_subject ?p }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q14209773
P417
Q502895 Q1445650 Q56061
USER
How many administrative territories have adopted less number of people or holidays as patron saint than San Lorenzo de' Picenardi ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action less
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q14209773
relation P417
type Q502895
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?g WHERE { ?i rdf:type ?p . VALUES ( ?p ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Q14209773 property:P417 ?h . { { ?h rdf:type ontology:Q502895 } UNION { ?h rdf:type ontology:Q1445650 } } } } . FILTER ( ?v < ?f ) }
San Lorenzo de' Picenardi
action count
action less
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity San Lorenzo de' Picenardi
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?g WHERE { ?i rdf:type ?p . VALUES ( ?p ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:San_Lorenzo_de'_Picenardi property:patron_saint ?h . { { ?h rdf:type ontology:common_name } UNION { ?h rdf:type ontology:holiday } } } } . FILTER ( ?v < ?f ) }
[]
common name holiday administrative territorial entity
SYSTEM
33
Q264716 Q12883498 Q54494 Q50057 Q117388 Q6221 Q46718 Q54119 Q81258 Q47074 Q59257 Q4361 Q2914723 Q100129 Q52547 Q116440 Q2284679 Q496890 Q297224 Q259039 Q54556 Q487786 Q100943 Q244193 Q1747381 Q492475 Q334577 Q39493 Q329984 Q47034 Q215080 Q270288 Q102820
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action less
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q14209773
relation P417
type Q502895
type Q1445650
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?g WHERE { ?i rdf:type ?p . VALUES ( ?p ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Q14209773 property:P417 ?h . { { ?h rdf:type ontology:Q502895 } UNION { ?h rdf:type ontology:Q1445650 } } } } . FILTER ( ?v < ?f ) }
Carzano Pano Platres Belvedere di Spinello Cagnano Amiterno Strangolagalli Brescia Carrè San Pedro Padula Aielli Montefortino Curitiba Nemausus Calvenzano Campomaggiore Arpino General Alvear, Mendoza Balestrate Padergnone Giardinello Africo Orihuela Sorbolo Cagno Polykastro Valença Quetzaltenango Cantello Úbeda Espoo Machala Riccò del Golfo di Spezia Nibbiano
33
action count
action less
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity San Lorenzo de' Picenardi
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?g WHERE { ?i rdf:type ?p . VALUES ( ?p ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:San_Lorenzo_de'_Picenardi property:patron_saint ?h . { { ?h rdf:type ontology:common_name } UNION { ?h rdf:type ontology:holiday } } } } . FILTER ( ?v < ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q200908
P417
Q502895 Q1445650 Q56061
USER
And also tell me about Rethymno?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action less
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q200908
relation P417
type Q502895
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?l ) WHERE { VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?g rdf:type ?c } GROUP BY ?h } . FILTER ( ?l < ?s ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:Q200908 property:P417 ?a . { { ?a rdf:type ontology:Q502895 } UNION { ?a rdf:type ontology:Q1445650 } } } } }
Rethymno
action count
action less
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Rethymno
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?l ) WHERE { VALUES ( ?c ) { ( ontology:common_name ) ( ontology:holiday ) } . ?g rdf:type ?c } GROUP BY ?h } . FILTER ( ?l < ?s ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:Rethymno property:patron_saint ?a . { { ?a rdf:type ontology:common_name } UNION { ?a rdf:type ontology:holiday } } } } }
[]
common name holiday administrative territorial entity
SYSTEM
33
Q264716 Q12883498 Q54494 Q50057 Q117388 Q6221 Q46718 Q54119 Q81258 Q47074 Q59257 Q4361 Q2914723 Q100129 Q52547 Q116440 Q2284679 Q496890 Q297224 Q259039 Q54556 Q487786 Q100943 Q244193 Q1747381 Q492475 Q334577 Q39493 Q329984 Q47034 Q215080 Q270288 Q102820
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action less
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q200908
relation P417
type Q502895
type Q1445650
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?l ) WHERE { VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?g rdf:type ?c } GROUP BY ?h } . FILTER ( ?l < ?s ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:Q200908 property:P417 ?a . { { ?a rdf:type ontology:Q502895 } UNION { ?a rdf:type ontology:Q1445650 } } } } }
Carzano Pano Platres Belvedere di Spinello Cagnano Amiterno Strangolagalli Brescia Carrè San Pedro Padula Aielli Montefortino Curitiba Nemausus Calvenzano Campomaggiore Arpino General Alvear, Mendoza Balestrate Padergnone Giardinello Africo Orihuela Sorbolo Cagno Polykastro Valença Quetzaltenango Cantello Úbeda Espoo Machala Riccò del Golfo di Spezia Nibbiano
33
action count
action less
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Rethymno
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?l ) WHERE { VALUES ( ?c ) { ( ontology:common_name ) ( ontology:holiday ) } . ?g rdf:type ?c } GROUP BY ?h } . FILTER ( ?l < ?s ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:Rethymno property:patron_saint ?a . { { ?a rdf:type ontology:common_name } UNION { ?a rdf:type ontology:holiday } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1781
P6
Q502895
USER
Which person is the head of government of Budapest ?
(Q1781,P6,c(Q502895))
action filter_type
action find
entity Q1781
relation P6
type Q502895
['Q1781', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1781 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Budapest
action filter_type
action find
entity Budapest
relation head of government
type common name
['Budapest', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Budapest property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
common name
Q923540
SYSTEM
István Tarlós
Q923540
(Q1781,P6,c(Q502895))
action filter_type
action find
entity Q1781
relation P6
type Q502895
[ANSWER] is the head of government of Budapest
['Q1781', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1781 property:P6 ?h . ?h rdf:type ontology:Q502895 }
István Tarlós
István Tarlós is the head of government of Budapest
István Tarlós
action filter_type
action find
entity Budapest
relation head of government
type common name
['Budapest', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Budapest property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1653
P47
Q56061
USER
Which administrative territory has an adjacent border with Danube ?
(c(Q56061),P47,Q1653)
action filter_type
action find_reverse
entity Q1653
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q1653']
SELECT DISTINCT ?f WHERE { ?f property:P47 resource:Q1653 . ?f rdf:type ontology:Q56061 }
Danube
action filter_type
action find_reverse
entity Danube
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Danube']
SELECT DISTINCT ?f WHERE { ?f property:shares_border_with resource:Danube . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q989834
SYSTEM
Mineri
Q989834
(c(Q56061),P47,Q1653)
action filter_type
action find_reverse
entity Q1653
relation P47
type Q56061
[ANSWER] has an adjacent border with Danube
[{'concept': 'Q56061'}, 'P47', 'Q1653']
SELECT DISTINCT ?f WHERE { ?f property:P47 resource:Q1653 . ?f rdf:type ontology:Q56061 }
Mineri
Mineri has an adjacent border with Danube
Mineri
action filter_type
action find_reverse
entity Danube
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Danube']
SELECT DISTINCT ?f WHERE { ?f property:shares_border_with resource:Danube . ?f rdf:type ontology:administrative_territorial_entity }
[]