Simple Question (Direct)
Simple Question
Q20004760
P1412
Q34770
USER
Which language does Josep Salas Santos speak in ?
(Q20004760,P1412,c(Q34770))
action filter_type
action find
entity Q20004760
relation P1412
type Q34770
['Q20004760', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q20004760 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Josep Salas Santos
action filter_type
action find
entity Josep Salas Santos
relation languages spoken, written or signed
type language
['Josep Salas Santos', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Josep_Salas_Santos property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q20004760,P1412,c(Q34770))
action filter_type
action find
entity Q20004760
relation P1412
type Q34770
Josep Salas Santos speaks in [ANSWER]
['Q20004760', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q20004760 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Spanish
Josep Salas Santos speaks in Spanish
Spanish
action filter_type
action find
entity Josep Salas Santos
relation languages spoken, written or signed
type language
['Josep Salas Santos', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Josep_Salas_Santos property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20004760
P7
Q502895
USER
Who is a sibling of Josep Salas Santos ?
(c(Q502895),P7,Q20004760)
action filter_type
action find_reverse
entity Q20004760
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q20004760']
SELECT DISTINCT ?g WHERE { ?g property:P7 resource:Q20004760 . ?g rdf:type ontology:Q502895 }
Josep Salas Santos
action filter_type
action find_reverse
entity Josep Salas Santos
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Josep Salas Santos']
SELECT DISTINCT ?g WHERE { ?g property:brother resource:Josep_Salas_Santos . ?g rdf:type ontology:common_name }
[]
common name
Q11922890
SYSTEM
Francesc Xavier Salas Santos
Q11922890
(c(Q502895),P7,Q20004760)
action filter_type
action find_reverse
entity Q20004760
relation P7
type Q502895
A sibling of Josep Salas Santos is named [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q20004760']
SELECT DISTINCT ?g WHERE { ?g property:P7 resource:Q20004760 . ?g rdf:type ontology:Q502895 }
Francesc Xavier Salas Santos
A sibling of Josep Salas Santos is named Francesc Xavier Salas Santos
Francesc Xavier Salas Santos
action filter_type
action find_reverse
entity Josep Salas Santos
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Josep Salas Santos']
SELECT DISTINCT ?g WHERE { ?g property:brother resource:Josep_Salas_Santos . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11922890
P19
Q1048835
USER
Which political territory was that person born at ?
(Q11922890,P19,c(Q1048835))
action filter_type
action find
entity Q11922890
relation P19
type Q1048835
['Q11922890', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q11922890 property:P19 ?o . ?o rdf:type ontology:Q1048835 }
Francesc Xavier Salas Santos
action filter_type
action find
entity Francesc Xavier Salas Santos
relation place of birth
type political territorial entity
['Francesc Xavier Salas Santos', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Francesc_Xavier_Salas_Santos property:place_of_birth ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q233337
SYSTEM
Deià
Q233337
(Q11922890,P19,c(Q1048835))
action filter_type
action find
entity Q11922890
relation P19
type Q1048835
That person was born in [ANSWER]
['Q11922890', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q11922890 property:P19 ?o . ?o rdf:type ontology:Q1048835 }
Deià
That person was born in Deià
Deià
action filter_type
action find
entity Francesc Xavier Salas Santos
relation place of birth
type political territorial entity
['Francesc Xavier Salas Santos', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Francesc_Xavier_Salas_Santos property:place_of_birth ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q233337
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that political territory ?
(Q233337,P1313,c(Q12737077))
action filter_type
action find
entity Q233337
relation P1313
type Q12737077
['Q233337', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q233337 property:P1313 ?l . ?l rdf:type ontology:Q12737077 }
Deià
action filter_type
action find
entity Deià
relation office held by head of government
type occupation
['Deià', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Deià property:office_held_by_head_of_government ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q26697757
SYSTEM
mayor of Deyá
Q26697757
(Q233337,P1313,c(Q12737077))
action filter_type
action find
entity Q233337
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that political territory
['Q233337', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q233337 property:P1313 ?l . ?l rdf:type ontology:Q12737077 }
mayor of Deyá
The mayor of Deyá serves as the political office that is fulfilled by the head of the government of that political territory
mayor of Deyá
action filter_type
action find
entity Deià
relation office held by head of government
type occupation
['Deià', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Deià property:office_held_by_head_of_government ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q233337
P20
Q502895
USER
Which people have Deià as place of death ?
(c(Q502895),P20,Q233337)
action filter_type
action find_reverse
entity Q233337
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q233337']
SELECT DISTINCT ?l WHERE { ?l property:P20 resource:Q233337 . ?l rdf:type ontology:Q502895 }
Deià
action filter_type
action find_reverse
entity Deià
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Deià']
SELECT DISTINCT ?l WHERE { ?l property:place_of_death resource:Deià . ?l rdf:type ontology:common_name }
[]
common name
Q201732 Q280455 Q213890
SYSTEM
Robert Graves, Faye Emerson, Mati Klarwein
Q280455 Q213890 Q201732 Q19997890 Q597312 Q896912
(c(Q502895),P20,Q233337)
action filter_type
action find_reverse
entity Q233337
relation P20
type Q502895
[ANSWERS] have Deià as place of death
[{'concept': 'Q502895'}, 'P20', 'Q233337']
SELECT DISTINCT ?l WHERE { ?l property:P20 resource:Q233337 . ?l rdf:type ontology:Q502895 }
Faye Emerson Mati Klarwein Robert Graves Antoni Ribas Prats Antoni Gelabert Massot Ulrich Leman
Robert Graves, Faye Emerson and Mati Klarwein have Deià as place of death
Robert Graves Faye Emerson Mati Klarwein
action filter_type
action find_reverse
entity Deià
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Deià']
SELECT DISTINCT ?l WHERE { ?l property:place_of_death resource:Deià . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q201732
P737
Q502895
USER
Who did Robert Graves have an influence on ?
(c(Q502895),P737,Q201732)
action filter_type
action find_reverse
entity Q201732
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q201732']
SELECT DISTINCT ?q WHERE { ?q property:P737 resource:Q201732 . ?q rdf:type ontology:Q502895 }
Robert Graves
action filter_type
action find_reverse
entity Robert Graves
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Robert Graves']
SELECT DISTINCT ?q WHERE { ?q property:influenced_by resource:Robert_Graves . ?q rdf:type ontology:common_name }
[]
common name
Q168728 Q363729 Q313466
SYSTEM
Robert Frost, Siegfried Sassoon, Michael Chabon
Q168728 Q363729 Q313466
(c(Q502895),P737,Q201732)
action filter_type
action find_reverse
entity Q201732
relation P737
type Q502895
Robert Graves had an influence on [ANSWERS]
[{'concept': 'Q502895'}, 'P737', 'Q201732']
SELECT DISTINCT ?q WHERE { ?q property:P737 resource:Q201732 . ?q rdf:type ontology:Q502895 }
Robert Frost Siegfried Sassoon Michael Chabon
Robert Graves had an influence on Robert Frost, Siegfried Sassoon and Michael Chabon
Robert Frost Siegfried Sassoon Michael Chabon
action filter_type
action find_reverse
entity Robert Graves
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Robert Graves']
SELECT DISTINCT ?q WHERE { ?q property:influenced_by resource:Robert_Graves . ?q rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q313466
P26
Q502895
USER
Which person is the life partner of that one ?
(c(Q502895),P26,Q313466)
action filter_type
action find
entity Q313466
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q313466']
SELECT DISTINCT ?h WHERE { resource:Q313466 property:P26 ?h . ?h rdf:type ontology:Q502895 }
Michael Chabon
action filter_type
action find
entity Michael Chabon
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Michael Chabon']
SELECT DISTINCT ?h WHERE { resource:Michael_Chabon property:spouse ?h . ?h rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q363729
SYSTEM
Did you mean Siegfried Sassoon ?
Q168728 Q363729 Q313466
(c(Q502895),P26,Q168728) (c(Q502895),P26,Q363729) (c(Q502895),P26,Q313466)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q168728'] [{'concept': 'Q502895'}, 'P26', 'Q363729'] [{'concept': 'Q502895'}, 'P26', 'Q313466']
SELECT DISTINCT ?h WHERE { resource:Q313466 property:P26 ?h . ?h rdf:type ontology:Q502895 }
Robert Frost Siegfried Sassoon Michael Chabon
Did you mean Siegfried Sassoon ?
Siegfried Sassoon
[{'concept': 'common name'}, 'spouse', 'Robert Frost'] [{'concept': 'common name'}, 'spouse', 'Siegfried Sassoon'] [{'concept': 'common name'}, 'spouse', 'Michael Chabon']
SELECT DISTINCT ?h WHERE { resource:Michael_Chabon property:spouse ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Michael Chabon. Could you tell me the answer for that?
(c(Q502895),P26,Q313466)
Q313466
[{'concept': 'Q502895'}, 'P26', 'Q313466']
[{'concept': 'common name'}, 'spouse', 'Michael Chabon']
[]
Q4831145
SYSTEM
Ayelet Waldman
Q4831145
(c(Q502895),P26,Q313466)
action filter_type
action find
entity Q313466
relation P26
type Q502895
[ANSWER] is the life partner of that one
[{'concept': 'Q502895'}, 'P26', 'Q313466']
SELECT DISTINCT ?h WHERE { resource:Q313466 property:P26 ?h . ?h rdf:type ontology:Q502895 }
Ayelet Waldman
Ayelet Waldman is the life partner of that one
Ayelet Waldman
action filter_type
action find
entity Michael Chabon
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Michael Chabon']
SELECT DISTINCT ?h WHERE { resource:Michael_Chabon property:spouse ?h . ?h rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q369428 Q313466
P58
Q838948
USER
Which works of art are Michael Chabon or Paul Gégauff a screwriter of ?
OR((c(Q838948),P58,Q313466), (c(Q838948),P58,Q369428))
action filter_type
action union
action find_reverse
entity Q313466
relation P58
action find_reverse
entity Q369428
relation P58
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P58', 'Q313466'], [{'concept': 'Q838948'}, 'P58', 'Q369428']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P58 resource:Q313466 } UNION { ?w property:P58 resource:Q369428 } } . ?w rdf:type ontology:Q838948 }
Paul Gégauff Michael Chabon
action filter_type
action union
action find_reverse
entity Michael Chabon
relation screenwriter
action find_reverse
entity Paul Gégauff
relation screenwriter
type work of art
{'OR': [[{'concept': 'work of art'}, 'screenwriter', 'Michael Chabon'], [{'concept': 'work of art'}, 'screenwriter', 'Paul Gégauff']]}
SELECT DISTINCT ?w WHERE { { { ?w property:screenwriter resource:Michael_Chabon } UNION { ?w property:screenwriter resource:Paul_Gégauff } } . ?w rdf:type ontology:work_of_art }
[]
work of art
Q769712 Q1405938 Q1212729 Q1405931 Q141557 Q7766820 Q185528 Q168862 Q444057 Q1726605
SYSTEM
Some of them are Dr. Popaul, Death Rite, Les plus belles escroqueries du monde, Pleasure Party, Les Cousins, The Story of a Mother, Web of Passion, Wonder Boys, Diabolically Yours, More
Q769712 Q141557 Q522962 Q1405931 Q2376591 Q168862 Q444057 Q1212729 Q235347 Q185528 Q1405938 Q1760713 Q919444 Q7766820 Q1726605 Q572731
OR((c(Q838948),P58,Q313466), (c(Q838948),P58,Q369428))
action filter_type
action union
action find_reverse
entity Q313466
relation P58
action find_reverse
entity Q369428
relation P58
type Q838948
[ANSWERS] are Michael Chabon or Paul Gégauff a screwriter of
{'OR': [[{'concept': 'Q838948'}, 'P58', 'Q313466'], [{'concept': 'Q838948'}, 'P58', 'Q369428']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P58 resource:Q313466 } UNION { ?w property:P58 resource:Q369428 } } . ?w rdf:type ontology:Q838948 }
Dr. Popaul Les Cousins Ten Days' Wonder Pleasure Party Ave Maria Wonder Boys Diabolically Yours Les plus belles escroqueries du monde John Carter Web of Passion Death Rite Frankenstein 90 Purple Noon The Story of a Mother More This Man Must Die
Dr. Popaul, Death Rite, Les plus belles escroqueries du monde, Pleasure Party, Les Cousins, The Story of a Mother, Web of Passion, Wonder Boys, Diabolically Yours and More are Michael Chabon or Paul Gégauff a screwriter of
Dr. Popaul Death Rite Les plus belles escroqueries du monde Pleasure Party Les Cousins The Story of a Mother Web of Passion Wonder Boys Diabolically Yours More
action filter_type
action union
action find_reverse
entity Michael Chabon
relation screenwriter
action find_reverse
entity Paul Gégauff
relation screenwriter
type work of art
{'OR': [[{'concept': 'work of art'}, 'screenwriter', 'Michael Chabon'], [{'concept': 'work of art'}, 'screenwriter', 'Paul Gégauff']]}
SELECT DISTINCT ?w WHERE { { { ?w property:screenwriter resource:Michael_Chabon } UNION { ?w property:screenwriter resource:Paul_Gégauff } } . ?w rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q313466
P58 P364
Q838948
USER
Which works of art did Michael Chabon do the screenwriting for and were originally created in English language ?
AND((c(Q838948),P58,Q313466), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q313466
relation P58
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P58', 'Q313466'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?q WHERE { ?q property:P364 resource:Q1860 . ?q property:P58 resource:Q313466 . ?q rdf:type ontology:Q838948 }
English Michael Chabon
action filter_type
action intersection
action find_reverse
entity Michael Chabon
relation screenwriter
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'screenwriter', 'Michael Chabon'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?q WHERE { ?q property:original_language_of_work resource:English . ?q property:screenwriter resource:Michael_Chabon . ?q rdf:type ontology:work_of_art }
[]
work of art
Q235347 Q168862
SYSTEM
John Carter, Wonder Boys
Q235347 Q168862
AND((c(Q838948),P58,Q313466), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q313466
relation P58
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWERS] Michael Chabon did the screenwriting for
{'AND': [[{'concept': 'Q838948'}, 'P58', 'Q313466'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?q WHERE { ?q property:P364 resource:Q1860 . ?q property:P58 resource:Q313466 . ?q rdf:type ontology:Q838948 }
John Carter Wonder Boys
John Carter and Wonder Boys Michael Chabon did the screenwriting for
John Carter Wonder Boys
action filter_type
action intersection
action find_reverse
entity Michael Chabon
relation screenwriter
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'screenwriter', 'Michael Chabon'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?q WHERE { ?q property:original_language_of_work resource:English . ?q property:screenwriter resource:Michael_Chabon . ?q rdf:type ontology:work_of_art }
[]