Simple Question (Direct)
Simple Question
Q4662094
P108
Q43229
USER
Which organization is the employer of Aaron Heslehurst ?
(Q4662094,P108,c(Q43229))
action filter_type
action find
entity Q4662094
relation P108
type Q43229
['Q4662094', 'P108', {'concept': 'Q43229'}]
SELECT DISTINCT ?s WHERE { resource:Q4662094 property:P108 ?s . ?s rdf:type ontology:Q43229 }
Aaron Heslehurst
action filter_type
action find
entity Aaron Heslehurst
relation employer
type organization
['Aaron Heslehurst', 'employer', {'concept': 'organization'}]
SELECT DISTINCT ?s WHERE { resource:Aaron_Heslehurst property:employer ?s . ?s rdf:type ontology:organization }
[]
organization
Q9531
SYSTEM
BBC
Q9531
(Q4662094,P108,c(Q43229))
action filter_type
action find
entity Q4662094
relation P108
type Q43229
The [ANSWER] is the employer of Aaron Heslehurst
['Q4662094', 'P108', {'concept': 'Q43229'}]
SELECT DISTINCT ?s WHERE { resource:Q4662094 property:P108 ?s . ?s rdf:type ontology:Q43229 }
BBC
The BBC is the employer of Aaron Heslehurst
BBC
action filter_type
action find
entity Aaron Heslehurst
relation employer
type organization
['Aaron Heslehurst', 'employer', {'concept': 'organization'}]
SELECT DISTINCT ?s WHERE { resource:Aaron_Heslehurst property:employer ?s . ?s rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9531
P248
Q502895
USER
Which people have been mentioned in that organization ?
(c(Q502895),P248,Q9531)
action filter_type
action find_reverse
entity Q9531
relation P248
type Q502895
[{'concept': 'Q502895'}, 'P248', 'Q9531']
SELECT DISTINCT ?l WHERE { ?l property:P248 resource:Q9531 . ?l rdf:type ontology:Q502895 }
BBC
action filter_type
action find_reverse
entity BBC
relation stated in
type common name
[{'concept': 'common name'}, 'stated in', 'BBC']
SELECT DISTINCT ?l WHERE { ?l property:stated_in resource:BBC . ?l rdf:type ontology:common_name }
[]
common name
Q5232852 Q6251897
SYSTEM
David Davies, John Parker
Q5232852 Q6251897
(c(Q502895),P248,Q9531)
action filter_type
action find_reverse
entity Q9531
relation P248
type Q502895
[ANSWERS] have been mentioned in that organization
[{'concept': 'Q502895'}, 'P248', 'Q9531']
SELECT DISTINCT ?l WHERE { ?l property:P248 resource:Q9531 . ?l rdf:type ontology:Q502895 }
David Davies John Parker
David Davies and John Parker have been mentioned in that organization
David Davies John Parker
action filter_type
action find_reverse
entity BBC
relation stated in
type common name
[{'concept': 'common name'}, 'stated in', 'BBC']
SELECT DISTINCT ?l WHERE { ?l property:stated_in resource:BBC . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9531
P750
Q15416
USER
Who have BBC as their distributor ?
(c(Q15416),P750,Q9531)
action filter_type
action find_reverse
entity Q9531
relation P750
type Q15416
[{'concept': 'Q15416'}, 'P750', 'Q9531']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15416 . ?p property:P750 resource:Q9531 }
BBC
action filter_type
action find_reverse
entity BBC
relation distributor
type television program
[{'concept': 'television program'}, 'distributor', 'BBC']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:television_program . ?p property:distributor resource:BBC }
[]
television program
Q902821 Q7561145 Q1248388
SYSTEM
Bravo Two Zero, Song of Summer, The War Game
Q1965005 Q926778 Q7743721 Q7561145 Q5912197 Q7991633 Q1248388 Q7991636 Q7720493 Q764394 Q6841812 Q7962726 Q2040235 Q7711976 Q7359521 Q7997330 Q7171553 Q902821 Q8036189 Q7729462 Q6175835 Q6351152 Q7560639 Q7752371 Q7915015 Q781698 Q7747159 Q6544983 Q7620117 Q7829811 Q7201084 Q7991640 Q7968675 Q7772552 Q7775543 Q2228256 Q7882951 Q7402445 Q7643845 Q7771714 Q7769011
(c(Q15416),P750,Q9531)
action filter_type
action find_reverse
entity Q9531
relation P750
type Q15416
[ANSWERS] have BBC as their distributor
[{'concept': 'Q15416'}, 'P750', 'Q9531']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15416 . ?p property:P750 resource:Q9531 }
The Nazis: A Warning from History ZingZillas The Joy of Text Song of Summer Hotel du Lac What the Romans Did for Us The War Game What the Stuarts Did for Us The Buddha of Suburbia Pompeii: The Last Day Middlemarch Wallace & Gromit's Musical Marvels Pride The 70s Rogue Male Who Let the Dogs Out? Pet School Bravo Two Zero World Series of Dating The Death of Yugoslavia Jeffrey Archer: The Truth Vanity Fair Son of God The Most Hated Family in America Vanity Fair Chuggington The Life and Times of David Lloyd George Life Story Storm Damage Towering Ambitions: Dan Cruickshank at Ground Zero Planet Earth Live What the Victorians Did for Us War of the Century The Victorians The Woman in White The Tale of the Bunny Picnic Uncovering Our Earliest Ancestor: The Link Saints and Scroungers Superman On Trial The Unsellables The Three Hostages
Bravo Two Zero, Song of Summer and The War Game have BBC as their distributor
Bravo Two Zero Song of Summer The War Game
action filter_type
action find_reverse
entity BBC
relation distributor
type television program
[{'concept': 'television program'}, 'distributor', 'BBC']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:television_program . ?p property:distributor resource:BBC }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9531
P463
Q43229
USER
Which organization was BBC a member of ?
(Q9531,P463,c(Q43229))
action filter_type
action find
entity Q9531
relation P463
type Q43229
['Q9531', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { resource:Q9531 property:P463 ?k . ?k rdf:type ontology:Q43229 }
BBC
action filter_type
action find
entity BBC
relation member of
type organization
['BBC', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { resource:BBC property:member_of ?k . ?k rdf:type ontology:organization }
[]
organization
Q166400
SYSTEM
European Broadcasting Union
Q166400
(Q9531,P463,c(Q43229))
action filter_type
action find
entity Q9531
relation P463
type Q43229
Which organization was BBC a member of
['Q9531', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { resource:Q9531 property:P463 ?k . ?k rdf:type ontology:Q43229 }
European Broadcasting Union
Which organization was BBC a member of
European Broadcasting Union
action filter_type
action find
entity BBC
relation member of
type organization
['BBC', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { resource:BBC property:member_of ?k . ?k rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q166400
P488
Q502895
USER
Who chaired that organization ?
(Q166400,P488,c(Q502895))
action filter_type
action find
entity Q166400
relation P488
type Q502895
['Q166400', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q166400 property:P488 ?v . ?v rdf:type ontology:Q502895 }
European Broadcasting Union
action filter_type
action find
entity European Broadcasting Union
relation chairperson
type common name
['European Broadcasting Union', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:European_Broadcasting_Union property:chairperson ?v . ?v rdf:type ontology:common_name }
[]
common name
Q3168649
SYSTEM
Jean-Paul Philippot
Q3168649
(Q166400,P488,c(Q502895))
action filter_type
action find
entity Q166400
relation P488
type Q502895
[ANSWER] chaired that organization
['Q166400', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q166400 property:P488 ?v . ?v rdf:type ontology:Q502895 }
Jean-Paul Philippot
Jean-Paul Philippot chaired that organization
Jean-Paul Philippot
action filter_type
action find
entity European Broadcasting Union
relation chairperson
type common name
['European Broadcasting Union', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:European_Broadcasting_Union property:chairperson ?v . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q6619679
USER
Which fictional humanoids did min number of people dub for ?
(c(Q6619679),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q6619679
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?n ) { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?v ) WHERE { ?e property:P725 ?p . ?e rdf:type ontology:Q6619679 . ?p rdf:type ontology:Q502895 } GROUP BY ?e } } . { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?d ) WHERE { ?l property:P725 ?f . ?l rdf:type ontology:Q6619679 . ?f rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?d = ?n ) }
action argmin
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?n ) { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?v ) WHERE { ?e property:voice_actor ?p . ?e rdf:type ontology:fictional_humanoid . ?p rdf:type ontology:common_name } GROUP BY ?e } } . { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?d ) WHERE { ?l property:voice_actor ?f . ?l rdf:type ontology:fictional_humanoid . ?f rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?d = ?n ) }
[]
common name fictional humanoid
Q1623086 Q1205263 Q3149148
SYSTEM
Hector Barbossa, Eli Vance, Imoen
Q1623086 Q1205263 Q4992177 Q24010814 Q819585 Q1079617 Q4006757 Q15614636 Q1056953 Q250221 Q3149148 Q757015 Q15620419 Q13471616 Q12879 Q1154920
(c(Q6619679),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q6619679
type Q502895
Min number of people dubbed as [ANSWERS]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?n ) { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?v ) WHERE { ?e property:P725 ?p . ?e rdf:type ontology:Q6619679 . ?p rdf:type ontology:Q502895 } GROUP BY ?e } } . { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?d ) WHERE { ?l property:P725 ?f . ?l rdf:type ontology:Q6619679 . ?f rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?d = ?n ) }
Hector Barbossa Eli Vance Cave Johnson Deckard Cain Jaina Proudmoore Wallace Breen Utena Tenjo Anna (Disney) Minsc Alyx Vance Imoen Sailor Moon Elsa Mr. Bean Toph Beifong Father Grigori
Min number of people dubbed as Hector Barbossa, Eli Vance and Imoen
Hector Barbossa Eli Vance Imoen
action argmin
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?n ) { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?v ) WHERE { ?e property:voice_actor ?p . ?e rdf:type ontology:fictional_humanoid . ?p rdf:type ontology:common_name } GROUP BY ?e } } . { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?d ) WHERE { ?l property:voice_actor ?f . ?l rdf:type ontology:fictional_humanoid . ?f rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?d = ?n ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1623086
P1441
Q838948
USER
How many works of art do Hector Barbossa appear ?
(Q1623086,P1441,c(Q838948))
action count
action filter_type
action find
entity Q1623086
relation P1441
type Q838948
['Q1623086', 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { resource:Q1623086 property:P1441 ?p . ?p rdf:type ontology:Q838948 }
Hector Barbossa
action count
action filter_type
action find
entity Hector Barbossa
relation present in work
type work of art
['Hector Barbossa', 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { resource:Hector_Barbossa property:present_in_work ?p . ?p rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
5
Q46717 Q10350033 Q183555 Q161087 Q54274
(Q1623086,P1441,c(Q838948))
action count
action filter_type
action find
entity Q1623086
relation P1441
type Q838948
[ANSWER]
['Q1623086', 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { resource:Q1623086 property:P1441 ?p . ?p rdf:type ontology:Q838948 }
Pirates of the Caribbean: The Curse of the Black Pearl Pirates of the Caribbean: Dead Men Tell No Tales Pirates of the Caribbean: On Stranger Tides Pirates of the Caribbean: Dead Man's Chest Pirates of the Caribbean: At World's End
5
action count
action filter_type
action find
entity Hector Barbossa
relation present in work
type work of art
['Hector Barbossa', 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { resource:Hector_Barbossa property:present_in_work ?p . ?p rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q24022098
Q838948
USER
And how about Steve Rogers?
(Q24022098,P1441,c(Q838948))
action count
action filter_type
action find
entity Q24022098
relation P1441
type Q838948
['Q24022098', 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { resource:Q24022098 property:P1441 ?m . ?m rdf:type ontology:Q838948 }
Steve Rogers
action count
action filter_type
action find
entity Steve Rogers
relation present in work
type work of art
['Steve Rogers', 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { resource:Steve_Rogers property:present_in_work ?m . ?m rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
7
(Q24022098,P1441,c(Q838948))
action count
action filter_type
action find
entity Q24022098
relation P1441
type Q838948
[ANSWER]
['Q24022098', 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { resource:Q24022098 property:P1441 ?m . ?m rdf:type ontology:Q838948 }
7
action count
action filter_type
action find
entity Steve Rogers
relation present in work
type work of art
['Steve Rogers', 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { resource:Steve_Rogers property:present_in_work ?m . ?m rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24022098
P21
Q290
USER
Which sex does that fictional humanoid possess ?
action filter_type
action find
entity Q24022098
relation P21
type Q290
SELECT DISTINCT ?w WHERE { resource:Q24022098 property:P21 ?w . ?w rdf:type ontology:Q290 }
Steve Rogers
action filter_type
action find
entity Steve Rogers
relation gender
type sex
SELECT DISTINCT ?w WHERE { resource:Steve_Rogers property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q24022098
relation P21
type Q290
That fictional humanoid possesses the [ANSWER]
SELECT DISTINCT ?w WHERE { resource:Q24022098 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
That fictional humanoid possesses the male
male
action filter_type
action find
entity Steve Rogers
relation gender
type sex
SELECT DISTINCT ?w WHERE { resource:Steve_Rogers property:gender ?w . ?w rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q240386 Q166400
P710 P664
Q15275719
USER
Which recurring events were organized by European Broadcasting Union or did Katri Helena participate in ?
OR((c(Q15275719),P664,Q166400), (c(Q15275719),P710,Q240386))
action filter_type
action union
action find_reverse
entity Q166400
relation P664
action find_reverse
entity Q240386
relation P710
type Q15275719
{'OR': [[{'concept': 'Q15275719'}, 'P664', 'Q166400'], [{'concept': 'Q15275719'}, 'P710', 'Q240386']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P664 resource:Q166400 } UNION { ?k property:P710 resource:Q240386 } } . ?k rdf:type ontology:Q15275719 }
Katri Helena European Broadcasting Union
action filter_type
action union
action find_reverse
entity European Broadcasting Union
relation organizer
action find_reverse
entity Katri Helena
relation participant
type recurring event
{'OR': [[{'concept': 'recurring event'}, 'organizer', 'European Broadcasting Union'], [{'concept': 'recurring event'}, 'participant', 'Katri Helena']]}
SELECT DISTINCT ?k WHERE { { { ?k property:organizer resource:European_Broadcasting_Union } UNION { ?k property:participant resource:Katri_Helena } } . ?k rdf:type ontology:recurring_event }
[]
recurring event
Q203329 Q188517 Q205192 Q199924 Q200794 Q204010 Q216891 Q203975 Q203245 Q6015709
SYSTEM
Some of them are Eurovision Song Contest 1969, Eurovision Song Contest 1958, Eurovision Song Contest 1967, Eurovision Song Contest 1959, Eurovision Song Contest 1961, Eurovision Song Contest 1968, Eurovision Song Contest 1979, Eurovision Song Contest 1965, Eurovision Song Contest 1960, Eurovision Song Contest 2016
Q203254 Q203329 Q203245 Q200794 Q6015709 Q205192 Q188517 Q154846 Q204010 Q208243 Q171784 Q203983 Q203975 Q203968 Q15215081 Q199924 Q207889 Q216891
OR((c(Q15275719),P664,Q166400), (c(Q15275719),P710,Q240386))
action filter_type
action union
action find_reverse
entity Q166400
relation P664
action find_reverse
entity Q240386
relation P710
type Q15275719
[ANSWERS] were organized by European Broadcasting Union or did Katri Helena participate in
{'OR': [[{'concept': 'Q15275719'}, 'P664', 'Q166400'], [{'concept': 'Q15275719'}, 'P710', 'Q240386']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P664 resource:Q166400 } UNION { ?k property:P710 resource:Q240386 } } . ?k rdf:type ontology:Q15275719 }
Eurovision Song Contest 1962 Eurovision Song Contest 1969 Eurovision Song Contest 1960 Eurovision Song Contest 1961 Eurovision Song Contest 2016 Eurovision Song Contest 1967 Eurovision Song Contest 1958 Eurovision Song Contest 1957 Eurovision Song Contest 1968 Eurovision Song Contest 1993 Eurovision Song Contest 1956 Eurovision Song Contest 1964 Eurovision Song Contest 1965 Eurovision Song Contest 1963 Eurovision Song Contest 2015 Eurovision Song Contest 1959 Eurovision Song Contest 1966 Eurovision Song Contest 1979
Eurovision Song Contest 1969, Eurovision Song Contest 1958, Eurovision Song Contest 1967, Eurovision Song Contest 1959, Eurovision Song Contest 1961, Eurovision Song Contest 1968, Eurovision Song Contest 1979, Eurovision Song Contest 1965, Eurovision Song Contest 1960 and Eurovision Song Contest 2016 were organized by European Broadcasting Union or did Katri Helena participate in
Eurovision Song Contest 1969 Eurovision Song Contest 1958 Eurovision Song Contest 1967 Eurovision Song Contest 1959 Eurovision Song Contest 1961 Eurovision Song Contest 1968 Eurovision Song Contest 1979 Eurovision Song Contest 1965 Eurovision Song Contest 1960 Eurovision Song Contest 2016
action filter_type
action union
action find_reverse
entity European Broadcasting Union
relation organizer
action find_reverse
entity Katri Helena
relation participant
type recurring event
{'OR': [[{'concept': 'recurring event'}, 'organizer', 'European Broadcasting Union'], [{'concept': 'recurring event'}, 'participant', 'Katri Helena']]}
SELECT DISTINCT ?k WHERE { { { ?k property:organizer resource:European_Broadcasting_Union } UNION { ?k property:participant resource:Katri_Helena } } . ?k rdf:type ontology:recurring_event }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16561399 Q9531
P20 P159
Q56061
USER
Which administrative territories are the head offices of BBC or did the expiration of Elisardo Penas occur ?
OR((Q9531,P159,c(Q56061)), (Q16561399,P20,c(Q56061)))
action filter_type
action union
action find
entity Q9531
relation P159
action find
entity Q16561399
relation P20
type Q56061
{'OR': [['Q9531', 'P159', {'concept': 'Q56061'}], ['Q16561399', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . { { resource:Q16561399 property:P20 ?t } UNION { resource:Q9531 property:P159 ?t } } }
Elisardo Penas BBC
action filter_type
action union
action find
entity BBC
relation headquarters location
action find
entity Elisardo Penas
relation place of death
type administrative territorial entity
{'OR': [['BBC', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Elisardo Penas', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . { { resource:Elisardo_Penas property:place_of_death ?t } UNION { resource:BBC property:headquarters_location ?t } } }
[]
administrative territorial entity
Q2807 Q84
SYSTEM
Madrid, London
Q2807 Q84
OR((Q9531,P159,c(Q56061)), (Q16561399,P20,c(Q56061)))
action filter_type
action union
action find
entity Q9531
relation P159
action find
entity Q16561399
relation P20
type Q56061
[ANSWERS] are the head offices of BBC or did the expiration of Elisardo Penas occur
{'OR': [['Q9531', 'P159', {'concept': 'Q56061'}], ['Q16561399', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . { { resource:Q16561399 property:P20 ?t } UNION { resource:Q9531 property:P159 ?t } } }
Madrid London
Madrid and London are the head offices of BBC or did the expiration of Elisardo Penas occur
Madrid London
action filter_type
action union
action find
entity BBC
relation headquarters location
action find
entity Elisardo Penas
relation place of death
type administrative territorial entity
{'OR': [['BBC', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Elisardo Penas', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . { { resource:Elisardo_Penas property:place_of_death ?t } UNION { resource:BBC property:headquarters_location ?t } } }
[]