Simple Question (Direct)
Simple Question
Q12132392
P136
Q1792379
USER
What can be considered as category for Waterfront ?
(Q12132392,P136,c(Q1792379))
action filter_type
action find
entity Q12132392
relation P136
type Q1792379
['Q12132392', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?l WHERE { resource:Q12132392 property:P136 ?l . ?l rdf:type ontology:Q1792379 }
Waterfront
action filter_type
action find
entity Waterfront
relation genre
type art genre
['Waterfront', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?l WHERE { resource:Waterfront property:genre ?l . ?l rdf:type ontology:art_genre }
[]
art genre
Q959790 Q130232
SYSTEM
crime film, drama film
Q959790 Q130232
(Q12132392,P136,c(Q1792379))
action filter_type
action find
entity Q12132392
relation P136
type Q1792379
The [ANSWERS] can be considered as category for Waterfront
['Q12132392', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?l WHERE { resource:Q12132392 property:P136 ?l . ?l rdf:type ontology:Q1792379 }
crime film drama film
The crime film and drama film can be considered as category for Waterfront
crime film drama film
action filter_type
action find
entity Waterfront
relation genre
type art genre
['Waterfront', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?l WHERE { resource:Waterfront property:genre ?l . ?l rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q959790 Q130232
P136
Q2342494
USER
Which collectables have crime film and drama film as genre ?
(c(Q2342494),P136,Q959790) (c(Q2342494),P136,Q130232)
action union
action filter_type
action find_reverse
entity Q959790
relation P136
type Q2342494
action filter_type
action find_reverse
entity Q130232
relation P136
type Q2342494
[{'concept': 'Q2342494'}, 'P136', 'Q959790'] [{'concept': 'Q2342494'}, 'P136', 'Q130232']
SELECT DISTINCT ?k WHERE { VALUES ( ?c ) { ( resource:Q130232 ) ( resource:Q959790 ) } . ?k property:P136 ?c }
crime film drama film
action union
action filter_type
action find_reverse
entity crime film
relation genre
type collectable
action filter_type
action find_reverse
entity drama film
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'crime film'] [{'concept': 'collectable'}, 'genre', 'drama film']
SELECT DISTINCT ?k WHERE { VALUES ( ?c ) { ( resource:drama_film ) ( resource:crime_film ) } . ?k property:genre ?c }
[]
collectable
Q4127192 Q2530902
SYSTEM
Inherent Vice, The Subterraneans
Q4127192 Q2530902
(c(Q2342494),P136,Q959790) (c(Q2342494),P136,Q130232)
action union
action filter_type
action find_reverse
entity Q959790
relation P136
type Q2342494
action filter_type
action find_reverse
entity Q130232
relation P136
type Q2342494
[ANSWERS] have crime film and drama film as genre
[{'concept': 'Q2342494'}, 'P136', 'Q959790'] [{'concept': 'Q2342494'}, 'P136', 'Q130232']
SELECT DISTINCT ?k WHERE { VALUES ( ?c ) { ( resource:Q130232 ) ( resource:Q959790 ) } . ?k property:P136 ?c }
Inherent Vice The Subterraneans
Inherent Vice and The Subterraneans have crime film and drama film as genre
Inherent Vice The Subterraneans
action union
action filter_type
action find_reverse
entity crime film
relation genre
type collectable
action filter_type
action find_reverse
entity drama film
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'crime film'] [{'concept': 'collectable'}, 'genre', 'drama film']
SELECT DISTINCT ?k WHERE { VALUES ( ?c ) { ( resource:drama_film ) ( resource:crime_film ) } . ?k property:genre ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2530902
P57
Q502895
USER
Who was the director of The Subterraneans ?
(Q2530902,P57,c(Q502895))
action filter_type
action find
entity Q2530902
relation P57
type Q502895
['Q2530902', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q2530902 property:P57 ?t . ?t rdf:type ontology:Q502895 }
The Subterraneans
action filter_type
action find
entity The Subterraneans
relation director
type common name
['The Subterraneans', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:The_Subterraneans property:director ?t . ?t rdf:type ontology:common_name }
[]
common name
Q719684
SYSTEM
Ranald MacDougall
Q719684
(Q2530902,P57,c(Q502895))
action filter_type
action find
entity Q2530902
relation P57
type Q502895
The director of The Subterraneans was Charles [ANSWER]
['Q2530902', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q2530902 property:P57 ?t . ?t rdf:type ontology:Q502895 }
Ranald MacDougall
The director of The Subterraneans was Charles Ranald MacDougall
Ranald MacDougall
action filter_type
action find
entity The Subterraneans
relation director
type common name
['The Subterraneans', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:The_Subterraneans property:director ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16979149
Q502895
USER
And also tell me about Goodbye Kathmandu?
(Q16979149,P57,c(Q502895))
action filter_type
action find
entity Q16979149
relation P57
type Q502895
['Q16979149', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q16979149 property:P57 ?h . ?h rdf:type ontology:Q502895 }
Goodbye Kathmandu
action filter_type
action find
entity Goodbye Kathmandu
relation director
type common name
['Goodbye Kathmandu', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Goodbye_Kathmandu property:director ?h . ?h rdf:type ontology:common_name }
[]
common name
Q6956921
SYSTEM
Nabin Subba
Q6956921
(Q16979149,P57,c(Q502895))
action filter_type
action find
entity Q16979149
relation P57
type Q502895
[ANSWER]
['Q16979149', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q16979149 property:P57 ?h . ?h rdf:type ontology:Q502895 }
Nabin Subba
Nabin Subba
action filter_type
action find
entity Goodbye Kathmandu
relation director
type common name
['Goodbye Kathmandu', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Goodbye_Kathmandu property:director ?h . ?h rdf:type ontology:common_name }
[]