Simple Question (Direct)
Simple Question
Q174774
P140
Q879146
USER
Which Christian denomination does John Pierpont Morgan, Jr. relate to ?
(Q174774,P140,c(Q879146))
action filter_type
action find
entity Q174774
relation P140
type Q879146
['Q174774', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?o WHERE { resource:Q174774 property:P140 ?o . ?o rdf:type ontology:Q879146 }
John Pierpont Morgan, Jr.
action filter_type
action find
entity John Pierpont Morgan, Jr.
relation religion
type Christian denomination
['John Pierpont Morgan, Jr.', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?o WHERE { resource:John_Pierpont_Morgan,_Jr. property:religion ?o . ?o rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q682443
SYSTEM
Episcopal Church
Q682443
(Q174774,P140,c(Q879146))
action filter_type
action find
entity Q174774
relation P140
type Q879146
John Pierpont Morgan , Jr. relates the [ANSWER]
['Q174774', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?o WHERE { resource:Q174774 property:P140 ?o . ?o rdf:type ontology:Q879146 }
Episcopal Church
John Pierpont Morgan , Jr. relates the Episcopal Church
Episcopal Church
action filter_type
action find
entity John Pierpont Morgan, Jr.
relation religion
type Christian denomination
['John Pierpont Morgan, Jr.', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?o WHERE { resource:John_Pierpont_Morgan,_Jr. property:religion ?o . ?o rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q174774
P7
Q502895
USER
Who is that one a brother of ?
(c(Q502895),P7,Q682443)
action filter_type
action find_reverse
entity Q174774
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q682443']
SELECT DISTINCT ?j WHERE { ?j property:P7 resource:Q174774 . ?j rdf:type ontology:Q502895 }
John Pierpont Morgan, Jr.
action filter_type
action find_reverse
entity John Pierpont Morgan, Jr.
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Episcopal Church']
SELECT DISTINCT ?j WHERE { ?j property:brother resource:John_Pierpont_Morgan,_Jr. . ?j rdf:type ontology:common_name }
[]
common name
Q205269
SYSTEM
Anne Morgan
Q205269
(c(Q502895),P7,Q682443)
action filter_type
action find_reverse
entity Q174774
relation P7
type Q502895
That one a brother of is Miss [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q682443']
SELECT DISTINCT ?j WHERE { ?j property:P7 resource:Q174774 . ?j rdf:type ontology:Q502895 }
Anne Morgan
That one a brother of is Miss Anne Morgan
Anne Morgan
action filter_type
action find_reverse
entity John Pierpont Morgan, Jr.
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Episcopal Church']
SELECT DISTINCT ?j WHERE { ?j property:brother resource:John_Pierpont_Morgan,_Jr. . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174774
P40
Q502895
USER
Which person has John Pierpont Morgan, Jr. as an offspring ?
(c(Q502895),P40,Q174774)
action filter_type
action find_reverse
entity Q174774
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q174774']
SELECT DISTINCT ?w WHERE { ?w property:P40 resource:Q174774 . ?w rdf:type ontology:Q502895 }
John Pierpont Morgan, Jr.
action filter_type
action find_reverse
entity John Pierpont Morgan, Jr.
relation child
type common name
[{'concept': 'common name'}, 'child', 'John Pierpont Morgan, Jr.']
SELECT DISTINCT ?w WHERE { ?w property:child resource:John_Pierpont_Morgan,_Jr. . ?w rdf:type ontology:common_name }
[]
common name
Q54168
SYSTEM
J. P. Morgan
Q54168
(c(Q502895),P40,Q174774)
action filter_type
action find_reverse
entity Q174774
relation P40
type Q502895
[ANSWER] has John Pierpont Morgan, Jr. as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q174774']
SELECT DISTINCT ?w WHERE { ?w property:P40 resource:Q174774 . ?w rdf:type ontology:Q502895 }
J. P. Morgan
J. P. Morgan has John Pierpont Morgan, Jr. as an offspring
J. P. Morgan
action filter_type
action find_reverse
entity John Pierpont Morgan, Jr.
relation child
type common name
[{'concept': 'common name'}, 'child', 'John Pierpont Morgan, Jr.']
SELECT DISTINCT ?w WHERE { ?w property:child resource:John_Pierpont_Morgan,_Jr. . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q682443
P361
Q9174
USER
Which religion is Episcopal Church a part of ?
(Q682443,P361,c(Q9174))
action filter_type
action find
entity Q682443
relation P361
type Q9174
['Q682443', 'P361', {'concept': 'Q9174'}]
SELECT DISTINCT ?p WHERE { resource:Q682443 property:P361 ?p . ?p rdf:type ontology:Q9174 }
Episcopal Church
action filter_type
action find
entity Episcopal Church
relation part of
type religion
['Episcopal Church', 'part of', {'concept': 'religion'}]
SELECT DISTINCT ?p WHERE { resource:Episcopal_Church property:part_of ?p . ?p rdf:type ontology:religion }
[]
religion
Q6423963
SYSTEM
Anglicanism
Q6423963
(Q682443,P361,c(Q9174))
action filter_type
action find
entity Q682443
relation P361
type Q9174
Church [ANSWER] is Episcopal Church a part of
['Q682443', 'P361', {'concept': 'Q9174'}]
SELECT DISTINCT ?p WHERE { resource:Q682443 property:P361 ?p . ?p rdf:type ontology:Q9174 }
Anglicanism
Church Anglicanism is Episcopal Church a part of
Anglicanism
action filter_type
action find
entity Episcopal Church
relation part of
type religion
['Episcopal Church', 'part of', {'concept': 'religion'}]
SELECT DISTINCT ?p WHERE { resource:Episcopal_Church property:part_of ?p . ?p rdf:type ontology:religion }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately 3813 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3813
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?c = 3813 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3813
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?c = 3813 ) }
[]
musical instrument common name
Q8355 Q1444
SYSTEM
violin, organ
Q8355 Q1444
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3813
And [ANSWERS] are played by approximately 3813 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?c = 3813 ) }
violin organ
And violin and organ are played by approximately 3813 people
violin organ
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3813
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?c = 3813 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7328884
P1303
Q502895
USER
Does Richard Sandomir can play those musical instruments ?
(Q7328884,P1303,Q8355) (Q7328884,P1303,Q1444)
action is_in
entity prev_answer
action find
entity Q7328884
relation P1303
['Q7328884', 'P1303', 'Q8355'] ['Q7328884', 'P1303', 'Q1444']
ASK WHERE { resource:Q7328884 property:P1303 ?e . VALUES ( ?e ) { ( resource:Q8355 ) ( resource:Q1444 ) } }
Richard Sandomir
action is_in
entity prev_answer
action find
entity Richard Sandomir
relation instrument
['Richard Sandomir', 'instrument', 'violin'] ['Richard Sandomir', 'instrument', 'organ']
ASK WHERE { resource:Richard_Sandomir property:instrument ?e . VALUES ( ?e ) { ( resource:violin ) ( resource:organ ) } }
[]
common name
SYSTEM
NO
(Q7328884,P1303,Q8355) (Q7328884,P1303,Q1444)
action is_in
entity prev_answer
action find
entity Q7328884
relation P1303
[ANSWER]
['Q7328884', 'P1303', 'Q8355'] ['Q7328884', 'P1303', 'Q1444']
ASK WHERE { resource:Q7328884 property:P1303 ?e . VALUES ( ?e ) { ( resource:Q8355 ) ( resource:Q1444 ) } }
No
action is_in
entity prev_answer
action find
entity Richard Sandomir
relation instrument
['Richard Sandomir', 'instrument', 'violin'] ['Richard Sandomir', 'instrument', 'organ']
ASK WHERE { resource:Richard_Sandomir property:instrument ?e . VALUES ( ?e ) { ( resource:violin ) ( resource:organ ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q174774 Q12202
P509
Q2057971
USER
Was stroke the cause of death of John Pierpont Morgan, Jr. ?
(Q174774,P509,Q12202)
action is_in
entity Q12202
action find
entity Q174774
relation P509
['Q174774', 'P509', 'Q12202']
ASK WHERE { resource:Q174774 property:P509 resource:Q12202 }
John Pierpont Morgan, Jr. stroke
action is_in
entity stroke
action find
entity John Pierpont Morgan, Jr.
relation cause of death
['John Pierpont Morgan, Jr.', 'cause of death', 'stroke']
ASK WHERE { resource:John_Pierpont_Morgan,_Jr. property:cause_of_death resource:stroke }
[]
health problem
SYSTEM
YES
(Q174774,P509,Q12202)
action is_in
entity Q12202
action find
entity Q174774
relation P509
[ANSWER]
['Q174774', 'P509', 'Q12202']
ASK WHERE { resource:Q174774 property:P509 resource:Q12202 }
Yes
action is_in
entity stroke
action find
entity John Pierpont Morgan, Jr.
relation cause of death
['John Pierpont Morgan, Jr.', 'cause of death', 'stroke']
ASK WHERE { resource:John_Pierpont_Morgan,_Jr. property:cause_of_death resource:stroke }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174774
P22
Q502895
USER
Which people have John Pierpont Morgan, Jr. as a parent ?
(c(Q502895),P22,Q174774)
action filter_type
action find_reverse
entity Q174774
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q174774']
SELECT DISTINCT ?m WHERE { ?m property:P22 resource:Q174774 . ?m rdf:type ontology:Q502895 }
John Pierpont Morgan, Jr.
action filter_type
action find_reverse
entity John Pierpont Morgan, Jr.
relation father
type common name
[{'concept': 'common name'}, 'father', 'John Pierpont Morgan, Jr.']
SELECT DISTINCT ?m WHERE { ?m property:father resource:John_Pierpont_Morgan,_Jr. . ?m rdf:type ontology:common_name }
[]
common name
Q5728838 Q6313741
SYSTEM
Henry Sturgis Morgan, Junius Spencer Morgan III
Q5728838 Q6313741
(c(Q502895),P22,Q174774)
action filter_type
action find_reverse
entity Q174774
relation P22
type Q502895
[ANSWERS] have John Pierpont Morgan, Jr. as a parent
[{'concept': 'Q502895'}, 'P22', 'Q174774']
SELECT DISTINCT ?m WHERE { ?m property:P22 resource:Q174774 . ?m rdf:type ontology:Q502895 }
Henry Sturgis Morgan Junius Spencer Morgan III
Henry Sturgis Morgan and Junius Spencer Morgan III have John Pierpont Morgan, Jr. as a parent
Henry Sturgis Morgan Junius Spencer Morgan III
action filter_type
action find_reverse
entity John Pierpont Morgan, Jr.
relation father
type common name
[{'concept': 'common name'}, 'father', 'John Pierpont Morgan, Jr.']
SELECT DISTINCT ?m WHERE { ?m property:father resource:John_Pierpont_Morgan,_Jr. . ?m rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6313741
P21
Q290
USER
Which sex does that person belong to ?
(Q6313741,P21,c(Q290))
action filter_type
action find
entity Q6313741
relation P21
type Q290
['Q6313741', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q6313741 property:P21 ?z }
Junius Spencer Morgan III
action filter_type
action find
entity Junius Spencer Morgan III
relation gender
type sex
['Junius Spencer Morgan III', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Junius_Spencer_Morgan_III property:gender ?z }
[]
sex
Clarification for simple ques.
Q6313741
SYSTEM
Did you mean Junius Spencer Morgan III ?
Q5728838 Q6313741
(Q5728838,P21,c(Q290)) (Q6313741,P21,c(Q290))
[ANSWER]
['Q5728838', 'P21', {'concept': 'Q290'}] ['Q6313741', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q6313741 property:P21 ?z }
Henry Sturgis Morgan Junius Spencer Morgan III
Did you mean Junius Spencer Morgan III ?
Junius Spencer Morgan III
['Henry Sturgis Morgan', 'gender', {'concept': 'sex'}] ['Junius Spencer Morgan III', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Junius_Spencer_Morgan_III property:gender ?z }
[]
Simple Question (Coreferenced)
USER
Yes
(Q6313741,P21,c(Q290))
['Q6313741', 'P21', {'concept': 'Q290'}]
['Junius Spencer Morgan III', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q6313741,P21,c(Q290))
action filter_type
action find
entity Q6313741
relation P21
type Q290
That person belongs to [ANSWER]
['Q6313741', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q6313741 property:P21 ?z }
male
That person belongs to male
male
action filter_type
action find
entity Junius Spencer Morgan III
relation gender
type sex
['Junius Spencer Morgan III', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Junius_Spencer_Morgan_III property:gender ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5728838
P102
Q7210356
USER
Which party is Henry Sturgis Morgan affiliated with ?
(Q5728838,P102,c(Q7210356))
action filter_type
action find
entity Q5728838
relation P102
type Q7210356
['Q5728838', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q5728838 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Henry Sturgis Morgan
action filter_type
action find
entity Henry Sturgis Morgan
relation member of political party
type political organization
['Henry Sturgis Morgan', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Henry_Sturgis_Morgan property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q5728838,P102,c(Q7210356))
action filter_type
action find
entity Q5728838
relation P102
type Q7210356
Henry Sturgis Morgan is affiliated with [ANSWER]
['Q5728838', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q5728838 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Republican Party
Henry Sturgis Morgan is affiliated with Republican Party
Republican Party
action filter_type
action find
entity Henry Sturgis Morgan
relation member of political party
type political organization
['Henry Sturgis Morgan', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Henry_Sturgis_Morgan property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5728838
P138
Q43229
USER
Which organization has that person as its namesake ?
(c(Q43229),P138,Q29468)
action filter_type
action find_reverse
entity Q5728838
relation P138
type Q43229
[{'concept': 'Q43229'}, 'P138', 'Q29468']
SELECT DISTINCT ?s WHERE { ?s property:P138 resource:Q5728838 . ?s rdf:type ontology:Q43229 }
Henry Sturgis Morgan
action filter_type
action find_reverse
entity Henry Sturgis Morgan
relation named after
type organization
[{'concept': 'organization'}, 'named after', 'Republican Party']
SELECT DISTINCT ?s WHERE { ?s property:named_after resource:Henry_Sturgis_Morgan . ?s rdf:type ontology:organization }
[]
organization
Q334204
SYSTEM
Morgan Stanley
Q334204
(c(Q43229),P138,Q29468)
action filter_type
action find_reverse
entity Q5728838
relation P138
type Q43229
[ANSWER] has that person as its namesake
[{'concept': 'Q43229'}, 'P138', 'Q29468']
SELECT DISTINCT ?s WHERE { ?s property:P138 resource:Q5728838 . ?s rdf:type ontology:Q43229 }
Morgan Stanley
Morgan Stanley has that person as its namesake
Morgan Stanley
action filter_type
action find_reverse
entity Henry Sturgis Morgan
relation named after
type organization
[{'concept': 'organization'}, 'named after', 'Republican Party']
SELECT DISTINCT ?s WHERE { ?s property:named_after resource:Henry_Sturgis_Morgan . ?s rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5728838
P21
Q290
USER
Which sex does that person possess ?
(Q334204,P21,c(Q290))
action filter_type
action find
entity Q5728838
relation P21
type Q290
['Q334204', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q5728838 property:P21 ?m . ?m rdf:type ontology:Q290 }
Henry Sturgis Morgan
action filter_type
action find
entity Henry Sturgis Morgan
relation gender
type sex
['Morgan Stanley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Henry_Sturgis_Morgan property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q334204,P21,c(Q290))
action filter_type
action find
entity Q5728838
relation P21
type Q290
That person possesses a [ANSWER]
['Q334204', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q5728838 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Henry Sturgis Morgan
relation gender
type sex
['Morgan Stanley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Henry_Sturgis_Morgan property:gender ?m . ?m rdf:type ontology:sex }
[]