Simple Question (Direct)
Simple Question
Q266695
P106
Q12737077
USER
What is the job of Wade Hampton I ?
(Q266695,P106,c(Q12737077))
action filter_type
action find
entity Q266695
relation P106
type Q12737077
['Q266695', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q266695 property:P106 ?b }
Wade Hampton I
action filter_type
action find
entity Wade Hampton I
relation occupation
type occupation
['Wade Hampton I', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Wade_Hampton_I property:occupation ?b }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q266695,P106,c(Q12737077))
action filter_type
action find
entity Q266695
relation P106
type Q12737077
The job of Wade Hampton I is a [ANSWER]
['Q266695', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q266695 property:P106 ?b }
politician
The job of Wade Hampton I is a politician
politician
action filter_type
action find
entity Wade Hampton I
relation occupation
type occupation
['Wade Hampton I', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Wade_Hampton_I property:occupation ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q266695
P102
Q7210356
USER
Which party does that person belong to ?
(Q82955,P102,c(Q7210356))
action filter_type
action find
entity Q266695
relation P102
type Q7210356
['Q82955', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7210356 . resource:Q266695 property:P102 ?j }
Wade Hampton I
action filter_type
action find
entity Wade Hampton I
relation member of political party
type political organization
['politician', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_organization . resource:Wade_Hampton_I property:member_of_political_party ?j }
[]
political organization
Q42186
SYSTEM
Democratic-Republican Party
Q42186
(Q82955,P102,c(Q7210356))
action filter_type
action find
entity Q266695
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q82955', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7210356 . resource:Q266695 property:P102 ?j }
Democratic-Republican Party
That person belongs to Democratic-Republican Party
Democratic-Republican Party
action filter_type
action find
entity Wade Hampton I
relation member of political party
type political organization
['politician', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_organization . resource:Wade_Hampton_I property:member_of_political_party ?j }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q958419
P361
Q7210356 Q7210356
USER
How many political organizations are a component of less number of political organizations than Liga Veneta ?
(c(Q7210356),P361,c(Q7210356))
action count
action less
action find_tuple_counts
relation P361
type Q7210356
type Q7210356
action count
action filter_type
action find
entity Q958419
relation P361
type Q7210356
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?h ) WHERE { ?s property:P361 ?v . ?s rdf:type ontology:Q7210356 . ?v rdf:type ontology:Q7210356 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m rdf:type ontology:Q7210356 . resource:Q958419 property:P361 ?m } } . FILTER ( ?h < ?l ) }
Liga Veneta
action count
action less
action find_tuple_counts
relation part of
type political organization
type political organization
action count
action filter_type
action find
entity Liga Veneta
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?h ) WHERE { ?s property:part_of ?v . ?s rdf:type ontology:political_organization . ?v rdf:type ontology:political_organization } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m rdf:type ontology:political_organization . resource:Liga_Veneta property:part_of ?m } } . FILTER ( ?h < ?l ) }
[]
political organization political organization
SYSTEM
51
Q1518193 Q7131032 Q1654268 Q3935996 Q2632305 Q2179086 Q4824226 Q1952211 Q21405813 Q2482138 Q7303029 Q1922340 Q83372 Q1408232 Q291031 Q5874016 Q10564889 Q627189 Q20081274 Q978086 Q3834914 Q1149512 Q1479955 Q4118233 Q3678393 Q2070568 Q25648673 Q18390996 Q192254 Q2256403 Q6357092 Q504564 Q3366586 Q370936 Q5032604 Q17291443 Q941224 Q5305890 Q281745 Q25796237 Q7362579 Q606620 Q2037135 Q213451 Q285388 Q7551721 Q634277 Q5604428 Q5604429 Q4157656 Q2256283
(c(Q7210356),P361,c(Q7210356))
action count
action less
action find_tuple_counts
relation P361
type Q7210356
type Q7210356
action count
action filter_type
action find
entity Q958419
relation P361
type Q7210356
[ANSWER]
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?h ) WHERE { ?s property:P361 ?v . ?s rdf:type ontology:Q7210356 . ?v rdf:type ontology:Q7210356 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m rdf:type ontology:Q7210356 . resource:Q958419 property:P361 ?m } } . FILTER ( ?h < ?l ) }
Edelweiss Aosta Valley Panhellenic Liberation Movement Party of Christian Democracy Rebirth of Christian Democracy Christian Democracy for Autonomies Christian Democratic Party Australian Greens Victoria Democratic Centre Sinistra Italiana Autonomy Liberty Participation Ecology Recreate Greece Mezhraiontsy Bolsheviks Moderates for Piedmont Allgemeine SS Ho Chi Minh Communist Youth Union The Megaphone - Crocetta List labour party Italian Conservatives, Reformists Ecologist Party "The Greens" List for Trieste Yemeni Socialist Party Förderndes Mitglied der SS Nasserist Unionist People's Organisation Civic Freedom The Other Russia CasaPound Italia Romanian Social Democratic Party National Liberation Front Left Front Progressive Valdotanian Union FRELIMO Pirate Party of Morocco Valdotanian Union cannabis political party National-Democratic Party Trentino Tyrolean Autonomist Party Drasi Italian Socialist Party political group of the European Parliament Romanian Social Democratic Party South Tyrolean People's Party Christian Democracy Green Party Al-Islah Socialist Party of the Islands True Finns Greens South Australia Greens Western Australia Democratic Union Sardinian Reformers
51
action count
action less
action find_tuple_counts
relation part of
type political organization
type political organization
action count
action filter_type
action find
entity Liga Veneta
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?h ) WHERE { ?s property:part_of ?v . ?s rdf:type ontology:political_organization . ?v rdf:type ontology:political_organization } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m rdf:type ontology:political_organization . resource:Liga_Veneta property:part_of ?m } } . FILTER ( ?h < ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q363250
P1029
Q502895 Q1656682 Q2235308
USER
Which people are the team member of more number of events or ship types than Donald Pettit ?
(c(Q1656682)|c(Q2235308),P1029,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q363250
relation P1029
type Q1656682
type Q2235308
[[{'concept': 'Q1656682'}, {'concept': 'Q2235308'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?y ) WHERE { { ?g rdf:type ontology:Q502895 . ?v rdf:type ontology:Q1656682 . ?v property:P1029 ?g } UNION { ?v property:P1029 ?g . ?g rdf:type ontology:Q502895 . ?v rdf:type ontology:Q2235308 } } GROUP BY ?g } . FILTER ( ?y > ?r ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:P1029 resource:Q363250 . { { ?d rdf:type ontology:Q1656682 } UNION { ?d rdf:type ontology:Q2235308 } } } } }
Donald Pettit
action greater
action union
action find_reverse_tuple_counts
relation crew member
type common name
type event
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action count
action filter_multi_types
action find_reverse
entity Donald Pettit
relation crew member
type event
type ship type
[[{'concept': 'event'}, {'concept': 'ship type'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?y ) WHERE { { ?g rdf:type ontology:common_name . ?v rdf:type ontology:event . ?v property:crew_member ?g } UNION { ?v property:crew_member ?g . ?g rdf:type ontology:common_name . ?v rdf:type ontology:ship_type } } GROUP BY ?g } . FILTER ( ?y > ?r ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:crew_member resource:Donald_Pettit . { { ?d rdf:type ontology:event } UNION { ?d rdf:type ontology:ship_type } } } } }
[]
common name event ship type
Q111240 Q334084 Q174979
SYSTEM
Jim Lovell, Thomas Grenville, Alan Shepard
Q927249 Q107667 Q349365 Q111240 Q14623220 Q17519 Q18762 Q4715991 Q158486 Q19242 Q17478723 Q70468 Q229674 Q334084 Q49284 Q316417 Q364476 Q315730 Q25981 Q278656 Q382202 Q363506 Q174979 Q466075 Q317643 Q382013 Q320047
(c(Q1656682)|c(Q2235308),P1029,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q363250
relation P1029
type Q1656682
type Q2235308
[ANSWERS] are the team member of more number of events or ship types than Donald Pettit
[[{'concept': 'Q1656682'}, {'concept': 'Q2235308'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?y ) WHERE { { ?g rdf:type ontology:Q502895 . ?v rdf:type ontology:Q1656682 . ?v property:P1029 ?g } UNION { ?v property:P1029 ?g . ?g rdf:type ontology:Q502895 . ?v rdf:type ontology:Q2235308 } } GROUP BY ?g } . FILTER ( ?y > ?r ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:P1029 resource:Q363250 . { { ?d rdf:type ontology:Q1656682 } UNION { ?d rdf:type ontology:Q2235308 } } } } }
Oleg Skripochka John Young Ellison Onizuka Jim Lovell Adolf Schönberg Anousheh Ansari Frank Borman Aleksey Ovchinin Eugene Cernan Bill Anders Hans-Kurt von Bremen Otto von Bülow Christa McAuliffe Thomas Grenville Judith Resnik Thomas P. Stafford James McDivitt Ronald McNair Michael J. Smith David Scott Jeffrey Williams Rusty Schweickart Alan Shepard Pavel Vinogradov Marcos Pontes Gregory Jarvis Dick Scobee
Jim Lovell, Thomas Grenville and Alan Shepard are the team member of more number of events or ship types than Donald Pettit
Jim Lovell Thomas Grenville Alan Shepard
action greater
action union
action find_reverse_tuple_counts
relation crew member
type common name
type event
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action count
action filter_multi_types
action find_reverse
entity Donald Pettit
relation crew member
type event
type ship type
[[{'concept': 'event'}, {'concept': 'ship type'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?y ) WHERE { { ?g rdf:type ontology:common_name . ?v rdf:type ontology:event . ?v property:crew_member ?g } UNION { ?v property:crew_member ?g . ?g rdf:type ontology:common_name . ?v rdf:type ontology:ship_type } } GROUP BY ?g } . FILTER ( ?y > ?r ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:crew_member resource:Donald_Pettit . { { ?d rdf:type ontology:event } UNION { ?d rdf:type ontology:ship_type } } } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q174979
P509
Q2057971
USER
Which health problem was the cause of death of that person ?
(Q174979,P509,c(Q2057971))
action filter_type
action find
entity Q174979
relation P509
type Q2057971
['Q174979', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?m WHERE { resource:Q174979 property:P509 ?m . ?m rdf:type ontology:Q2057971 }
Alan Shepard
action filter_type
action find
entity Alan Shepard
relation cause of death
type health problem
['Alan Shepard', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?m WHERE { resource:Alan_Shepard property:cause_of_death ?m . ?m rdf:type ontology:health_problem }
[]
health problem
Clarification for simple ques.
Q334084
SYSTEM
Did you mean Thomas Grenville ?
Q111240 Q334084 Q174979
(Q111240,P509,c(Q2057971)) (Q334084,P509,c(Q2057971)) (Q174979,P509,c(Q2057971))
[ANSWER]
['Q111240', 'P509', {'concept': 'Q2057971'}] ['Q334084', 'P509', {'concept': 'Q2057971'}] ['Q174979', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?m WHERE { resource:Q174979 property:P509 ?m . ?m rdf:type ontology:Q2057971 }
Jim Lovell Thomas Grenville Alan Shepard
Did you mean Thomas Grenville ?
Thomas Grenville
['Jim Lovell', 'cause of death', {'concept': 'health problem'}] ['Thomas Grenville', 'cause of death', {'concept': 'health problem'}] ['Alan Shepard', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?m WHERE { resource:Alan_Shepard property:cause_of_death ?m . ?m rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
USER
No, I meant Alan Shepard. Could you tell me the answer for that?
(Q174979,P509,c(Q2057971))
Q174979
['Q174979', 'P509', {'concept': 'Q2057971'}]
['Alan Shepard', 'cause of death', {'concept': 'health problem'}]
[]
Q29496
SYSTEM
leukemia
Q29496
(Q174979,P509,c(Q2057971))
action filter_type
action find
entity Q174979
relation P509
type Q2057971
[ANSWER] was the cause of death of that person
['Q174979', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?m WHERE { resource:Q174979 property:P509 ?m . ?m rdf:type ontology:Q2057971 }
leukemia
Leukemia was the cause of death of that person
leukemia
action filter_type
action find
entity Alan Shepard
relation cause of death
type health problem
['Alan Shepard', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?m WHERE { resource:Alan_Shepard property:cause_of_death ?m . ?m rdf:type ontology:health_problem }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q29496 Q718204
P509
Q502895
USER
Did Frank Kabui die from that health problem ?
(Q718204,P509,Q29496)
action is_in
entity Q718204
action find
entity Q29496
relation P509
['Q718204', 'P509', 'Q29496']
ASK WHERE { resource:Q29496 property:P509 resource:Q718204 }
leukemia Frank Kabui
action is_in
entity Frank Kabui
action find
entity leukemia
relation cause of death
['Frank Kabui', 'cause of death', 'leukemia']
ASK WHERE { resource:leukemia property:cause_of_death resource:Frank_Kabui }
[]
common name
SYSTEM
NO
(Q718204,P509,Q29496)
action is_in
entity Q718204
action find
entity Q29496
relation P509
[ANSWER]
['Q718204', 'P509', 'Q29496']
ASK WHERE { resource:Q29496 property:P509 resource:Q718204 }
No
action is_in
entity Frank Kabui
action find
entity leukemia
relation cause of death
['Frank Kabui', 'cause of death', 'leukemia']
ASK WHERE { resource:leukemia property:cause_of_death resource:Frank_Kabui }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q174979 Q553445 Q256533
P27
Q15617994
USER
Is Alan Shepard a native of Niederfell and Kochel ?
(Q174979,P27,Q553445) (Q174979,P27,Q256533)
action is_in
entity Q174979
action intersection
action find_reverse
entity Q553445
relation P27
action find_reverse
entity Q256533
relation P27
['Q174979', 'P27', 'Q553445'] ['Q174979', 'P27', 'Q256533']
ASK WHERE { resource:Q174979 property:P27 resource:Q553445 . resource:Q174979 property:P27 resource:Q256533 }
Alan Shepard Niederfell Kochel
action is_in
entity Alan Shepard
action intersection
action find_reverse
entity Niederfell
relation country of citizenship
action find_reverse
entity Kochel
relation country of citizenship
['Alan Shepard', 'country of citizenship', 'Niederfell'] ['Alan Shepard', 'country of citizenship', 'Kochel']
ASK WHERE { resource:Alan_Shepard property:country_of_citizenship resource:Niederfell . resource:Alan_Shepard property:country_of_citizenship resource:Kochel }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q174979,P27,Q553445) (Q174979,P27,Q256533)
action is_in
entity Q174979
action intersection
action find_reverse
entity Q553445
relation P27
action find_reverse
entity Q256533
relation P27
[ANSWER]
['Q174979', 'P27', 'Q553445'] ['Q174979', 'P27', 'Q256533']
ASK WHERE { resource:Q174979 property:P27 resource:Q553445 . resource:Q174979 property:P27 resource:Q256533 }
No
action is_in
entity Alan Shepard
action intersection
action find_reverse
entity Niederfell
relation country of citizenship
action find_reverse
entity Kochel
relation country of citizenship
['Alan Shepard', 'country of citizenship', 'Niederfell'] ['Alan Shepard', 'country of citizenship', 'Kochel']
ASK WHERE { resource:Alan_Shepard property:country_of_citizenship resource:Niederfell . resource:Alan_Shepard property:country_of_citizenship resource:Kochel }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q174979
P241
Q781132
USER
Which military branch did that person belong to ?
action filter_type
action find
entity Q174979
relation P241
type Q781132
SELECT DISTINCT ?g WHERE { resource:Q174979 property:P241 ?g . ?g rdf:type ontology:Q781132 }
Alan Shepard
action filter_type
action find
entity Alan Shepard
relation military branch
type military branch
SELECT DISTINCT ?g WHERE { resource:Alan_Shepard property:military_branch ?g . ?g rdf:type ontology:military_branch }
[]
military branch
Q11220
SYSTEM
United States Navy
Q11220
action filter_type
action find
entity Q174979
relation P241
type Q781132
That person belonged to [ANSWER]
SELECT DISTINCT ?g WHERE { resource:Q174979 property:P241 ?g . ?g rdf:type ontology:Q781132 }
United States Navy
That person belonged to United States Navy
United States Navy
action filter_type
action find
entity Alan Shepard
relation military branch
type military branch
SELECT DISTINCT ?g WHERE { resource:Alan_Shepard property:military_branch ?g . ?g rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174979
P410
Q4189293
USER
Which title was the military rank held by Alan Shepard ?
(Q174979,P410,c(Q4189293))
action filter_type
action find
entity Q174979
relation P410
type Q4189293
['Q174979', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?h WHERE { resource:Q174979 property:P410 ?h . ?h rdf:type ontology:Q4189293 }
Alan Shepard
action filter_type
action find
entity Alan Shepard
relation military rank
type title
['Alan Shepard', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?h WHERE { resource:Alan_Shepard property:military_rank ?h . ?h rdf:type ontology:title }
[]
title
Q1278830
SYSTEM
rear admiral
Q1278830
(Q174979,P410,c(Q4189293))
action filter_type
action find
entity Q174979
relation P410
type Q4189293
The [ANSWER] was the military rank held by Alan Shepard
['Q174979', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?h WHERE { resource:Q174979 property:P410 ?h . ?h rdf:type ontology:Q4189293 }
rear admiral
The rear admiral was the military rank held by Alan Shepard
rear admiral
action filter_type
action find
entity Alan Shepard
relation military rank
type title
['Alan Shepard', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?h WHERE { resource:Alan_Shepard property:military_rank ?h . ?h rdf:type ontology:title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q174979
P1196
Q1931388
USER
What situation did that person die in ?
(Q1278830,P1196,c(Q1931388))
action filter_type
action find
entity Q174979
relation P1196
type Q1931388
['Q1278830', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q174979 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
Alan Shepard
action filter_type
action find
entity Alan Shepard
relation manner of death
type cause of death
['rear admiral', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Alan_Shepard property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q1278830,P1196,c(Q1931388))
action filter_type
action find
entity Q174979
relation P1196
type Q1931388
That person died in [ANSWER]
['Q1278830', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q174979 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Alan Shepard
relation manner of death
type cause of death
['rear admiral', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Alan_Shepard property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q7088313 Q174979
P1196
Q1931388
USER
And also Ollie Brown
AND((Q174979,P1196,c(Q1931388)), (Q7088313,P1196,c(Q1931388)))
action filter_type
action intersection
action find
entity Q174979
relation P1196
action find
entity Q7088313
relation P1196
type Q1931388
{'AND': [['Q174979', 'P1196', {'concept': 'Q1931388'}], ['Q7088313', 'P1196', {'concept': 'Q1931388'}]]}
SELECT DISTINCT ?q WHERE { resource:Q174979 property:P1196 ?q . resource:Q7088313 property:P1196 ?q . ?q rdf:type ontology:Q1931388 }
Ollie Brown Alan Shepard
action filter_type
action intersection
action find
entity Alan Shepard
relation manner of death
action find
entity Ollie Brown
relation manner of death
type cause of death
{'AND': [['Alan Shepard', 'manner of death', {'concept': 'cause of death'}], ['Ollie Brown', 'manner of death', {'concept': 'cause of death'}]]}
SELECT DISTINCT ?q WHERE { resource:Alan_Shepard property:manner_of_death ?q . resource:Ollie_Brown property:manner_of_death ?q . ?q rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
AND((Q174979,P1196,c(Q1931388)), (Q7088313,P1196,c(Q1931388)))
action filter_type
action intersection
action find
entity Q174979
relation P1196
action find
entity Q7088313
relation P1196
type Q1931388
[ANSWER]
{'AND': [['Q174979', 'P1196', {'concept': 'Q1931388'}], ['Q7088313', 'P1196', {'concept': 'Q1931388'}]]}
SELECT DISTINCT ?q WHERE { resource:Q174979 property:P1196 ?q . resource:Q7088313 property:P1196 ?q . ?q rdf:type ontology:Q1931388 }
natural causes
natural causes
action filter_type
action intersection
action find
entity Alan Shepard
relation manner of death
action find
entity Ollie Brown
relation manner of death
type cause of death
{'AND': [['Alan Shepard', 'manner of death', {'concept': 'cause of death'}], ['Ollie Brown', 'manner of death', {'concept': 'cause of death'}]]}
SELECT DISTINCT ?q WHERE { resource:Alan_Shepard property:manner_of_death ?q . resource:Ollie_Brown property:manner_of_death ?q . ?q rdf:type ontology:cause_of_death }
[]