Simple Question (Direct)
Simple Question
Q245784
P1196
Q1931388
USER
What situation did Bojan Pečar die in ?
(Q245784,P1196,c(Q1931388))
action filter_type
action find
entity Q245784
relation P1196
type Q1931388
['Q245784', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?f WHERE { resource:Q245784 property:P1196 ?f . ?f rdf:type ontology:Q1931388 }
Bojan Pečar
action filter_type
action find
entity Bojan Pečar
relation manner of death
type cause of death
['Bojan Pečar', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?f WHERE { resource:Bojan_Pečar property:manner_of_death ?f . ?f rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q245784,P1196,c(Q1931388))
action filter_type
action find
entity Q245784
relation P1196
type Q1931388
Bojan Pečar died of [ANSWER]
['Q245784', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?f WHERE { resource:Q245784 property:P1196 ?f . ?f rdf:type ontology:Q1931388 }
natural causes
Bojan Pečar died of natural causes
natural causes
action filter_type
action find
entity Bojan Pečar
relation manner of death
type cause of death
['Bojan Pečar', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?f WHERE { resource:Bojan_Pečar property:manner_of_death ?f . ?f rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3739104
P509
Q502895
USER
Who had that one as the cause of death ?
(c(Q502895),P509,Q3739104)
action filter_type
action find_reverse
entity Q3739104
relation P509
type Q502895
[{'concept': 'Q502895'}, 'P509', 'Q3739104']
SELECT DISTINCT ?g WHERE { ?g property:P509 resource:Q3739104 . ?g rdf:type ontology:Q502895 }
natural causes
action filter_type
action find_reverse
entity natural causes
relation cause of death
type common name
[{'concept': 'common name'}, 'cause of death', 'natural causes']
SELECT DISTINCT ?g WHERE { ?g property:cause_of_death resource:natural_causes . ?g rdf:type ontology:common_name }
[]
common name
Q185007 Q170256 Q1057003
SYSTEM
Rita Levi-Montalcini, Chris Marker, The Rev
Q20748116 Q185007 Q316859 Q172928 Q3106793 Q1148054 Q774948 Q170256 Q5560590 Q1042915 Q168355 Q55391 Q3086496 Q381234 Q314929 Q1057003 Q3276795
(c(Q502895),P509,Q3739104)
action filter_type
action find_reverse
entity Q3739104
relation P509
type Q502895
[ANSWERS] had that one as the cause of death
[{'concept': 'Q502895'}, 'P509', 'Q3739104']
SELECT DISTINCT ?g WHERE { ?g property:P509 resource:Q3739104 . ?g rdf:type ontology:Q502895 }
Maria Cristina Villanova de Árbenz Rita Levi-Montalcini Ferdinand IV of Castile Clement IV Ginny Tyler William J. Tuttle Vesna Rožič Chris Marker Gil Perkins Carlos Franqui Don Beddoe Robert Bresson Françoise Giret Luis g berlanga Dick Francis The Rev James B. Clark
Rita Levi-Montalcini, Chris Marker and The Rev had that one as the cause of death
Rita Levi-Montalcini Chris Marker The Rev
action filter_type
action find_reverse
entity natural causes
relation cause of death
type common name
[{'concept': 'common name'}, 'cause of death', 'natural causes']
SELECT DISTINCT ?g WHERE { ?g property:cause_of_death resource:natural_causes . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q185007
P1412
Q34770
USER
Which language can Rita Levi-Montalcini understand ?
(Q185007,P1412,c(Q34770))
action filter_type
action find
entity Q185007
relation P1412
type Q34770
['Q185007', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q185007 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
Rita Levi-Montalcini
action filter_type
action find
entity Rita Levi-Montalcini
relation languages spoken, written or signed
type language
['Rita Levi-Montalcini', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Rita_Levi-Montalcini property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q185007,P1412,c(Q34770))
action filter_type
action find
entity Q185007
relation P1412
type Q34770
Rita Levi-Montalcini can understand the [ANSWER]
['Q185007', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q185007 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
Italian
Rita Levi-Montalcini can understand the Italian
Italian
action filter_type
action find
entity Rita Levi-Montalcini
relation languages spoken, written or signed
type language
['Rita Levi-Montalcini', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Rita_Levi-Montalcini property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P169
Q502895 Q4830453 Q1002697
USER
Which people are the CEOs of approximately 1 business enterprises and periodical literatures ?
(c(Q4830453)|c(Q1002697),P169,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q4830453
action find_reverse_tuple_counts
relation P169
type Q502895
type Q1002697
value 1
[[{'concept': 'Q4830453'}, {'concept': 'Q1002697'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?n ) WHERE { { ?j property:P169 ?q . ?q rdf:type ontology:Q502895 . ?j rdf:type ontology:Q4830453 } UNION { ?j property:P169 ?q . ?q rdf:type ontology:Q502895 . ?j rdf:type ontology:Q1002697 } } GROUP BY ?q } . FILTER ( ?n = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type business enterprise
action find_reverse_tuple_counts
relation chief executive officer
type common name
type periodical literature
value 1
[[{'concept': 'business enterprise'}, {'concept': 'periodical literature'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?n ) WHERE { { ?j property:chief_executive_officer ?q . ?q rdf:type ontology:common_name . ?j rdf:type ontology:business_enterprise } UNION { ?j property:chief_executive_officer ?q . ?q rdf:type ontology:common_name . ?j rdf:type ontology:periodical_literature } } GROUP BY ?q } . FILTER ( ?n = 1 ) }
[]
common name business enterprise periodical literature
Q317521 Q952737 Q19896671
SYSTEM
Elon Musk, Diego Abad de Santillán, Tim Jenkins
Q19896671 Q19896679 Q23416738 Q4117176 Q26722512 Q9024946 Q55183 Q952737 Q4980260 Q18342983 Q19665536 Q9000717 Q418622 Q1392181 Q1710229 Q8421760 Q111695 Q19594969 Q5619555 Q346081 Q5872324 Q3318585 Q19664216 Q16193869 Q3047406 Q2324303 Q26903671 Q293679 Q5675607 Q472330 Q1692250 Q20962527 Q18233674 Q1223089 Q16195575 Q11875054 Q1680807 Q8992399 Q19854934 Q7608884 Q317521 Q4888662 Q5273200 Q20215432 Q4482287 Q2468051 Q17988783 Q3023213 Q6113311 Q22096796
(c(Q4830453)|c(Q1002697),P169,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q4830453
action find_reverse_tuple_counts
relation P169
type Q502895
type Q1002697
value 1
[ANSWERS] are the CEOs of approximately 1 business enterprises and periodical literatures
[[{'concept': 'Q4830453'}, {'concept': 'Q1002697'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?n ) WHERE { { ?j property:P169 ?q . ?q rdf:type ontology:Q502895 . ?j rdf:type ontology:Q4830453 } UNION { ?j property:P169 ?q . ?q rdf:type ontology:Q502895 . ?j rdf:type ontology:Q1002697 } } GROUP BY ?q } . FILTER ( ?n = 1 ) }
Tim Jenkins Zaw Thet Jason Barnard Robert Kotick Antoni Cases Luis Bello Susan Wojcicki Diego Abad de Santillán Bryan Morrison Patrick Pouyanné Dan Siroker Lei Jun Akio Toyoda Muhtar Kent João do Rio Jay Walder Jakob Augstein Ulrich Spiesshofer Gunvor Ulstein Christophe de Margerie Félix Lorenzo Mohamed Hassan Bensalah Jason Kothari Sophie Turner Laing Joseph Blanco White Jørgen Vig Knudstorp Shubham Badal Al-Waleed bin Talal Andrés Borrego Howard Schultz Kjeld Kirk Kristiansen Alex Algard Wu Xiaohui Dieter von Holtzbrinck Muzzammil Hassan Lauri Kivinen James McNerney Yoshitaka Kitao Lincoln Leong Stephen Chan Elon Musk José Lázaro Galdiano Dick Millman Scott Ernest Yuri Fedutinov Steve O'Rourke Haruna Yukawa Dennis Woodside Jack J. Pelton Lewis Von Thaer
Elon Musk, Diego Abad de Santillán and Tim Jenkins are the CEOs of approximately 1 business enterprises and periodical literatures
Elon Musk Diego Abad de Santillán Tim Jenkins
action approx
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type business enterprise
action find_reverse_tuple_counts
relation chief executive officer
type common name
type periodical literature
value 1
[[{'concept': 'business enterprise'}, {'concept': 'periodical literature'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?n ) WHERE { { ?j property:chief_executive_officer ?q . ?q rdf:type ontology:common_name . ?j rdf:type ontology:business_enterprise } UNION { ?j property:chief_executive_officer ?q . ?q rdf:type ontology:common_name . ?j rdf:type ontology:periodical_literature } } GROUP BY ?q } . FILTER ( ?n = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by exactly 1 person ?
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?p = 1 ) }
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?p = 1 ) }
[]
musical instrument common name
SYSTEM
33
Q890073 Q1178361 Q604538 Q2660670 Q39777 Q678090 Q490054 Q873588 Q593995 Q1327500 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q816793 Q244976 Q1179017 Q320341 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?p = 1 ) }
Body percussion davul Temple block Irish bouzouki maraca Twelve-string guitar Ondioline Jinghu player piano electronic musical instrument Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa Bendir bodhrán Daxophone celesta gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
33
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?p = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q317521
P161 P495
Q838948
USER
Which works of art have Elon Musk as actor and originated in United States of America ?
AND((c(Q838948),P161,Q317521), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q317521
relation P161
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q317521'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?s WHERE { ?s property:P161 resource:Q317521 . ?s property:P495 resource:Q30 . ?s rdf:type ontology:Q838948 }
United States of America Elon Musk
action filter_type
action intersection
action find_reverse
entity Elon Musk
relation cast member
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Elon Musk'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?s WHERE { ?s property:cast_member resource:Elon_Musk . ?s property:country_of_origin resource:United_States_of_America . ?s rdf:type ontology:work_of_art }
[]
work of art
Q7317926 Q128187 Q205028
SYSTEM
Revenge of the Electric Car, Machete Kills, Iron Man 2
Q7317926 Q128187 Q205028
AND((c(Q838948),P161,Q317521), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q317521
relation P161
action find_reverse
entity Q30
relation P495
type Q838948
[ANSWERS] have Elon Musk as actor and originated in United States of America
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q317521'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?s WHERE { ?s property:P161 resource:Q317521 . ?s property:P495 resource:Q30 . ?s rdf:type ontology:Q838948 }
Revenge of the Electric Car Machete Kills Iron Man 2
Revenge of the Electric Car, Machete Kills and Iron Man 2 have Elon Musk as actor and originated in United States of America
Revenge of the Electric Car Machete Kills Iron Man 2
action filter_type
action intersection
action find_reverse
entity Elon Musk
relation cast member
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Elon Musk'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?s WHERE { ?s property:cast_member resource:Elon_Musk . ?s property:country_of_origin resource:United_States_of_America . ?s rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12374271 Q245784
P20
Q56061
USER
Which administrative territories did Bojan Pečar or Rudolf Henzi expire ?
OR((Q245784,P20,c(Q56061)), (Q12374271,P20,c(Q56061)))
action filter_type
action union
action find
entity Q245784
relation P20
action find
entity Q12374271
relation P20
type Q56061
{'OR': [['Q245784', 'P20', {'concept': 'Q56061'}], ['Q12374271', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q245784 property:P20 ?m } UNION { resource:Q12374271 property:P20 ?m } } . ?m rdf:type ontology:Q56061 }
Rudolf Henzi Bojan Pečar
action filter_type
action union
action find
entity Bojan Pečar
relation place of death
action find
entity Rudolf Henzi
relation place of death
type administrative territorial entity
{'OR': [['Bojan Pečar', 'place of death', {'concept': 'administrative territorial entity'}], ['Rudolf Henzi', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Bojan_Pečar property:place_of_death ?m } UNION { resource:Rudolf_Henzi property:place_of_death ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q13972 Q84
SYSTEM
Tartu, London
Q13972 Q84
OR((Q245784,P20,c(Q56061)), (Q12374271,P20,c(Q56061)))
action filter_type
action union
action find
entity Q245784
relation P20
action find
entity Q12374271
relation P20
type Q56061
Bojan Pečar or Rudolf Henzi expired in [ANSWERS]
{'OR': [['Q245784', 'P20', {'concept': 'Q56061'}], ['Q12374271', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q245784 property:P20 ?m } UNION { resource:Q12374271 property:P20 ?m } } . ?m rdf:type ontology:Q56061 }
Tartu London
Bojan Pečar or Rudolf Henzi expired in Tartu and London
Tartu London
action filter_type
action union
action find
entity Bojan Pečar
relation place of death
action find
entity Rudolf Henzi
relation place of death
type administrative territorial entity
{'OR': [['Bojan Pečar', 'place of death', {'concept': 'administrative territorial entity'}], ['Rudolf Henzi', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Bojan_Pečar property:place_of_death ?m } UNION { resource:Rudolf_Henzi property:place_of_death ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q13972 Q84
P17
Q15617994
USER
Which administrative territories do Tartu and London belong to ?
(Q13972,P17,c(Q15617994)) (Q84,P17,c(Q15617994))
action union
action filter_type
action find
entity Q13972
relation P17
type Q15617994
action filter_type
action find
entity Q84
relation P17
type Q15617994
['Q13972', 'P17', {'concept': 'Q15617994'}] ['Q84', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { resource:Q13972 property:P17 ?o . ?o rdf:type ontology:Q15617994 } UNION { resource:Q84 property:P17 ?o . ?o rdf:type ontology:Q15617994 } }
Tartu London
action union
action filter_type
action find
entity Tartu
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity London
relation country
type designation for an administrative territorial entity
['Tartu', 'country', {'concept': 'designation for an administrative territorial entity'}] ['London', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { resource:Tartu property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:London property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q191 Q145
SYSTEM
Estonia, United Kingdom
Q191 Q145
(Q13972,P17,c(Q15617994)) (Q84,P17,c(Q15617994))
action union
action filter_type
action find
entity Q13972
relation P17
type Q15617994
action filter_type
action find
entity Q84
relation P17
type Q15617994
Tartu and London belong to [ANSWERS]
['Q13972', 'P17', {'concept': 'Q15617994'}] ['Q84', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { resource:Q13972 property:P17 ?o . ?o rdf:type ontology:Q15617994 } UNION { resource:Q84 property:P17 ?o . ?o rdf:type ontology:Q15617994 } }
Estonia United Kingdom
Tartu and London belong to Estonia and United Kingdom
Estonia United Kingdom
action union
action filter_type
action find
entity Tartu
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity London
relation country
type designation for an administrative territorial entity
['Tartu', 'country', {'concept': 'designation for an administrative territorial entity'}] ['London', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { resource:Tartu property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:London property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q191
P6
Q502895
USER
Which people have that administrative territory as their heads of government ?
(Q191,P6,c(Q502895))
action filter_type
action find
entity Q191
relation P6
type Q502895
['Q191', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q191 property:P6 ?k }
Estonia
action filter_type
action find
entity Estonia
relation head of government
type common name
['Estonia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Estonia property:head_of_government ?k }
[]
common name
Clarification for simple ques.
Q145
SYSTEM
Did you mean United Kingdom ?
Q191 Q145
(Q191,P6,c(Q502895)) (Q145,P6,c(Q502895))
[ANSWER]
['Q191', 'P6', {'concept': 'Q502895'}] ['Q145', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q191 property:P6 ?k }
Estonia United Kingdom
Did you mean United Kingdom ?
United Kingdom
['Estonia', 'head of government', {'concept': 'common name'}] ['United Kingdom', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Estonia property:head_of_government ?k }
[]
Simple Question (Coreferenced)
USER
No, I meant Estonia. Could you tell me the answer for that?
(Q191,P6,c(Q502895))
Q191
['Q191', 'P6', {'concept': 'Q502895'}]
['Estonia', 'head of government', {'concept': 'common name'}]
[]
Q3785077 Q57640
SYSTEM
Taavi Rõivas, Andrus Ansip
Q3785077 Q57640
(Q191,P6,c(Q502895))
action filter_type
action find
entity Q191
relation P6
type Q502895
[ANSWERS] have that administrative territory as their heads of government
['Q191', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q191 property:P6 ?k }
Taavi Rõivas Andrus Ansip
Taavi Rõivas and Andrus Ansip have that administrative territory as their heads of government
Taavi Rõivas Andrus Ansip
action filter_type
action find
entity Estonia
relation head of government
type common name
['Estonia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Estonia property:head_of_government ?k }
[]