Simple Question (Direct)
Simple Question
Q17989172
P364
Q34770
USER
Which language was used originally for the creation of Ancillary Sword ?
(Q17989172,P364,c(Q34770))
action filter_type
action find
entity Q17989172
relation P364
type Q34770
['Q17989172', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q17989172 property:P364 ?u . ?u rdf:type ontology:Q34770 }
Ancillary Sword
action filter_type
action find
entity Ancillary Sword
relation original language of work
type language
['Ancillary Sword', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Ancillary_Sword property:original_language_of_work ?u . ?u rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q17989172,P364,c(Q34770))
action filter_type
action find
entity Q17989172
relation P364
type Q34770
In [ANSWER] was used originally for the creation of Ancillary Sword
['Q17989172', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q17989172 property:P364 ?u . ?u rdf:type ontology:Q34770 }
English
In English was used originally for the creation of Ancillary Sword
English
action filter_type
action find
entity Ancillary Sword
relation original language of work
type language
['Ancillary Sword', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Ancillary_Sword property:original_language_of_work ?u . ?u rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17989172
P136
Q1792379
USER
What can be considered as category for Ancillary Sword ?
(Q17989172,P136,c(Q1792379))
action filter_type
action find
entity Q17989172
relation P136
type Q1792379
['Q17989172', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?x WHERE { resource:Q17989172 property:P136 ?x . ?x rdf:type ontology:Q1792379 }
Ancillary Sword
action filter_type
action find
entity Ancillary Sword
relation genre
type art genre
['Ancillary Sword', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?x WHERE { resource:Ancillary_Sword property:genre ?x . ?x rdf:type ontology:art_genre }
[]
art genre
Q12132683
SYSTEM
science fiction novel
Q12132683
(Q17989172,P136,c(Q1792379))
action filter_type
action find
entity Q17989172
relation P136
type Q1792379
The [ANSWER] can be considered as category for Ancillary Sword
['Q17989172', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?x WHERE { resource:Q17989172 property:P136 ?x . ?x rdf:type ontology:Q1792379 }
science fiction novel
The science fiction novel can be considered as category for Ancillary Sword
science fiction novel
action filter_type
action find
entity Ancillary Sword
relation genre
type art genre
['Ancillary Sword', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?x WHERE { resource:Ancillary_Sword property:genre ?x . ?x rdf:type ontology:art_genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7731878
Q1792379
USER
And how about The Emerald Scepter?
(Q7731878,P136,c(Q1792379))
action filter_type
action find
entity Q7731878
relation P136
type Q1792379
['Q7731878', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?i WHERE { resource:Q7731878 property:P136 ?i . ?i rdf:type ontology:Q1792379 }
The Emerald Scepter
action filter_type
action find
entity The Emerald Scepter
relation genre
type art genre
['The Emerald Scepter', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?i WHERE { resource:The_Emerald_Scepter property:genre ?i . ?i rdf:type ontology:art_genre }
[]
art genre
Q8261
SYSTEM
novel
Q8261
(Q7731878,P136,c(Q1792379))
action filter_type
action find
entity Q7731878
relation P136
type Q1792379
[ANSWER]
['Q7731878', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?i WHERE { resource:Q7731878 property:P136 ?i . ?i rdf:type ontology:Q1792379 }
novel
novel
action filter_type
action find
entity The Emerald Scepter
relation genre
type art genre
['The Emerald Scepter', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?i WHERE { resource:The_Emerald_Scepter property:genre ?i . ?i rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P123
Q2342494
USER
Which collectables were published by English ?
(c(Q2342494),P123,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P123
type Q2342494
[{'concept': 'Q2342494'}, 'P123', 'Q1860']
SELECT DISTINCT ?p WHERE { ?p property:P123 resource:Q1860 . ?p rdf:type ontology:Q2342494 }
English
action filter_type
action find_reverse
entity English
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'English']
SELECT DISTINCT ?p WHERE { ?p property:publisher resource:English . ?p rdf:type ontology:collectable }
[]
collectable
Q2471376 Q1984388 Q6692619
SYSTEM
Tutinama, Moscow 2042, Loving Natalee
Q2471376 Q1984388 Q6692619 Q7142914
(c(Q2342494),P123,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P123
type Q2342494
[ANSWERS] were published by English
[{'concept': 'Q2342494'}, 'P123', 'Q1860']
SELECT DISTINCT ?p WHERE { ?p property:P123 resource:Q1860 . ?p rdf:type ontology:Q2342494 }
Tutinama Moscow 2042 Loving Natalee Past Perfect
Tutinama, Moscow 2042 and Loving Natalee were published by English
Tutinama Moscow 2042 Loving Natalee
action filter_type
action find_reverse
entity English
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'English']
SELECT DISTINCT ?p WHERE { ?p property:publisher resource:English . ?p rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2471376 Q1984388 Q6692619
P50
Q502895
USER
Who wrote Tutinama, Moscow 2042 and Loving Natalee ?
(Q2471376,P50,c(Q502895)) (Q1984388,P50,c(Q502895)) (Q6692619,P50,c(Q502895))
action union
action filter_type
action find
entity Q2471376
relation P50
type Q502895
action filter_type
action find
entity Q1984388
relation P50
type Q502895
action filter_type
action find
entity Q6692619
relation P50
type Q502895
['Q2471376', 'P50', {'concept': 'Q502895'}] ['Q1984388', 'P50', {'concept': 'Q502895'}] ['Q6692619', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { resource:Q2471376 property:P50 ?j . ?j rdf:type ontology:Q502895 } UNION { resource:Q1984388 property:P50 ?j . ?j rdf:type ontology:Q502895 } }
Tutinama Moscow 2042 Loving Natalee
action union
action filter_type
action find
entity Tutinama
relation author
type common name
action filter_type
action find
entity Moscow 2042
relation author
type common name
action filter_type
action find
entity Loving Natalee
relation author
type common name
['Tutinama', 'author', {'concept': 'common name'}] ['Moscow 2042', 'author', {'concept': 'common name'}] ['Loving Natalee', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { resource:Tutinama property:author ?j . ?j rdf:type ontology:common_name } UNION { resource:Moscow_2042 property:author ?j . ?j rdf:type ontology:common_name } }
[]
common name
Q2031113 Q454630 Q4897515
SYSTEM
Nakhshabi, Vladimir Voinovich, Beth Holloway
Q2031113 Q454630 Q4897515
(Q2471376,P50,c(Q502895)) (Q1984388,P50,c(Q502895)) (Q6692619,P50,c(Q502895))
action union
action filter_type
action find
entity Q2471376
relation P50
type Q502895
action filter_type
action find
entity Q1984388
relation P50
type Q502895
action filter_type
action find
entity Q6692619
relation P50
type Q502895
[ANSWERS] wrote Tutinama, Moscow 2042 and Loving Natalee
['Q2471376', 'P50', {'concept': 'Q502895'}] ['Q1984388', 'P50', {'concept': 'Q502895'}] ['Q6692619', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { resource:Q2471376 property:P50 ?j . ?j rdf:type ontology:Q502895 } UNION { resource:Q1984388 property:P50 ?j . ?j rdf:type ontology:Q502895 } }
Nakhshabi Vladimir Voinovich Beth Holloway
Nakhshabi, Vladimir Voinovich and Beth Holloway wrote Tutinama, Moscow 2042 and Loving Natalee
Nakhshabi Vladimir Voinovich Beth Holloway
action union
action filter_type
action find
entity Tutinama
relation author
type common name
action filter_type
action find
entity Moscow 2042
relation author
type common name
action filter_type
action find
entity Loving Natalee
relation author
type common name
['Tutinama', 'author', {'concept': 'common name'}] ['Moscow 2042', 'author', {'concept': 'common name'}] ['Loving Natalee', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { resource:Tutinama property:author ?j . ?j rdf:type ontology:common_name } UNION { resource:Moscow_2042 property:author ?j . ?j rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2031113 Q454630 Q4897515
P21
Q290
USER
Which sexes do those people have ?
(Q2031113,P21,c(Q290)) (Q454630,P21,c(Q290)) (Q4897515,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q2031113', 'P21', {'concept': 'Q290'}] ['Q454630', 'P21', {'concept': 'Q290'}] ['Q4897515', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?o ) { ( resource:Q2031113 ) ( resource:Q454630 ) ( resource:Q4897515 ) } . ?o property:P21 ?k . ?k rdf:type ontology:Q290 }
Nakhshabi Vladimir Voinovich Beth Holloway
action filter_type
action find
entity prev_answer
relation gender
type sex
['Nakhshabi', 'gender', {'concept': 'sex'}] ['Vladimir Voinovich', 'gender', {'concept': 'sex'}] ['Beth Holloway', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?o ) { ( resource:Nakhshabi ) ( resource:Vladimir_Voinovich ) ( resource:Beth_Holloway ) } . ?o property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097 Q6581097 Q6581072
SYSTEM
male for 1st, 2nd, female for 3rd
Q6581097 Q6581097 Q6581072
(Q2031113,P21,c(Q290)) (Q454630,P21,c(Q290)) (Q4897515,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q2031113', 'P21', {'concept': 'Q290'}] ['Q454630', 'P21', {'concept': 'Q290'}] ['Q4897515', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?o ) { ( resource:Q2031113 ) ( resource:Q454630 ) ( resource:Q4897515 ) } . ?o property:P21 ?k . ?k rdf:type ontology:Q290 }
male male female
Those people have a male, male and female
male male female
action filter_type
action find
entity prev_answer
relation gender
type sex
['Nakhshabi', 'gender', {'concept': 'sex'}] ['Vladimir Voinovich', 'gender', {'concept': 'sex'}] ['Beth Holloway', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?o ) { ( resource:Nakhshabi ) ( resource:Vladimir_Voinovich ) ( resource:Beth_Holloway ) } . ?o property:gender ?k . ?k rdf:type ontology:sex }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6581072
P180
Q811430
USER
Which construction demonstrates that sex ?
(c(Q811430),P180,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P180
type Q811430
[{'concept': 'Q811430'}, 'P180', 'Q6581072']
SELECT DISTINCT ?k WHERE { ?k property:P180 resource:Q6581072 . ?k rdf:type ontology:Q811430 }
female
action filter_type
action find_reverse
entity female
relation depicts
type construction
[{'concept': 'construction'}, 'depicts', 'female']
SELECT DISTINCT ?k WHERE { ?k property:depicts resource:female . ?k rdf:type ontology:construction }
[]
construction
Clarification for simple ques.
Q6581097
SYSTEM
Did you mean male ?
Q6581097 Q6581097 Q6581072
(c(Q811430),P180,Q6581097) (c(Q811430),P180,Q6581097) (c(Q811430),P180,Q6581072)
[ANSWER]
[{'concept': 'Q811430'}, 'P180', 'Q6581097'] [{'concept': 'Q811430'}, 'P180', 'Q6581097'] [{'concept': 'Q811430'}, 'P180', 'Q6581072']
SELECT DISTINCT ?k WHERE { ?k property:P180 resource:Q6581072 . ?k rdf:type ontology:Q811430 }
male male female
Did you mean male ?
male
[{'concept': 'construction'}, 'depicts', 'male'] [{'concept': 'construction'}, 'depicts', 'male'] [{'concept': 'construction'}, 'depicts', 'female']
SELECT DISTINCT ?k WHERE { ?k property:depicts resource:female . ?k rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
USER
No, I meant female. Could you tell me the answer for that?
(c(Q811430),P180,Q6581072)
Q6581072
[{'concept': 'Q811430'}, 'P180', 'Q6581072']
[{'concept': 'construction'}, 'depicts', 'female']
[]
Q707669
SYSTEM
Bavaria
Q707669
(c(Q811430),P180,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P180
type Q811430
[ANSWER] demonstrates that sex
[{'concept': 'Q811430'}, 'P180', 'Q6581072']
SELECT DISTINCT ?k WHERE { ?k property:P180 resource:Q6581072 . ?k rdf:type ontology:Q811430 }
Bavaria
Bavaria demonstrates that sex
Bavaria
action filter_type
action find_reverse
entity female
relation depicts
type construction
[{'concept': 'construction'}, 'depicts', 'female']
SELECT DISTINCT ?k WHERE { ?k property:depicts resource:female . ?k rdf:type ontology:construction }
[]