Simple Question (Direct)
Simple Question
Q2897980
P1196
Q1190554
USER
What manner did Bernard Giroux die ?
(Q2897980,P1196,c(Q1190554))
action filter_type
action find
entity Q2897980
relation P1196
type Q1190554
['Q2897980', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?s WHERE { resource:Q2897980 property:P1196 ?s . ?s rdf:type ontology:Q1190554 }
Bernard Giroux
action filter_type
action find
entity Bernard Giroux
relation manner of death
type event
['Bernard Giroux', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?s WHERE { resource:Bernard_Giroux property:manner_of_death ?s . ?s rdf:type ontology:event }
[]
event
Q171558
SYSTEM
accident
Q171558
(Q2897980,P1196,c(Q1190554))
action filter_type
action find
entity Q2897980
relation P1196
type Q1190554
Bernard Giroux died in [ANSWER]
['Q2897980', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?s WHERE { resource:Q2897980 property:P1196 ?s . ?s rdf:type ontology:Q1190554 }
accident
Bernard Giroux died in accident
accident
action filter_type
action find
entity Bernard Giroux
relation manner of death
type event
['Bernard Giroux', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?s WHERE { resource:Bernard_Giroux property:manner_of_death ?s . ?s rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2897980
P26
Q502895
USER
Which person is married to Bernard Giroux ?
(c(Q502895),P26,Q2897980)
action filter_type
action find
entity Q2897980
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2897980']
SELECT DISTINCT ?u WHERE { resource:Q2897980 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Bernard Giroux
action filter_type
action find
entity Bernard Giroux
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Bernard Giroux']
SELECT DISTINCT ?u WHERE { resource:Bernard_Giroux property:spouse ?u . ?u rdf:type ontology:common_name }
[]
common name
Q436982
SYSTEM
Jeane Manson
Q436982
(c(Q502895),P26,Q2897980)
action filter_type
action find
entity Q2897980
relation P26
type Q502895
[ANSWER] is married to Bernard Giroux
[{'concept': 'Q502895'}, 'P26', 'Q2897980']
SELECT DISTINCT ?u WHERE { resource:Q2897980 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Jeane Manson
Jeane Manson is married to Bernard Giroux
Jeane Manson
action filter_type
action find
entity Bernard Giroux
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Bernard Giroux']
SELECT DISTINCT ?u WHERE { resource:Bernard_Giroux property:spouse ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q436982
P161
Q838948
USER
Which works of art have that person as actor ?
(c(Q838948),P161,Q436982)
action filter_type
action find_reverse
entity Q436982
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q436982']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q838948 . ?u property:P161 resource:Q436982 }
Jeane Manson
action filter_type
action find_reverse
entity Jeane Manson
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jeane Manson']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:work_of_art . ?u property:cast_member resource:Jeane_Manson }
[]
work of art
Q2351514 Q1767400
SYSTEM
10 to Midnight, Bons Baisers de Hong Kong
Q2351514 Q1767400
(c(Q838948),P161,Q436982)
action filter_type
action find_reverse
entity Q436982
relation P161
type Q838948
[ANSWERS] have that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q436982']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q838948 . ?u property:P161 resource:Q436982 }
10 to Midnight Bons Baisers de Hong Kong
10 to Midnight and Bons Baisers de Hong Kong have that person as actor
10 to Midnight Bons Baisers de Hong Kong
action filter_type
action find_reverse
entity Jeane Manson
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jeane Manson']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:work_of_art . ?u property:cast_member resource:Jeane_Manson }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2351514 Q1767400
P58
Q502895
USER
Who were the screenwriters for those works of art ?
(Q2351514,P58,c(Q502895)) (Q1767400,P58,c(Q502895))
action filter_type
action find
entity prev_answer
relation P58
type Q502895
['Q2351514', 'P58', {'concept': 'Q502895'}] ['Q1767400', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . VALUES ( ?y ) { ( resource:Q2351514 ) ( resource:Q1767400 ) } . ?y property:P58 ?c }
10 to Midnight Bons Baisers de Hong Kong
action filter_type
action find
entity prev_answer
relation screenwriter
type common name
['10 to Midnight', 'screenwriter', {'concept': 'common name'}] ['Bons Baisers de Hong Kong', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . VALUES ( ?y ) { ( resource:10_to_Midnight ) ( resource:Bons_Baisers_de_Hong_Kong ) } . ?y property:screenwriter ?c }
[]
common name
Q8017659 Q2086266 Q3573341
SYSTEM
William Roberts, Christian Fechner, Yvan Chiffre
Q8017659 Q2086266 Q3573341
(Q2351514,P58,c(Q502895)) (Q1767400,P58,c(Q502895))
action filter_type
action find
entity prev_answer
relation P58
type Q502895
The screenwriters for those works of art were [ANSWERS]
['Q2351514', 'P58', {'concept': 'Q502895'}] ['Q1767400', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . VALUES ( ?y ) { ( resource:Q2351514 ) ( resource:Q1767400 ) } . ?y property:P58 ?c }
William Roberts Christian Fechner Yvan Chiffre
The screenwriters for those works of art were William Roberts, Christian Fechner and Yvan Chiffre
William Roberts Christian Fechner Yvan Chiffre
action filter_type
action find
entity prev_answer
relation screenwriter
type common name
['10 to Midnight', 'screenwriter', {'concept': 'common name'}] ['Bons Baisers de Hong Kong', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . VALUES ( ?y ) { ( resource:10_to_Midnight ) ( resource:Bons_Baisers_de_Hong_Kong ) } . ?y property:screenwriter ?c }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8017659
P162
Q838948
USER
Which work of art has been produced by that person ?
(c(Q838948),P162,Q8017659)
action filter_type
action find_reverse
entity Q8017659
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q8017659']
SELECT DISTINCT ?m WHERE { ?m property:P162 resource:Q8017659 . ?m rdf:type ontology:Q838948 }
William Roberts
action filter_type
action find_reverse
entity William Roberts
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'William Roberts']
SELECT DISTINCT ?m WHERE { ?m property:producer resource:William_Roberts . ?m rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q2086266
SYSTEM
Did you mean Christian Fechner ?
Q8017659 Q2086266 Q3573341
(c(Q838948),P162,Q8017659) (c(Q838948),P162,Q2086266) (c(Q838948),P162,Q3573341)
[ANSWER]
[{'concept': 'Q838948'}, 'P162', 'Q8017659'] [{'concept': 'Q838948'}, 'P162', 'Q2086266'] [{'concept': 'Q838948'}, 'P162', 'Q3573341']
SELECT DISTINCT ?m WHERE { ?m property:P162 resource:Q8017659 . ?m rdf:type ontology:Q838948 }
William Roberts Christian Fechner Yvan Chiffre
Did you mean Christian Fechner ?
Christian Fechner
[{'concept': 'work of art'}, 'producer', 'William Roberts'] [{'concept': 'work of art'}, 'producer', 'Christian Fechner'] [{'concept': 'work of art'}, 'producer', 'Yvan Chiffre']
SELECT DISTINCT ?m WHERE { ?m property:producer resource:William_Roberts . ?m rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant William Roberts. Could you tell me the answer for that?
(c(Q838948),P162,Q8017659)
Q8017659
[{'concept': 'Q838948'}, 'P162', 'Q8017659']
[{'concept': 'work of art'}, 'producer', 'William Roberts']
[]
Q1199359
SYSTEM
The Last American Hero
Q1199359
(c(Q838948),P162,Q8017659)
action filter_type
action find_reverse
entity Q8017659
relation P162
type Q838948
[ANSWER] has been produced by that person
[{'concept': 'Q838948'}, 'P162', 'Q8017659']
SELECT DISTINCT ?m WHERE { ?m property:P162 resource:Q8017659 . ?m rdf:type ontology:Q838948 }
The Last American Hero
The Last American Hero has been produced by that person
The Last American Hero
action filter_type
action find_reverse
entity William Roberts
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'William Roberts']
SELECT DISTINCT ?m WHERE { ?m property:producer resource:William_Roberts . ?m rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8017659
P19
Q56061
USER
Which administrative territory was William Roberts born at ?
(Q8017659,P19,c(Q56061))
action filter_type
action find
entity Q8017659
relation P19
type Q56061
['Q8017659', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . resource:Q8017659 property:P19 ?q }
William Roberts
action filter_type
action find
entity William Roberts
relation place of birth
type administrative territorial entity
['William Roberts', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:William_Roberts property:place_of_birth ?q }
[]
administrative territorial entity
Q65
SYSTEM
Los Angeles
Q65
(Q8017659,P19,c(Q56061))
action filter_type
action find
entity Q8017659
relation P19
type Q56061
William Roberts was born in [ANSWER]
['Q8017659', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . resource:Q8017659 property:P19 ?q }
Los Angeles
William Roberts was born in Los Angeles
Los Angeles
action filter_type
action find
entity William Roberts
relation place of birth
type administrative territorial entity
['William Roberts', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:William_Roberts property:place_of_birth ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4366886
Q56061
USER
And also tell me about Kirill Pogrebnyak?
(Q4366886,P19,c(Q56061))
action filter_type
action find
entity Q4366886
relation P19
type Q56061
['Q4366886', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q4366886 property:P19 ?p }
Kirill Pogrebnyak
action filter_type
action find
entity Kirill Pogrebnyak
relation place of birth
type administrative territorial entity
['Kirill Pogrebnyak', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Kirill_Pogrebnyak property:place_of_birth ?p }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q4366886,P19,c(Q56061))
action filter_type
action find
entity Q4366886
relation P19
type Q56061
[ANSWER]
['Q4366886', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q4366886 property:P19 ?p }
Moscow
Moscow
action filter_type
action find
entity Kirill Pogrebnyak
relation place of birth
type administrative territorial entity
['Kirill Pogrebnyak', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Kirill_Pogrebnyak property:place_of_birth ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4366886
P641
Q349
USER
Which sport did that person participate in ?
(Q649,P641,c(Q349))
action filter_type
action find
entity Q4366886
relation P641
type Q349
['Q649', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q4366886 property:P641 ?s . ?s rdf:type ontology:Q349 }
Kirill Pogrebnyak
action filter_type
action find
entity Kirill Pogrebnyak
relation sport
type sport
['Moscow', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Kirill_Pogrebnyak property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q649,P641,c(Q349))
action filter_type
action find
entity Q4366886
relation P641
type Q349
That person participated in [ANSWER]
['Q649', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q4366886 property:P641 ?s . ?s rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Kirill Pogrebnyak
relation sport
type sport
['Moscow', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Kirill_Pogrebnyak property:sport ?s . ?s rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4366886
P106
Q12737077
USER
What is the profession of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q4366886
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q4366886 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Kirill Pogrebnyak
action filter_type
action find
entity Kirill Pogrebnyak
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Kirill_Pogrebnyak property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q4366886
relation P106
type Q12737077
The profession of that person is an [ANSWER]
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q4366886 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
association football player
The profession of that person is an association football player
association football player
action filter_type
action find
entity Kirill Pogrebnyak
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Kirill_Pogrebnyak property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1464893 Q4366886
P106
Q12737077
USER
Or Willem Jacobszoon Hofdijk?
OR((Q4366886,P106,c(Q12737077)), (Q1464893,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4366886
relation P106
action find
entity Q1464893
relation P106
type Q12737077
{'OR': [['Q4366886', 'P106', {'concept': 'Q12737077'}], ['Q1464893', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q4366886 property:P106 ?l } UNION { resource:Q1464893 property:P106 ?l } } . ?l rdf:type ontology:Q12737077 }
Willem Jacobszoon Hofdijk Kirill Pogrebnyak
action filter_type
action union
action find
entity Kirill Pogrebnyak
relation occupation
action find
entity Willem Jacobszoon Hofdijk
relation occupation
type occupation
{'OR': [['Kirill Pogrebnyak', 'occupation', {'concept': 'occupation'}], ['Willem Jacobszoon Hofdijk', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Kirill_Pogrebnyak property:occupation ?l } UNION { resource:Willem_Jacobszoon_Hofdijk property:occupation ?l } } . ?l rdf:type ontology:occupation }
[]
occupation
Q1028181 Q937857 Q36180 Q49757
SYSTEM
painter, association football player, writer, poet
Q1028181 Q937857 Q36180 Q49757
OR((Q4366886,P106,c(Q12737077)), (Q1464893,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4366886
relation P106
action find
entity Q1464893
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q4366886', 'P106', {'concept': 'Q12737077'}], ['Q1464893', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q4366886 property:P106 ?l } UNION { resource:Q1464893 property:P106 ?l } } . ?l rdf:type ontology:Q12737077 }
painter association football player writer poet
painter association football player writer poet
action filter_type
action union
action find
entity Kirill Pogrebnyak
relation occupation
action find
entity Willem Jacobszoon Hofdijk
relation occupation
type occupation
{'OR': [['Kirill Pogrebnyak', 'occupation', {'concept': 'occupation'}], ['Willem Jacobszoon Hofdijk', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Kirill_Pogrebnyak property:occupation ?l } UNION { resource:Willem_Jacobszoon_Hofdijk property:occupation ?l } } . ?l rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3561755
P106
Q502895
USER
Do Vladimir Blum have the profession of those occupations ?
(Q3561755,P106,Q1028181) (Q3561755,P106,Q937857) (Q3561755,P106,Q36180) (Q3561755,P106,Q49757)
action is_in
entity prev_answer
action find
entity Q3561755
relation P106
['Q3561755', 'P106', 'Q1028181'] ['Q3561755', 'P106', 'Q937857'] ['Q3561755', 'P106', 'Q36180'] ['Q3561755', 'P106', 'Q49757']
ASK WHERE { resource:Q3561755 property:P106 ?m . VALUES ( ?m ) { ( resource:Q1028181 ) ( resource:Q937857 ) ( resource:Q36180 ) } }
Vladimir Blum
action is_in
entity prev_answer
action find
entity Vladimir Blum
relation occupation
['Vladimir Blum', 'occupation', 'painter'] ['Vladimir Blum', 'occupation', 'association football player'] ['Vladimir Blum', 'occupation', 'writer'] ['Vladimir Blum', 'occupation', 'poet']
ASK WHERE { resource:Vladimir_Blum property:occupation ?m . VALUES ( ?m ) { ( resource:painter ) ( resource:association_football_player ) ( resource:writer ) } }
[]
common name
SYSTEM
NO
(Q3561755,P106,Q1028181) (Q3561755,P106,Q937857) (Q3561755,P106,Q36180) (Q3561755,P106,Q49757)
action is_in
entity prev_answer
action find
entity Q3561755
relation P106
[ANSWER]
['Q3561755', 'P106', 'Q1028181'] ['Q3561755', 'P106', 'Q937857'] ['Q3561755', 'P106', 'Q36180'] ['Q3561755', 'P106', 'Q49757']
ASK WHERE { resource:Q3561755 property:P106 ?m . VALUES ( ?m ) { ( resource:Q1028181 ) ( resource:Q937857 ) ( resource:Q36180 ) } }
No
action is_in
entity prev_answer
action find
entity Vladimir Blum
relation occupation
['Vladimir Blum', 'occupation', 'painter'] ['Vladimir Blum', 'occupation', 'association football player'] ['Vladimir Blum', 'occupation', 'writer'] ['Vladimir Blum', 'occupation', 'poet']
ASK WHERE { resource:Vladimir_Blum property:occupation ?m . VALUES ( ?m ) { ( resource:painter ) ( resource:association_football_player ) ( resource:writer ) } }
[]