Simple Question (Direct)
Simple Question
Q709595
P119
Q43229
USER
Which organization is the tomb of Jay Gould ?
(Q709595,P119,c(Q43229))
action filter_type
action find
entity Q709595
relation P119
type Q43229
['Q709595', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?s WHERE { resource:Q709595 property:P119 ?s . ?s rdf:type ontology:Q43229 }
Jay Gould
action filter_type
action find
entity Jay Gould
relation place of burial
type organization
['Jay Gould', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?s WHERE { resource:Jay_Gould property:place_of_burial ?s . ?s rdf:type ontology:organization }
[]
organization
Q2000666
SYSTEM
Woodlawn Cemetery
Q2000666
(Q709595,P119,c(Q43229))
action filter_type
action find
entity Q709595
relation P119
type Q43229
Cemetery [ANSWER] is the tomb of Jay Gould
['Q709595', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?s WHERE { resource:Q709595 property:P119 ?s . ?s rdf:type ontology:Q43229 }
Woodlawn Cemetery
Cemetery Woodlawn Cemetery is the tomb of Jay Gould
Woodlawn Cemetery
action filter_type
action find
entity Jay Gould
relation place of burial
type organization
['Jay Gould', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?s WHERE { resource:Jay_Gould property:place_of_burial ?s . ?s rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q709595
P40
Q502895
USER
Which people are an offsprings of Jay Gould ?
(Q709595,P40,c(Q502895))
action filter_type
action find
entity Q709595
relation P40
type Q502895
['Q709595', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q709595 property:P40 ?n . ?n rdf:type ontology:Q502895 }
Jay Gould
action filter_type
action find
entity Jay Gould
relation child
type common name
['Jay Gould', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Jay_Gould property:child ?n . ?n rdf:type ontology:common_name }
[]
common name
Q2850506 Q3101668 Q1563645
SYSTEM
Anna Gould, George Jay Gould I, Helen Miller Shepard
Q2850506 Q5919784 Q5346460 Q1563645 Q3101668 Q3082670
(Q709595,P40,c(Q502895))
action filter_type
action find
entity Q709595
relation P40
type Q502895
[ANSWERS] are an offsprings of Jay Gould
['Q709595', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q709595 property:P40 ?n . ?n rdf:type ontology:Q502895 }
Anna Gould Howard Gould Edwin Gould I Helen Miller Shepard George Jay Gould I Frank Jay Gould
Anna Gould, George Jay Gould I and Helen Miller Shepard are an offsprings of Jay Gould
Anna Gould George Jay Gould I Helen Miller Shepard
action filter_type
action find
entity Jay Gould
relation child
type common name
['Jay Gould', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Jay_Gould property:child ?n . ?n rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21456940
P40
Q502895
USER
Do Sheila Horton have those ones as a child ?
(Q21456940,P40,Q2850506) (Q21456940,P40,Q3101668) (Q21456940,P40,Q1563645)
action is_in
entity prev_answer
action find
entity Q21456940
relation P40
['Q21456940', 'P40', 'Q2850506'] ['Q21456940', 'P40', 'Q3101668'] ['Q21456940', 'P40', 'Q1563645']
ASK WHERE { resource:Q21456940 property:P40 ?p . VALUES ( ?p ) { ( resource:Q2850506 ) ( resource:Q5919784 ) ( resource:Q5346460 ) } }
Sheila Horton
action is_in
entity prev_answer
action find
entity Sheila Horton
relation child
['Sheila Horton', 'child', 'Anna Gould'] ['Sheila Horton', 'child', 'George Jay Gould I'] ['Sheila Horton', 'child', 'Helen Miller Shepard']
ASK WHERE { resource:Sheila_Horton property:child ?p . VALUES ( ?p ) { ( resource:Anna_Gould ) ( resource:Howard_Gould ) ( resource:Edwin_Gould_I ) } }
[]
common name
SYSTEM
NO
(Q21456940,P40,Q2850506) (Q21456940,P40,Q3101668) (Q21456940,P40,Q1563645)
action is_in
entity prev_answer
action find
entity Q21456940
relation P40
[ANSWER]
['Q21456940', 'P40', 'Q2850506'] ['Q21456940', 'P40', 'Q3101668'] ['Q21456940', 'P40', 'Q1563645']
ASK WHERE { resource:Q21456940 property:P40 ?p . VALUES ( ?p ) { ( resource:Q2850506 ) ( resource:Q5919784 ) ( resource:Q5346460 ) } }
No
action is_in
entity prev_answer
action find
entity Sheila Horton
relation child
['Sheila Horton', 'child', 'Anna Gould'] ['Sheila Horton', 'child', 'George Jay Gould I'] ['Sheila Horton', 'child', 'Helen Miller Shepard']
ASK WHERE { resource:Sheila_Horton property:child ?p . VALUES ( ?p ) { ( resource:Anna_Gould ) ( resource:Howard_Gould ) ( resource:Edwin_Gould_I ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2000666 Q12285774
P17
Q15617994
USER
Does Woodlawn Cemetery belong to Malak Samokov ?
(Q2000666,P17,Q12285774)
action is_in
entity Q12285774
action find
entity Q2000666
relation P17
['Q2000666', 'P17', 'Q12285774']
ASK WHERE { resource:Q2000666 property:P17 resource:Q12285774 }
Woodlawn Cemetery Malak Samokov
action is_in
entity Malak Samokov
action find
entity Woodlawn Cemetery
relation country
['Woodlawn Cemetery', 'country', 'Malak Samokov']
ASK WHERE { resource:Woodlawn_Cemetery property:country resource:Malak_Samokov }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2000666,P17,Q12285774)
action is_in
entity Q12285774
action find
entity Q2000666
relation P17
[ANSWER]
['Q2000666', 'P17', 'Q12285774']
ASK WHERE { resource:Q2000666 property:P17 resource:Q12285774 }
No
action is_in
entity Malak Samokov
action find
entity Woodlawn Cemetery
relation country
['Woodlawn Cemetery', 'country', 'Malak Samokov']
ASK WHERE { resource:Woodlawn_Cemetery property:country resource:Malak_Samokov }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1563645 Q30 Q5751589
P27
Q15617994
USER
Is Helen Miller Shepard a citizen of United States of America and Hidalgo Independent School District ?
(Q1563645,P27,Q30) (Q1563645,P27,Q5751589)
action is_in
entity Q1563645
action intersection
action find_reverse
entity Q30
relation P27
action find_reverse
entity Q5751589
relation P27
['Q1563645', 'P27', 'Q30'] ['Q1563645', 'P27', 'Q5751589']
ASK WHERE { resource:Q1563645 property:P27 resource:Q5751589 . resource:Q1563645 property:P27 resource:Q30 }
Helen Miller Shepard United States of America Hidalgo Independent School District
action is_in
entity Helen Miller Shepard
action intersection
action find_reverse
entity United States of America
relation country of citizenship
action find_reverse
entity Hidalgo Independent School District
relation country of citizenship
['Helen Miller Shepard', 'country of citizenship', 'United States of America'] ['Helen Miller Shepard', 'country of citizenship', 'Hidalgo Independent School District']
ASK WHERE { resource:Helen_Miller_Shepard property:country_of_citizenship resource:Hidalgo_Independent_School_District . resource:Helen_Miller_Shepard property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q1563645,P27,Q30) (Q1563645,P27,Q5751589)
action is_in
entity Q1563645
action intersection
action find_reverse
entity Q30
relation P27
action find_reverse
entity Q5751589
relation P27
[ANSWER]
['Q1563645', 'P27', 'Q30'] ['Q1563645', 'P27', 'Q5751589']
ASK WHERE { resource:Q1563645 property:P27 resource:Q5751589 . resource:Q1563645 property:P27 resource:Q30 }
YES and NO respectively
action is_in
entity Helen Miller Shepard
action intersection
action find_reverse
entity United States of America
relation country of citizenship
action find_reverse
entity Hidalgo Independent School District
relation country of citizenship
['Helen Miller Shepard', 'country of citizenship', 'United States of America'] ['Helen Miller Shepard', 'country of citizenship', 'Hidalgo Independent School District']
ASK WHERE { resource:Helen_Miller_Shepard property:country_of_citizenship resource:Hidalgo_Independent_School_District . resource:Helen_Miller_Shepard property:country_of_citizenship resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3101668 Q14946782 Q14566160
P26
Q502895
USER
Is George Jay Gould I the spouse of Joseph Linitz and Guinevere Jeanne Sinclair ?
(Q3101668,P26,Q14946782) (Q3101668,P26,Q14566160)
action is_in
entity Q3101668
action intersection
action find_reverse
entity Q14946782
relation P26
action find_reverse
entity Q14566160
relation P26
['Q3101668', 'P26', 'Q14946782'] ['Q3101668', 'P26', 'Q14566160']
ASK WHERE { resource:Q3101668 property:P26 resource:Q14946782 . resource:Q3101668 property:P26 resource:Q14566160 }
George Jay Gould I Joseph Linitz Guinevere Jeanne Sinclair
action is_in
entity George Jay Gould I
action intersection
action find_reverse
entity Joseph Linitz
relation spouse
action find_reverse
entity Guinevere Jeanne Sinclair
relation spouse
['George Jay Gould I', 'spouse', 'Joseph Linitz'] ['George Jay Gould I', 'spouse', 'Guinevere Jeanne Sinclair']
ASK WHERE { resource:George_Jay_Gould_I property:spouse resource:Joseph_Linitz . resource:George_Jay_Gould_I property:spouse resource:Guinevere_Jeanne_Sinclair }
[]
common name
SYSTEM
NO and YES respectively
(Q3101668,P26,Q14946782) (Q3101668,P26,Q14566160)
action is_in
entity Q3101668
action intersection
action find_reverse
entity Q14946782
relation P26
action find_reverse
entity Q14566160
relation P26
[ANSWER]
['Q3101668', 'P26', 'Q14946782'] ['Q3101668', 'P26', 'Q14566160']
ASK WHERE { resource:Q3101668 property:P26 resource:Q14946782 . resource:Q3101668 property:P26 resource:Q14566160 }
NO and YES respectively
action is_in
entity George Jay Gould I
action intersection
action find_reverse
entity Joseph Linitz
relation spouse
action find_reverse
entity Guinevere Jeanne Sinclair
relation spouse
['George Jay Gould I', 'spouse', 'Joseph Linitz'] ['George Jay Gould I', 'spouse', 'Guinevere Jeanne Sinclair']
ASK WHERE { resource:George_Jay_Gould_I property:spouse resource:Joseph_Linitz . resource:George_Jay_Gould_I property:spouse resource:Guinevere_Jeanne_Sinclair }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1601945 Q1563645
P40
Q502895
USER
Which people have Helen Miller Shepard or Helene Bresslau as a child ?
OR((c(Q502895),P40,Q1563645), (c(Q502895),P40,Q1601945))
action filter_type
action union
action find_reverse
entity Q1563645
relation P40
action find_reverse
entity Q1601945
relation P40
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q1563645'], [{'concept': 'Q502895'}, 'P40', 'Q1601945']]}
SELECT DISTINCT ?m WHERE { { { ?m property:P40 resource:Q1563645 } UNION { ?m property:P40 resource:Q1601945 } } . ?m rdf:type ontology:Q502895 }
Helene Bresslau Helen Miller Shepard
action filter_type
action union
action find_reverse
entity Helen Miller Shepard
relation child
action find_reverse
entity Helene Bresslau
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Helen Miller Shepard'], [{'concept': 'common name'}, 'child', 'Helene Bresslau']]}
SELECT DISTINCT ?m WHERE { { { ?m property:child resource:Helen_Miller_Shepard } UNION { ?m property:child resource:Helene_Bresslau } } . ?m rdf:type ontology:common_name }
[]
common name
Q73219 Q709595
SYSTEM
Harry Bresslau, Jay Gould
Q73219 Q709595
OR((c(Q502895),P40,Q1563645), (c(Q502895),P40,Q1601945))
action filter_type
action union
action find_reverse
entity Q1563645
relation P40
action find_reverse
entity Q1601945
relation P40
type Q502895
[ANSWERS] have Helen Miller Shepard or Helene Bresslau as a child
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q1563645'], [{'concept': 'Q502895'}, 'P40', 'Q1601945']]}
SELECT DISTINCT ?m WHERE { { { ?m property:P40 resource:Q1563645 } UNION { ?m property:P40 resource:Q1601945 } } . ?m rdf:type ontology:Q502895 }
Harry Bresslau Jay Gould
Harry Bresslau and Jay Gould have Helen Miller Shepard or Helene Bresslau as a child
Harry Bresslau Jay Gould
action filter_type
action union
action find_reverse
entity Helen Miller Shepard
relation child
action find_reverse
entity Helene Bresslau
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Helen Miller Shepard'], [{'concept': 'common name'}, 'child', 'Helene Bresslau']]}
SELECT DISTINCT ?m WHERE { { { ?m property:child resource:Helen_Miller_Shepard } UNION { ?m property:child resource:Helene_Bresslau } } . ?m rdf:type ontology:common_name }
[]