Simple Question (Direct)
Simple Question
Q6398824
P172
Q2472587
USER
Which people does Khachik Dashtents have as ethnic origin ?
(Q6398824,P172,c(Q2472587))
action filter_type
action find
entity Q6398824
relation P172
type Q2472587
['Q6398824', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?g WHERE { resource:Q6398824 property:P172 ?g . ?g rdf:type ontology:Q2472587 }
Khachik Dashtents
action filter_type
action find
entity Khachik Dashtents
relation ethnic group
type people
['Khachik Dashtents', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?g WHERE { resource:Khachik_Dashtents property:ethnic_group ?g . ?g rdf:type ontology:people }
[]
people
Q79797
SYSTEM
Armenians
Q79797
(Q6398824,P172,c(Q2472587))
action filter_type
action find
entity Q6398824
relation P172
type Q2472587
Khachik Dashtents has adopted [ANSWER] as ethnic origin
['Q6398824', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?g WHERE { resource:Q6398824 property:P172 ?g . ?g rdf:type ontology:Q2472587 }
Armenians
Khachik Dashtents has adopted Armenians as ethnic origin
Armenians
action filter_type
action find
entity Khachik Dashtents
relation ethnic group
type people
['Khachik Dashtents', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?g WHERE { resource:Khachik_Dashtents property:ethnic_group ?g . ?g rdf:type ontology:people }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6398824
P20
Q515
USER
Where did the demise of that person occur ?
(Q79797,P20,c(Q515))
action filter_type
action find
entity Q6398824
relation P20
type Q515
['Q79797', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { resource:Q6398824 property:P20 ?k . ?k rdf:type ontology:Q515 }
Khachik Dashtents
action filter_type
action find
entity Khachik Dashtents
relation place of death
type city
['Armenians', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { resource:Khachik_Dashtents property:place_of_death ?k . ?k rdf:type ontology:city }
[]
city
Q1953
SYSTEM
Yerevan
Q1953
(Q79797,P20,c(Q515))
action filter_type
action find
entity Q6398824
relation P20
type Q515
The demise of that person occurred in [ANSWER]
['Q79797', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { resource:Q6398824 property:P20 ?k . ?k rdf:type ontology:Q515 }
Yerevan
The demise of that person occurred in Yerevan
Yerevan
action filter_type
action find
entity Khachik Dashtents
relation place of death
type city
['Armenians', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { resource:Khachik_Dashtents property:place_of_death ?k . ?k rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6398824
P1412
Q34770
USER
Which language can that person read ?
(Q1953,P1412,c(Q34770))
action filter_type
action find
entity Q6398824
relation P1412
type Q34770
['Q1953', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q6398824 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Khachik Dashtents
action filter_type
action find
entity Khachik Dashtents
relation languages spoken, written or signed
type language
['Yerevan', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Khachik_Dashtents property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q8785
SYSTEM
Armenian
Q8785
(Q1953,P1412,c(Q34770))
action filter_type
action find
entity Q6398824
relation P1412
type Q34770
That person can read the [ANSWER]
['Q1953', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q6398824 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Armenian
That person can read the Armenian
Armenian
action filter_type
action find
entity Khachik Dashtents
relation languages spoken, written or signed
type language
['Yerevan', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Khachik_Dashtents property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P37
Q13220204 Q56061
USER
How many administrative country subdivisions and administrative territories are that language the official language of ?
(c(Q13220204),P37,Q8785) (c(Q56061),P37,Q8785) (c(Q13220204),P37,Q8785) (c(Q56061),P37,Q8785)
action count
action union
action filter_type
action find_reverse
entity Q8785
relation P37
type Q13220204
action filter_type
action find_reverse
entity Q8785
relation P37
type Q56061
[{'concept': 'Q13220204'}, 'P37', 'Q8785'] [{'concept': 'Q56061'}, 'P37', 'Q8785'] [{'concept': 'Q13220204'}, 'P37', 'Q8785'] [{'concept': 'Q56061'}, 'P37', 'Q8785']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n rdf:type ?e . VALUES ( ?e ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } }
action count
action union
action filter_type
action find_reverse
entity Armenian
relation official language
type second-level administrative country subdivision
action filter_type
action find_reverse
entity Armenian
relation official language
type administrative territorial entity
[{'concept': 'second-level administrative country subdivision'}, 'official language', 'Armenian'] [{'concept': 'administrative territorial entity'}, 'official language', 'Armenian'] [{'concept': 'second-level administrative country subdivision'}, 'official language', 'Armenian'] [{'concept': 'administrative territorial entity'}, 'official language', 'Armenian']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n rdf:type ?e . VALUES ( ?e ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } }
[]
second-level administrative country subdivision administrative territorial entity
SYSTEM
1 administrative country subdivisions and 1 administrative territories
Q2672631 Q2414585
(c(Q13220204),P37,Q8785) (c(Q56061),P37,Q8785) (c(Q13220204),P37,Q8785) (c(Q56061),P37,Q8785)
action count
action union
action filter_type
action find_reverse
entity Q8785
relation P37
type Q13220204
action filter_type
action find_reverse
entity Q8785
relation P37
type Q56061
[ANSWER]
[{'concept': 'Q13220204'}, 'P37', 'Q8785'] [{'concept': 'Q56061'}, 'P37', 'Q8785'] [{'concept': 'Q13220204'}, 'P37', 'Q8785'] [{'concept': 'Q56061'}, 'P37', 'Q8785']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n rdf:type ?e . VALUES ( ?e ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } }
Gharibjanyan Agarak
1 administrative country subdivisions and 1 administrative territories
action count
action union
action filter_type
action find_reverse
entity Armenian
relation official language
type second-level administrative country subdivision
action filter_type
action find_reverse
entity Armenian
relation official language
type administrative territorial entity
[{'concept': 'second-level administrative country subdivision'}, 'official language', 'Armenian'] [{'concept': 'administrative territorial entity'}, 'official language', 'Armenian'] [{'concept': 'second-level administrative country subdivision'}, 'official language', 'Armenian'] [{'concept': 'administrative territorial entity'}, 'official language', 'Armenian']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n rdf:type ?e . VALUES ( ?e ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1953
P159
Q43229
USER
Which organizations have the principal seat at Yerevan ?
(c(Q43229),P159,Q1953)
action filter_type
action find_reverse
entity Q1953
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q1953']
SELECT DISTINCT ?x WHERE { ?x property:P159 resource:Q1953 . ?x rdf:type ontology:Q43229 }
Yerevan
action filter_type
action find_reverse
entity Yerevan
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Yerevan']
SELECT DISTINCT ?x WHERE { ?x property:headquarters_location resource:Yerevan . ?x rdf:type ontology:organization }
[]
organization
Q487164 Q1974145 Q683787
SYSTEM
Armenia Telephone Company, Yerevan Brandy Company, Armenian Stock Exchange
Q4792453 Q5635855 Q19604338 Q683787 Q25836 Q20795233 Q21216759 Q688486 Q1687645 Q4787755 Q487164 Q13054189 Q1974145 Q4742492 Q19604320 Q4070920
(c(Q43229),P159,Q1953)
action filter_type
action find_reverse
entity Q1953
relation P159
type Q43229
[ANSWERS] have the principal seat at Yerevan
[{'concept': 'Q43229'}, 'P159', 'Q1953']
SELECT DISTINCT ?x WHERE { ?x property:P159 resource:Q1953 . ?x rdf:type ontology:Q43229 }
ArmSwissBank HSBC Bank Armenia Araratbank Armenian Stock Exchange ErAZ South Caucasus Railway Rosneft-Armenia Arminco Yerevan Ararat Wine Factory ArdShinInvest Armenia Telephone Company Ucom Yerevan Brandy Company Ameriabank Anelik Bank Artsakhbank
Armenia Telephone Company, Yerevan Brandy Company and Armenian Stock Exchange have the principal seat at Yerevan
Armenia Telephone Company Yerevan Brandy Company Armenian Stock Exchange
action filter_type
action find_reverse
entity Yerevan
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Yerevan']
SELECT DISTINCT ?x WHERE { ?x property:headquarters_location resource:Yerevan . ?x rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1974145
P176
Q199360
USER
What was built by that organization ?
(c(Q199360),P176,Q1974145)
action filter_type
action find_reverse
entity Q1974145
relation P176
type Q199360
[{'concept': 'Q199360'}, 'P176', 'Q1974145']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q199360 . ?t property:P176 resource:Q1974145 }
Yerevan Brandy Company
action filter_type
action find_reverse
entity Yerevan Brandy Company
relation manufacturer
type Zigarrenbrand
[{'concept': 'Zigarrenbrand'}, 'manufacturer', 'Yerevan Brandy Company']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Zigarrenbrand . ?t property:manufacturer resource:Yerevan_Brandy_Company }
[]
Zigarrenbrand
Clarification for simple ques.
Q683787
SYSTEM
Did you mean Armenian Stock Exchange ?
Q487164 Q1974145 Q683787
(c(Q199360),P176,Q487164) (c(Q199360),P176,Q1974145) (c(Q199360),P176,Q683787)
[ANSWER]
[{'concept': 'Q199360'}, 'P176', 'Q487164'] [{'concept': 'Q199360'}, 'P176', 'Q1974145'] [{'concept': 'Q199360'}, 'P176', 'Q683787']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q199360 . ?t property:P176 resource:Q1974145 }
Armenia Telephone Company Yerevan Brandy Company Armenian Stock Exchange
Did you mean Armenian Stock Exchange ?
Armenian Stock Exchange
[{'concept': 'Zigarrenbrand'}, 'manufacturer', 'Armenia Telephone Company'] [{'concept': 'Zigarrenbrand'}, 'manufacturer', 'Yerevan Brandy Company'] [{'concept': 'Zigarrenbrand'}, 'manufacturer', 'Armenian Stock Exchange']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Zigarrenbrand . ?t property:manufacturer resource:Yerevan_Brandy_Company }
[]
Simple Question (Coreferenced)
USER
No, I meant Yerevan Brandy Company. Could you tell me the answer for that?
(c(Q199360),P176,Q1974145)
Q1974145
[{'concept': 'Q199360'}, 'P176', 'Q1974145']
[{'concept': 'Zigarrenbrand'}, 'manufacturer', 'Yerevan Brandy Company']
[]
Q685705
SYSTEM
Ararat
Q685705
(c(Q199360),P176,Q1974145)
action filter_type
action find_reverse
entity Q1974145
relation P176
type Q199360
[ANSWER] was built by that organization
[{'concept': 'Q199360'}, 'P176', 'Q1974145']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q199360 . ?t property:P176 resource:Q1974145 }
Ararat
Ararat was built by that organization
Ararat
action filter_type
action find_reverse
entity Yerevan Brandy Company
relation manufacturer
type Zigarrenbrand
[{'concept': 'Zigarrenbrand'}, 'manufacturer', 'Yerevan Brandy Company']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Zigarrenbrand . ?t property:manufacturer resource:Yerevan_Brandy_Company }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2988829 Q6398824
P106
Q12737077
USER
Which occupations have Khachik Dashtents and George Călinescu as his/her as a career ?
AND((Q6398824,P106,c(Q12737077)), (Q2988829,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q6398824
relation P106
action find
entity Q2988829
relation P106
type Q12737077
{'AND': [['Q6398824', 'P106', {'concept': 'Q12737077'}], ['Q2988829', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q6398824 property:P106 ?m . resource:Q2988829 property:P106 ?m }
George Călinescu Khachik Dashtents
action filter_type
action intersection
action find
entity Khachik Dashtents
relation occupation
action find
entity George Călinescu
relation occupation
type occupation
{'AND': [['Khachik Dashtents', 'occupation', {'concept': 'occupation'}], ['George Călinescu', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Khachik_Dashtents property:occupation ?m . resource:George_Călinescu property:occupation ?m }
[]
occupation
Q36180
SYSTEM
writer
Q36180
AND((Q6398824,P106,c(Q12737077)), (Q2988829,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q6398824
relation P106
action find
entity Q2988829
relation P106
type Q12737077
In [ANSWER] have Khachik Dashtents and George Călinescu as his/her as a career
{'AND': [['Q6398824', 'P106', {'concept': 'Q12737077'}], ['Q2988829', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q6398824 property:P106 ?m . resource:Q2988829 property:P106 ?m }
writer
In writer have Khachik Dashtents and George Călinescu as his/her as a career
writer
action filter_type
action intersection
action find
entity Khachik Dashtents
relation occupation
action find
entity George Călinescu
relation occupation
type occupation
{'AND': [['Khachik Dashtents', 'occupation', {'concept': 'occupation'}], ['George Călinescu', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Khachik_Dashtents property:occupation ?m . resource:George_Călinescu property:occupation ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2988829
P119
Q43229
USER
Where was George Călinescu buried ?
(Q36180,P119,c(Q43229))
action filter_type
action find
entity Q2988829
relation P119
type Q43229
['Q36180', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q43229 . resource:Q2988829 property:P119 ?a }
George Călinescu
action filter_type
action find
entity George Călinescu
relation place of burial
type organization
['writer', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:organization . resource:George_Călinescu property:place_of_burial ?a }
[]
organization
Q592204
SYSTEM
Bellu cemetery
Q592204
(Q36180,P119,c(Q43229))
action filter_type
action find
entity Q2988829
relation P119
type Q43229
George Călinescu was buried in [ANSWER]
['Q36180', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q43229 . resource:Q2988829 property:P119 ?a }
Bellu cemetery
George Călinescu was buried in Bellu cemetery
Bellu cemetery
action filter_type
action find
entity George Călinescu
relation place of burial
type organization
['writer', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:organization . resource:George_Călinescu property:place_of_burial ?a }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q124126 Q683787
P190 P159
Q515
USER
Which cities are the HQ of Armenian Stock Exchange or are the sister cities of Kingersheim ?
OR((Q683787,P159,c(Q515)), (Q124126,P190,c(Q515)))
action filter_type
action union
action find
entity Q683787
relation P159
action find
entity Q124126
relation P190
type Q515
{'OR': [['Q683787', 'P159', {'concept': 'Q515'}], ['Q124126', 'P190', {'concept': 'Q515'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q683787 property:P159 ?r } UNION { resource:Q124126 property:P190 ?r } } . ?r rdf:type ontology:Q515 }
Kingersheim Armenian Stock Exchange
action filter_type
action union
action find
entity Armenian Stock Exchange
relation headquarters location
action find
entity Kingersheim
relation sister city
type city
{'OR': [['Armenian Stock Exchange', 'headquarters location', {'concept': 'city'}], ['Kingersheim', 'sister city', {'concept': 'city'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Armenian_Stock_Exchange property:headquarters_location ?r } UNION { resource:Kingersheim property:sister_city ?r } } . ?r rdf:type ontology:city }
[]
city
Q3806 Q1953
SYSTEM
Tübingen, Yerevan
Q3806 Q1953
OR((Q683787,P159,c(Q515)), (Q124126,P190,c(Q515)))
action filter_type
action union
action find
entity Q683787
relation P159
action find
entity Q124126
relation P190
type Q515
[ANSWERS] are the HQ of Armenian Stock Exchange or are the sister cities of Kingersheim
{'OR': [['Q683787', 'P159', {'concept': 'Q515'}], ['Q124126', 'P190', {'concept': 'Q515'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q683787 property:P159 ?r } UNION { resource:Q124126 property:P190 ?r } } . ?r rdf:type ontology:Q515 }
Tübingen Yerevan
Tübingen and Yerevan are the HQ of Armenian Stock Exchange or are the sister cities of Kingersheim
Tübingen Yerevan
action filter_type
action union
action find
entity Armenian Stock Exchange
relation headquarters location
action find
entity Kingersheim
relation sister city
type city
{'OR': [['Armenian Stock Exchange', 'headquarters location', {'concept': 'city'}], ['Kingersheim', 'sister city', {'concept': 'city'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Armenian_Stock_Exchange property:headquarters_location ?r } UNION { resource:Kingersheim property:sister_city ?r } } . ?r rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3806 Q1953
P190
Q56061
USER
Which administrative territories are sister towns of those cities ?
(Q3806,P190,c(Q56061)) (Q1953,P190,c(Q56061))
action filter_type
action find
entity prev_answer
relation P190
type Q56061
['Q3806', 'P190', {'concept': 'Q56061'}] ['Q1953', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?k property:P190 ?y . VALUES ( ?k ) { ( resource:Q3806 ) ( resource:Q1953 ) } . ?y rdf:type ontology:Q56061 }
Tübingen Yerevan
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
['Tübingen', 'sister city', {'concept': 'administrative territorial entity'}] ['Yerevan', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?k property:sister_city ?y . VALUES ( ?k ) { ( resource:Tübingen ) ( resource:Yerevan ) } . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649 Q8678 Q2280
SYSTEM
Moscow, Rio de Janeiro, Minsk
Q485172 Q1895 Q179815 Q3437 Q641 Q994 Q3766 Q649 Q472 Q42053 Q340 Q1524 Q1780 Q908 Q49111 Q987 Q21197 Q1874 Q23564 Q174 Q8678 Q2280 Q2044 Q65 Q3820 Q914
(Q3806,P190,c(Q56061)) (Q1953,P190,c(Q56061))
action filter_type
action find
entity prev_answer
relation P190
type Q56061
[ANSWERS] are sister towns of those cities
['Q3806', 'P190', {'concept': 'Q56061'}] ['Q1953', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?k property:P190 ?y . VALUES ( ?k ) { ( resource:Q3806 ) ( resource:Q1953 ) } . ?y rdf:type ontology:Q56061 }
Ann Arbor Petrozavodsk Durham Perugia Venice Tbilisi Damascus Moscow Sofia Isfahan Montreal Athens Bratislava Rostov-on-Don Cambridge New Delhi Chișinău Odessa Podgorica São Paulo Rio de Janeiro Minsk Florence Los Angeles Beirut Volgograd
Moscow, Rio de Janeiro and Minsk are sister towns of those cities
Moscow Rio de Janeiro Minsk
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
['Tübingen', 'sister city', {'concept': 'administrative territorial entity'}] ['Yerevan', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?k property:sister_city ?y . VALUES ( ?k ) { ( resource:Tübingen ) ( resource:Yerevan ) } . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q649 Q8678 Q2280
P1376
Q15617994
USER
Which administrative territories have Moscow, Rio de Janeiro and Minsk as their capital ?
(Q649,P1376,c(Q15617994)) (Q8678,P1376,c(Q15617994)) (Q2280,P1376,c(Q15617994))
action union
action filter_type
action find
entity Q649
relation P1376
type Q15617994
action filter_type
action find
entity Q8678
relation P1376
type Q15617994
action filter_type
action find
entity Q2280
relation P1376
type Q15617994
['Q649', 'P1376', {'concept': 'Q15617994'}] ['Q8678', 'P1376', {'concept': 'Q15617994'}] ['Q2280', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { resource:Q649 property:P1376 ?t . ?t rdf:type ontology:Q15617994 } UNION { resource:Q8678 property:P1376 ?t . ?t rdf:type ontology:Q15617994 } }
Moscow Rio de Janeiro Minsk
action union
action filter_type
action find
entity Moscow
relation capital of
type designation for an administrative territorial entity
action filter_type
action find
entity Rio de Janeiro
relation capital of
type designation for an administrative territorial entity
action filter_type
action find
entity Minsk
relation capital of
type designation for an administrative territorial entity
['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Rio de Janeiro', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Minsk', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { resource:Moscow property:capital_of ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Rio_de_Janeiro property:capital_of ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q155 Q159 Q184
SYSTEM
Brazil, Russia, Belarus
Q159 Q155 Q2662372 Q184
(Q649,P1376,c(Q15617994)) (Q8678,P1376,c(Q15617994)) (Q2280,P1376,c(Q15617994))
action union
action filter_type
action find
entity Q649
relation P1376
type Q15617994
action filter_type
action find
entity Q8678
relation P1376
type Q15617994
action filter_type
action find
entity Q2280
relation P1376
type Q15617994
[ANSWERS] have Moscow, Rio de Janeiro and Minsk as their capital
['Q649', 'P1376', {'concept': 'Q15617994'}] ['Q8678', 'P1376', {'concept': 'Q15617994'}] ['Q2280', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { resource:Q649 property:P1376 ?t . ?t rdf:type ontology:Q15617994 } UNION { resource:Q8678 property:P1376 ?t . ?t rdf:type ontology:Q15617994 } }
Russia Brazil Principality of Minsk Belarus
Brazil, Russia and Belarus have Moscow, Rio de Janeiro and Minsk as their capital
Brazil Russia Belarus
action union
action filter_type
action find
entity Moscow
relation capital of
type designation for an administrative territorial entity
action filter_type
action find
entity Rio de Janeiro
relation capital of
type designation for an administrative territorial entity
action filter_type
action find
entity Minsk
relation capital of
type designation for an administrative territorial entity
['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Rio de Janeiro', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Minsk', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { resource:Moscow property:capital_of ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Rio_de_Janeiro property:capital_of ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]