Simple Question (Direct)
Simple Question
Q428037
P1412
Q34770
USER
Which language is Marco Bechis capable of writing ?
(Q428037,P1412,c(Q34770))
action filter_type
action find
entity Q428037
relation P1412
type Q34770
['Q428037', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q34770 . resource:Q428037 property:P1412 ?o }
Marco Bechis
action filter_type
action find
entity Marco Bechis
relation languages spoken, written or signed
type language
['Marco Bechis', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:language . resource:Marco_Bechis property:languages_spoken,_written_or_signed ?o }
[]
language
Q652
SYSTEM
Italian
Q652
(Q428037,P1412,c(Q34770))
action filter_type
action find
entity Q428037
relation P1412
type Q34770
[ANSWER] is Marco Bechis capable of writing
['Q428037', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q34770 . resource:Q428037 property:P1412 ?o }
Italian
Italian is Marco Bechis capable of writing
Italian
action filter_type
action find
entity Marco Bechis
relation languages spoken, written or signed
type language
['Marco Bechis', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:language . resource:Marco_Bechis property:languages_spoken,_written_or_signed ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q428037
P58
Q838948
USER
Which works of art are Marco Bechis a screenwriter of ?
(c(Q838948),P58,Q428037)
action filter_type
action find_reverse
entity Q428037
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q428037']
SELECT DISTINCT ?r WHERE { ?r property:P58 resource:Q428037 . ?r rdf:type ontology:Q838948 }
Marco Bechis
action filter_type
action find_reverse
entity Marco Bechis
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Marco Bechis']
SELECT DISTINCT ?r WHERE { ?r property:screenwriter resource:Marco_Bechis . ?r rdf:type ontology:work_of_art }
[]
work of art
Q3793321 Q3416305 Q2633310
SYSTEM
Il carniere, Sons and Daughters, Olympic Garage
Q3793321 Q3416305 Q2633310
(c(Q838948),P58,Q428037)
action filter_type
action find_reverse
entity Q428037
relation P58
type Q838948
[ANSWERS] are Marco Bechis a screenwriter of
[{'concept': 'Q838948'}, 'P58', 'Q428037']
SELECT DISTINCT ?r WHERE { ?r property:P58 resource:Q428037 . ?r rdf:type ontology:Q838948 }
Il carniere Sons and Daughters Olympic Garage
Il carniere, Sons and Daughters and Olympic Garage are Marco Bechis a screenwriter of
Il carniere Sons and Daughters Olympic Garage
action filter_type
action find_reverse
entity Marco Bechis
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Marco Bechis']
SELECT DISTINCT ?r WHERE { ?r property:screenwriter resource:Marco_Bechis . ?r rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3793321 Q3416305 Q2633310
P58
Q502895
USER
Who served as the screenwriter for those works of art ?
(Q3793321,P58,c(Q502895)) (Q3416305,P58,c(Q502895)) (Q2633310,P58,c(Q502895))
action filter_type
action find
entity prev_answer
relation P58
type Q502895
['Q3793321', 'P58', {'concept': 'Q502895'}] ['Q3416305', 'P58', {'concept': 'Q502895'}] ['Q2633310', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?h property:P58 ?r . ?r rdf:type ontology:Q502895 . VALUES ( ?h ) { ( resource:Q3793321 ) ( resource:Q3416305 ) ( resource:Q2633310 ) } }
Il carniere Sons and Daughters Olympic Garage
action filter_type
action find
entity prev_answer
relation screenwriter
type common name
['Il carniere', 'screenwriter', {'concept': 'common name'}] ['Sons and Daughters', 'screenwriter', {'concept': 'common name'}] ['Olympic Garage', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?h property:screenwriter ?r . ?r rdf:type ontology:common_name . VALUES ( ?h ) { ( resource:Il_carniere ) ( resource:Sons_and_Daughters ) ( resource:Olympic_Garage ) } }
[]
common name
Q276026 Q428037 Q428037
SYSTEM
Luigi Riva for 1st, Marco Bechis for 2nd, 3rd
Q276026 Q428037 Q4003361 Q465400 Q428037 Q428037
(Q3793321,P58,c(Q502895)) (Q3416305,P58,c(Q502895)) (Q2633310,P58,c(Q502895))
action filter_type
action find
entity prev_answer
relation P58
type Q502895
[ANSWERS]
['Q3793321', 'P58', {'concept': 'Q502895'}] ['Q3416305', 'P58', {'concept': 'Q502895'}] ['Q2633310', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?h property:P58 ?r . ?r rdf:type ontology:Q502895 . VALUES ( ?h ) { ( resource:Q3793321 ) ( resource:Q3416305 ) ( resource:Q2633310 ) } }
Luigi Riva Marco Bechis Umberto Contarello Maurizio Zaccaro Marco Bechis Marco Bechis
Luigi Riva, Marco Bechis and Marco Bechis served as the screenwriter for those works of art
Luigi Riva Marco Bechis Marco Bechis
action filter_type
action find
entity prev_answer
relation screenwriter
type common name
['Il carniere', 'screenwriter', {'concept': 'common name'}] ['Sons and Daughters', 'screenwriter', {'concept': 'common name'}] ['Olympic Garage', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?h property:screenwriter ?r . ?r rdf:type ontology:common_name . VALUES ( ?h ) { ( resource:Il_carniere ) ( resource:Sons_and_Daughters ) ( resource:Olympic_Garage ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3793321
P86
Q502895
USER
Who did the compostion for that work of art ?
(Q3793321,P86,c(Q502895))
action filter_type
action find
entity Q3793321
relation P86
type Q502895
['Q3793321', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q3793321 property:P86 ?y . ?y rdf:type ontology:Q502895 }
Il carniere
action filter_type
action find
entity Il carniere
relation composer
type common name
['Il carniere', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Il_carniere property:composer ?y . ?y rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q3793321
SYSTEM
Did you mean Il carniere ?
Q276026 Q428037 Q428037
(Q276026,P86,c(Q502895)) (Q428037,P86,c(Q502895)) (Q428037,P86,c(Q502895))
[ANSWER]
['Q276026', 'P86', {'concept': 'Q502895'}] ['Q428037', 'P86', {'concept': 'Q502895'}] ['Q428037', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q3793321 property:P86 ?y . ?y rdf:type ontology:Q502895 }
Luigi Riva Marco Bechis Marco Bechis
Did you mean Il carniere ?
Il carniere
['Luigi Riva', 'composer', {'concept': 'common name'}] ['Marco Bechis', 'composer', {'concept': 'common name'}] ['Marco Bechis', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Il_carniere property:composer ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3793321,P86,c(Q502895))
['Q3793321', 'P86', {'concept': 'Q502895'}]
['Il carniere', 'composer', {'concept': 'common name'}]
[]
Q964311
SYSTEM
Pino Donaggio
Q964311
(Q3793321,P86,c(Q502895))
action filter_type
action find
entity Q3793321
relation P86
type Q502895
[ANSWER] did the compostion for that work of art
['Q3793321', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q3793321 property:P86 ?y . ?y rdf:type ontology:Q502895 }
Pino Donaggio
Pino Donaggio did the compostion for that work of art
Pino Donaggio
action filter_type
action find
entity Il carniere
relation composer
type common name
['Il carniere', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Il_carniere property:composer ?y . ?y rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q588745 Q428037
P57
Q838948
USER
Which works of art are Marco Bechis or Tony Bill a director of ?
OR((c(Q838948),P57,Q428037), (c(Q838948),P57,Q588745))
action filter_type
action union
action find_reverse
entity Q428037
relation P57
action find_reverse
entity Q588745
relation P57
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q428037'], [{'concept': 'Q838948'}, 'P57', 'Q588745']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P57 resource:Q428037 } UNION { ?g property:P57 resource:Q588745 } } . ?g rdf:type ontology:Q838948 }
Tony Bill Marco Bechis
action filter_type
action union
action find_reverse
entity Marco Bechis
relation director
action find_reverse
entity Tony Bill
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'Marco Bechis'], [{'concept': 'work of art'}, 'director', 'Tony Bill']]}
SELECT DISTINCT ?g WHERE { { { ?g property:director resource:Marco_Bechis } UNION { ?g property:director resource:Tony_Bill } } . ?g rdf:type ontology:work_of_art }
[]
work of art
Q2633310 Q7092525 Q6945055 Q1609621 Q1425483 Q580869 Q2060121 Q7532915 Q3416305 Q4445950
SYSTEM
Some of them are Olympic Garage, One Christmas, My Bodyguard, BirdWatchers, Five Corners, Flyboys, Untamed Heart, Six Weeks, Sons and Daughters, Crazy People
Q17112637 Q2633310 Q6945055 Q1609621 Q7532915 Q3416305 Q4705836 Q1425483 Q7092525 Q4315208 Q2502069 Q4445950 Q2060121 Q580869
OR((c(Q838948),P57,Q428037), (c(Q838948),P57,Q588745))
action filter_type
action union
action find_reverse
entity Q428037
relation P57
action find_reverse
entity Q588745
relation P57
type Q838948
[ANSWERS] are Marco Bechis or Tony Bill a director of
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q428037'], [{'concept': 'Q838948'}, 'P57', 'Q588745']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P57 resource:Q428037 } UNION { ?g property:P57 resource:Q588745 } } . ?g rdf:type ontology:Q838948 }
Next Door Olympic Garage My Bodyguard BirdWatchers Six Weeks Sons and Daughters Alambrado Five Corners One Christmas A Home of Our Own Beyond the Call Crazy People Untamed Heart Flyboys
Olympic Garage, One Christmas, My Bodyguard, BirdWatchers, Five Corners, Flyboys, Untamed Heart, Six Weeks, Sons and Daughters and Crazy People are Marco Bechis or Tony Bill a director of
Olympic Garage One Christmas My Bodyguard BirdWatchers Five Corners Flyboys Untamed Heart Six Weeks Sons and Daughters Crazy People
action filter_type
action union
action find_reverse
entity Marco Bechis
relation director
action find_reverse
entity Tony Bill
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'Marco Bechis'], [{'concept': 'work of art'}, 'director', 'Tony Bill']]}
SELECT DISTINCT ?g WHERE { { { ?g property:director resource:Marco_Bechis } UNION { ?g property:director resource:Tony_Bill } } . ?g rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3821650 Q7092525
P57
Q502895
USER
Which people were the director of One Christmas or The House with the Blue Shutters ?
OR((Q7092525,P57,c(Q502895)), (Q3821650,P57,c(Q502895)))
action filter_type
action union
action find
entity Q7092525
relation P57
action find
entity Q3821650
relation P57
type Q502895
{'OR': [['Q7092525', 'P57', {'concept': 'Q502895'}], ['Q3821650', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q7092525 property:P57 ?u } UNION { resource:Q3821650 property:P57 ?u } } . ?u rdf:type ontology:Q502895 }
The House with the Blue Shutters One Christmas
action filter_type
action union
action find
entity One Christmas
relation director
action find
entity The House with the Blue Shutters
relation director
type common name
{'OR': [['One Christmas', 'director', {'concept': 'common name'}], ['The House with the Blue Shutters', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { { { resource:One_Christmas property:director ?u } UNION { resource:The_House_with_the_Blue_Shutters property:director ?u } } . ?u rdf:type ontology:common_name }
[]
common name
Q818617 Q588745
SYSTEM
Beppe Cino, Tony Bill
Q818617 Q588745
OR((Q7092525,P57,c(Q502895)), (Q3821650,P57,c(Q502895)))
action filter_type
action union
action find
entity Q7092525
relation P57
action find
entity Q3821650
relation P57
type Q502895
[ANSWERS] were the director of One Christmas or The House with the Blue Shutters
{'OR': [['Q7092525', 'P57', {'concept': 'Q502895'}], ['Q3821650', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q7092525 property:P57 ?u } UNION { resource:Q3821650 property:P57 ?u } } . ?u rdf:type ontology:Q502895 }
Beppe Cino Tony Bill
Beppe Cino and Tony Bill were the director of One Christmas or The House with the Blue Shutters
Beppe Cino Tony Bill
action filter_type
action union
action find
entity One Christmas
relation director
action find
entity The House with the Blue Shutters
relation director
type common name
{'OR': [['One Christmas', 'director', {'concept': 'common name'}], ['The House with the Blue Shutters', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { { { resource:One_Christmas property:director ?u } UNION { resource:The_House_with_the_Blue_Shutters property:director ?u } } . ?u rdf:type ontology:common_name }
[]