Simple Question (Direct)
Simple Question
Q382112
P102
Q7210356
USER
Which party does Henry H. Chambers belong to ?
(Q382112,P102,c(Q7210356))
action filter_type
action find
entity Q382112
relation P102
type Q7210356
['Q382112', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7210356 . resource:Q382112 property:P102 ?u }
Henry H. Chambers
action filter_type
action find
entity Henry H. Chambers
relation member of political party
type political organization
['Henry H. Chambers', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_organization . resource:Henry_H._Chambers property:member_of_political_party ?u }
[]
political organization
Q42186
SYSTEM
Democratic-Republican Party
Q42186
(Q382112,P102,c(Q7210356))
action filter_type
action find
entity Q382112
relation P102
type Q7210356
Henry H. Chambers belongs to the [ANSWER]
['Q382112', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7210356 . resource:Q382112 property:P102 ?u }
Democratic-Republican Party
Henry H. Chambers belongs to the Democratic-Republican Party
Democratic-Republican Party
action filter_type
action find
entity Henry H. Chambers
relation member of political party
type political organization
['Henry H. Chambers', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_organization . resource:Henry_H._Chambers property:member_of_political_party ?u }
[]
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 ?g WHERE { resource:Q42186 property:P112 ?g . ?g 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 ?g WHERE { resource:Democratic-Republican_Party property:founder ?g . ?g 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 ?g WHERE { resource:Q42186 property:P112 ?g . ?g 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 ?g WHERE { resource:Democratic-Republican_Party property:founder ?g . ?g rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q5112531 Q11812
P106
Q12737077
USER
Which occupations do Thomas Jefferson and Christopher Herbert do for a living ?
AND((Q11812,P106,c(Q12737077)), (Q5112531,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q11812
relation P106
action find
entity Q5112531
relation P106
type Q12737077
{'AND': [['Q11812', 'P106', {'concept': 'Q12737077'}], ['Q5112531', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . resource:Q11812 property:P106 ?w . resource:Q5112531 property:P106 ?w }
Christopher Herbert Thomas Jefferson
action filter_type
action intersection
action find
entity Thomas Jefferson
relation occupation
action find
entity Christopher Herbert
relation occupation
type occupation
{'AND': [['Thomas Jefferson', 'occupation', {'concept': 'occupation'}], ['Christopher Herbert', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . resource:Thomas_Jefferson property:occupation ?w . resource:Christopher_Herbert property:occupation ?w }
[]
occupation
Q82955
SYSTEM
politician
Q82955
AND((Q11812,P106,c(Q12737077)), (Q5112531,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q11812
relation P106
action find
entity Q5112531
relation P106
type Q12737077
[ANSWER] Thomas Jefferson and Christopher Herbert do for a living
{'AND': [['Q11812', 'P106', {'concept': 'Q12737077'}], ['Q5112531', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . resource:Q11812 property:P106 ?w . resource:Q5112531 property:P106 ?w }
politician
Politician Thomas Jefferson and Christopher Herbert do for a living
politician
action filter_type
action intersection
action find
entity Thomas Jefferson
relation occupation
action find
entity Christopher Herbert
relation occupation
type occupation
{'AND': [['Thomas Jefferson', 'occupation', {'concept': 'occupation'}], ['Christopher Herbert', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . resource:Thomas_Jefferson property:occupation ?w . resource:Christopher_Herbert property:occupation ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11812
P9
Q502895
USER
Who has Thomas Jefferson as thier sibling ?
(Q11812,P9,c(Q502895))
action filter_type
action find
entity Q11812
relation P9
type Q502895
['Q11812', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q11812 property:P9 ?e . ?e rdf:type ontology:Q502895 }
Thomas Jefferson
action filter_type
action find
entity Thomas Jefferson
relation sister
type common name
['Thomas Jefferson', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Thomas_Jefferson property:sister ?e . ?e rdf:type ontology:common_name }
[]
common name
Q6698378
SYSTEM
Lucy Jefferson Lewis
Q6698378
(Q11812,P9,c(Q502895))
action filter_type
action find
entity Q11812
relation P9
type Q502895
[ANSWER] has Thomas Jefferson as thier sibling
['Q11812', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q11812 property:P9 ?e . ?e rdf:type ontology:Q502895 }
Lucy Jefferson Lewis
Lucy Jefferson Lewis has Thomas Jefferson as thier sibling
Lucy Jefferson Lewis
action filter_type
action find
entity Thomas Jefferson
relation sister
type common name
['Thomas Jefferson', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Thomas_Jefferson property:sister ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6698378
P40
Q502895
USER
Which people have that one as an offspring ?
(c(Q502895),P40,Q6698378)
action filter_type
action find_reverse
entity Q6698378
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q6698378']
SELECT DISTINCT ?t WHERE { ?t property:P40 resource:Q6698378 . ?t rdf:type ontology:Q502895 }
Lucy Jefferson Lewis
action filter_type
action find_reverse
entity Lucy Jefferson Lewis
relation child
type common name
[{'concept': 'common name'}, 'child', 'Lucy Jefferson Lewis']
SELECT DISTINCT ?t WHERE { ?t property:child resource:Lucy_Jefferson_Lewis . ?t rdf:type ontology:common_name }
[]
common name
Q3376670 Q3161892
SYSTEM
Peter Jefferson, Jane Randolph Jefferson
Q3376670 Q3161892
(c(Q502895),P40,Q6698378)
action filter_type
action find_reverse
entity Q6698378
relation P40
type Q502895
[ANSWERS] have that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q6698378']
SELECT DISTINCT ?t WHERE { ?t property:P40 resource:Q6698378 . ?t rdf:type ontology:Q502895 }
Peter Jefferson Jane Randolph Jefferson
Peter Jefferson and Jane Randolph Jefferson have that one as an offspring
Peter Jefferson Jane Randolph Jefferson
action filter_type
action find_reverse
entity Lucy Jefferson Lewis
relation child
type common name
[{'concept': 'common name'}, 'child', 'Lucy Jefferson Lewis']
SELECT DISTINCT ?t WHERE { ?t property:child resource:Lucy_Jefferson_Lewis . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3376670 Q3161892
P26
Q502895
USER
Who are the spouse of those ones ?
(c(Q502895),P26,Q3376670) (c(Q502895),P26,Q3161892)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q3376670'] [{'concept': 'Q502895'}, 'P26', 'Q3161892']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . VALUES ( ?w ) { ( resource:Q3376670 ) ( resource:Q3161892 ) } . ?w property:P26 ?y }
Peter Jefferson Jane Randolph Jefferson
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Peter Jefferson'] [{'concept': 'common name'}, 'spouse', 'Jane Randolph Jefferson']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . VALUES ( ?w ) { ( resource:Peter_Jefferson ) ( resource:Jane_Randolph_Jefferson ) } . ?w property:spouse ?y }
[]
common name
Q3161892 Q3376670
SYSTEM
Jane Randolph Jefferson, Peter Jefferson
Q3161892 Q3376670
(c(Q502895),P26,Q3376670) (c(Q502895),P26,Q3161892)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
The spouse of those ones are the [ANSWERS]
[{'concept': 'Q502895'}, 'P26', 'Q3376670'] [{'concept': 'Q502895'}, 'P26', 'Q3161892']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . VALUES ( ?w ) { ( resource:Q3376670 ) ( resource:Q3161892 ) } . ?w property:P26 ?y }
Jane Randolph Jefferson Peter Jefferson
The spouse of those ones are the Jane Randolph Jefferson and Peter Jefferson
Jane Randolph Jefferson Peter Jefferson
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Peter Jefferson'] [{'concept': 'common name'}, 'spouse', 'Jane Randolph Jefferson']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . VALUES ( ?w ) { ( resource:Peter_Jefferson ) ( resource:Jane_Randolph_Jefferson ) } . ?w property:spouse ?y }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3161892
P25
Q502895
USER
Who are the offspring of that one ?
(c(Q502895),P25,Q3161892)
action filter_type
action find_reverse
entity Q3161892
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q3161892']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P25 resource:Q3161892 }
Jane Randolph Jefferson
action filter_type
action find_reverse
entity Jane Randolph Jefferson
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Jane Randolph Jefferson']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:mother resource:Jane_Randolph_Jefferson }
[]
common name
Clarification for simple ques.
Q3161892
SYSTEM
Did you mean Jane Randolph Jefferson ?
Q3161892 Q3376670
(c(Q502895),P25,Q3161892) (c(Q502895),P25,Q3376670)
[ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q3161892'] [{'concept': 'Q502895'}, 'P25', 'Q3376670']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P25 resource:Q3161892 }
Jane Randolph Jefferson Peter Jefferson
Did you mean Jane Randolph Jefferson ?
Jane Randolph Jefferson
[{'concept': 'common name'}, 'mother', 'Jane Randolph Jefferson'] [{'concept': 'common name'}, 'mother', 'Peter Jefferson']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:mother resource:Jane_Randolph_Jefferson }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P25,Q3161892)
[{'concept': 'Q502895'}, 'P25', 'Q3161892']
[{'concept': 'common name'}, 'mother', 'Jane Randolph Jefferson']
[]
Q6698378 Q11812 Q7291842
SYSTEM
Lucy Jefferson Lewis, Thomas Jefferson, Randolph Jefferson
Q6698378 Q7291842 Q11812
(c(Q502895),P25,Q3161892)
action filter_type
action find_reverse
entity Q3161892
relation P25
type Q502895
The offspring of that one are [ANSWERS]
[{'concept': 'Q502895'}, 'P25', 'Q3161892']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P25 resource:Q3161892 }
Lucy Jefferson Lewis Randolph Jefferson Thomas Jefferson
The offspring of that one are Lucy Jefferson Lewis, Thomas Jefferson and Randolph Jefferson
Lucy Jefferson Lewis Thomas Jefferson Randolph Jefferson
action filter_type
action find_reverse
entity Jane Randolph Jefferson
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Jane Randolph Jefferson']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:mother resource:Jane_Randolph_Jefferson }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of that person ?
(Q6698378,P27,c(Q15617994))
['Q6698378', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q6698378 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
['Lucy Jefferson Lewis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Lucy_Jefferson_Lewis property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q6698378
SYSTEM
Did you mean Lucy Jefferson Lewis ?
(Q6698378,P27,c(Q15617994)) (Q11812,P27,c(Q15617994)) (Q7291842,P27,c(Q15617994))
[ANSWER]
['Q6698378', 'P27', {'concept': 'Q15617994'}] ['Q11812', 'P27', {'concept': 'Q15617994'}] ['Q7291842', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q6698378 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Lucy Jefferson Lewis ?
Lucy Jefferson Lewis
['Lucy Jefferson Lewis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Thomas Jefferson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Randolph Jefferson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Lucy_Jefferson_Lewis property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q6698378,P27,c(Q15617994))
['Q6698378', 'P27', {'concept': 'Q15617994'}]
['Lucy Jefferson Lewis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q30
(Q6698378,P27,c(Q15617994))
[ANSWER]
['Q6698378', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q6698378 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
1
['Lucy Jefferson Lewis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Lucy_Jefferson_Lewis property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]