Simple Question (Direct)
Simple Question
Q7447989
P276
Q22698
USER
Which park is the location of Self-Portrait with Model at Bergamo ?
(Q7447989,P276,c(Q22698))
action filter_type
action find
entity Q7447989
relation P276
type Q22698
['Q7447989', 'P276', {'concept': 'Q22698'}]
SELECT DISTINCT ?y WHERE { resource:Q7447989 property:P276 ?y . ?y rdf:type ontology:Q22698 }
Self-Portrait with Model at Bergamo
action filter_type
action find
entity Self-Portrait with Model at Bergamo
relation location
type park
['Self-Portrait with Model at Bergamo', 'location', {'concept': 'park'}]
SELECT DISTINCT ?y WHERE { resource:Self-Portrait_with_Model_at_Bergamo property:location ?y . ?y rdf:type ontology:park }
[]
park
Q1620553
SYSTEM
Hirshhorn Museum and Sculpture Garden
Q1620553
(Q7447989,P276,c(Q22698))
action filter_type
action find
entity Q7447989
relation P276
type Q22698
[ANSWER] is the location of Self-Portrait with Model at Bergamo
['Q7447989', 'P276', {'concept': 'Q22698'}]
SELECT DISTINCT ?y WHERE { resource:Q7447989 property:P276 ?y . ?y rdf:type ontology:Q22698 }
Hirshhorn Museum and Sculpture Garden
Hirshhorn Museum and Sculpture Garden is the location of Self-Portrait with Model at Bergamo
Hirshhorn Museum and Sculpture Garden
action filter_type
action find
entity Self-Portrait with Model at Bergamo
relation location
type park
['Self-Portrait with Model at Bergamo', 'location', {'concept': 'park'}]
SELECT DISTINCT ?y WHERE { resource:Self-Portrait_with_Model_at_Bergamo property:location ?y . ?y rdf:type ontology:park }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1620553
P136
Q483394
USER
What can be considered as category for that park ?
(Q1620553,P136,c(Q483394))
action filter_type
action find
entity Q1620553
relation P136
type Q483394
['Q1620553', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?i WHERE { resource:Q1620553 property:P136 ?i . ?i rdf:type ontology:Q483394 }
Hirshhorn Museum and Sculpture Garden
action filter_type
action find
entity Hirshhorn Museum and Sculpture Garden
relation genre
type genre
['Hirshhorn Museum and Sculpture Garden', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?i WHERE { resource:Hirshhorn_Museum_and_Sculpture_Garden property:genre ?i . ?i rdf:type ontology:genre }
[]
genre
Q557141
SYSTEM
public art
Q557141
(Q1620553,P136,c(Q483394))
action filter_type
action find
entity Q1620553
relation P136
type Q483394
[ANSWER] can be considered as category for that park
['Q1620553', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?i WHERE { resource:Q1620553 property:P136 ?i . ?i rdf:type ontology:Q483394 }
public art
Public art can be considered as category for that park
public art
action filter_type
action find
entity Hirshhorn Museum and Sculpture Garden
relation genre
type genre
['Hirshhorn Museum and Sculpture Garden', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?i WHERE { resource:Hirshhorn_Museum_and_Sculpture_Garden property:genre ?i . ?i rdf:type ontology:genre }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q557141 Q5349790
P136
Q838948
USER
Does Einstein Girl have that one as genre ?
(Q5349790,P136,Q557141)
action is_in
entity Q5349790
action find
entity Q557141
relation P136
['Q5349790', 'P136', 'Q557141']
ASK WHERE { resource:Q557141 property:P136 resource:Q5349790 }
public art Einstein Girl
action is_in
entity Einstein Girl
action find
entity public art
relation genre
['Einstein Girl', 'genre', 'public art']
ASK WHERE { resource:public_art property:genre resource:Einstein_Girl }
[]
work of art
SYSTEM
NO
(Q5349790,P136,Q557141)
action is_in
entity Q5349790
action find
entity Q557141
relation P136
[ANSWER]
['Q5349790', 'P136', 'Q557141']
ASK WHERE { resource:Q557141 property:P136 resource:Q5349790 }
No
action is_in
entity Einstein Girl
action find
entity public art
relation genre
['Einstein Girl', 'genre', 'public art']
ASK WHERE { resource:public_art property:genre resource:Einstein_Girl }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7447989 Q2662725 Q264790
P495
Q15617994
USER
Does Self-Portrait with Model at Bergamo have Ain Shams and Reichenberg as its place of origin ?
(Q7447989,P495,Q2662725) (Q7447989,P495,Q264790)
action is_in
entity Q7447989
action intersection
action find_reverse
entity Q2662725
relation P495
action find_reverse
entity Q264790
relation P495
['Q7447989', 'P495', 'Q2662725'] ['Q7447989', 'P495', 'Q264790']
ASK WHERE { resource:Q7447989 property:P495 resource:Q2662725 . resource:Q7447989 property:P495 resource:Q264790 }
Self-Portrait with Model at Bergamo Ain Shams Reichenberg
action is_in
entity Self-Portrait with Model at Bergamo
action intersection
action find_reverse
entity Ain Shams
relation country of origin
action find_reverse
entity Reichenberg
relation country of origin
['Self-Portrait with Model at Bergamo', 'country of origin', 'Ain Shams'] ['Self-Portrait with Model at Bergamo', 'country of origin', 'Reichenberg']
ASK WHERE { resource:Self-Portrait_with_Model_at_Bergamo property:country_of_origin resource:Ain_Shams . resource:Self-Portrait_with_Model_at_Bergamo property:country_of_origin resource:Reichenberg }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7447989,P495,Q2662725) (Q7447989,P495,Q264790)
action is_in
entity Q7447989
action intersection
action find_reverse
entity Q2662725
relation P495
action find_reverse
entity Q264790
relation P495
[ANSWER]
['Q7447989', 'P495', 'Q2662725'] ['Q7447989', 'P495', 'Q264790']
ASK WHERE { resource:Q7447989 property:P495 resource:Q2662725 . resource:Q7447989 property:P495 resource:Q264790 }
No
action is_in
entity Self-Portrait with Model at Bergamo
action intersection
action find_reverse
entity Ain Shams
relation country of origin
action find_reverse
entity Reichenberg
relation country of origin
['Self-Portrait with Model at Bergamo', 'country of origin', 'Ain Shams'] ['Self-Portrait with Model at Bergamo', 'country of origin', 'Reichenberg']
ASK WHERE { resource:Self-Portrait_with_Model_at_Bergamo property:country_of_origin resource:Ain_Shams . resource:Self-Portrait_with_Model_at_Bergamo property:country_of_origin resource:Reichenberg }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q926577 Q2662725
P17
Q15617994
USER
Which administrative territories do Ain Shams or Col Collon belong to ?
OR((Q2662725,P17,c(Q15617994)), (Q926577,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2662725
relation P17
action find
entity Q926577
relation P17
type Q15617994
{'OR': [['Q2662725', 'P17', {'concept': 'Q15617994'}], ['Q926577', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q2662725 property:P17 ?h } UNION { resource:Q926577 property:P17 ?h } } }
Col Collon Ain Shams
action filter_type
action union
action find
entity Ain Shams
relation country
action find
entity Col Collon
relation country
type designation for an administrative territorial entity
{'OR': [['Ain Shams', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Col Collon', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Ain_Shams property:country ?h } UNION { resource:Col_Collon property:country ?h } } }
[]
designation for an administrative territorial entity
Q39 Q38 Q79
SYSTEM
Switzerland, Italy, Egypt
Q39 Q38 Q79
OR((Q2662725,P17,c(Q15617994)), (Q926577,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2662725
relation P17
action find
entity Q926577
relation P17
type Q15617994
Ain Shams or Col Collon belong to [ANSWERS]
{'OR': [['Q2662725', 'P17', {'concept': 'Q15617994'}], ['Q926577', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q2662725 property:P17 ?h } UNION { resource:Q926577 property:P17 ?h } } }
Switzerland Italy Egypt
Ain Shams or Col Collon belong to Switzerland, Italy and Egypt
Switzerland Italy Egypt
action filter_type
action union
action find
entity Ain Shams
relation country
action find
entity Col Collon
relation country
type designation for an administrative territorial entity
{'OR': [['Ain Shams', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Col Collon', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Ain_Shams property:country ?h } UNION { resource:Col_Collon property:country ?h } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q79
P915
Q838948
USER
Which works of art had that administrative territory as their location of filming ?
(c(Q838948),P915,Q79)
action filter_type
action find_reverse
entity Q79
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q79']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q838948 . ?w property:P915 resource:Q79 }
Egypt
action filter_type
action find_reverse
entity Egypt
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Egypt']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:work_of_art . ?w property:filming_location resource:Egypt }
[]
work of art
Clarification for simple ques.
Q39
SYSTEM
Did you mean Switzerland ?
Q39 Q38 Q79
(c(Q838948),P915,Q39) (c(Q838948),P915,Q38) (c(Q838948),P915,Q79)
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q39'] [{'concept': 'Q838948'}, 'P915', 'Q38'] [{'concept': 'Q838948'}, 'P915', 'Q79']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q838948 . ?w property:P915 resource:Q79 }
Switzerland Italy Egypt
Did you mean Switzerland ?
Switzerland
[{'concept': 'work of art'}, 'filming location', 'Switzerland'] [{'concept': 'work of art'}, 'filming location', 'Italy'] [{'concept': 'work of art'}, 'filming location', 'Egypt']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:work_of_art . ?w property:filming_location resource:Egypt }
[]
Simple Question (Coreferenced)
USER
No, I meant Egypt. Could you tell me the answer for that?
(c(Q838948),P915,Q79)
Q79
[{'concept': 'Q838948'}, 'P915', 'Q79']
[{'concept': 'work of art'}, 'filming location', 'Egypt']
[]
Q923925 Q320423 Q1077160
SYSTEM
Sue X, The Spy Who Loved Me, Gallipoli
Q3012855 Q1025973 Q917254 Q320423 Q6875617 Q1077160 Q6182136 Q3545901 Q541079 Q1266876 Q1757452 Q18708938 Q18708939 Q683957 Q1059914 Q923925 Q3549415 Q16251439 Q1310362 Q191100 Q3764571 Q2750096 Q18708940 Q3067642 Q1740603 Q3666921 Q12126689 Q380349 Q1690061 Q15052282 Q1467237 Q18709044
(c(Q838948),P915,Q79)
action filter_type
action find_reverse
entity Q79
relation P915
type Q838948
Sue X, The Spy Who loved Me and Gallipoli had that administrative territory as their location of filming
[{'concept': 'Q838948'}, 'P915', 'Q79']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q838948 . ?w property:P915 resource:Q79 }
The Slave Cairo Time Fair Game The Spy Who Loved Me Mishor Rohoshyo Gallipoli Jericho 008: Operation Exterminate Jumper Across the Desert The Awakening Egypt as it Was in the Time of Moses Egypt the Mysterious The Snows of Kilimanjaro Death on the Nile Sue X Despoinis eton 39 A Hologram for the King Pharaoh Transformers: Revenge of the Fallen Yogi Whatever Lola Wants Egyptian Sports Zindagi Na Milegi Dobara Khartoum Where in the World Is Osama Bin Laden? Of Time, Tombs and Treasures The Extraordinary Adventures of Adèle Blanc-Sec Land of the Pharaohs At Night, They Dance Ruby Cairo A Pet of the Cairo Zoo
Sue X, The Spy Who loved Me and Gallipoli had that administrative territory as their location of filming
Sue X The Spy Who Loved Me Gallipoli
action filter_type
action find_reverse
entity Egypt
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Egypt']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:work_of_art . ?w property:filming_location resource:Egypt }
[]
Clarification
Simple Question|Single Entity|Indirect
Q320423
P161
Q502895
USER
Who starred in that work of art ?
(Q320423,P161,c(Q502895))
action filter_type
action find
entity Q320423
relation P161
type Q502895
['Q320423', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q320423 property:P161 ?j . ?j rdf:type ontology:Q502895 }
The Spy Who Loved Me
action filter_type
action find
entity The Spy Who Loved Me
relation cast member
type common name
['The Spy Who Loved Me', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:The_Spy_Who_Loved_Me property:cast_member ?j . ?j rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1077160
SYSTEM
Did you mean Gallipoli ?
Q923925 Q320423 Q1077160
(Q923925,P161,c(Q502895)) (Q320423,P161,c(Q502895)) (Q1077160,P161,c(Q502895))
[ANSWER]
['Q923925', 'P161', {'concept': 'Q502895'}] ['Q320423', 'P161', {'concept': 'Q502895'}] ['Q1077160', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q320423 property:P161 ?j . ?j rdf:type ontology:Q502895 }
Sue X The Spy Who Loved Me Gallipoli
Did you mean Gallipoli ?
Gallipoli
['Sue X', 'cast member', {'concept': 'common name'}] ['The Spy Who Loved Me', 'cast member', {'concept': 'common name'}] ['Gallipoli', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:The_Spy_Who_Loved_Me property:cast_member ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant The Spy Who Loved Me. Could you tell me the answer for that?
(Q320423,P161,c(Q502895))
Q320423
['Q320423', 'P161', {'concept': 'Q502895'}]
['The Spy Who Loved Me', 'cast member', {'concept': 'common name'}]
[]
Q57584 Q134333 Q1506941
SYSTEM
Curd Jürgens, Roger Moore, George Baker
Q1506941 Q674451 Q3293085 Q460578 Q134333 Q29092 Q2369237 Q233993 Q376140 Q2373778 Q205868 Q510769 Q94007 Q272386 Q1148690 Q57584 Q167094 Q355969 Q323452 Q979285 Q1935923 Q3875964 Q1391469 Q232860 Q630728 Q61552 Q1234562 Q3881620
(Q320423,P161,c(Q502895))
action filter_type
action find
entity Q320423
relation P161
type Q502895
[ANSWERS]
['Q320423', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q320423 property:P161 ?j . ?j rdf:type ontology:Q502895 }
George Baker Shane Rimmer Marilyn Galsworthy Michael G. Wilson Roger Moore Desmond Llewelyn Jeremy Bulloch Barbara Bach Richard Kiel Sydney Tafler Vernon Dobtcheff Robert Brown Eva Rueber-Staier Caroline Munro Cyril Shaps Curd Jürgens Michael Billington Bryan Marshall Bernard Lee Nadim Sawalha Milton Reid Nicholas Campbell Valerie Leon Lois Maxwell Geoffrey Keen Walter Gotell Edward de Souza Olga Bisera
Curd Jürgens Roger Moore George Baker
action filter_type
action find
entity The Spy Who Loved Me
relation cast member
type common name
['The Spy Who Loved Me', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:The_Spy_Who_Loved_Me property:cast_member ?j . ?j rdf:type ontology:common_name }
[]