Simple Question (Direct)
Simple Question
Q547794
P19
Q56061
USER
Which administrative territory was Richard Ford born at ?
(Q547794,P19,c(Q56061))
action filter_type
action find
entity Q547794
relation P19
type Q56061
['Q547794', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q547794 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Richard Ford
action filter_type
action find
entity Richard Ford
relation place of birth
type administrative territorial entity
['Richard Ford', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Richard_Ford property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q28198
SYSTEM
Jackson
Q28198
(Q547794,P19,c(Q56061))
action filter_type
action find
entity Q547794
relation P19
type Q56061
Richard Ford was born in [ANSWER]
['Q547794', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q547794 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Jackson
Richard Ford was born in Jackson
Jackson
action filter_type
action find
entity Richard Ford
relation place of birth
type administrative territorial entity
['Richard Ford', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Richard_Ford property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q547794
P58
Q838948
USER
Which work of art is Richard Ford a screenwriter of ?
(c(Q838948),P58,Q547794)
action filter_type
action find_reverse
entity Q547794
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q547794']
SELECT DISTINCT ?q WHERE { ?q property:P58 resource:Q547794 . ?q rdf:type ontology:Q838948 }
Richard Ford
action filter_type
action find_reverse
entity Richard Ford
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Richard Ford']
SELECT DISTINCT ?q WHERE { ?q property:screenwriter resource:Richard_Ford . ?q rdf:type ontology:work_of_art }
[]
work of art
Q4410478
SYSTEM
Bright Angel
Q4410478
(c(Q838948),P58,Q547794)
action filter_type
action find_reverse
entity Q547794
relation P58
type Q838948
The [ANSWER] is Richard Ford a screenwriter of
[{'concept': 'Q838948'}, 'P58', 'Q547794']
SELECT DISTINCT ?q WHERE { ?q property:P58 resource:Q547794 . ?q rdf:type ontology:Q838948 }
Bright Angel
The Bright Angel is Richard Ford a screenwriter of
Bright Angel
action filter_type
action find_reverse
entity Richard Ford
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Richard Ford']
SELECT DISTINCT ?q WHERE { ?q property:screenwriter resource:Richard_Ford . ?q rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q547794
P50
Q2342494
USER
Which collectables are written by Richard Ford ?
(c(Q2342494),P50,Q547794)
action filter_type
action find_reverse
entity Q547794
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q547794']
SELECT DISTINCT ?z WHERE { ?z property:P50 resource:Q547794 . ?z rdf:type ontology:Q2342494 }
Richard Ford
action filter_type
action find_reverse
entity Richard Ford
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Richard Ford']
SELECT DISTINCT ?z WHERE { ?z property:author resource:Richard_Ford . ?z rdf:type ontology:collectable }
[]
collectable
Q387961 Q1214239 Q7766048
SYSTEM
Independence Day, The Lay of the Land, The Sportswriter
Q387961 Q1214239 Q7354687 Q13265795 Q7766048
(c(Q2342494),P50,Q547794)
action filter_type
action find_reverse
entity Q547794
relation P50
type Q2342494
[ANSWERS] are written by Richard Ford
[{'concept': 'Q2342494'}, 'P50', 'Q547794']
SELECT DISTINCT ?z WHERE { ?z property:P50 resource:Q547794 . ?z rdf:type ontology:Q2342494 }
Independence Day The Lay of the Land Rock Springs Canada The Sportswriter
Independence Day, The Lay of the Land and The Sportswriter are written by Richard Ford
Independence Day The Lay of the Land The Sportswriter
action filter_type
action find_reverse
entity Richard Ford
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Richard Ford']
SELECT DISTINCT ?z WHERE { ?z property:author resource:Richard_Ford . ?z rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q387961
P136
Q1792379
USER
What can be considered as category for Independence Day ?
(Q387961,P136,c(Q1792379))
action filter_type
action find
entity Q387961
relation P136
type Q1792379
['Q387961', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?x WHERE { resource:Q387961 property:P136 ?x . ?x rdf:type ontology:Q1792379 }
Independence Day
action filter_type
action find
entity Independence Day
relation genre
type art genre
['Independence Day', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?x WHERE { resource:Independence_Day property:genre ?x . ?x rdf:type ontology:art_genre }
[]
art genre
Q8261
SYSTEM
novel
Q8261
(Q387961,P136,c(Q1792379))
action filter_type
action find
entity Q387961
relation P136
type Q1792379
The [ANSWER] can be considered as category for Independence Day
['Q387961', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?x WHERE { resource:Q387961 property:P136 ?x . ?x rdf:type ontology:Q1792379 }
novel
The novel can be considered as category for Independence Day
novel
action filter_type
action find
entity Independence Day
relation genre
type art genre
['Independence Day', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?x WHERE { resource:Independence_Day property:genre ?x . ?x rdf:type ontology:art_genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3280050
Q1792379
USER
And what about Untamed?
(Q3280050,P136,c(Q1792379))
action filter_type
action find
entity Q3280050
relation P136
type Q1792379
['Q3280050', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { resource:Q3280050 property:P136 ?k . ?k rdf:type ontology:Q1792379 }
Untamed
action filter_type
action find
entity Untamed
relation genre
type art genre
['Untamed', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { resource:Untamed property:genre ?k . ?k rdf:type ontology:art_genre }
[]
art genre
Q1233720 Q10992055 Q193606
SYSTEM
young adult literature, fantasy novel, horror literature
Q10992055 Q1233720 Q193606 Q1425557 Q858330
(Q3280050,P136,c(Q1792379))
action filter_type
action find
entity Q3280050
relation P136
type Q1792379
[ANSWERS]
['Q3280050', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { resource:Q3280050 property:P136 ?k . ?k rdf:type ontology:Q1792379 }
fantasy novel young adult literature horror literature vampire literature romance novel
young adult literature fantasy novel horror literature
action filter_type
action find
entity Untamed
relation genre
type art genre
['Untamed', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { resource:Untamed property:genre ?k . ?k rdf:type ontology:art_genre }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6136778
P136
Q2342494
USER
Do Symbolae Antillanae have those ones as genre ?
(Q6136778,P136,Q1233720) (Q6136778,P136,Q10992055) (Q6136778,P136,Q193606)
action is_in
entity prev_answer
action find
entity Q6136778
relation P136
['Q6136778', 'P136', 'Q1233720'] ['Q6136778', 'P136', 'Q10992055'] ['Q6136778', 'P136', 'Q193606']
ASK WHERE { resource:Q6136778 property:P136 ?u . VALUES ( ?u ) { ( resource:Q10992055 ) ( resource:Q1233720 ) ( resource:Q193606 ) } }
Symbolae Antillanae
action is_in
entity prev_answer
action find
entity Symbolae Antillanae
relation genre
['Symbolae Antillanae', 'genre', 'young adult literature'] ['Symbolae Antillanae', 'genre', 'fantasy novel'] ['Symbolae Antillanae', 'genre', 'horror literature']
ASK WHERE { resource:Symbolae_Antillanae property:genre ?u . VALUES ( ?u ) { ( resource:fantasy_novel ) ( resource:young_adult_literature ) ( resource:horror_literature ) } }
[]
collectable
SYSTEM
NO
(Q6136778,P136,Q1233720) (Q6136778,P136,Q10992055) (Q6136778,P136,Q193606)
action is_in
entity prev_answer
action find
entity Q6136778
relation P136
[ANSWER]
['Q6136778', 'P136', 'Q1233720'] ['Q6136778', 'P136', 'Q10992055'] ['Q6136778', 'P136', 'Q193606']
ASK WHERE { resource:Q6136778 property:P136 ?u . VALUES ( ?u ) { ( resource:Q10992055 ) ( resource:Q1233720 ) ( resource:Q193606 ) } }
No
action is_in
entity prev_answer
action find
entity Symbolae Antillanae
relation genre
['Symbolae Antillanae', 'genre', 'young adult literature'] ['Symbolae Antillanae', 'genre', 'fantasy novel'] ['Symbolae Antillanae', 'genre', 'horror literature']
ASK WHERE { resource:Symbolae_Antillanae property:genre ?u . VALUES ( ?u ) { ( resource:fantasy_novel ) ( resource:young_adult_literature ) ( resource:horror_literature ) } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q6581097 Q1233720
P136 P21
Q502895
USER
Which people as young adult literature as their class and do not have gender of male ?
AND((c(Q502895),P136,Q1233720), NOT((c(Q502895),P21,Q6581097)))
action filter_type
action difference
action find_reverse
entity Q1233720
relation P136
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P136', 'Q1233720'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581097']]}]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P136 resource:Q1233720 . FILTER NOT EXISTS { ?x property:P21 resource:Q6581097 } }
male young adult literature
action filter_type
action difference
action find_reverse
entity young adult literature
relation genre
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'genre', 'young adult literature'], {'NOT': [[{'concept': 'common name'}, 'gender', 'male']]}]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:genre resource:young_adult_literature . FILTER NOT EXISTS { ?x property:gender resource:male } }
[]
common name
Q3572044 Q328212 Q2975082 Q1897215 Q25892138 Q18227997 Q21914340 Q6148716 Q2603691 Q235364
SYSTEM
Some of them are Yaël Hassan, Veronica Roth, Claire Mazard, Marie-Sabine Roger, Myriam Chirousse, Holly Smale, Denise Rozerot, Jan Coffey, Melissa de la Cruz, Cassandra Clare
Q18227997 Q3572044 Q1897215 Q2975082 Q2603691 Q21064584 Q6148716 Q235364 Q328212 Q21914340 Q25892138 Q20005032
AND((c(Q502895),P136,Q1233720), NOT((c(Q502895),P21,Q6581097)))
action filter_type
action difference
action find_reverse
entity Q1233720
relation P136
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P136', 'Q1233720'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581097']]}]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P136 resource:Q1233720 . FILTER NOT EXISTS { ?x property:P21 resource:Q6581097 } }
Holly Smale Yaël Hassan Marie-Sabine Roger Claire Mazard Melissa de la Cruz Baatarsuren Shuudertsetseg Jan Coffey Cassandra Clare Veronica Roth Denise Rozerot Myriam Chirousse Laura Baix
Yaël Hassan Veronica Roth Claire Mazard Marie-Sabine Roger Myriam Chirousse Holly Smale Denise Rozerot Jan Coffey Melissa de la Cruz Cassandra Clare
action filter_type
action difference
action find_reverse
entity young adult literature
relation genre
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'genre', 'young adult literature'], {'NOT': [[{'concept': 'common name'}, 'gender', 'male']]}]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:genre resource:young_adult_literature . FILTER NOT EXISTS { ?x property:gender resource:male } }
[]