Simple Question (Direct)
Simple Question
Q3224385
P86
Q502895
USER
Who did the compostion for Le mataf ?
(Q3224385,P86,c(Q502895))
action filter_type
action find
entity Q3224385
relation P86
type Q502895
['Q3224385', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q3224385 property:P86 ?h }
Le mataf
action filter_type
action find
entity Le mataf
relation composer
type common name
['Le mataf', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Le_mataf property:composer ?h }
[]
common name
Q921058
SYSTEM
Stelvio Cipriani
Q921058
(Q3224385,P86,c(Q502895))
action filter_type
action find
entity Q3224385
relation P86
type Q502895
[ANSWER] did the compostion for Le mataf
['Q3224385', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q3224385 property:P86 ?h }
Stelvio Cipriani
Stelvio Cipriani did the compostion for Le mataf
Stelvio Cipriani
action filter_type
action find
entity Le mataf
relation composer
type common name
['Le mataf', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Le_mataf property:composer ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q921058
P1303
Q34379
USER
Which musical instrument is played by that person ?
(Q921058,P1303,c(Q34379))
action filter_type
action find
entity Q921058
relation P1303
type Q34379
['Q921058', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q34379 . resource:Q921058 property:P1303 ?z }
Stelvio Cipriani
action filter_type
action find
entity Stelvio Cipriani
relation instrument
type musical instrument
['Stelvio Cipriani', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:musical_instrument . resource:Stelvio_Cipriani property:instrument ?z }
[]
musical instrument
Q5994
SYSTEM
piano
Q5994
(Q921058,P1303,c(Q34379))
action filter_type
action find
entity Q921058
relation P1303
type Q34379
[ANSWER] is played by that person
['Q921058', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q34379 . resource:Q921058 property:P1303 ?z }
piano
Piano is played by that person
piano
action filter_type
action find
entity Stelvio Cipriani
relation instrument
type musical instrument
['Stelvio Cipriani', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:musical_instrument . resource:Stelvio_Cipriani property:instrument ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q921058
P272
Q838948
USER
Which work of art was released from the production company named that person ?
(c(Q838948),P272,Q5994)
action filter_type
action find_reverse
entity Q921058
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q5994']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q838948 . ?p property:P272 resource:Q921058 }
Stelvio Cipriani
action filter_type
action find_reverse
entity Stelvio Cipriani
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'piano']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:work_of_art . ?p property:production_company resource:Stelvio_Cipriani }
[]
work of art
Q2409629
SYSTEM
The Anonymous Venetian
Q2409629
(c(Q838948),P272,Q5994)
action filter_type
action find_reverse
entity Q921058
relation P272
type Q838948
[ANSWER] was released from the production company named that person
[{'concept': 'Q838948'}, 'P272', 'Q5994']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q838948 . ?p property:P272 resource:Q921058 }
The Anonymous Venetian
The Anonymous Venetian was released from the production company named that person
The Anonymous Venetian
action filter_type
action find_reverse
entity Stelvio Cipriani
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'piano']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:work_of_art . ?p property:production_company resource:Stelvio_Cipriani }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3663525 Q921058
P19
Q56061
USER
Which administrative territories are the places of birth of Stelvio Cipriani or Caterina Ravaglia ?
OR((Q921058,P19,c(Q56061)), (Q3663525,P19,c(Q56061)))
action filter_type
action union
action find
entity Q921058
relation P19
action find
entity Q3663525
relation P19
type Q56061
{'OR': [['Q921058', 'P19', {'concept': 'Q56061'}], ['Q3663525', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q921058 property:P19 ?y } UNION { resource:Q3663525 property:P19 ?y } } . ?y rdf:type ontology:Q56061 }
Caterina Ravaglia Stelvio Cipriani
action filter_type
action union
action find
entity Stelvio Cipriani
relation place of birth
action find
entity Caterina Ravaglia
relation place of birth
type administrative territorial entity
{'OR': [['Stelvio Cipriani', 'place of birth', {'concept': 'administrative territorial entity'}], ['Caterina Ravaglia', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Stelvio_Cipriani property:place_of_birth ?y } UNION { resource:Caterina_Ravaglia property:place_of_birth ?y } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q13364 Q220
SYSTEM
Ravenna, Rome
Q13364 Q220
OR((Q921058,P19,c(Q56061)), (Q3663525,P19,c(Q56061)))
action filter_type
action union
action find
entity Q921058
relation P19
action find
entity Q3663525
relation P19
type Q56061
[ANSWERS] are the places of birth of Stelvio Cipriani or Caterina Ravaglia
{'OR': [['Q921058', 'P19', {'concept': 'Q56061'}], ['Q3663525', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q921058 property:P19 ?y } UNION { resource:Q3663525 property:P19 ?y } } . ?y rdf:type ontology:Q56061 }
Ravenna Rome
Ravenna and Rome are the places of birth of Stelvio Cipriani or Caterina Ravaglia
Ravenna Rome
action filter_type
action union
action find
entity Stelvio Cipriani
relation place of birth
action find
entity Caterina Ravaglia
relation place of birth
type administrative territorial entity
{'OR': [['Stelvio Cipriani', 'place of birth', {'concept': 'administrative territorial entity'}], ['Caterina Ravaglia', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Stelvio_Cipriani property:place_of_birth ?y } UNION { resource:Caterina_Ravaglia property:place_of_birth ?y } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q807002 Q2409629
P19 P915
Q56061
USER
Which administrative territories were The Anonymous Venetian filmed or were Banu Güven born at ?
OR((Q2409629,P915,c(Q56061)), (Q807002,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2409629
relation P915
action find
entity Q807002
relation P19
type Q56061
{'OR': [['Q2409629', 'P915', {'concept': 'Q56061'}], ['Q807002', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q2409629 property:P915 ?l } UNION { resource:Q807002 property:P19 ?l } } . ?l rdf:type ontology:Q56061 }
Banu Güven The Anonymous Venetian
action filter_type
action union
action find
entity The Anonymous Venetian
relation filming location
action find
entity Banu Güven
relation place of birth
type administrative territorial entity
{'OR': [['The Anonymous Venetian', 'filming location', {'concept': 'administrative territorial entity'}], ['Banu Güven', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:The_Anonymous_Venetian property:filming_location ?l } UNION { resource:Banu_Güven property:place_of_birth ?l } } . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q641 Q406
SYSTEM
Venice, Istanbul
Q641 Q406
OR((Q2409629,P915,c(Q56061)), (Q807002,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2409629
relation P915
action find
entity Q807002
relation P19
type Q56061
The Anonymous Venetian were filmed born in [ANSWERS]
{'OR': [['Q2409629', 'P915', {'concept': 'Q56061'}], ['Q807002', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q2409629 property:P915 ?l } UNION { resource:Q807002 property:P19 ?l } } . ?l rdf:type ontology:Q56061 }
Venice Istanbul
The Anonymous Venetian were filmed born in Venice and Istanbul
Venice Istanbul
action filter_type
action union
action find
entity The Anonymous Venetian
relation filming location
action find
entity Banu Güven
relation place of birth
type administrative territorial entity
{'OR': [['The Anonymous Venetian', 'filming location', {'concept': 'administrative territorial entity'}], ['Banu Güven', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:The_Anonymous_Venetian property:filming_location ?l } UNION { resource:Banu_Güven property:place_of_birth ?l } } . ?l rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q106571
P915
Q838948
USER
Were From Russia with Love filmed at those administrative territories ?
(Q106571,P915,Q641) (Q106571,P915,Q406)
action is_in
entity prev_answer
action find
entity Q106571
relation P915
['Q106571', 'P915', 'Q641'] ['Q106571', 'P915', 'Q406']
ASK WHERE { VALUES ( ?r ) { ( resource:Q641 ) ( resource:Q406 ) } . resource:Q106571 property:P915 ?r }
From Russia with Love
action is_in
entity prev_answer
action find
entity From Russia with Love
relation filming location
['From Russia with Love', 'filming location', 'Venice'] ['From Russia with Love', 'filming location', 'Istanbul']
ASK WHERE { VALUES ( ?r ) { ( resource:Venice ) ( resource:Istanbul ) } . resource:From_Russia_with_Love property:filming_location ?r }
[]
work of art
SYSTEM
YES
(Q106571,P915,Q641) (Q106571,P915,Q406)
action is_in
entity prev_answer
action find
entity Q106571
relation P915
[ANSWER]
['Q106571', 'P915', 'Q641'] ['Q106571', 'P915', 'Q406']
ASK WHERE { VALUES ( ?r ) { ( resource:Q641 ) ( resource:Q406 ) } . resource:Q106571 property:P915 ?r }
Yes
action is_in
entity prev_answer
action find
entity From Russia with Love
relation filming location
['From Russia with Love', 'filming location', 'Venice'] ['From Russia with Love', 'filming location', 'Istanbul']
ASK WHERE { VALUES ( ?r ) { ( resource:Venice ) ( resource:Istanbul ) } . resource:From_Russia_with_Love property:filming_location ?r }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q921058
P86 P495
Q838948
USER
Which works of art are composed by Stelvio Cipriani and are United States of America a country of origin of ?
AND((c(Q838948),P86,Q921058), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q921058
relation P86
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P86', 'Q921058'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q838948 . ?p property:P86 resource:Q921058 . ?p property:P495 resource:Q30 }
United States of America Stelvio Cipriani
action filter_type
action intersection
action find_reverse
entity Stelvio Cipriani
relation composer
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'composer', 'Stelvio Cipriani'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:work_of_art . ?p property:composer resource:Stelvio_Cipriani . ?p property:country_of_origin resource:United_States_of_America }
[]
work of art
Q1757053 Q1576981 Q7747101 Q10897320 Q4002525 Q884334
SYSTEM
Tentacles, Piranha II: The Spawning, The Lickerish Quartet, Rage of Honor, Beaks: The Movie, Blindman
Q1757053 Q1576981 Q7747101 Q10897320 Q4002525 Q884334
AND((c(Q838948),P86,Q921058), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q921058
relation P86
action find_reverse
entity Q30
relation P495
type Q838948
[ANSWERS] are composed by Stelvio Cipriani and are United States of America a country of origin of
{'AND': [[{'concept': 'Q838948'}, 'P86', 'Q921058'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q838948 . ?p property:P86 resource:Q921058 . ?p property:P495 resource:Q30 }
Tentacles Piranha II: The Spawning The Lickerish Quartet Rage of Honor Beaks: The Movie Blindman
Tentacles, Piranha II: The Spawning, The Lickerish Quartet, Rage of Honor, Beaks: The Movie and Blindman are composed by Stelvio Cipriani and are United States of America a country of origin of
Tentacles Piranha II: The Spawning The Lickerish Quartet Rage of Honor Beaks: The Movie Blindman
action filter_type
action intersection
action find_reverse
entity Stelvio Cipriani
relation composer
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'composer', 'Stelvio Cipriani'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:work_of_art . ?p property:composer resource:Stelvio_Cipriani . ?p property:country_of_origin resource:United_States_of_America }
[]