Simple Question (Direct)
Simple Question
Q447293
P734
Q82799
USER
Which name is associated with Susan Dey ?
(Q447293,P734,c(Q82799))
action filter_type
action find
entity Q447293
relation P734
type Q82799
['Q447293', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q447293 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Susan Dey
action filter_type
action find
entity Susan Dey
relation family name
type name
['Susan Dey', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Susan_Dey property:family_name ?t . ?t rdf:type ontology:name }
[]
name
Q1158446
SYSTEM
Smith
Q1158446
(Q447293,P734,c(Q82799))
action filter_type
action find
entity Q447293
relation P734
type Q82799
[ANSWER] is associated with Susan Dey
['Q447293', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q447293 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Smith
Smith is associated with Susan Dey
Smith
action filter_type
action find
entity Susan Dey
relation family name
type name
['Susan Dey', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Susan_Dey property:family_name ?t . ?t rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q447293
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q1158446,P27,c(Q15617994))
action filter_type
action find
entity Q447293
relation P27
type Q15617994
['Q1158446', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q447293 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Susan Dey
action filter_type
action find
entity Susan Dey
relation country of citizenship
type designation for an administrative territorial entity
['Smith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Susan_Dey property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1158446,P27,c(Q15617994))
action filter_type
action find
entity Q447293
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q1158446', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q447293 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United States of America
The United States of America is the country of citizenship of that person
United States of America
action filter_type
action find
entity Susan Dey
relation country of citizenship
type designation for an administrative territorial entity
['Smith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Susan_Dey property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q842490 Q337456
P463
Q484652
USER
Is that administrative territory a member of Organisation for the Prohibition of Chemical Weapons and East African Community ?
(Q30,P463,Q842490) (Q30,P463,Q337456)
action is_in
entity Q30
action intersection
action find_reverse
entity Q842490
relation P463
action find_reverse
entity Q337456
relation P463
['Q30', 'P463', 'Q842490'] ['Q30', 'P463', 'Q337456']
ASK WHERE { resource:Q30 property:P463 resource:Q337456 . resource:Q30 property:P463 resource:Q842490 }
United States of America Organisation for the Prohibition of Chemical Weapons East African Community
action is_in
entity United States of America
action intersection
action find_reverse
entity Organisation for the Prohibition of Chemical Weapons
relation member of
action find_reverse
entity East African Community
relation member of
['United States of America', 'member of', 'Organisation for the Prohibition of Chemical Weapons'] ['United States of America', 'member of', 'East African Community']
ASK WHERE { resource:United_States_of_America property:member_of resource:East_African_Community . resource:United_States_of_America property:member_of resource:Organisation_for_the_Prohibition_of_Chemical_Weapons }
[]
international organization
SYSTEM
YES and NO respectively
(Q30,P463,Q842490) (Q30,P463,Q337456)
action is_in
entity Q30
action intersection
action find_reverse
entity Q842490
relation P463
action find_reverse
entity Q337456
relation P463
[ANSWER]
['Q30', 'P463', 'Q842490'] ['Q30', 'P463', 'Q337456']
ASK WHERE { resource:Q30 property:P463 resource:Q337456 . resource:Q30 property:P463 resource:Q842490 }
YES and NO respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Organisation for the Prohibition of Chemical Weapons
relation member of
action find_reverse
entity East African Community
relation member of
['United States of America', 'member of', 'Organisation for the Prohibition of Chemical Weapons'] ['United States of America', 'member of', 'East African Community']
ASK WHERE { resource:United_States_of_America property:member_of resource:East_African_Community . resource:United_States_of_America property:member_of resource:Organisation_for_the_Prohibition_of_Chemical_Weapons }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q447293
P161
Q15416
USER
Which television programs do Susan Dey star in ?
(c(Q15416),P161,Q447293)
action filter_type
action find_reverse
entity Q447293
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q447293']
SELECT DISTINCT ?s WHERE { ?s property:P161 resource:Q447293 . ?s rdf:type ontology:Q15416 }
Susan Dey
action filter_type
action find_reverse
entity Susan Dey
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Susan Dey']
SELECT DISTINCT ?s WHERE { ?s property:cast_member resource:Susan_Dey . ?s rdf:type ontology:television_program }
[]
television program
Q1132231 Q654652 Q4205184
SYSTEM
Little Women, The Partridge Family, Disappearance
Q654652 Q1132231 Q5017334 Q2296249 Q4878959 Q4205184 Q6544287 Q6779875
(c(Q15416),P161,Q447293)
action filter_type
action find_reverse
entity Q447293
relation P161
type Q15416
Susan Dey star in [ANSWERS]
[{'concept': 'Q15416'}, 'P161', 'Q447293']
SELECT DISTINCT ?s WHERE { ?s property:P161 resource:Q447293 . ?s rdf:type ontology:Q15416 }
The Partridge Family Little Women Cage Without a Key The Comeback Kid Bed of Lies Disappearance Lies and Lullabies Mary Jane Harper Cried Last Night
Susan Dey star in Little Women, The Partridge Family and Disappearance
Little Women The Partridge Family Disappearance
action filter_type
action find_reverse
entity Susan Dey
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Susan Dey']
SELECT DISTINCT ?s WHERE { ?s property:cast_member resource:Susan_Dey . ?s rdf:type ontology:television_program }
[]