Simple Question (Direct)
Simple Question
Q6184611
P1196
Q1931388
USER
What situation did Jerry Warren die in ?
(Q6184611,P1196,c(Q1931388))
action filter_type
action find
entity Q6184611
relation P1196
type Q1931388
['Q6184611', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { resource:Q6184611 property:P1196 ?o . ?o rdf:type ontology:Q1931388 }
Jerry Warren
action filter_type
action find
entity Jerry Warren
relation manner of death
type cause of death
['Jerry Warren', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { resource:Jerry_Warren property:manner_of_death ?o . ?o rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q6184611,P1196,c(Q1931388))
action filter_type
action find
entity Q6184611
relation P1196
type Q1931388
Jerry Warren died of [ANSWER]
['Q6184611', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { resource:Q6184611 property:P1196 ?o . ?o rdf:type ontology:Q1931388 }
natural causes
Jerry Warren died of natural causes
natural causes
action filter_type
action find
entity Jerry Warren
relation manner of death
type cause of death
['Jerry Warren', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { resource:Jerry_Warren property:manner_of_death ?o . ?o rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6184611
P57
Q838948
USER
Which works of art are Jerry Warren a director of ?
(c(Q838948),P57,Q6184611)
action filter_type
action find_reverse
entity Q6184611
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q6184611']
SELECT DISTINCT ?f WHERE { ?f property:P57 resource:Q6184611 . ?f rdf:type ontology:Q838948 }
Jerry Warren
action filter_type
action find_reverse
entity Jerry Warren
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Jerry Warren']
SELECT DISTINCT ?f WHERE { ?f property:director resource:Jerry_Warren . ?f rdf:type ontology:work_of_art }
[]
work of art
Q7694463 Q5183645 Q13512003
SYSTEM
Teenage Zombies, Creature of the Walking Dead, Frankenstein Island
Q7774919 Q7741760 Q12124891 Q7694463 Q7703882 Q5183645 Q13512003
(c(Q838948),P57,Q6184611)
action filter_type
action find_reverse
entity Q6184611
relation P57
type Q838948
[ANSWERS] are Jerry Warren a director of
[{'concept': 'Q838948'}, 'P57', 'Q6184611']
SELECT DISTINCT ?f WHERE { ?f property:P57 resource:Q6184611 . ?f rdf:type ontology:Q838948 }
The Wild World of Batwoman The Incredible Petrified World House of the Black Death Teenage Zombies Terror of the Bloodhunters Creature of the Walking Dead Frankenstein Island
Teenage Zombies, Creature of the Walking Dead and Frankenstein Island are Jerry Warren a director of
Teenage Zombies Creature of the Walking Dead Frankenstein Island
action filter_type
action find_reverse
entity Jerry Warren
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Jerry Warren']
SELECT DISTINCT ?f WHERE { ?f property:director resource:Jerry_Warren . ?f rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5183645
P162
Q502895
USER
Who is the creator of that work of art ?
(Q5183645,P162,c(Q502895))
action filter_type
action find
entity Q5183645
relation P162
type Q502895
['Q5183645', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q5183645 property:P162 ?o . ?o rdf:type ontology:Q502895 }
Creature of the Walking Dead
action filter_type
action find
entity Creature of the Walking Dead
relation producer
type common name
['Creature of the Walking Dead', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Creature_of_the_Walking_Dead property:producer ?o . ?o rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q7694463
SYSTEM
Did you mean Teenage Zombies ?
Q7694463 Q5183645 Q13512003
(Q7694463,P162,c(Q502895)) (Q5183645,P162,c(Q502895)) (Q13512003,P162,c(Q502895))
[ANSWER]
['Q7694463', 'P162', {'concept': 'Q502895'}] ['Q5183645', 'P162', {'concept': 'Q502895'}] ['Q13512003', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q5183645 property:P162 ?o . ?o rdf:type ontology:Q502895 }
Teenage Zombies Creature of the Walking Dead Frankenstein Island
Did you mean Teenage Zombies ?
Teenage Zombies
['Teenage Zombies', 'producer', {'concept': 'common name'}] ['Creature of the Walking Dead', 'producer', {'concept': 'common name'}] ['Frankenstein Island', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Creature_of_the_Walking_Dead property:producer ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Creature of the Walking Dead. Could you tell me the answer for that?
(Q5183645,P162,c(Q502895))
Q5183645
['Q5183645', 'P162', {'concept': 'Q502895'}]
['Creature of the Walking Dead', 'producer', {'concept': 'common name'}]
[]
Q6184611
SYSTEM
Jerry Warren
Q6184611
(Q5183645,P162,c(Q502895))
action filter_type
action find
entity Q5183645
relation P162
type Q502895
The creator of that work of art is the [ANSWER]
['Q5183645', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q5183645 property:P162 ?o . ?o rdf:type ontology:Q502895 }
Jerry Warren
The creator of that work of art is the Jerry Warren
Jerry Warren
action filter_type
action find
entity Creature of the Walking Dead
relation producer
type common name
['Creature of the Walking Dead', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Creature_of_the_Walking_Dead property:producer ?o . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q838948 Q15416 Q2342494
USER
How many works of art are approximately 2 television programs and collectables based on ?
(c(Q15416)|c(Q2342494),P144,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q15416
action find_reverse_tuple_counts
relation P144
type Q838948
type Q2342494
value 2
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { FILTER ( ?j = 2 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) ?h WHERE { ?y rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } } GROUP BY ?h } }
action count
action approx
action union
action find_reverse_tuple_counts
relation based on
type work of art
type television program
action find_reverse_tuple_counts
relation based on
type work of art
type collectable
value 2
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { FILTER ( ?j = 2 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) ?h WHERE { ?y rdf:type ?s . VALUES ( ?s ) { ( ontology:collectable ) ( ontology:television_program ) } } GROUP BY ?h } }
[]
work of art television program collectable
SYSTEM
6
Q130283 Q1232349 Q631855 Q41567 Q176465 Q1137831
(c(Q15416)|c(Q2342494),P144,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q15416
action find_reverse_tuple_counts
relation P144
type Q838948
type Q2342494
value 2
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { FILTER ( ?j = 2 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) ?h WHERE { ?y rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } } GROUP BY ?h } }
Macbeth Henry IV, Part 2 Henry IV, Part 1 Hamlet Hedda Gabler Parenthood
6
action count
action approx
action union
action find_reverse_tuple_counts
relation based on
type work of art
type television program
action find_reverse_tuple_counts
relation based on
type work of art
type collectable
value 2
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { FILTER ( ?j = 2 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) ?h WHERE { ?y rdf:type ?s . VALUES ( ?s ) { ( ontology:collectable ) ( ontology:television_program ) } } GROUP BY ?h } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6184611
P162
Q838948
USER
How many works of art created Jerry Warren ?
(c(Q838948),P162,Q6184611)
action count
action filter_type
action find_reverse
entity Q6184611
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q6184611']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ontology:Q838948 . ?z property:P162 resource:Q6184611 }
Jerry Warren
action count
action filter_type
action find_reverse
entity Jerry Warren
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Jerry Warren']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ontology:work_of_art . ?z property:producer resource:Jerry_Warren }
[]
work of art
SYSTEM
5
Q7703882 Q7694463 Q5428383 Q7741760 Q5183645
(c(Q838948),P162,Q6184611)
action count
action filter_type
action find_reverse
entity Q6184611
relation P162
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P162', 'Q6184611']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ontology:Q838948 . ?z property:P162 resource:Q6184611 }
Terror of the Bloodhunters Teenage Zombies Face of the Screaming Werewolf The Incredible Petrified World Creature of the Walking Dead
5
action count
action filter_type
action find_reverse
entity Jerry Warren
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Jerry Warren']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ontology:work_of_art . ?z property:producer resource:Jerry_Warren }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6184611
P26
Q502895
USER
Who is married to that one ?
action filter_type
action find
entity Q6184611
relation P26
type Q502895
SELECT DISTINCT ?f WHERE { resource:Q6184611 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Jerry Warren
action filter_type
action find
entity Jerry Warren
relation spouse
type common name
SELECT DISTINCT ?f WHERE { resource:Jerry_Warren property:spouse ?f . ?f rdf:type ontology:common_name }
[]
common name
Q4965754
SYSTEM
Brianne Murphy
Q4965754
action filter_type
action find
entity Q6184611
relation P26
type Q502895
And [ANSWER] is married to that one
SELECT DISTINCT ?f WHERE { resource:Q6184611 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Brianne Murphy
And Brianne Murphy is married to that one
Brianne Murphy
action filter_type
action find
entity Jerry Warren
relation spouse
type common name
SELECT DISTINCT ?f WHERE { resource:Jerry_Warren property:spouse ?f . ?f rdf:type ontology:common_name }
[]