Simple Question (Direct)
Simple Question
Q2704219
P106
Q12737077
USER
What are the job of Evan Dando ?
(Q2704219,P106,c(Q12737077))
action filter_type
action find
entity Q2704219
relation P106
type Q12737077
['Q2704219', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q2704219 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Evan Dando
action filter_type
action find
entity Evan Dando
relation occupation
type occupation
['Evan Dando', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Evan_Dando property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q639669 Q488205 Q177220
SYSTEM
musician, singer-songwriter, singer
Q639669 Q488205 Q177220
(Q2704219,P106,c(Q12737077))
action filter_type
action find
entity Q2704219
relation P106
type Q12737077
The job of Evan Dando are the [ANSWERS]
['Q2704219', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q2704219 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
musician singer-songwriter singer
The job of Evan Dando are the musician, singer-songwriter and singer
musician singer-songwriter singer
action filter_type
action find
entity Evan Dando
relation occupation
type occupation
['Evan Dando', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Evan_Dando property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q639669
P921
Q571
USER
Which book has musician as its principal topic ?
(c(Q571),P921,Q639669)
action filter_type
action find_reverse
entity Q639669
relation P921
type Q571
[{'concept': 'Q571'}, 'P921', 'Q639669']
SELECT DISTINCT ?o WHERE { ?o property:P921 resource:Q639669 . ?o rdf:type ontology:Q571 }
musician
action filter_type
action find_reverse
entity musician
relation main subject
type book
[{'concept': 'book'}, 'main subject', 'musician']
SELECT DISTINCT ?o WHERE { ?o property:main_subject resource:musician . ?o rdf:type ontology:book }
[]
book
Q19937957
SYSTEM
Baker's Biographical Dictionary of Musicians (Centennial ed.)
Q19937957
(c(Q571),P921,Q639669)
action filter_type
action find_reverse
entity Q639669
relation P921
type Q571
[ANSWER] has musician as its principal topic
[{'concept': 'Q571'}, 'P921', 'Q639669']
SELECT DISTINCT ?o WHERE { ?o property:P921 resource:Q639669 . ?o rdf:type ontology:Q571 }
Baker's Biographical Dictionary of Musicians (Centennial ed.)
Baker's Biographical Dictionary of Musicians (Centennial ed.) has musician as its principal topic
Baker's Biographical Dictionary of Musicians (Centennial ed.)
action filter_type
action find_reverse
entity musician
relation main subject
type book
[{'concept': 'book'}, 'main subject', 'musician']
SELECT DISTINCT ?o WHERE { ?o property:main_subject resource:musician . ?o rdf:type ontology:book }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19937957
P629
Q2342494
USER
What is that book an edition or translation of ?
(Q19937957,P629,c(Q2342494))
action filter_type
action find
entity Q19937957
relation P629
type Q2342494
['Q19937957', 'P629', {'concept': 'Q2342494'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2342494 . resource:Q19937957 property:P629 ?y }
Baker's Biographical Dictionary of Musicians (Centennial ed.)
action filter_type
action find
entity Baker's Biographical Dictionary of Musicians (Centennial ed.)
relation edition or translation of
type collectable
["Baker's Biographical Dictionary of Musicians (Centennial ed.)", 'edition or translation of', {'concept': 'collectable'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:collectable . resource:Baker's_Biographical_Dictionary_of_Musicians_(Centennial_ed.) property:edition_or_translation_of ?y }
[]
collectable
Q4849064
SYSTEM
Baker's Biographical Dictionary of Musicians
Q4849064
(Q19937957,P629,c(Q2342494))
action filter_type
action find
entity Q19937957
relation P629
type Q2342494
That book an edition or translation of is in [ANSWER]
['Q19937957', 'P629', {'concept': 'Q2342494'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2342494 . resource:Q19937957 property:P629 ?y }
Baker's Biographical Dictionary of Musicians
That book an edition or translation of is in Baker's Biographical Dictionary of Musicians
Baker's Biographical Dictionary of Musicians
action filter_type
action find
entity Baker's Biographical Dictionary of Musicians (Centennial ed.)
relation edition or translation of
type collectable
["Baker's Biographical Dictionary of Musicians (Centennial ed.)", 'edition or translation of', {'concept': 'collectable'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:collectable . resource:Baker's_Biographical_Dictionary_of_Musicians_(Centennial_ed.) property:edition_or_translation_of ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19937957
P136
Q1792379
USER
What can be considered as category for Baker's Biographical Dictionary of Musicians (Centennial ed.) ?
(Q19937957,P136,c(Q1792379))
action filter_type
action find
entity Q19937957
relation P136
type Q1792379
['Q19937957', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?s WHERE { resource:Q19937957 property:P136 ?s . ?s rdf:type ontology:Q1792379 }
Baker's Biographical Dictionary of Musicians (Centennial ed.)
action filter_type
action find
entity Baker's Biographical Dictionary of Musicians (Centennial ed.)
relation genre
type art genre
["Baker's Biographical Dictionary of Musicians (Centennial ed.)", 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?s WHERE { resource:Baker's_Biographical_Dictionary_of_Musicians_(Centennial_ed.) property:genre ?s . ?s rdf:type ontology:art_genre }
[]
art genre
Q1787111
SYSTEM
biographical encyclopedia
Q1787111
(Q19937957,P136,c(Q1792379))
action filter_type
action find
entity Q19937957
relation P136
type Q1792379
[ANSWER] can be considered as category for Baker's Biographical Dictionary of Musicians (Centennial ed.)
['Q19937957', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?s WHERE { resource:Q19937957 property:P136 ?s . ?s rdf:type ontology:Q1792379 }
biographical encyclopedia
Biographical encyclopedia can be considered as category for Baker's Biographical Dictionary of Musicians (Centennial ed.)
biographical encyclopedia
action filter_type
action find
entity Baker's Biographical Dictionary of Musicians (Centennial ed.)
relation genre
type art genre
["Baker's Biographical Dictionary of Musicians (Centennial ed.)", 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?s WHERE { resource:Baker's_Biographical_Dictionary_of_Musicians_(Centennial_ed.) property:genre ?s . ?s rdf:type ontology:art_genre }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1787111 Q19944831
P136
Q2342494
USER
Does Biographical Dictionary of Twentieth-Century Philosophers a that art genre as its class ?
(Q19944831,P136,Q1787111)
action is_in
entity Q1787111
action find
entity Q19944831
relation P136
['Q19944831', 'P136', 'Q1787111']
ASK WHERE { resource:Q19944831 property:P136 resource:Q1787111 }
biographical encyclopedia Biographical Dictionary of Twentieth-Century Philosophers
action is_in
entity biographical encyclopedia
action find
entity Biographical Dictionary of Twentieth-Century Philosophers
relation genre
['Biographical Dictionary of Twentieth-Century Philosophers', 'genre', 'biographical encyclopedia']
ASK WHERE { resource:Biographical_Dictionary_of_Twentieth-Century_Philosophers property:genre resource:biographical_encyclopedia }
[]
collectable
SYSTEM
YES
(Q19944831,P136,Q1787111)
action is_in
entity Q1787111
action find
entity Q19944831
relation P136
[ANSWER]
['Q19944831', 'P136', 'Q1787111']
ASK WHERE { resource:Q19944831 property:P136 resource:Q1787111 }
Yes
action is_in
entity biographical encyclopedia
action find
entity Biographical Dictionary of Twentieth-Century Philosophers
relation genre
['Biographical Dictionary of Twentieth-Century Philosophers', 'genre', 'biographical encyclopedia']
ASK WHERE { resource:Biographical_Dictionary_of_Twentieth-Century_Philosophers property:genre resource:biographical_encyclopedia }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4849064 Q1860 Q35308
P364
Q34770
USER
Is Baker's Biographical Dictionary of Musicians known to be originally created in English and Old Irish language ?
(Q4849064,P364,Q1860) (Q4849064,P364,Q35308)
action is_in
entity Q4849064
action intersection
action find_reverse
entity Q1860
relation P364
action find_reverse
entity Q35308
relation P364
['Q4849064', 'P364', 'Q1860'] ['Q4849064', 'P364', 'Q35308']
ASK WHERE { resource:Q4849064 property:P364 resource:Q1860 . resource:Q4849064 property:P364 resource:Q35308 }
Baker's Biographical Dictionary of Musicians English Old Irish
action is_in
entity Baker's Biographical Dictionary of Musicians
action intersection
action find_reverse
entity English
relation original language of work
action find_reverse
entity Old Irish
relation original language of work
["Baker's Biographical Dictionary of Musicians", 'original language of work', 'English'] ["Baker's Biographical Dictionary of Musicians", 'original language of work', 'Old Irish']
ASK WHERE { resource:Baker's_Biographical_Dictionary_of_Musicians property:original_language_of_work resource:English . resource:Baker's_Biographical_Dictionary_of_Musicians property:original_language_of_work resource:Old_Irish }
[]
language
SYSTEM
YES and NO respectively
(Q4849064,P364,Q1860) (Q4849064,P364,Q35308)
action is_in
entity Q4849064
action intersection
action find_reverse
entity Q1860
relation P364
action find_reverse
entity Q35308
relation P364
[ANSWER]
['Q4849064', 'P364', 'Q1860'] ['Q4849064', 'P364', 'Q35308']
ASK WHERE { resource:Q4849064 property:P364 resource:Q1860 . resource:Q4849064 property:P364 resource:Q35308 }
YES and NO respectively
action is_in
entity Baker's Biographical Dictionary of Musicians
action intersection
action find_reverse
entity English
relation original language of work
action find_reverse
entity Old Irish
relation original language of work
["Baker's Biographical Dictionary of Musicians", 'original language of work', 'English'] ["Baker's Biographical Dictionary of Musicians", 'original language of work', 'Old Irish']
ASK WHERE { resource:Baker's_Biographical_Dictionary_of_Musicians property:original_language_of_work resource:English . resource:Baker's_Biographical_Dictionary_of_Musicians property:original_language_of_work resource:Old_Irish }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4849064
P50
Q502895
USER
Who wrote that collectable ?
action filter_type
action find
entity Q4849064
relation P50
type Q502895
SELECT DISTINCT ?g WHERE { resource:Q4849064 property:P50 ?g . ?g rdf:type ontology:Q502895 }
Baker's Biographical Dictionary of Musicians
action filter_type
action find
entity Baker's Biographical Dictionary of Musicians
relation author
type common name
SELECT DISTINCT ?g WHERE { resource:Baker's_Biographical_Dictionary_of_Musicians property:author ?g . ?g rdf:type ontology:common_name }
[]
common name
Q1425502
SYSTEM
Theodore Baker
Q1425502
action filter_type
action find
entity Q4849064
relation P50
type Q502895
[ANSWER] wrote that collectable
SELECT DISTINCT ?g WHERE { resource:Q4849064 property:P50 ?g . ?g rdf:type ontology:Q502895 }
Theodore Baker
Theodore Baker wrote that collectable
Theodore Baker
action filter_type
action find
entity Baker's Biographical Dictionary of Musicians
relation author
type common name
SELECT DISTINCT ?g WHERE { resource:Baker's_Biographical_Dictionary_of_Musicians property:author ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1425502
P21
Q290
USER
Which sex does that person belong to ?
(Q1425502,P21,c(Q290))
action filter_type
action find
entity Q1425502
relation P21
type Q290
['Q1425502', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q1425502 property:P21 ?d . ?d rdf:type ontology:Q290 }
Theodore Baker
action filter_type
action find
entity Theodore Baker
relation gender
type sex
['Theodore Baker', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Theodore_Baker property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1425502,P21,c(Q290))
action filter_type
action find
entity Q1425502
relation P21
type Q290
That person belongs to [ANSWER]
['Q1425502', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q1425502 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Theodore Baker
relation gender
type sex
['Theodore Baker', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Theodore_Baker property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1425502
P20
Q515
USER
Where did the expiration of that person occur ?
(Q6581097,P20,c(Q515))
action filter_type
action find
entity Q1425502
relation P20
type Q515
['Q6581097', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { resource:Q1425502 property:P20 ?s . ?s rdf:type ontology:Q515 }
Theodore Baker
action filter_type
action find
entity Theodore Baker
relation place of death
type city
['male', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { resource:Theodore_Baker property:place_of_death ?s . ?s rdf:type ontology:city }
[]
city
Q1731
SYSTEM
Dresden
Q1731
(Q6581097,P20,c(Q515))
action filter_type
action find
entity Q1425502
relation P20
type Q515
The expiration of that person occurred in [ANSWER]
['Q6581097', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { resource:Q1425502 property:P20 ?s . ?s rdf:type ontology:Q515 }
Dresden
The expiration of that person occurred in Dresden
Dresden
action filter_type
action find
entity Theodore Baker
relation place of death
type city
['male', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { resource:Theodore_Baker property:place_of_death ?s . ?s rdf:type ontology:city }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q623685
P190
Q515 Q1048835
USER
Which political territories are twin city of greater number of cities than Ólvega ?
(c(Q1048835),P190,c(Q515))
action greater
action find_tuple_counts
relation P190
type Q1048835
type Q515
action count
action filter_type
action find
entity Q623685
relation P190
type Q1048835
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?s ) WHERE { ?w property:P190 ?t . ?w rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q515 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { resource:Q623685 property:P190 ?x . ?x rdf:type ontology:Q1048835 } } . FILTER ( ?s > ?q ) }
Ólvega
action greater
action find_tuple_counts
relation sister city
type political territorial entity
type city
action count
action filter_type
action find
entity Ólvega
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?s ) WHERE { ?w property:sister_city ?t . ?w rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:city } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { resource:Ólvega property:sister_city ?x . ?x rdf:type ontology:political_territorial_entity } } . FILTER ( ?s > ?q ) }
[]
city political territorial entity
Q436491 Q16572 Q5826
SYSTEM
Altea, Guangzhou, Xi'an
Q926713 Q433632 Q842713 Q30002 Q168376 Q164867 Q11746 Q4970 Q193780 Q478818 Q180981 Q15174 Q489839 Q840373 Q170322 Q42956 Q189848 Q436491 Q1917834 Q572800 Q170247 Q615722 Q696797 Q488555 Q92161 Q5978 Q825883 Q11720 Q12534 Q353618 Q42780 Q16572 Q5783 Q77433 Q318314 Q74881 Q5826 Q240 Q192387 Q201149 Q68744 Q714613 Q47593
(c(Q1048835),P190,c(Q515))
action greater
action find_tuple_counts
relation P190
type Q1048835
type Q515
action count
action filter_type
action find
entity Q623685
relation P190
type Q1048835
[ANSWERS] are twin city of greater number of cities than Ólvega
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?s ) WHERE { ?w property:P190 ?t . ?w rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q515 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { resource:Q623685 property:P190 ?x . ?x rdf:type ontology:Q1048835 } } . FILTER ( ?s > ?q ) }
Parintins Santa Cruz de La Palma Itajaí Chengdu Vitória Rügen Wuhan Hangzhou Almuñécar São José dos Pinhais Kirovohrad Oblast Shenzhen Torrejón de Ardoz Valdemoro Qingdao Harbin Guernica Altea Albaida Alcañiz Jinan Santa Fe Balaguer Baeza Changchun Hildesheim Valls Shenyang Sant Pol de Mar Adeje Ningbo Guangzhou Andalusia Leganés Ipatinga Dalian Xi'an Brussels Londrina Fife Xiamen Serne Belém
Altea, Guangzhou and Xi'an are twin city of greater number of cities than Ólvega
Altea Guangzhou Xi'an
action greater
action find_tuple_counts
relation sister city
type political territorial entity
type city
action count
action filter_type
action find
entity Ólvega
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?s ) WHERE { ?w property:sister_city ?t . ?w rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:city } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { resource:Ólvega property:sister_city ?x . ?x rdf:type ontology:political_territorial_entity } } . FILTER ( ?s > ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q7907
P190
Q515 Q1048835
USER
And also tell me about Rheingau-Taunus-Kreis?
(c(Q1048835),P190,c(Q515))
action greater
action find_tuple_counts
relation P190
type Q1048835
type Q515
action count
action filter_type
action find
entity Q7907
relation P190
type Q1048835
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?h ) WHERE { ?k rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q515 . ?k property:P190 ?z } GROUP BY ?k } . FILTER ( ?h > ?u ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Q7907 property:P190 ?p . ?p rdf:type ontology:Q1048835 } } }
Rheingau-Taunus-Kreis
action greater
action find_tuple_counts
relation sister city
type political territorial entity
type city
action count
action filter_type
action find
entity Rheingau-Taunus-Kreis
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?h ) WHERE { ?k rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:city . ?k property:sister_city ?z } GROUP BY ?k } . FILTER ( ?h > ?u ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Rheingau-Taunus-Kreis property:sister_city ?p . ?p rdf:type ontology:political_territorial_entity } } }
[]
city political territorial entity
Q436491 Q16572 Q5826
SYSTEM
Altea, Guangzhou, Xi'an
Q926713 Q433632 Q842713 Q30002 Q168376 Q164867 Q11746 Q4970 Q193780 Q478818 Q180981 Q15174 Q489839 Q840373 Q170322 Q42956 Q189848 Q436491 Q1917834 Q572800 Q170247 Q615722 Q696797 Q488555 Q92161 Q5978 Q825883 Q11720 Q12534 Q353618 Q42780 Q16572 Q5783 Q77433 Q318314 Q74881 Q5826 Q240 Q192387 Q201149 Q68744 Q714613 Q47593
(c(Q1048835),P190,c(Q515))
action greater
action find_tuple_counts
relation P190
type Q1048835
type Q515
action count
action filter_type
action find
entity Q7907
relation P190
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?h ) WHERE { ?k rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q515 . ?k property:P190 ?z } GROUP BY ?k } . FILTER ( ?h > ?u ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Q7907 property:P190 ?p . ?p rdf:type ontology:Q1048835 } } }
Parintins Santa Cruz de La Palma Itajaí Chengdu Vitória Rügen Wuhan Hangzhou Almuñécar São José dos Pinhais Kirovohrad Oblast Shenzhen Torrejón de Ardoz Valdemoro Qingdao Harbin Guernica Altea Albaida Alcañiz Jinan Santa Fe Balaguer Baeza Changchun Hildesheim Valls Shenyang Sant Pol de Mar Adeje Ningbo Guangzhou Andalusia Leganés Ipatinga Dalian Xi'an Brussels Londrina Fife Xiamen Serne Belém
Altea Guangzhou Xi'an
action greater
action find_tuple_counts
relation sister city
type political territorial entity
type city
action count
action filter_type
action find
entity Rheingau-Taunus-Kreis
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?h ) WHERE { ?k rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:city . ?k property:sister_city ?z } GROUP BY ?k } . FILTER ( ?h > ?u ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Rheingau-Taunus-Kreis property:sister_city ?p . ?p rdf:type ontology:political_territorial_entity } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19241199 Q623685
P47 P276
Q56061
USER
Which administrative territories have a shared border with Ólvega or are the locations of Hageneind ?
OR((Q623685,P47,c(Q56061)), (Q19241199,P276,c(Q56061)))
action filter_type
action union
action find
entity Q623685
relation P47
action find
entity Q19241199
relation P276
type Q56061
{'OR': [['Q623685', 'P47', {'concept': 'Q56061'}], ['Q19241199', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q623685 property:P47 ?h } UNION { resource:Q19241199 property:P276 ?h } } . ?h rdf:type ontology:Q56061 }
Hageneind Ólvega
action filter_type
action union
action find
entity Ólvega
relation shares border with
action find
entity Hageneind
relation location
type administrative territorial entity
{'OR': [['Ólvega', 'shares border with', {'concept': 'administrative territorial entity'}], ['Hageneind', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Ólvega property:shares_border_with ?h } UNION { resource:Hageneind property:location ?h } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12155 Q462504
SYSTEM
Soria, Tynaarlo
Q12155 Q462504
OR((Q623685,P47,c(Q56061)), (Q19241199,P276,c(Q56061)))
action filter_type
action union
action find
entity Q623685
relation P47
action find
entity Q19241199
relation P276
type Q56061
[ANSWERS] have a shared border with Ólvega or are the locations of Hageneind
{'OR': [['Q623685', 'P47', {'concept': 'Q56061'}], ['Q19241199', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q623685 property:P47 ?h } UNION { resource:Q19241199 property:P276 ?h } } . ?h rdf:type ontology:Q56061 }
Soria Tynaarlo
Soria and Tynaarlo have a shared border with Ólvega or are the locations of Hageneind
Soria Tynaarlo
action filter_type
action union
action find
entity Ólvega
relation shares border with
action find
entity Hageneind
relation location
type administrative territorial entity
{'OR': [['Ólvega', 'shares border with', {'concept': 'administrative territorial entity'}], ['Hageneind', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Ólvega property:shares_border_with ?h } UNION { resource:Hageneind property:location ?h } } . ?h rdf:type ontology:administrative_territorial_entity }
[]