Simple Question (Direct)
Simple Question
Q5019212
P102
Q7210356
USER
Which political organization is Caleb Baker a member of ?
(Q5019212,P102,c(Q7210356))
action filter_type
action find
entity Q5019212
relation P102
type Q7210356
['Q5019212', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q5019212 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Caleb Baker
action filter_type
action find
entity Caleb Baker
relation member of political party
type political organization
['Caleb Baker', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Caleb_Baker property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
political organization
Q42186
SYSTEM
Democratic-Republican Party
Q42186
(Q5019212,P102,c(Q7210356))
action filter_type
action find
entity Q5019212
relation P102
type Q7210356
[ANSWER] is Caleb Baker a member of
['Q5019212', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q5019212 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Democratic-Republican Party
Democratic-Republican Party is Caleb Baker a member of
Democratic-Republican Party
action filter_type
action find
entity Caleb Baker
relation member of political party
type political organization
['Caleb Baker', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Caleb_Baker property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42186
P112
Q502895
USER
Who were the founders of that political organization ?
(Q42186,P112,c(Q502895))
action filter_type
action find
entity Q42186
relation P112
type Q502895
['Q42186', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q42186 property:P112 ?a . ?a rdf:type ontology:Q502895 }
Democratic-Republican Party
action filter_type
action find
entity Democratic-Republican Party
relation founder
type common name
['Democratic-Republican Party', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Democratic-Republican_Party property:founder ?a . ?a rdf:type ontology:common_name }
[]
common name
Q11812 Q11813
SYSTEM
Thomas Jefferson, James Madison
Q11812 Q11813
(Q42186,P112,c(Q502895))
action filter_type
action find
entity Q42186
relation P112
type Q502895
The founders of that political organization were President [ANSWERS]
['Q42186', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q42186 property:P112 ?a . ?a rdf:type ontology:Q502895 }
Thomas Jefferson James Madison
The founders of that political organization were President Thomas Jefferson and James Madison
Thomas Jefferson James Madison
action filter_type
action find
entity Democratic-Republican Party
relation founder
type common name
['Democratic-Republican Party', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Democratic-Republican_Party property:founder ?a . ?a rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11812
P991
Q877353
USER
Which are the indirect elections from where that person were elected from ?
(c(Q877353),P991,Q11812)
action filter_type
action find_reverse
entity Q11812
relation P991
type Q877353
[{'concept': 'Q877353'}, 'P991', 'Q11812']
SELECT DISTINCT ?i WHERE { ?i property:P991 resource:Q11812 . ?i rdf:type ontology:Q877353 }
Thomas Jefferson
action filter_type
action find_reverse
entity Thomas Jefferson
relation successful candidate
type indirect election
[{'concept': 'indirect election'}, 'successful candidate', 'Thomas Jefferson']
SELECT DISTINCT ?i WHERE { ?i property:successful_candidate resource:Thomas_Jefferson . ?i rdf:type ontology:indirect_election }
[]
indirect election
Clarification for simple ques.
Q11812
SYSTEM
Did you mean Thomas Jefferson ?
Q11812 Q11813
(c(Q877353),P991,Q11812) (c(Q877353),P991,Q11813)
[ANSWER]
[{'concept': 'Q877353'}, 'P991', 'Q11812'] [{'concept': 'Q877353'}, 'P991', 'Q11813']
SELECT DISTINCT ?i WHERE { ?i property:P991 resource:Q11812 . ?i rdf:type ontology:Q877353 }
Thomas Jefferson James Madison
Did you mean Thomas Jefferson ?
Thomas Jefferson
[{'concept': 'indirect election'}, 'successful candidate', 'Thomas Jefferson'] [{'concept': 'indirect election'}, 'successful candidate', 'James Madison']
SELECT DISTINCT ?i WHERE { ?i property:successful_candidate resource:Thomas_Jefferson . ?i rdf:type ontology:indirect_election }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q877353),P991,Q11812)
[{'concept': 'Q877353'}, 'P991', 'Q11812']
[{'concept': 'indirect election'}, 'successful candidate', 'Thomas Jefferson']
[]
Q698106 Q698133
SYSTEM
United States presidential election, 1800, United States presidential election, 1804
Q698133 Q698106
(c(Q877353),P991,Q11812)
action filter_type
action find_reverse
entity Q11812
relation P991
type Q877353
[ANSWERS]
[{'concept': 'Q877353'}, 'P991', 'Q11812']
SELECT DISTINCT ?i WHERE { ?i property:P991 resource:Q11812 . ?i rdf:type ontology:Q877353 }
United States presidential election, 1804 United States presidential election, 1800
The indirect elections from that person were elected from are the United States presidential election, 1800 and United States presidential election, 1804
United States presidential election, 1800 United States presidential election, 1804
action filter_type
action find_reverse
entity Thomas Jefferson
relation successful candidate
type indirect election
[{'concept': 'indirect election'}, 'successful candidate', 'Thomas Jefferson']
SELECT DISTINCT ?i WHERE { ?i property:successful_candidate resource:Thomas_Jefferson . ?i rdf:type ontology:indirect_election }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11812
P84
Q131596
USER
Which farms were Thomas Jefferson the designer of ?
(c(Q131596),P84,Q11812)
action filter_type
action find_reverse
entity Q11812
relation P84
type Q131596
[{'concept': 'Q131596'}, 'P84', 'Q11812']
SELECT DISTINCT ?j WHERE { ?j property:P84 resource:Q11812 . ?j rdf:type ontology:Q131596 }
Thomas Jefferson
action filter_type
action find_reverse
entity Thomas Jefferson
relation architect
type farm
[{'concept': 'farm'}, 'architect', 'Thomas Jefferson']
SELECT DISTINCT ?j WHERE { ?j property:architect resource:Thomas_Jefferson . ?j rdf:type ontology:farm }
[]
farm
Q4804414 Q199618
SYSTEM
Ash Lawn–Highland, Monticello
Q4804414 Q199618
(c(Q131596),P84,Q11812)
action filter_type
action find_reverse
entity Q11812
relation P84
type Q131596
Thomas Jefferson were of the [ANSWERS]
[{'concept': 'Q131596'}, 'P84', 'Q11812']
SELECT DISTINCT ?j WHERE { ?j property:P84 resource:Q11812 . ?j rdf:type ontology:Q131596 }
Ash Lawn–Highland Monticello
Thomas Jefferson were of the Ash Lawn–Highland and Monticello
Ash Lawn–Highland Monticello
action filter_type
action find_reverse
entity Thomas Jefferson
relation architect
type farm
[{'concept': 'farm'}, 'architect', 'Thomas Jefferson']
SELECT DISTINCT ?j WHERE { ?j property:architect resource:Thomas_Jefferson . ?j rdf:type ontology:farm }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11812
P734
Q82799
USER
Who has the surname that person ?
(Q4804414,P734,c(Q82799)) (Q199618,P734,c(Q82799))
action filter_type
action find
entity Q11812
relation P734
type Q82799
['Q4804414', 'P734', {'concept': 'Q82799'}] ['Q199618', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q11812 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Thomas Jefferson
action filter_type
action find
entity Thomas Jefferson
relation family name
type name
['Ash Lawn–Highland', 'family name', {'concept': 'name'}] ['Monticello', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Thomas_Jefferson property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q13553637
SYSTEM
Jefferson
Q13553637
(Q4804414,P734,c(Q82799)) (Q199618,P734,c(Q82799))
action filter_type
action find
entity Q11812
relation P734
type Q82799
So [ANSWER] has the surname that person
['Q4804414', 'P734', {'concept': 'Q82799'}] ['Q199618', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q11812 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Jefferson
So Jefferson has the surname that person
Jefferson
action filter_type
action find
entity Thomas Jefferson
relation family name
type name
['Ash Lawn–Highland', 'family name', {'concept': 'name'}] ['Monticello', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Thomas_Jefferson property:family_name ?i . ?i rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11812
P451
Q502895
USER
Who has Thomas Jefferson as their relationship partner ?
(c(Q502895),P451,Q11812)
action filter_type
action find
entity Q11812
relation P451
type Q502895
[{'concept': 'Q502895'}, 'P451', 'Q11812']
SELECT DISTINCT ?p WHERE { resource:Q11812 property:P451 ?p . ?p rdf:type ontology:Q502895 }
Thomas Jefferson
action filter_type
action find
entity Thomas Jefferson
relation partner
type common name
[{'concept': 'common name'}, 'partner', 'Thomas Jefferson']
SELECT DISTINCT ?p WHERE { resource:Thomas_Jefferson property:partner ?p . ?p rdf:type ontology:common_name }
[]
common name
Q257464
SYSTEM
Sally Hemings
Q257464
(c(Q502895),P451,Q11812)
action filter_type
action find
entity Q11812
relation P451
type Q502895
[ANSWER] has Thomas Jefferson as their relationship partner
[{'concept': 'Q502895'}, 'P451', 'Q11812']
SELECT DISTINCT ?p WHERE { resource:Q11812 property:P451 ?p . ?p rdf:type ontology:Q502895 }
Sally Hemings
Sally Hemings has Thomas Jefferson as their relationship partner
Sally Hemings
action filter_type
action find
entity Thomas Jefferson
relation partner
type common name
[{'concept': 'common name'}, 'partner', 'Thomas Jefferson']
SELECT DISTINCT ?p WHERE { resource:Thomas_Jefferson property:partner ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11812
P22
Q502895
USER
Which people have Thomas Jefferson as a parent ?
(c(Q502895),P22,Q11812)
action filter_type
action find_reverse
entity Q11812
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q11812']
SELECT DISTINCT ?b WHERE { ?b property:P22 resource:Q11812 . ?b rdf:type ontology:Q502895 }
Thomas Jefferson
action filter_type
action find_reverse
entity Thomas Jefferson
relation father
type common name
[{'concept': 'common name'}, 'father', 'Thomas Jefferson']
SELECT DISTINCT ?b WHERE { ?b property:father resource:Thomas_Jefferson . ?b rdf:type ontology:common_name }
[]
common name
Q255159 Q6779916 Q5664155
SYSTEM
Martha Jefferson Randolph, Mary Jefferson Eppes, Harriet Hemings
Q11239932 Q6779916 Q255159 Q5664155
(c(Q502895),P22,Q11812)
action filter_type
action find_reverse
entity Q11812
relation P22
type Q502895
[ANSWERS] have Thomas Jefferson as a parent
[{'concept': 'Q502895'}, 'P22', 'Q11812']
SELECT DISTINCT ?b WHERE { ?b property:P22 resource:Q11812 . ?b rdf:type ontology:Q502895 }
Madison Hemings Mary Jefferson Eppes Martha Jefferson Randolph Harriet Hemings
Martha Jefferson Randolph, Mary Jefferson Eppes and Harriet Hemings have Thomas Jefferson as a parent
Martha Jefferson Randolph Mary Jefferson Eppes Harriet Hemings
action filter_type
action find_reverse
entity Thomas Jefferson
relation father
type common name
[{'concept': 'common name'}, 'father', 'Thomas Jefferson']
SELECT DISTINCT ?b WHERE { ?b property:father resource:Thomas_Jefferson . ?b rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q255159
P9
Q502895
USER
Whose sister are that one ?
(c(Q502895),P9,Q255159)
action filter_type
action find_reverse
entity Q255159
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q255159']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P9 resource:Q255159 }
Martha Jefferson Randolph
action filter_type
action find_reverse
entity Martha Jefferson Randolph
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Martha Jefferson Randolph']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:sister resource:Martha_Jefferson_Randolph }
[]
common name
Clarification for simple ques.
Q6779916
SYSTEM
Did you mean Mary Jefferson Eppes ?
Q255159 Q6779916 Q5664155
(c(Q502895),P9,Q255159) (c(Q502895),P9,Q6779916) (c(Q502895),P9,Q5664155)
[ANSWER]
[{'concept': 'Q502895'}, 'P9', 'Q255159'] [{'concept': 'Q502895'}, 'P9', 'Q6779916'] [{'concept': 'Q502895'}, 'P9', 'Q5664155']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P9 resource:Q255159 }
Martha Jefferson Randolph Mary Jefferson Eppes Harriet Hemings
Did you mean Mary Jefferson Eppes ?
Mary Jefferson Eppes
[{'concept': 'common name'}, 'sister', 'Martha Jefferson Randolph'] [{'concept': 'common name'}, 'sister', 'Mary Jefferson Eppes'] [{'concept': 'common name'}, 'sister', 'Harriet Hemings']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:sister resource:Martha_Jefferson_Randolph }
[]
Simple Question (Coreferenced)
USER
No, I meant Martha Jefferson Randolph. Could you tell me the answer for that?
(c(Q502895),P9,Q255159)
Q255159
[{'concept': 'Q502895'}, 'P9', 'Q255159']
[{'concept': 'common name'}, 'sister', 'Martha Jefferson Randolph']
[]
Q11239932 Q6779916 Q5664155
SYSTEM
Madison Hemings, Mary Jefferson Eppes, Harriet Hemings
Q11239932 Q6779916 Q5664155
(c(Q502895),P9,Q255159)
action filter_type
action find_reverse
entity Q255159
relation P9
type Q502895
[ANSWERS] are that one
[{'concept': 'Q502895'}, 'P9', 'Q255159']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P9 resource:Q255159 }
Madison Hemings Mary Jefferson Eppes Harriet Hemings
Madison Hemings, Mary Jefferson Eppes and Harriet Hemings are that one
Madison Hemings Mary Jefferson Eppes Harriet Hemings
action filter_type
action find_reverse
entity Martha Jefferson Randolph
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Martha Jefferson Randolph']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:sister resource:Martha_Jefferson_Randolph }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q11239932
P21 P40
Q502895
USER
Which people have Madison Hemings as an offspring and are a male ?
AND((c(Q502895),P40,Q11239932), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q11239932
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q11239932'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e property:P40 resource:Q11239932 . ?e property:P21 resource:Q6581097 . ?e rdf:type ontology:Q502895 }
male Madison Hemings
action filter_type
action intersection
action find_reverse
entity Madison Hemings
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Madison Hemings'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e property:child resource:Madison_Hemings . ?e property:gender resource:male . ?e rdf:type ontology:common_name }
[]
common name
Q11812
SYSTEM
Thomas Jefferson
Q11812
AND((c(Q502895),P40,Q11239932), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q11239932
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Madison Hemings as an offspring and are a male
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q11239932'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e property:P40 resource:Q11239932 . ?e property:P21 resource:Q6581097 . ?e rdf:type ontology:Q502895 }
Thomas Jefferson
Thomas Jefferson have Madison Hemings as an offspring and are a male
Thomas Jefferson
action filter_type
action intersection
action find_reverse
entity Madison Hemings
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Madison Hemings'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e property:child resource:Madison_Hemings . ?e property:gender resource:male . ?e rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q6779916
P21 P40
Q502895
USER
Which people have Mary Jefferson Eppes as an offspring and have the gender as male ?
AND((c(Q502895),P40,Q6779916), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q6779916
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q6779916'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P40 resource:Q6779916 . ?u property:P21 resource:Q6581097 }
male Mary Jefferson Eppes
action filter_type
action intersection
action find_reverse
entity Mary Jefferson Eppes
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Mary Jefferson Eppes'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:child resource:Mary_Jefferson_Eppes . ?u property:gender resource:male }
[]
common name
Q11812
SYSTEM
Thomas Jefferson
Q11812
AND((c(Q502895),P40,Q6779916), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q6779916
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Mary Jefferson Eppes as an offspring and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q6779916'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P40 resource:Q6779916 . ?u property:P21 resource:Q6581097 }
Thomas Jefferson
Thomas Jefferson have Mary Jefferson Eppes as an offspring and have the gender as male
Thomas Jefferson
action filter_type
action intersection
action find_reverse
entity Mary Jefferson Eppes
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Mary Jefferson Eppes'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:child resource:Mary_Jefferson_Eppes . ?u property:gender resource:male }
[]