Simple Question (Direct)
Simple Question
Q529401
P509
Q12136
USER
Which disease was the cause of death of Nan Chauncy ?
(Q529401,P509,c(Q12136))
action filter_type
action find
entity Q529401
relation P509
type Q12136
['Q529401', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ?j WHERE { resource:Q529401 property:P509 ?j . ?j rdf:type ontology:Q12136 }
Nan Chauncy
action filter_type
action find
entity Nan Chauncy
relation cause of death
type disease
['Nan Chauncy', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ?j WHERE { resource:Nan_Chauncy property:cause_of_death ?j . ?j rdf:type ontology:disease }
[]
disease
Q12078
SYSTEM
cancer
Q12078
(Q529401,P509,c(Q12136))
action filter_type
action find
entity Q529401
relation P509
type Q12136
[ANSWER] was the cause of death of Nan Chauncy
['Q529401', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ?j WHERE { resource:Q529401 property:P509 ?j . ?j rdf:type ontology:Q12136 }
cancer
Cancer was the cause of death of Nan Chauncy
cancer
action filter_type
action find
entity Nan Chauncy
relation cause of death
type disease
['Nan Chauncy', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ?j WHERE { resource:Nan_Chauncy property:cause_of_death ?j . ?j rdf:type ontology:disease }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q529401
P1196
Q1931388
USER
What situation did that person die in ?
(Q12078,P1196,c(Q1931388))
action filter_type
action find
entity Q529401
relation P1196
type Q1931388
['Q12078', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?e WHERE { resource:Q529401 property:P1196 ?e . ?e rdf:type ontology:Q1931388 }
Nan Chauncy
action filter_type
action find
entity Nan Chauncy
relation manner of death
type cause of death
['cancer', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?e WHERE { resource:Nan_Chauncy property:manner_of_death ?e . ?e rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q12078,P1196,c(Q1931388))
action filter_type
action find
entity Q529401
relation P1196
type Q1931388
That person died in [ANSWER]
['Q12078', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?e WHERE { resource:Q529401 property:P1196 ?e . ?e rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Nan Chauncy
relation manner of death
type cause of death
['cancer', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?e WHERE { resource:Nan_Chauncy property:manner_of_death ?e . ?e rdf:type ontology:cause_of_death }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7945440 Q529401
P1196
Q1931388
USER
Or W. D. Workman, Jr.?
OR((Q529401,P1196,c(Q1931388)), (Q7945440,P1196,c(Q1931388)))
action filter_type
action union
action find
entity Q529401
relation P1196
action find
entity Q7945440
relation P1196
type Q1931388
{'OR': [['Q529401', 'P1196', {'concept': 'Q1931388'}], ['Q7945440', 'P1196', {'concept': 'Q1931388'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q529401 property:P1196 ?v } UNION { resource:Q7945440 property:P1196 ?v } } . ?v rdf:type ontology:Q1931388 }
W. D. Workman, Jr. Nan Chauncy
action filter_type
action union
action find
entity Nan Chauncy
relation manner of death
action find
entity W. D. Workman, Jr.
relation manner of death
type cause of death
{'OR': [['Nan Chauncy', 'manner of death', {'concept': 'cause of death'}], ['W. D. Workman, Jr.', 'manner of death', {'concept': 'cause of death'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Nan_Chauncy property:manner_of_death ?v } UNION { resource:W._D._Workman,_Jr. property:manner_of_death ?v } } . ?v rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
OR((Q529401,P1196,c(Q1931388)), (Q7945440,P1196,c(Q1931388)))
action filter_type
action union
action find
entity Q529401
relation P1196
action find
entity Q7945440
relation P1196
type Q1931388
[ANSWER]
{'OR': [['Q529401', 'P1196', {'concept': 'Q1931388'}], ['Q7945440', 'P1196', {'concept': 'Q1931388'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q529401 property:P1196 ?v } UNION { resource:Q7945440 property:P1196 ?v } } . ?v rdf:type ontology:Q1931388 }
natural causes
natural causes
action filter_type
action union
action find
entity Nan Chauncy
relation manner of death
action find
entity W. D. Workman, Jr.
relation manner of death
type cause of death
{'OR': [['Nan Chauncy', 'manner of death', {'concept': 'cause of death'}], ['W. D. Workman, Jr.', 'manner of death', {'concept': 'cause of death'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Nan_Chauncy property:manner_of_death ?v } UNION { resource:W._D._Workman,_Jr. property:manner_of_death ?v } } . ?v rdf:type ontology:cause_of_death }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q529401
P27
Q1048835
USER
How many political territories are Nan Chauncy a civilian of ?
(Q529401,P27,c(Q1048835))
action count
action filter_type
action find
entity Q529401
relation P27
type Q1048835
['Q529401', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q529401 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
Nan Chauncy
action count
action filter_type
action find
entity Nan Chauncy
relation country of citizenship
type political territorial entity
['Nan Chauncy', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Nan_Chauncy property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q408
(Q529401,P27,c(Q1048835))
action count
action filter_type
action find
entity Q529401
relation P27
type Q1048835
[ANSWER]
['Q529401', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q529401 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
Australia
1
action count
action filter_type
action find
entity Nan Chauncy
relation country of citizenship
type political territorial entity
['Nan Chauncy', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Nan_Chauncy property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q529401
P20
Q56061
USER
Where did that person die ?
action filter_type
action find
entity Q529401
relation P20
type Q56061
SELECT DISTINCT ?f WHERE { resource:Q529401 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Nan Chauncy
action filter_type
action find
entity Nan Chauncy
relation place of death
type administrative territorial entity
SELECT DISTINCT ?f WHERE { resource:Nan_Chauncy property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2879005
SYSTEM
Bagdad
Q2879005
action filter_type
action find
entity Q529401
relation P20
type Q56061
That person died in [ANSWER]
SELECT DISTINCT ?f WHERE { resource:Q529401 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Bagdad
That person died in Bagdad
Bagdad
action filter_type
action find
entity Nan Chauncy
relation place of death
type administrative territorial entity
SELECT DISTINCT ?f WHERE { resource:Nan_Chauncy property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2879005
P19
Q502895
USER
Who has location of birth at that administrative territory ?
(c(Q502895),P19,Q2879005)
action filter_type
action find_reverse
entity Q2879005
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q2879005']
SELECT DISTINCT ?w WHERE { ?w property:P19 resource:Q2879005 . ?w rdf:type ontology:Q502895 }
Bagdad
action filter_type
action find_reverse
entity Bagdad
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Bagdad']
SELECT DISTINCT ?w WHERE { ?w property:place_of_birth resource:Bagdad . ?w rdf:type ontology:common_name }
[]
common name
Q4786220
SYSTEM
Archibald Blacklow
Q4786220
(c(Q502895),P19,Q2879005)
action filter_type
action find_reverse
entity Q2879005
relation P19
type Q502895
[ANSWER] has location of birth at that administrative territory
[{'concept': 'Q502895'}, 'P19', 'Q2879005']
SELECT DISTINCT ?w WHERE { ?w property:P19 resource:Q2879005 . ?w rdf:type ontology:Q502895 }
Archibald Blacklow
Archibald Blacklow has location of birth at that administrative territory
Archibald Blacklow
action filter_type
action find_reverse
entity Bagdad
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Bagdad']
SELECT DISTINCT ?w WHERE { ?w property:place_of_birth resource:Bagdad . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4786220
P102
Q7210356
USER
Which political organizations are that person a member of ?
(Q4786220,P102,c(Q7210356))
action filter_type
action find
entity Q4786220
relation P102
type Q7210356
['Q4786220', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q7210356 . resource:Q4786220 property:P102 ?o }
Archibald Blacklow
action filter_type
action find
entity Archibald Blacklow
relation member of political party
type political organization
['Archibald Blacklow', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_organization . resource:Archibald_Blacklow property:member_of_political_party ?o }
[]
political organization
Q1728956 Q241149
SYSTEM
United Australia Party, Liberal Party of Australia
Q1728956 Q241149
(Q4786220,P102,c(Q7210356))
action filter_type
action find
entity Q4786220
relation P102
type Q7210356
Australia [ANSWERS] are that person a member of
['Q4786220', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q7210356 . resource:Q4786220 property:P102 ?o }
United Australia Party Liberal Party of Australia
Australia United Australia Party and Liberal Party of Australia are that person a member of
United Australia Party Liberal Party of Australia
action filter_type
action find
entity Archibald Blacklow
relation member of political party
type political organization
['Archibald Blacklow', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_organization . resource:Archibald_Blacklow property:member_of_political_party ?o }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q542559
P102
Q502895
USER
Does George Cadle Price belong to the political party named those ones ?
(Q542559,P102,Q1728956) (Q542559,P102,Q241149)
action is_in
entity prev_answer
action find
entity Q542559
relation P102
['Q542559', 'P102', 'Q1728956'] ['Q542559', 'P102', 'Q241149']
ASK WHERE { VALUES ( ?g ) { ( resource:Q1728956 ) ( resource:Q241149 ) } . resource:Q542559 property:P102 ?g }
George Cadle Price
action is_in
entity prev_answer
action find
entity George Cadle Price
relation member of political party
['George Cadle Price', 'member of political party', 'United Australia Party'] ['George Cadle Price', 'member of political party', 'Liberal Party of Australia']
ASK WHERE { VALUES ( ?g ) { ( resource:United_Australia_Party ) ( resource:Liberal_Party_of_Australia ) } . resource:George_Cadle_Price property:member_of_political_party ?g }
[]
common name
SYSTEM
NO
(Q542559,P102,Q1728956) (Q542559,P102,Q241149)
action is_in
entity prev_answer
action find
entity Q542559
relation P102
[ANSWER]
['Q542559', 'P102', 'Q1728956'] ['Q542559', 'P102', 'Q241149']
ASK WHERE { VALUES ( ?g ) { ( resource:Q1728956 ) ( resource:Q241149 ) } . resource:Q542559 property:P102 ?g }
No
action is_in
entity prev_answer
action find
entity George Cadle Price
relation member of political party
['George Cadle Price', 'member of political party', 'United Australia Party'] ['George Cadle Price', 'member of political party', 'Liberal Party of Australia']
ASK WHERE { VALUES ( ?g ) { ( resource:United_Australia_Party ) ( resource:Liberal_Party_of_Australia ) } . resource:George_Cadle_Price property:member_of_political_party ?g }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q374762 Q542559
P991
Q40231
USER
Which elections were George Cadle Price or John Hoeven elected from ?
OR((c(Q40231),P991,Q542559), (c(Q40231),P991,Q374762))
action filter_type
action union
action find_reverse
entity Q542559
relation P991
action find_reverse
entity Q374762
relation P991
type Q40231
{'OR': [[{'concept': 'Q40231'}, 'P991', 'Q542559'], [{'concept': 'Q40231'}, 'P991', 'Q374762']]}
SELECT DISTINCT ?d WHERE { { { ?d property:P991 resource:Q542559 } UNION { ?d property:P991 resource:Q374762 } } . ?d rdf:type ontology:Q40231 }
John Hoeven George Cadle Price
action filter_type
action union
action find_reverse
entity George Cadle Price
relation successful candidate
action find_reverse
entity John Hoeven
relation successful candidate
type election
{'OR': [[{'concept': 'election'}, 'successful candidate', 'George Cadle Price'], [{'concept': 'election'}, 'successful candidate', 'John Hoeven']]}
SELECT DISTINCT ?d WHERE { { { ?d property:successful_candidate resource:George_Cadle_Price } UNION { ?d property:successful_candidate resource:John_Hoeven } } . ?d rdf:type ontology:election }
[]
election
Q16824465 Q7055079 Q4970059 Q7055080 Q7055078 Q4970060
SYSTEM
British Honduras general election, 1961, North Dakota gubernatorial election, 2004, British Honduras general election, 1965, North Dakota gubernatorial election, 2008, North Dakota gubernatorial election, 2000, British Honduras general election, 1969
Q16824465 Q7055079 Q4970059 Q7055080 Q7055078 Q4970060
OR((c(Q40231),P991,Q542559), (c(Q40231),P991,Q374762))
action filter_type
action union
action find_reverse
entity Q542559
relation P991
action find_reverse
entity Q374762
relation P991
type Q40231
[ANSWERS]
{'OR': [[{'concept': 'Q40231'}, 'P991', 'Q542559'], [{'concept': 'Q40231'}, 'P991', 'Q374762']]}
SELECT DISTINCT ?d WHERE { { { ?d property:P991 resource:Q542559 } UNION { ?d property:P991 resource:Q374762 } } . ?d rdf:type ontology:Q40231 }
British Honduras general election, 1961 North Dakota gubernatorial election, 2004 British Honduras general election, 1965 North Dakota gubernatorial election, 2008 North Dakota gubernatorial election, 2000 British Honduras general election, 1969
George Cadle Price or John Hoeven were elected in British Honduras general election, 1961, North Dakota gubernatorial election, 2004, British Honduras general election, 1965, North Dakota gubernatorial election, 2008, North Dakota gubernatorial election, 2000 and British Honduras general election, 1969
British Honduras general election, 1961 North Dakota gubernatorial election, 2004 British Honduras general election, 1965 North Dakota gubernatorial election, 2008 North Dakota gubernatorial election, 2000 British Honduras general election, 1969
action filter_type
action union
action find_reverse
entity George Cadle Price
relation successful candidate
action find_reverse
entity John Hoeven
relation successful candidate
type election
{'OR': [[{'concept': 'election'}, 'successful candidate', 'George Cadle Price'], [{'concept': 'election'}, 'successful candidate', 'John Hoeven']]}
SELECT DISTINCT ?d WHERE { { { ?d property:successful_candidate resource:George_Cadle_Price } UNION { ?d property:successful_candidate resource:John_Hoeven } } . ?d rdf:type ontology:election }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7082675 Q4970060
P161 P991
Q502895
USER
Which people were the elected candidates from British Honduras general election, 1969 or are in Oktoberfest ?
OR((Q4970060,P991,c(Q502895)), (Q7082675,P161,c(Q502895)))
action filter_type
action union
action find
entity Q4970060
relation P991
action find
entity Q7082675
relation P161
type Q502895
{'OR': [['Q4970060', 'P991', {'concept': 'Q502895'}], ['Q7082675', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . { { resource:Q4970060 property:P991 ?z } UNION { resource:Q7082675 property:P161 ?z } } }
Oktoberfest British Honduras general election, 1969
action filter_type
action union
action find
entity British Honduras general election, 1969
relation successful candidate
action find
entity Oktoberfest
relation cast member
type common name
{'OR': [['British Honduras general election, 1969', 'successful candidate', {'concept': 'common name'}], ['Oktoberfest', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . { { resource:British_Honduras_general_election,_1969 property:successful_candidate ?z } UNION { resource:Oktoberfest property:cast_member ?z } } }
[]
common name
Q8074337 Q1566279 Q1711470 Q12758418 Q12750309 Q12751367 Q13589238 Q1562512 Q12747523 Q13599793
SYSTEM
Some of them are Zoran Cvijanović, Petar Kralj, Srđan Todorović, Ružica Sokić, Goran Radaković, Dušan Tadić, Ratko Tankosić, Ljubomir Ćipranić, Đurđija Cvetic, Mladen Andrejević
Q542559 Q1563211 Q948201 Q6984633 Q1566279 Q1251581 Q1711470 Q12758418 Q12752151 Q299977 Q1563176 Q12751367 Q1562512 Q16082740 Q12747523 Q432892 Q12750309 Q11130930 Q12758666 Q8074337 Q13599793 Q13589238 Q15971525 Q12759918
OR((Q4970060,P991,c(Q502895)), (Q7082675,P161,c(Q502895)))
action filter_type
action union
action find
entity Q4970060
relation P991
action find
entity Q7082675
relation P161
type Q502895
[ANSWERS] were the elected candidates from British Honduras general election, 1969 or are in Oktoberfest
{'OR': [['Q4970060', 'P991', {'concept': 'Q502895'}], ['Q7082675', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . { { resource:Q4970060 property:P991 ?z } UNION { resource:Q7082675 property:P161 ?z } } }
George Cadle Price Vesna Trivalić Bata Živojinović Nebojša Bakočević Petar Kralj Branislav Lečić Srđan Todorović Ružica Sokić Ivana Mihić Bogdan Diklić Mima Karadžić Dušan Tadić Ljubomir Ćipranić Еlizabeta Đorevska Đurđija Cvetic Žarko Laušević Goran Radaković Milivoje Tomić Svetislav Goncić Zoran Cvijanović Mladen Andrejević Ratko Tankosić Vladislava Milosavljevic Tatjana Pujin
Zoran Cvijanović, Petar Kralj, Srđan Todorović, Ružica Sokić, Goran Radaković, Dušan Tadić, Ratko Tankosić, Ljubomir Ćipranić, Đurđija Cvetic and Mladen Andrejević were the elected candidates from British Honduras general election, 1969 or are in Oktoberfest
Zoran Cvijanović Petar Kralj Srđan Todorović Ružica Sokić Goran Radaković Dušan Tadić Ratko Tankosić Ljubomir Ćipranić Đurđija Cvetic Mladen Andrejević
action filter_type
action union
action find
entity British Honduras general election, 1969
relation successful candidate
action find
entity Oktoberfest
relation cast member
type common name
{'OR': [['British Honduras general election, 1969', 'successful candidate', {'concept': 'common name'}], ['Oktoberfest', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . { { resource:British_Honduras_general_election,_1969 property:successful_candidate ?z } UNION { resource:Oktoberfest property:cast_member ?z } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7082675
P161
Q838948
USER
Do those people star in Oktoberfest ?
(Q7082675,P161,Q8074337) (Q7082675,P161,Q1566279) (Q7082675,P161,Q1711470) (Q7082675,P161,Q12758418) (Q7082675,P161,Q12750309) (Q7082675,P161,Q12751367) (Q7082675,P161,Q13589238) (Q7082675,P161,Q1562512) (Q7082675,P161,Q12747523) (Q7082675,P161,Q13599793)
action is_in
entity prev_answer
action find
entity Q7082675
relation P161
['Q7082675', 'P161', 'Q8074337'] ['Q7082675', 'P161', 'Q1566279'] ['Q7082675', 'P161', 'Q1711470'] ['Q7082675', 'P161', 'Q12758418'] ['Q7082675', 'P161', 'Q12750309'] ['Q7082675', 'P161', 'Q12751367'] ['Q7082675', 'P161', 'Q13589238'] ['Q7082675', 'P161', 'Q1562512'] ['Q7082675', 'P161', 'Q12747523'] ['Q7082675', 'P161', 'Q13599793']
ASK WHERE { VALUES ( ?q ) { ( resource:Q542559 ) ( resource:Q1563211 ) ( resource:Q948201 ) } . resource:Q7082675 property:P161 ?q }
Oktoberfest
action is_in
entity prev_answer
action find
entity Oktoberfest
relation cast member
['Oktoberfest', 'cast member', 'Zoran Cvijanović'] ['Oktoberfest', 'cast member', 'Petar Kralj'] ['Oktoberfest', 'cast member', 'Srđan Todorović'] ['Oktoberfest', 'cast member', 'Ružica Sokić'] ['Oktoberfest', 'cast member', 'Goran Radaković'] ['Oktoberfest', 'cast member', 'Dušan Tadić'] ['Oktoberfest', 'cast member', 'Ratko Tankosić'] ['Oktoberfest', 'cast member', 'Ljubomir Ćipranić'] ['Oktoberfest', 'cast member', 'Đurđija Cvetic'] ['Oktoberfest', 'cast member', 'Mladen Andrejević']
ASK WHERE { VALUES ( ?q ) { ( resource:George_Cadle_Price ) ( resource:Vesna_Trivalić ) ( resource:Bata_Živojinović ) } . resource:Oktoberfest property:cast_member ?q }
[]
work of art
SYSTEM
YES
(Q7082675,P161,Q8074337) (Q7082675,P161,Q1566279) (Q7082675,P161,Q1711470) (Q7082675,P161,Q12758418) (Q7082675,P161,Q12750309) (Q7082675,P161,Q12751367) (Q7082675,P161,Q13589238) (Q7082675,P161,Q1562512) (Q7082675,P161,Q12747523) (Q7082675,P161,Q13599793)
action is_in
entity prev_answer
action find
entity Q7082675
relation P161
[ANSWER]
['Q7082675', 'P161', 'Q8074337'] ['Q7082675', 'P161', 'Q1566279'] ['Q7082675', 'P161', 'Q1711470'] ['Q7082675', 'P161', 'Q12758418'] ['Q7082675', 'P161', 'Q12750309'] ['Q7082675', 'P161', 'Q12751367'] ['Q7082675', 'P161', 'Q13589238'] ['Q7082675', 'P161', 'Q1562512'] ['Q7082675', 'P161', 'Q12747523'] ['Q7082675', 'P161', 'Q13599793']
ASK WHERE { VALUES ( ?q ) { ( resource:Q542559 ) ( resource:Q1563211 ) ( resource:Q948201 ) } . resource:Q7082675 property:P161 ?q }
Yes
action is_in
entity prev_answer
action find
entity Oktoberfest
relation cast member
['Oktoberfest', 'cast member', 'Zoran Cvijanović'] ['Oktoberfest', 'cast member', 'Petar Kralj'] ['Oktoberfest', 'cast member', 'Srđan Todorović'] ['Oktoberfest', 'cast member', 'Ružica Sokić'] ['Oktoberfest', 'cast member', 'Goran Radaković'] ['Oktoberfest', 'cast member', 'Dušan Tadić'] ['Oktoberfest', 'cast member', 'Ratko Tankosić'] ['Oktoberfest', 'cast member', 'Ljubomir Ćipranić'] ['Oktoberfest', 'cast member', 'Đurđija Cvetic'] ['Oktoberfest', 'cast member', 'Mladen Andrejević']
ASK WHERE { VALUES ( ?q ) { ( resource:George_Cadle_Price ) ( resource:Vesna_Trivalić ) ( resource:Bata_Živojinović ) } . resource:Oktoberfest property:cast_member ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12078 Q4391540
P2176
Q8386
USER
Is Interferon Alfa-2b, Recombinant used as a remedy for cancer ?
(Q12078,P2176,Q4391540)
action is_in
entity Q4391540
action find
entity Q12078
relation P2176
['Q12078', 'P2176', 'Q4391540']
ASK WHERE { resource:Q12078 property:P2176 resource:Q4391540 }
cancer Interferon Alfa-2b, Recombinant
action is_in
entity Interferon Alfa-2b, Recombinant
action find
entity cancer
relation drug used for treatment
['cancer', 'drug used for treatment', 'Interferon Alfa-2b, Recombinant']
ASK WHERE { resource:cancer property:drug_used_for_treatment resource:Interferon_Alfa-2b,_Recombinant }
[]
drug
SYSTEM
YES
(Q12078,P2176,Q4391540)
action is_in
entity Q4391540
action find
entity Q12078
relation P2176
[ANSWER]
['Q12078', 'P2176', 'Q4391540']
ASK WHERE { resource:Q12078 property:P2176 resource:Q4391540 }
Yes
action is_in
entity Interferon Alfa-2b, Recombinant
action find
entity cancer
relation drug used for treatment
['cancer', 'drug used for treatment', 'Interferon Alfa-2b, Recombinant']
ASK WHERE { resource:cancer property:drug_used_for_treatment resource:Interferon_Alfa-2b,_Recombinant }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12078
P1995
Q1047113
USER
Which special field is the medical speciality of cancer ?
(Q12078,P1995,c(Q1047113))
action filter_type
action find
entity Q12078
relation P1995
type Q1047113
['Q12078', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1047113 . resource:Q12078 property:P1995 ?u }
cancer
action filter_type
action find
entity cancer
relation medical specialty
type special field
['cancer', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:special_field . resource:cancer property:medical_specialty ?u }
[]
special field
Q162555
SYSTEM
oncology
Q162555
(Q12078,P1995,c(Q1047113))
action filter_type
action find
entity Q12078
relation P1995
type Q1047113
And [ANSWER] is the medical speciality of cancer
['Q12078', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1047113 . resource:Q12078 property:P1995 ?u }
oncology
And oncology is the medical speciality of cancer
oncology
action filter_type
action find
entity cancer
relation medical specialty
type special field
['cancer', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:special_field . resource:cancer property:medical_specialty ?u }
[]