Simple Question (Direct)
Simple Question
Q7791851
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Thomas Liddell, 1st Baron Ravensworth ?
(Q7791851,P27,c(Q15617994))
action filter_type
action find
entity Q7791851
relation P27
type Q15617994
['Q7791851', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q7791851 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Thomas Liddell, 1st Baron Ravensworth
action filter_type
action find
entity Thomas Liddell, 1st Baron Ravensworth
relation country of citizenship
type designation for an administrative territorial entity
['Thomas Liddell, 1st Baron Ravensworth', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Thomas_Liddell,_1st_Baron_Ravensworth property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q7791851,P27,c(Q15617994))
action filter_type
action find
entity Q7791851
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Thomas Liddell, 1st Baron Ravensworth
['Q7791851', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q7791851 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of Thomas Liddell, 1st Baron Ravensworth
United Kingdom
action filter_type
action find
entity Thomas Liddell, 1st Baron Ravensworth
relation country of citizenship
type designation for an administrative territorial entity
['Thomas Liddell, 1st Baron Ravensworth', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Thomas_Liddell,_1st_Baron_Ravensworth property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7791851
P1412
Q34770
USER
Which language is spoken by Thomas Liddell, 1st Baron Ravensworth ?
(Q7791851,P1412,c(Q34770))
action filter_type
action find
entity Q7791851
relation P1412
type Q34770
['Q7791851', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q7791851 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Thomas Liddell, 1st Baron Ravensworth
action filter_type
action find
entity Thomas Liddell, 1st Baron Ravensworth
relation languages spoken, written or signed
type language
['Thomas Liddell, 1st Baron Ravensworth', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Thomas_Liddell,_1st_Baron_Ravensworth property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7791851,P1412,c(Q34770))
action filter_type
action find
entity Q7791851
relation P1412
type Q34770
[ANSWER] is spoken by Thomas Liddell, 1st Baron Ravensworth
['Q7791851', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q7791851 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
English
English is spoken by Thomas Liddell, 1st Baron Ravensworth
English
action filter_type
action find
entity Thomas Liddell, 1st Baron Ravensworth
relation languages spoken, written or signed
type language
['Thomas Liddell, 1st Baron Ravensworth', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Thomas_Liddell,_1st_Baron_Ravensworth property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7791851
P69
Q3914
USER
Which school was that person educated at ?
(Q1860,P69,c(Q3914))
action filter_type
action find
entity Q7791851
relation P69
type Q3914
['Q1860', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?m WHERE { resource:Q7791851 property:P69 ?m . ?m rdf:type ontology:Q3914 }
Thomas Liddell, 1st Baron Ravensworth
action filter_type
action find
entity Thomas Liddell, 1st Baron Ravensworth
relation educated at
type school
['English', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?m WHERE { resource:Thomas_Liddell,_1st_Baron_Ravensworth property:educated_at ?m . ?m rdf:type ontology:school }
[]
school
Q192088
SYSTEM
Eton College
Q192088
(Q1860,P69,c(Q3914))
action filter_type
action find
entity Q7791851
relation P69
type Q3914
That person was educated at [ANSWER]
['Q1860', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?m WHERE { resource:Q7791851 property:P69 ?m . ?m rdf:type ontology:Q3914 }
Eton College
That person was educated at Eton College
Eton College
action filter_type
action find
entity Thomas Liddell, 1st Baron Ravensworth
relation educated at
type school
['English', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?m WHERE { resource:Thomas_Liddell,_1st_Baron_Ravensworth property:educated_at ?m . ?m rdf:type ontology:school }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6037357 Q192088
P112 P161
Q502895
USER
Which people founded Eton College or starred in Inseparable ?
OR((Q192088,P112,c(Q502895)), (Q6037357,P161,c(Q502895)))
action filter_type
action union
action find
entity Q192088
relation P112
action find
entity Q6037357
relation P161
type Q502895
{'OR': [['Q192088', 'P112', {'concept': 'Q502895'}], ['Q6037357', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q192088 property:P112 ?m } UNION { resource:Q6037357 property:P161 ?m } } . ?m rdf:type ontology:Q502895 }
Inseparable Eton College
action filter_type
action union
action find
entity Eton College
relation founder
action find
entity Inseparable
relation cast member
type common name
{'OR': [['Eton College', 'founder', {'concept': 'common name'}], ['Inseparable', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Eton_College property:founder ?m } UNION { resource:Inseparable property:cast_member ?m } } . ?m rdf:type ontology:common_name }
[]
common name
Q5581667 Q295148 Q8048168 Q160337 Q277193 Q25144 Q1140116
SYSTEM
Gong Beibi, Peter Stormare, Yan Ni, Henry VI of England, Daniel Wu, Kevin Spacey, Kenneth Tsang
Q5581667 Q295148 Q8048168 Q160337 Q277193 Q25144 Q1140116
OR((Q192088,P112,c(Q502895)), (Q6037357,P161,c(Q502895)))
action filter_type
action union
action find
entity Q192088
relation P112
action find
entity Q6037357
relation P161
type Q502895
[ANSWERS] founded Eton College or starred in Inseparable
{'OR': [['Q192088', 'P112', {'concept': 'Q502895'}], ['Q6037357', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q192088 property:P112 ?m } UNION { resource:Q6037357 property:P161 ?m } } . ?m rdf:type ontology:Q502895 }
Gong Beibi Peter Stormare Yan Ni Henry VI of England Daniel Wu Kevin Spacey Kenneth Tsang
Gong Beibi, Peter Stormare, Yan Ni, Henry VI of England, Daniel Wu, Kevin Spacey and Kenneth Tsang founded Eton College or starred in Inseparable
Gong Beibi Peter Stormare Yan Ni Henry VI of England Daniel Wu Kevin Spacey Kenneth Tsang
action filter_type
action union
action find
entity Eton College
relation founder
action find
entity Inseparable
relation cast member
type common name
{'OR': [['Eton College', 'founder', {'concept': 'common name'}], ['Inseparable', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Eton_College property:founder ?m } UNION { resource:Inseparable property:cast_member ?m } } . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25144
P58
Q838948
USER
What is Kevin Spacey a screwriter of ?
(c(Q838948),P58,Q25144)
action filter_type
action find_reverse
entity Q25144
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q25144']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q838948 . ?j property:P58 resource:Q25144 }
Kevin Spacey
action filter_type
action find_reverse
entity Kevin Spacey
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Kevin Spacey']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:work_of_art . ?j property:screenwriter resource:Kevin_Spacey }
[]
work of art
Q162458
SYSTEM
Beyond the Sea
Q162458
(c(Q838948),P58,Q25144)
action filter_type
action find_reverse
entity Q25144
relation P58
type Q838948
Screwriter Kevin Spacey is a writer [ANSWER] of
[{'concept': 'Q838948'}, 'P58', 'Q25144']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q838948 . ?j property:P58 resource:Q25144 }
Beyond the Sea
Screwriter Kevin Spacey is a writer Beyond the Sea of
Beyond the Sea
action filter_type
action find_reverse
entity Kevin Spacey
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Kevin Spacey']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:work_of_art . ?j property:screenwriter resource:Kevin_Spacey }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q162458
P272
Q43229
USER
Who was the producer of that work of art ?
(Q162458,P272,c(Q43229))
action filter_type
action find
entity Q162458
relation P272
type Q43229
['Q162458', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { resource:Q162458 property:P272 ?r . ?r rdf:type ontology:Q43229 }
Beyond the Sea
action filter_type
action find
entity Beyond the Sea
relation production company
type organization
['Beyond the Sea', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { resource:Beyond_the_Sea property:production_company ?r . ?r rdf:type ontology:organization }
[]
organization
Q7841714
SYSTEM
Trigger Street Productions
Q7841714
(Q162458,P272,c(Q43229))
action filter_type
action find
entity Q162458
relation P272
type Q43229
The producer of that work of art was the [ANSWER]
['Q162458', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { resource:Q162458 property:P272 ?r . ?r rdf:type ontology:Q43229 }
Trigger Street Productions
The producer of that work of art was the Trigger Street Productions
Trigger Street Productions
action filter_type
action find
entity Beyond the Sea
relation production company
type organization
['Beyond the Sea', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { resource:Beyond_the_Sea property:production_company ?r . ?r rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q162458
P344
Q502895
USER
Who is the director of photography for that work of art ?
(Q7841714,P344,c(Q502895))
action filter_type
action find
entity Q162458
relation P344
type Q502895
['Q7841714', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q162458 property:P344 ?h }
Beyond the Sea
action filter_type
action find
entity Beyond the Sea
relation director of photography
type common name
['Trigger Street Productions', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Beyond_the_Sea property:director_of_photography ?h }
[]
common name
Q707484
SYSTEM
Eduardo Serra
Q707484
(Q7841714,P344,c(Q502895))
action filter_type
action find
entity Q162458
relation P344
type Q502895
The director of photography for that work of art is José [ANSWER]
['Q7841714', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q162458 property:P344 ?h }
Eduardo Serra
The director of photography for that work of art is José Eduardo Serra
Eduardo Serra
action filter_type
action find
entity Beyond the Sea
relation director of photography
type common name
['Trigger Street Productions', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Beyond_the_Sea property:director_of_photography ?h }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q707484 Q45 Q6968
P27
Q15617994
USER
Is that person a citizen of Portugal and Erkrath ?
(Q707484,P27,Q45) (Q707484,P27,Q6968)
action is_in
entity Q707484
action intersection
action find_reverse
entity Q45
relation P27
action find_reverse
entity Q6968
relation P27
['Q707484', 'P27', 'Q45'] ['Q707484', 'P27', 'Q6968']
ASK WHERE { resource:Q707484 property:P27 resource:Q45 . resource:Q707484 property:P27 resource:Q6968 }
Eduardo Serra Portugal Erkrath
action is_in
entity Eduardo Serra
action intersection
action find_reverse
entity Portugal
relation country of citizenship
action find_reverse
entity Erkrath
relation country of citizenship
['Eduardo Serra', 'country of citizenship', 'Portugal'] ['Eduardo Serra', 'country of citizenship', 'Erkrath']
ASK WHERE { resource:Eduardo_Serra property:country_of_citizenship resource:Portugal . resource:Eduardo_Serra property:country_of_citizenship resource:Erkrath }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q707484,P27,Q45) (Q707484,P27,Q6968)
action is_in
entity Q707484
action intersection
action find_reverse
entity Q45
relation P27
action find_reverse
entity Q6968
relation P27
[ANSWER]
['Q707484', 'P27', 'Q45'] ['Q707484', 'P27', 'Q6968']
ASK WHERE { resource:Q707484 property:P27 resource:Q45 . resource:Q707484 property:P27 resource:Q6968 }
YES and NO respectively
action is_in
entity Eduardo Serra
action intersection
action find_reverse
entity Portugal
relation country of citizenship
action find_reverse
entity Erkrath
relation country of citizenship
['Eduardo Serra', 'country of citizenship', 'Portugal'] ['Eduardo Serra', 'country of citizenship', 'Erkrath']
ASK WHERE { resource:Eduardo_Serra property:country_of_citizenship resource:Portugal . resource:Eduardo_Serra property:country_of_citizenship resource:Erkrath }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q707484
P19
Q56061
USER
Which administrative territory was that person born at ?
action filter_type
action find
entity Q707484
relation P19
type Q56061
SELECT DISTINCT ?n WHERE { resource:Q707484 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Eduardo Serra
action filter_type
action find
entity Eduardo Serra
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?n WHERE { resource:Eduardo_Serra property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q597
SYSTEM
Lisbon
Q597
action filter_type
action find
entity Q707484
relation P19
type Q56061
That person was born in [ANSWER]
SELECT DISTINCT ?n WHERE { resource:Q707484 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Lisbon
That person was born in Lisbon
Lisbon
action filter_type
action find
entity Eduardo Serra
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?n WHERE { resource:Eduardo_Serra property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]