Simple Question (Direct)
Simple Question
Q3717589
P495
Q15617994
USER
What is the origin of The Avenger ?
(Q3717589,P495,c(Q15617994))
action filter_type
action find
entity Q3717589
relation P495
type Q15617994
['Q3717589', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3717589 property:P495 ?e . ?e rdf:type ontology:Q15617994 }
The Avenger
action filter_type
action find
entity The Avenger
relation country of origin
type designation for an administrative territorial entity
['The Avenger', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:The_Avenger property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3717589,P495,c(Q15617994))
action filter_type
action find
entity Q3717589
relation P495
type Q15617994
The origin of The Avenger is in [ANSWER]
['Q3717589', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3717589 property:P495 ?e . ?e rdf:type ontology:Q15617994 }
Italy
The origin of The Avenger is in Italy
Italy
action filter_type
action find
entity The Avenger
relation country of origin
type designation for an administrative territorial entity
['The Avenger', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:The_Avenger property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3717589
P136
Q1792379
USER
What can be considered as category for The Avenger ?
(Q3717589,P136,c(Q1792379))
action filter_type
action find
entity Q3717589
relation P136
type Q1792379
['Q3717589', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { resource:Q3717589 property:P136 ?f . ?f rdf:type ontology:Q1792379 }
The Avenger
action filter_type
action find
entity The Avenger
relation genre
type art genre
['The Avenger', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { resource:The_Avenger property:genre ?f . ?f rdf:type ontology:art_genre }
[]
art genre
Q319221
SYSTEM
adventure film
Q319221
(Q3717589,P136,c(Q1792379))
action filter_type
action find
entity Q3717589
relation P136
type Q1792379
[ANSWER] can be considered as category for The Avenger
['Q3717589', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { resource:Q3717589 property:P136 ?f . ?f rdf:type ontology:Q1792379 }
adventure film
Adventure film can be considered as category for The Avenger
adventure film
action filter_type
action find
entity The Avenger
relation genre
type art genre
['The Avenger', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { resource:The_Avenger property:genre ?f . ?f rdf:type ontology:art_genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21665742
Q1792379
USER
And how about The cobbler, Betws-yn-Rhos?
(Q21665742,P136,c(Q1792379))
action filter_type
action find
entity Q21665742
relation P136
type Q1792379
['Q21665742', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?a WHERE { resource:Q21665742 property:P136 ?a . ?a rdf:type ontology:Q1792379 }
The cobbler, Betws-yn-Rhos
action filter_type
action find
entity The cobbler, Betws-yn-Rhos
relation genre
type art genre
['The cobbler, Betws-yn-Rhos', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?a WHERE { resource:The_cobbler,_Betws-yn-Rhos property:genre ?a . ?a rdf:type ontology:art_genre }
[]
art genre
Q182956 Q3381576
SYSTEM
portrait photography, monochrome photography
Q182956 Q3381576
(Q21665742,P136,c(Q1792379))
action filter_type
action find
entity Q21665742
relation P136
type Q1792379
[ANSWERS]
['Q21665742', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?a WHERE { resource:Q21665742 property:P136 ?a . ?a rdf:type ontology:Q1792379 }
portrait photography monochrome photography
portrait photography monochrome photography
action filter_type
action find
entity The cobbler, Betws-yn-Rhos
relation genre
type art genre
['The cobbler, Betws-yn-Rhos', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?a WHERE { resource:The_cobbler,_Betws-yn-Rhos property:genre ?a . ?a rdf:type ontology:art_genre }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q22677017
P136
Q1439691
USER
Do Methodistiaid Calfinaidd Sir Gaerfyrddyn have those art genres as their type ?
(Q22677017,P136,Q182956) (Q22677017,P136,Q3381576)
action is_in
entity prev_answer
action find
entity Q22677017
relation P136
['Q22677017', 'P136', 'Q182956'] ['Q22677017', 'P136', 'Q3381576']
ASK WHERE { VALUES ( ?g ) { ( resource:Q182956 ) ( resource:Q3381576 ) } . resource:Q22677017 property:P136 ?g }
Methodistiaid Calfinaidd Sir Gaerfyrddyn
action is_in
entity prev_answer
action find
entity Methodistiaid Calfinaidd Sir Gaerfyrddyn
relation genre
['Methodistiaid Calfinaidd Sir Gaerfyrddyn', 'genre', 'portrait photography'] ['Methodistiaid Calfinaidd Sir Gaerfyrddyn', 'genre', 'monochrome photography']
ASK WHERE { VALUES ( ?g ) { ( resource:portrait_photography ) ( resource:monochrome_photography ) } . resource:Methodistiaid_Calfinaidd_Sir_Gaerfyrddyn property:genre ?g }
[]
photographic technique
SYSTEM
YES
(Q22677017,P136,Q182956) (Q22677017,P136,Q3381576)
action is_in
entity prev_answer
action find
entity Q22677017
relation P136
[ANSWER]
['Q22677017', 'P136', 'Q182956'] ['Q22677017', 'P136', 'Q3381576']
ASK WHERE { VALUES ( ?g ) { ( resource:Q182956 ) ( resource:Q3381576 ) } . resource:Q22677017 property:P136 ?g }
Yes
action is_in
entity prev_answer
action find
entity Methodistiaid Calfinaidd Sir Gaerfyrddyn
relation genre
['Methodistiaid Calfinaidd Sir Gaerfyrddyn', 'genre', 'portrait photography'] ['Methodistiaid Calfinaidd Sir Gaerfyrddyn', 'genre', 'monochrome photography']
ASK WHERE { VALUES ( ?g ) { ( resource:portrait_photography ) ( resource:monochrome_photography ) } . resource:Methodistiaid_Calfinaidd_Sir_Gaerfyrddyn property:genre ?g }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3717589 Q3826252 Q21390211
P86
Q502895
USER
Is The Avenger composed by Lallo Gori and Peter Duelli ?
(Q3717589,P86,Q3826252) (Q3717589,P86,Q21390211)
action is_in
entity Q3717589
action intersection
action find_reverse
entity Q3826252
relation P86
action find_reverse
entity Q21390211
relation P86
['Q3717589', 'P86', 'Q3826252'] ['Q3717589', 'P86', 'Q21390211']
ASK WHERE { resource:Q3717589 property:P86 resource:Q3826252 . resource:Q3717589 property:P86 resource:Q21390211 }
The Avenger Lallo Gori Peter Duelli
action is_in
entity The Avenger
action intersection
action find_reverse
entity Lallo Gori
relation composer
action find_reverse
entity Peter Duelli
relation composer
['The Avenger', 'composer', 'Lallo Gori'] ['The Avenger', 'composer', 'Peter Duelli']
ASK WHERE { resource:The_Avenger property:composer resource:Lallo_Gori . resource:The_Avenger property:composer resource:Peter_Duelli }
[]
common name
SYSTEM
YES and NO respectively
(Q3717589,P86,Q3826252) (Q3717589,P86,Q21390211)
action is_in
entity Q3717589
action intersection
action find_reverse
entity Q3826252
relation P86
action find_reverse
entity Q21390211
relation P86
[ANSWER]
['Q3717589', 'P86', 'Q3826252'] ['Q3717589', 'P86', 'Q21390211']
ASK WHERE { resource:Q3717589 property:P86 resource:Q3826252 . resource:Q3717589 property:P86 resource:Q21390211 }
YES and NO respectively
action is_in
entity The Avenger
action intersection
action find_reverse
entity Lallo Gori
relation composer
action find_reverse
entity Peter Duelli
relation composer
['The Avenger', 'composer', 'Lallo Gori'] ['The Avenger', 'composer', 'Peter Duelli']
ASK WHERE { resource:The_Avenger property:composer resource:Lallo_Gori . resource:The_Avenger property:composer resource:Peter_Duelli }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3717589
P2554
Q502895
USER
Who is the production designer of The Avenger ?
(Q3717589,P2554,c(Q502895))
action filter_type
action find
entity Q3717589
relation P2554
type Q502895
['Q3717589', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q3717589 property:P2554 ?z . ?z rdf:type ontology:Q502895 }
The Avenger
action filter_type
action find
entity The Avenger
relation production designer
type common name
['The Avenger', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:The_Avenger property:production_designer ?z . ?z rdf:type ontology:common_name }
[]
common name
Q348383
SYSTEM
Demofilo Fidani
Q348383
(Q3717589,P2554,c(Q502895))
action filter_type
action find
entity Q3717589
relation P2554
type Q502895
The production designer of The Avenger is [ANSWER]
['Q3717589', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q3717589 property:P2554 ?z . ?z rdf:type ontology:Q502895 }
Demofilo Fidani
The production designer of The Avenger is Demofilo Fidani
Demofilo Fidani
action filter_type
action find
entity The Avenger
relation production designer
type common name
['The Avenger', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:The_Avenger property:production_designer ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3717589
P57
Q502895
USER
Which person served as the directed of The Avenger ?
(Q3717589,P57,c(Q502895))
action filter_type
action find
entity Q3717589
relation P57
type Q502895
['Q3717589', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q3717589 property:P57 ?g }
The Avenger
action filter_type
action find
entity The Avenger
relation director
type common name
['The Avenger', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:The_Avenger property:director ?g }
[]
common name
Q930168
SYSTEM
Rafael Romero Marchent
Q930168
(Q3717589,P57,c(Q502895))
action filter_type
action find
entity Q3717589
relation P57
type Q502895
[ANSWER] served as the directed of The Avenger
['Q3717589', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q3717589 property:P57 ?g }
Rafael Romero Marchent
Rafael Romero Marchent served as the directed of The Avenger
Rafael Romero Marchent
action filter_type
action find
entity The Avenger
relation director
type common name
['The Avenger', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:The_Avenger property:director ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P1376
Q56061
USER
Which administrative territories are the county seat for Italy ?
(c(Q56061),P1376,Q38)
action filter_type
action find_reverse
entity Q38
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q38']
SELECT DISTINCT ?e WHERE { ?e property:P1376 resource:Q38 . ?e rdf:type ontology:Q56061 }
Italy
action filter_type
action find_reverse
entity Italy
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Italy']
SELECT DISTINCT ?e WHERE { ?e property:capital_of resource:Italy . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q495 Q220
SYSTEM
Turin, Rome
Q495 Q220
(c(Q56061),P1376,Q38)
action filter_type
action find_reverse
entity Q38
relation P1376
type Q56061
[ANSWERS] are the county seat for Italy
[{'concept': 'Q56061'}, 'P1376', 'Q38']
SELECT DISTINCT ?e WHERE { ?e property:P1376 resource:Q38 . ?e rdf:type ontology:Q56061 }
Turin Rome
Turin and Rome are the county seat for Italy
Turin Rome
action filter_type
action find_reverse
entity Italy
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Italy']
SELECT DISTINCT ?e WHERE { ?e property:capital_of resource:Italy . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q495 Q220
P47
Q15617994
USER
Which administrative territories have a shared border with those administrative territories ?
(Q495,P47,c(Q15617994)) (Q220,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
['Q495', 'P47', {'concept': 'Q15617994'}] ['Q220', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?l property:P47 ?x . ?x rdf:type ontology:Q15617994 . VALUES ( ?l ) { ( resource:Q495 ) ( resource:Q220 ) } }
Turin Rome
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Turin', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Rome', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?l property:shares_border_with ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?l ) { ( resource:Turin ) ( resource:Rome ) } }
[]
designation for an administrative territorial entity
Q9311 Q242703 Q10304
SYSTEM
Collegno, Grottaferrata, Settimo Torinese
Q9549 Q9311 Q9398 Q9498 Q9474 Q9048 Q9519 Q9057 Q9574 Q2655357 Q10339 Q9024 Q10304 Q10231 Q10276 Q241693 Q242710 Q242637 Q242558 Q242513 Q191115 Q243188 Q190963 Q242926 Q243364 Q140255 Q242965 Q242645 Q242105 Q19326 Q242942 Q242661 Q242120 Q243172 Q241733 Q242703 Q243133 Q241911 Q243311 Q242998 Q243497 Q159605 Q243168
(Q495,P47,c(Q15617994)) (Q220,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS] have a shared border with those administrative territories
['Q495', 'P47', {'concept': 'Q15617994'}] ['Q220', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?l property:P47 ?x . ?x rdf:type ontology:Q15617994 . VALUES ( ?l ) { ( resource:Q495 ) ( resource:Q220 ) } }
Pecetto Torinese Collegno Grugliasco Nichelino Moncalieri Beinasco Orbassano Borgaro Torinese Pino Torinese Mappano Venaria Reale Baldissero Torinese Settimo Torinese Rivoli San Mauro Torinese Anguillara Sabazia Guidonia Montecelio Fonte Nuova Colonna, Lazio Ciampino Albano Laziale Riano, Lazio Frascati Marino, Lazio San Gregorio da Sassola Zagarolo Monte Porzio Catone Formello Castel Gandolfo Fiumicino Mentana Gallicano nel Lazio Castel San Pietro Romano Pomezia Ardea Grottaferrata Palestrina Campagnano di Roma Sacrofano Monterotondo Trevignano Romano Tivoli Poli, Lazio
Collegno, Grottaferrata and Settimo Torinese have a shared border with those administrative territories
Collegno Grottaferrata Settimo Torinese
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Turin', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Rome', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?l property:shares_border_with ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?l ) { ( resource:Turin ) ( resource:Rome ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10304
P17
Q15617994
USER
Which administrative territory does that one belong to ?
(Q10304,P17,c(Q15617994))
action filter_type
action find
entity Q10304
relation P17
type Q15617994
['Q10304', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q10304 property:P17 ?c }
Settimo Torinese
action filter_type
action find
entity Settimo Torinese
relation country
type designation for an administrative territorial entity
['Settimo Torinese', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Settimo_Torinese property:country ?c }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q242703
SYSTEM
Did you mean Grottaferrata ?
Q9311 Q242703 Q10304
(Q9311,P17,c(Q15617994)) (Q242703,P17,c(Q15617994)) (Q10304,P17,c(Q15617994))
[ANSWER]
['Q9311', 'P17', {'concept': 'Q15617994'}] ['Q242703', 'P17', {'concept': 'Q15617994'}] ['Q10304', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q10304 property:P17 ?c }
Collegno Grottaferrata Settimo Torinese
Did you mean Grottaferrata ?
Grottaferrata
['Collegno', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Grottaferrata', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Settimo Torinese', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Settimo_Torinese property:country ?c }
[]
Simple Question (Coreferenced)
USER
No, I meant Settimo Torinese. Could you tell me the answer for that?
(Q10304,P17,c(Q15617994))
Q10304
['Q10304', 'P17', {'concept': 'Q15617994'}]
['Settimo Torinese', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38
SYSTEM
Italy
Q38
(Q10304,P17,c(Q15617994))
action filter_type
action find
entity Q10304
relation P17
type Q15617994
That one belongs to the [ANSWER]
['Q10304', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q10304 property:P17 ?c }
Italy
That one belongs to the Italy
Italy
action filter_type
action find
entity Settimo Torinese
relation country
type designation for an administrative territorial entity
['Settimo Torinese', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Settimo_Torinese property:country ?c }
[]