Simple Question (Direct)
Simple Question
Q5868070
P102
Q7278
USER
Which political party is Francisco Loño y Pérez a member of ?
(Q5868070,P102,c(Q7278))
action filter_type
action find
entity Q5868070
relation P102
type Q7278
['Q5868070', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?u WHERE { resource:Q5868070 property:P102 ?u . ?u rdf:type ontology:Q7278 }
Francisco Loño y Pérez
action filter_type
action find
entity Francisco Loño y Pérez
relation member of political party
type political party
['Francisco Loño y Pérez', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?u WHERE { resource:Francisco_Loño_y_Pérez property:member_of_political_party ?u . ?u rdf:type ontology:political_party }
[]
political party
Q3047700
SYSTEM
Liberal-Conservative Party
Q3047700
(Q5868070,P102,c(Q7278))
action filter_type
action find
entity Q5868070
relation P102
type Q7278
The [ANSWER] is Francisco Loño y Pérez a member of
['Q5868070', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?u WHERE { resource:Q5868070 property:P102 ?u . ?u rdf:type ontology:Q7278 }
Liberal-Conservative Party
The Liberal-Conservative Party is Francisco Loño y Pérez a member of
Liberal-Conservative Party
action filter_type
action find
entity Francisco Loño y Pérez
relation member of political party
type political party
['Francisco Loño y Pérez', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?u WHERE { resource:Francisco_Loño_y_Pérez property:member_of_political_party ?u . ?u rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5868070
P410
Q4189293
USER
Which title was the military rank held by that person ?
(Q3047700,P410,c(Q4189293))
action filter_type
action find
entity Q5868070
relation P410
type Q4189293
['Q3047700', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?c WHERE { resource:Q5868070 property:P410 ?c . ?c rdf:type ontology:Q4189293 }
Francisco Loño y Pérez
action filter_type
action find
entity Francisco Loño y Pérez
relation military rank
type title
['Liberal-Conservative Party', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?c WHERE { resource:Francisco_Loño_y_Pérez property:military_rank ?c . ?c rdf:type ontology:title }
[]
title
Q83460
SYSTEM
general officer
Q83460
(Q3047700,P410,c(Q4189293))
action filter_type
action find
entity Q5868070
relation P410
type Q4189293
[ANSWER] was the military rank held by that person
['Q3047700', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?c WHERE { resource:Q5868070 property:P410 ?c . ?c rdf:type ontology:Q4189293 }
general officer
General officer was the military rank held by that person
general officer
action filter_type
action find
entity Francisco Loño y Pérez
relation military rank
type title
['Liberal-Conservative Party', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?c WHERE { resource:Francisco_Loño_y_Pérez property:military_rank ?c . ?c rdf:type ontology:title }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q83460 Q4664839
P410
Q502895
USER
Does Abdelkader Besseghir hold that title ?
(Q4664839,P410,Q83460)
action is_in
entity Q4664839
action find
entity Q83460
relation P410
['Q4664839', 'P410', 'Q83460']
ASK WHERE { resource:Q83460 property:P410 resource:Q4664839 }
general officer Abdelkader Besseghir
action is_in
entity Abdelkader Besseghir
action find
entity general officer
relation military rank
['Abdelkader Besseghir', 'military rank', 'general officer']
ASK WHERE { resource:general_officer property:military_rank resource:Abdelkader_Besseghir }
[]
common name
SYSTEM
NO
(Q4664839,P410,Q83460)
action is_in
entity Q4664839
action find
entity Q83460
relation P410
[ANSWER]
['Q4664839', 'P410', 'Q83460']
ASK WHERE { resource:Q83460 property:P410 resource:Q4664839 }
No
action is_in
entity Abdelkader Besseghir
action find
entity general officer
relation military rank
['Abdelkader Besseghir', 'military rank', 'general officer']
ASK WHERE { resource:general_officer property:military_rank resource:Abdelkader_Besseghir }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3047700
P17
Q15617994
USER
Which administrative territory does Liberal-Conservative Party belong to ?
(Q3047700,P17,c(Q15617994))
action filter_type
action find
entity Q3047700
relation P17
type Q15617994
['Q3047700', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3047700 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Liberal-Conservative Party
action filter_type
action find
entity Liberal-Conservative Party
relation country
type designation for an administrative territorial entity
['Liberal-Conservative Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Liberal-Conservative_Party property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q3047700,P17,c(Q15617994))
action filter_type
action find
entity Q3047700
relation P17
type Q15617994
Liberal-Conservative Party belongs to the [ANSWER]
['Q3047700', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3047700 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Spain
Liberal-Conservative Party belongs to the Spain
Spain
action filter_type
action find
entity Liberal-Conservative Party
relation country
type designation for an administrative territorial entity
['Liberal-Conservative Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Liberal-Conservative_Party property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P47
Q515
USER
Who shares the border with that administrative territory ?
(Q29,P47,c(Q515))
action filter_type
action find
entity Q29
relation P47
type Q515
['Q29', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q29 property:P47 ?i . ?i rdf:type ontology:Q515 }
Spain
action filter_type
action find
entity Spain
relation shares border with
type city
['Spain', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Spain property:shares_border_with ?i . ?i rdf:type ontology:city }
[]
city
Q1410
SYSTEM
Gibraltar
Q1410
(Q29,P47,c(Q515))
action filter_type
action find
entity Q29
relation P47
type Q515
[ANSWER] shares the border with that administrative territory
['Q29', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q29 property:P47 ?i . ?i rdf:type ontology:Q515 }
Gibraltar
Gibraltar shares the border with that administrative territory
Gibraltar
action filter_type
action find
entity Spain
relation shares border with
type city
['Spain', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Spain property:shares_border_with ?i . ?i rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P194
Q1752346
USER
Which assembly is the legislative body for Spain ?
(Q29,P194,c(Q1752346))
action filter_type
action find
entity Q29
relation P194
type Q1752346
['Q29', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?s WHERE { resource:Q29 property:P194 ?s . ?s rdf:type ontology:Q1752346 }
Spain
action filter_type
action find
entity Spain
relation legislative body
type assembly
['Spain', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?s WHERE { resource:Spain property:legislative_body ?s . ?s rdf:type ontology:assembly }
[]
assembly
Q219692
SYSTEM
Cortes Generales
Q219692
(Q29,P194,c(Q1752346))
action filter_type
action find
entity Q29
relation P194
type Q1752346
[ANSWER] is the legislative body for Spain
['Q29', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?s WHERE { resource:Q29 property:P194 ?s . ?s rdf:type ontology:Q1752346 }
Cortes Generales
Cortes Generales is the legislative body for Spain
Cortes Generales
action filter_type
action find
entity Spain
relation legislative body
type assembly
['Spain', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?s WHERE { resource:Spain property:legislative_body ?s . ?s rdf:type ontology:assembly }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q179876
Q1752346
USER
And how about Kingdom of England?
(Q179876,P194,c(Q1752346))
action filter_type
action find
entity Q179876
relation P194
type Q1752346
['Q179876', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?n WHERE { resource:Q179876 property:P194 ?n . ?n rdf:type ontology:Q1752346 }
Kingdom of England
action filter_type
action find
entity Kingdom of England
relation legislative body
type assembly
['Kingdom of England', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?n WHERE { resource:Kingdom_of_England property:legislative_body ?n . ?n rdf:type ontology:assembly }
[]
assembly
Q1130737
SYSTEM
Parliament of England
Q1130737
(Q179876,P194,c(Q1752346))
action filter_type
action find
entity Q179876
relation P194
type Q1752346
[ANSWER]
['Q179876', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?n WHERE { resource:Q179876 property:P194 ?n . ?n rdf:type ontology:Q1752346 }
Parliament of England
Parliament of England
action filter_type
action find
entity Kingdom of England
relation legislative body
type assembly
['Kingdom of England', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?n WHERE { resource:Kingdom_of_England property:legislative_body ?n . ?n rdf:type ontology:assembly }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1410
P840
Q838948
USER
Which work of art has its narrative set in Gibraltar ?
(c(Q838948),P840,Q1410)
action filter_type
action find_reverse
entity Q1410
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q1410']
SELECT DISTINCT ?i WHERE { ?i property:P840 resource:Q1410 . ?i rdf:type ontology:Q838948 }
Gibraltar
action filter_type
action find_reverse
entity Gibraltar
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Gibraltar']
SELECT DISTINCT ?i WHERE { ?i property:narrative_location resource:Gibraltar . ?i rdf:type ontology:work_of_art }
[]
work of art
Q272064
SYSTEM
The Living Daylights
Q272064
(c(Q838948),P840,Q1410)
action filter_type
action find_reverse
entity Q1410
relation P840
type Q838948
[ANSWER] has its narrative set in Gibraltar
[{'concept': 'Q838948'}, 'P840', 'Q1410']
SELECT DISTINCT ?i WHERE { ?i property:P840 resource:Q1410 . ?i rdf:type ontology:Q838948 }
The Living Daylights
The Living Daylights has its narrative set in Gibraltar
The Living Daylights
action filter_type
action find_reverse
entity Gibraltar
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Gibraltar']
SELECT DISTINCT ?i WHERE { ?i property:narrative_location resource:Gibraltar . ?i rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q272064
P344
Q502895
USER
Who is the cinematographer of that work of art ?
(Q272064,P344,c(Q502895))
action filter_type
action find
entity Q272064
relation P344
type Q502895
['Q272064', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q272064 property:P344 ?k . ?k rdf:type ontology:Q502895 }
The Living Daylights
action filter_type
action find
entity The Living Daylights
relation director of photography
type common name
['The Living Daylights', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:The_Living_Daylights property:director_of_photography ?k . ?k rdf:type ontology:common_name }
[]
common name
Q958911
SYSTEM
Alec Mills
Q958911
(Q272064,P344,c(Q502895))
action filter_type
action find
entity Q272064
relation P344
type Q502895
The cinematographer of that work of art is John [ANSWER]
['Q272064', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q272064 property:P344 ?k . ?k rdf:type ontology:Q502895 }
Alec Mills
The cinematographer of that work of art is John Alec Mills
Alec Mills
action filter_type
action find
entity The Living Daylights
relation director of photography
type common name
['The Living Daylights', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:The_Living_Daylights property:director_of_photography ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q272064
P1441
Q6619679
USER
Which fictional humanoids are present in The Living Daylights ?
(c(Q6619679),P1441,Q272064)
action filter_type
action find_reverse
entity Q272064
relation P1441
type Q6619679
[{'concept': 'Q6619679'}, 'P1441', 'Q272064']
SELECT DISTINCT ?v WHERE { ?v property:P1441 resource:Q272064 . ?v rdf:type ontology:Q6619679 }
The Living Daylights
action filter_type
action find_reverse
entity The Living Daylights
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'The Living Daylights']
SELECT DISTINCT ?v WHERE { ?v property:present_in_work resource:The_Living_Daylights . ?v rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q2009573 Q211414 Q1779543
SYSTEM
James Bond, Miss Moneypenny, Felix Leiter
Q20047779 Q1779543 Q2009573 Q3812915 Q15868282 Q6301613 Q4954353 Q10335943 Q246154 Q9295327 Q13485635 Q287297 Q9286200 Q211414
(c(Q6619679),P1441,Q272064)
action filter_type
action find_reverse
entity Q272064
relation P1441
type Q6619679
[ANSWERS] are present in The Living Daylights
[{'concept': 'Q6619679'}, 'P1441', 'Q272064']
SELECT DISTINCT ?v WHERE { ?v property:P1441 resource:Q272064 . ?v rdf:type ontology:Q6619679 }
General Pushkin Felix Leiter James Bond Kara Milovy 004 General Gogol Brad Whitaker Necros M General Koskov 002 Q Sir Frederick Gray Miss Moneypenny
James Bond, Miss Moneypenny and Felix Leiter are present in The Living Daylights
James Bond Miss Moneypenny Felix Leiter
action filter_type
action find_reverse
entity The Living Daylights
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'The Living Daylights']
SELECT DISTINCT ?v WHERE { ?v property:present_in_work resource:The_Living_Daylights . ?v rdf:type ontology:fictional_humanoid }
[]
Clarification
Simple Question|Single Entity|Indirect
Q211414
P674
Q7725634
USER
Which literary work has the character that fictional humanoid ?
(c(Q7725634),P674,Q211414)
action filter_type
action find_reverse
entity Q211414
relation P674
type Q7725634
[{'concept': 'Q7725634'}, 'P674', 'Q211414']
SELECT DISTINCT ?b WHERE { ?b property:P674 resource:Q211414 . ?b rdf:type ontology:Q7725634 }
Miss Moneypenny
action filter_type
action find_reverse
entity Miss Moneypenny
relation characters
type literary work
[{'concept': 'literary work'}, 'characters', 'Miss Moneypenny']
SELECT DISTINCT ?b WHERE { ?b property:characters resource:Miss_Moneypenny . ?b rdf:type ontology:literary_work }
[]
literary work
Clarification for simple ques.
Q1779543
SYSTEM
Did you mean Felix Leiter ?
Q2009573 Q211414 Q1779543
(c(Q7725634),P674,Q2009573) (c(Q7725634),P674,Q211414) (c(Q7725634),P674,Q1779543)
[ANSWER]
[{'concept': 'Q7725634'}, 'P674', 'Q2009573'] [{'concept': 'Q7725634'}, 'P674', 'Q211414'] [{'concept': 'Q7725634'}, 'P674', 'Q1779543']
SELECT DISTINCT ?b WHERE { ?b property:P674 resource:Q211414 . ?b rdf:type ontology:Q7725634 }
James Bond Miss Moneypenny Felix Leiter
Did you mean Felix Leiter ?
Felix Leiter
[{'concept': 'literary work'}, 'characters', 'James Bond'] [{'concept': 'literary work'}, 'characters', 'Miss Moneypenny'] [{'concept': 'literary work'}, 'characters', 'Felix Leiter']
SELECT DISTINCT ?b WHERE { ?b property:characters resource:Miss_Moneypenny . ?b rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
USER
No, I meant Miss Moneypenny. Could you tell me the answer for that?
(c(Q7725634),P674,Q211414)
Q211414
[{'concept': 'Q7725634'}, 'P674', 'Q211414']
[{'concept': 'literary work'}, 'characters', 'Miss Moneypenny']
[]
Q7752011
SYSTEM
The Moneypenny Diaries
Q7752011
(c(Q7725634),P674,Q211414)
action filter_type
action find_reverse
entity Q211414
relation P674
type Q7725634
[ANSWER] has the character that fictional humanoid
[{'concept': 'Q7725634'}, 'P674', 'Q211414']
SELECT DISTINCT ?b WHERE { ?b property:P674 resource:Q211414 . ?b rdf:type ontology:Q7725634 }
The Moneypenny Diaries
The Moneypenny Diaries has the character that fictional humanoid
The Moneypenny Diaries
action filter_type
action find_reverse
entity Miss Moneypenny
relation characters
type literary work
[{'concept': 'literary work'}, 'characters', 'Miss Moneypenny']
SELECT DISTINCT ?b WHERE { ?b property:characters resource:Miss_Moneypenny . ?b rdf:type ontology:literary_work }
[]