Simple Question (Direct)
Simple Question
Q2806164
P57
Q502895
USER
Who directed Gunpoint ?
(Q2806164,P57,c(Q502895))
action filter_type
action find
entity Q2806164
relation P57
type Q502895
['Q2806164', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q2806164 property:P57 ?c . ?c rdf:type ontology:Q502895 }
Gunpoint
action filter_type
action find
entity Gunpoint
relation director
type common name
['Gunpoint', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Gunpoint property:director ?c . ?c rdf:type ontology:common_name }
[]
common name
Q524386
SYSTEM
Earl Bellamy
Q524386
(Q2806164,P57,c(Q502895))
action filter_type
action find
entity Q2806164
relation P57
type Q502895
[ANSWER] directed Gunpoint
['Q2806164', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q2806164 property:P57 ?c . ?c rdf:type ontology:Q502895 }
Earl Bellamy
Earl Bellamy directed Gunpoint
Earl Bellamy
action filter_type
action find
entity Gunpoint
relation director
type common name
['Gunpoint', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Gunpoint property:director ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2806164
P2554
Q502895
USER
Who acted as the production designer of Gunpoint ?
(Q2806164,P2554,c(Q502895))
action filter_type
action find
entity Q2806164
relation P2554
type Q502895
['Q2806164', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q2806164 property:P2554 ?a . ?a rdf:type ontology:Q502895 }
Gunpoint
action filter_type
action find
entity Gunpoint
relation production designer
type common name
['Gunpoint', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Gunpoint property:production_designer ?a . ?a rdf:type ontology:common_name }
[]
common name
Q714747
SYSTEM
Henry Bumstead
Q714747
(Q2806164,P2554,c(Q502895))
action filter_type
action find
entity Q2806164
relation P2554
type Q502895
[ANSWER] acted as the production designer of Gunpoint
['Q2806164', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q2806164 property:P2554 ?a . ?a rdf:type ontology:Q502895 }
Henry Bumstead
Henry Bumstead acted as the production designer of Gunpoint
Henry Bumstead
action filter_type
action find
entity Gunpoint
relation production designer
type common name
['Gunpoint', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Gunpoint property:production_designer ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2806164
P136
Q1792379
USER
What can be considered as category for Gunpoint ?
(Q2806164,P136,c(Q1792379))
action filter_type
action find
entity Q2806164
relation P136
type Q1792379
['Q2806164', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?w WHERE { resource:Q2806164 property:P136 ?w . ?w rdf:type ontology:Q1792379 }
Gunpoint
action filter_type
action find
entity Gunpoint
relation genre
type art genre
['Gunpoint', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?w WHERE { resource:Gunpoint property:genre ?w . ?w rdf:type ontology:art_genre }
[]
art genre
Q172980
SYSTEM
Western
Q172980
(Q2806164,P136,c(Q1792379))
action filter_type
action find
entity Q2806164
relation P136
type Q1792379
And [ANSWER] can be considered as category for Gunpoint
['Q2806164', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?w WHERE { resource:Q2806164 property:P136 ?w . ?w rdf:type ontology:Q1792379 }
Western
And Western can be considered as category for Gunpoint
Western
action filter_type
action find
entity Gunpoint
relation genre
type art genre
['Gunpoint', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?w WHERE { resource:Gunpoint property:genre ?w . ?w rdf:type ontology:art_genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3828730
Q1792379
USER
And also tell me about The butterflies of Voltaire?
(Q3828730,P136,c(Q1792379))
action filter_type
action find
entity Q3828730
relation P136
type Q1792379
['Q3828730', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?v WHERE { resource:Q3828730 property:P136 ?v . ?v rdf:type ontology:Q1792379 }
The butterflies of Voltaire
action filter_type
action find
entity The butterflies of Voltaire
relation genre
type art genre
['The butterflies of Voltaire', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?v WHERE { resource:The_butterflies_of_Voltaire property:genre ?v . ?v rdf:type ontology:art_genre }
[]
art genre
Q8261
SYSTEM
novel
Q8261
(Q3828730,P136,c(Q1792379))
action filter_type
action find
entity Q3828730
relation P136
type Q1792379
[ANSWER]
['Q3828730', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?v WHERE { resource:Q3828730 property:P136 ?v . ?v rdf:type ontology:Q1792379 }
novel
novel
action filter_type
action find
entity The butterflies of Voltaire
relation genre
type art genre
['The butterflies of Voltaire', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?v WHERE { resource:The_butterflies_of_Voltaire property:genre ?v . ?v rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8261
P170
Q12737077
USER
Which occupation is credited with creation of that art genre ?
(Q8261,P170,c(Q12737077))
action filter_type
action find
entity Q8261
relation P170
type Q12737077
['Q8261', 'P170', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q8261 property:P170 ?q . ?q rdf:type ontology:Q12737077 }
novel
action filter_type
action find
entity novel
relation creator
type occupation
['novel', 'creator', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:novel property:creator ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q6625963
SYSTEM
novelist
Q6625963
(Q8261,P170,c(Q12737077))
action filter_type
action find
entity Q8261
relation P170
type Q12737077
[ANSWER] is credited with creation of that art genre
['Q8261', 'P170', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q8261 property:P170 ?q . ?q rdf:type ontology:Q12737077 }
novelist
Novelist is credited with creation of that art genre
novelist
action filter_type
action find
entity novel
relation creator
type occupation
['novel', 'creator', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:novel property:creator ?q . ?q rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6625963 Q8261
P425
Q1792379
USER
Is novel associated with the field of occupation novelist ?
(Q6625963,P425,Q8261)
action is_in
entity Q8261
action find
entity Q6625963
relation P425
['Q6625963', 'P425', 'Q8261']
ASK WHERE { resource:Q6625963 property:P425 resource:Q8261 }
novelist novel
action is_in
entity novel
action find
entity novelist
relation field of this occupation
['novelist', 'field of this occupation', 'novel']
ASK WHERE { resource:novelist property:field_of_this_occupation resource:novel }
[]
art genre
SYSTEM
YES
(Q6625963,P425,Q8261)
action is_in
entity Q8261
action find
entity Q6625963
relation P425
[ANSWER]
['Q6625963', 'P425', 'Q8261']
ASK WHERE { resource:Q6625963 property:P425 resource:Q8261 }
Yes
action is_in
entity novel
action find
entity novelist
relation field of this occupation
['novelist', 'field of this occupation', 'novel']
ASK WHERE { resource:novelist property:field_of_this_occupation resource:novel }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q714747 Q30
P27
Q15617994
USER
Is Henry Bumstead a civilian of United States of America ?
(Q714747,P27,Q30)
action is_in
entity Q30
action find
entity Q714747
relation P27
['Q714747', 'P27', 'Q30']
ASK WHERE { resource:Q714747 property:P27 resource:Q30 }
Henry Bumstead United States of America
action is_in
entity United States of America
action find
entity Henry Bumstead
relation country of citizenship
['Henry Bumstead', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Henry_Bumstead property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q714747,P27,Q30)
action is_in
entity Q30
action find
entity Q714747
relation P27
[ANSWER]
['Q714747', 'P27', 'Q30']
ASK WHERE { resource:Q714747 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Henry Bumstead
relation country of citizenship
['Henry Bumstead', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Henry_Bumstead property:country_of_citizenship resource:United_States_of_America }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6625963
P101
Q502895
USER
Who works in the domain of novelist ?
(c(Q502895),P101,Q6625963)
action filter_type
action find_reverse
entity Q6625963
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q6625963']
SELECT DISTINCT ?r WHERE { ?r property:P101 resource:Q6625963 . ?r rdf:type ontology:Q502895 }
novelist
action filter_type
action find_reverse
entity novelist
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'novelist']
SELECT DISTINCT ?r WHERE { ?r property:field_of_work resource:novelist . ?r rdf:type ontology:common_name }
[]
common name
Q134942 Q16211564 Q24763197
SYSTEM
William Somerset Maugham, Marlon James, Annette Lyon
Q134942 Q16211564 Q24763197 Q24763778
(c(Q502895),P101,Q6625963)
action filter_type
action find_reverse
entity Q6625963
relation P101
type Q502895
[ANSWERS] work in the domain of novelist
[{'concept': 'Q502895'}, 'P101', 'Q6625963']
SELECT DISTINCT ?r WHERE { ?r property:P101 resource:Q6625963 . ?r rdf:type ontology:Q502895 }
William Somerset Maugham Marlon James Annette Lyon Lisa McInerney
William Somerset Maugham, Marlon James and Annette Lyon work in the domain of novelist
William Somerset Maugham Marlon James Annette Lyon
action filter_type
action find_reverse
entity novelist
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'novelist']
SELECT DISTINCT ?r WHERE { ?r property:field_of_work resource:novelist . ?r rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q24763197
P21
Q290
USER
Which sex does that person have ?
(Q24763197,P21,c(Q290))
action filter_type
action find
entity Q24763197
relation P21
type Q290
['Q24763197', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q24763197 property:P21 ?a . ?a rdf:type ontology:Q290 }
Annette Lyon
action filter_type
action find
entity Annette Lyon
relation gender
type sex
['Annette Lyon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Annette_Lyon property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q24763197
SYSTEM
Did you mean Annette Lyon ?
Q134942 Q16211564 Q24763197
(Q134942,P21,c(Q290)) (Q16211564,P21,c(Q290)) (Q24763197,P21,c(Q290))
[ANSWER]
['Q134942', 'P21', {'concept': 'Q290'}] ['Q16211564', 'P21', {'concept': 'Q290'}] ['Q24763197', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q24763197 property:P21 ?a . ?a rdf:type ontology:Q290 }
William Somerset Maugham Marlon James Annette Lyon
Did you mean Annette Lyon ?
Annette Lyon
['William Somerset Maugham', 'gender', {'concept': 'sex'}] ['Marlon James', 'gender', {'concept': 'sex'}] ['Annette Lyon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Annette_Lyon property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
Yes
(Q24763197,P21,c(Q290))
['Q24763197', 'P21', {'concept': 'Q290'}]
['Annette Lyon', 'gender', {'concept': 'sex'}]
[]
Q6581072
SYSTEM
female
Q6581072
(Q24763197,P21,c(Q290))
action filter_type
action find
entity Q24763197
relation P21
type Q290
That person has a [ANSWER]
['Q24763197', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q24763197 property:P21 ?a . ?a rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Annette Lyon
relation gender
type sex
['Annette Lyon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Annette_Lyon property:gender ?a . ?a rdf:type ontology:sex }
[]