Simple Question (Direct)
Simple Question
Q177439
P1441
Q277759
USER
Which book series is Rubeus Hagrid present in ?
(Q177439,P1441,c(Q277759))
action filter_type
action find
entity Q177439
relation P1441
type Q277759
['Q177439', 'P1441', {'concept': 'Q277759'}]
SELECT DISTINCT ?y WHERE { resource:Q177439 property:P1441 ?y . ?y rdf:type ontology:Q277759 }
Rubeus Hagrid
action filter_type
action find
entity Rubeus Hagrid
relation present in work
type book series
['Rubeus Hagrid', 'present in work', {'concept': 'book series'}]
SELECT DISTINCT ?y WHERE { resource:Rubeus_Hagrid property:present_in_work ?y . ?y rdf:type ontology:book_series }
[]
book series
Q8337
SYSTEM
Harry Potter
Q8337
(Q177439,P1441,c(Q277759))
action filter_type
action find
entity Q177439
relation P1441
type Q277759
Rubeus Hagrid is in [ANSWER]
['Q177439', 'P1441', {'concept': 'Q277759'}]
SELECT DISTINCT ?y WHERE { resource:Q177439 property:P1441 ?y . ?y rdf:type ontology:Q277759 }
Harry Potter
Rubeus Hagrid is in Harry Potter
Harry Potter
action filter_type
action find
entity Rubeus Hagrid
relation present in work
type book series
['Rubeus Hagrid', 'present in work', {'concept': 'book series'}]
SELECT DISTINCT ?y WHERE { resource:Rubeus_Hagrid property:present_in_work ?y . ?y rdf:type ontology:book_series }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q177439
P127
Q2239243
USER
Which mythical creature is owned by that beast species in the Harry Potter universe ?
(c(Q2239243),P127,Q8337)
action filter_type
action find_reverse
entity Q177439
relation P127
type Q2239243
[{'concept': 'Q2239243'}, 'P127', 'Q8337']
SELECT DISTINCT ?u WHERE { ?u property:P127 resource:Q177439 . ?u rdf:type ontology:Q2239243 }
Rubeus Hagrid
action filter_type
action find_reverse
entity Rubeus Hagrid
relation owned by
type mythical creature
[{'concept': 'mythical creature'}, 'owned by', 'Harry Potter']
SELECT DISTINCT ?u WHERE { ?u property:owned_by resource:Rubeus_Hagrid . ?u rdf:type ontology:mythical_creature }
[]
mythical creature
Q14321830
SYSTEM
Blast-ended Skrewt
Q14321830
(c(Q2239243),P127,Q8337)
action filter_type
action find_reverse
entity Q177439
relation P127
type Q2239243
[ANSWER] is owned by that beast species in the Harry Potter universe
[{'concept': 'Q2239243'}, 'P127', 'Q8337']
SELECT DISTINCT ?u WHERE { ?u property:P127 resource:Q177439 . ?u rdf:type ontology:Q2239243 }
Blast-ended Skrewt
Blast-ended Skrewt is owned by that beast species in the Harry Potter universe
Blast-ended Skrewt
action filter_type
action find_reverse
entity Rubeus Hagrid
relation owned by
type mythical creature
[{'concept': 'mythical creature'}, 'owned by', 'Harry Potter']
SELECT DISTINCT ?u WHERE { ?u property:owned_by resource:Rubeus_Hagrid . ?u rdf:type ontology:mythical_creature }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2696107 Q14321830
P1441
Q277759
USER
Which book series are Blast-ended Skrewt or Wilhelmina Grubbly-Plank shown in ?
OR((Q14321830,P1441,c(Q277759)), (Q2696107,P1441,c(Q277759)))
action filter_type
action union
action find
entity Q14321830
relation P1441
action find
entity Q2696107
relation P1441
type Q277759
{'OR': [['Q14321830', 'P1441', {'concept': 'Q277759'}], ['Q2696107', 'P1441', {'concept': 'Q277759'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q277759 . { ?o property:P1441 ?d . VALUES ( ?o ) { ( resource:Q14321830 ) ( resource:Q2696107 ) } } }
Wilhelmina Grubbly-Plank Blast-ended Skrewt
action filter_type
action union
action find
entity Blast-ended Skrewt
relation present in work
action find
entity Wilhelmina Grubbly-Plank
relation present in work
type book series
{'OR': [['Blast-ended Skrewt', 'present in work', {'concept': 'book series'}], ['Wilhelmina Grubbly-Plank', 'present in work', {'concept': 'book series'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:book_series . { ?o property:present_in_work ?d . VALUES ( ?o ) { ( resource:Blast-ended_Skrewt ) ( resource:Wilhelmina_Grubbly-Plank ) } } }
[]
book series
Q8337
SYSTEM
Harry Potter
Q8337
OR((Q14321830,P1441,c(Q277759)), (Q2696107,P1441,c(Q277759)))
action filter_type
action union
action find
entity Q14321830
relation P1441
action find
entity Q2696107
relation P1441
type Q277759
[ANSWER] is Blast-ended Skrewt or Wilhelmina Grubbly-Plank shown in
{'OR': [['Q14321830', 'P1441', {'concept': 'Q277759'}], ['Q2696107', 'P1441', {'concept': 'Q277759'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q277759 . { ?o property:P1441 ?d . VALUES ( ?o ) { ( resource:Q14321830 ) ( resource:Q2696107 ) } } }
Harry Potter
Harry Potter is Blast-ended Skrewt or Wilhelmina Grubbly-Plank shown in
Harry Potter
action filter_type
action union
action find
entity Blast-ended Skrewt
relation present in work
action find
entity Wilhelmina Grubbly-Plank
relation present in work
type book series
{'OR': [['Blast-ended Skrewt', 'present in work', {'concept': 'book series'}], ['Wilhelmina Grubbly-Plank', 'present in work', {'concept': 'book series'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:book_series . { ?o property:present_in_work ?d . VALUES ( ?o ) { ( resource:Blast-ended_Skrewt ) ( resource:Wilhelmina_Grubbly-Plank ) } } }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q8337 Q3840326 Q34660
P50
Q502895
USER
Is that book series written by Luis Antonio Sánchez and J. K. Rowling ?
(Q8337,P50,Q3840326) (Q8337,P50,Q34660)
action is_in
entity Q8337
action intersection
action find_reverse
entity Q3840326
relation P50
action find_reverse
entity Q34660
relation P50
['Q8337', 'P50', 'Q3840326'] ['Q8337', 'P50', 'Q34660']
ASK WHERE { resource:Q8337 property:P50 resource:Q3840326 . resource:Q8337 property:P50 resource:Q34660 }
Harry Potter Luis Antonio Sánchez J. K. Rowling
action is_in
entity Harry Potter
action intersection
action find_reverse
entity Luis Antonio Sánchez
relation author
action find_reverse
entity J. K. Rowling
relation author
['Harry Potter', 'author', 'Luis Antonio Sánchez'] ['Harry Potter', 'author', 'J. K. Rowling']
ASK WHERE { resource:Harry_Potter property:author resource:Luis_Antonio_Sánchez . resource:Harry_Potter property:author resource:J._K._Rowling }
[]
common name
SYSTEM
NO and YES respectively
(Q8337,P50,Q3840326) (Q8337,P50,Q34660)
action is_in
entity Q8337
action intersection
action find_reverse
entity Q3840326
relation P50
action find_reverse
entity Q34660
relation P50
[ANSWER]
['Q8337', 'P50', 'Q3840326'] ['Q8337', 'P50', 'Q34660']
ASK WHERE { resource:Q8337 property:P50 resource:Q3840326 . resource:Q8337 property:P50 resource:Q34660 }
NO and YES respectively
action is_in
entity Harry Potter
action intersection
action find_reverse
entity Luis Antonio Sánchez
relation author
action find_reverse
entity J. K. Rowling
relation author
['Harry Potter', 'author', 'Luis Antonio Sánchez'] ['Harry Potter', 'author', 'J. K. Rowling']
ASK WHERE { resource:Harry_Potter property:author resource:Luis_Antonio_Sánchez . resource:Harry_Potter property:author resource:J._K._Rowling }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q177439 Q34660
P170
Q502895
USER
Is J. K. Rowling credited with the creation of Rubeus Hagrid ?
(Q177439,P170,Q34660)
action is_in
entity Q34660
action find
entity Q177439
relation P170
['Q177439', 'P170', 'Q34660']
ASK WHERE { resource:Q177439 property:P170 resource:Q34660 }
Rubeus Hagrid J. K. Rowling
action is_in
entity J. K. Rowling
action find
entity Rubeus Hagrid
relation creator
['Rubeus Hagrid', 'creator', 'J. K. Rowling']
ASK WHERE { resource:Rubeus_Hagrid property:creator resource:J._K._Rowling }
[]
common name
SYSTEM
YES
(Q177439,P170,Q34660)
action is_in
entity Q34660
action find
entity Q177439
relation P170
[ANSWER]
['Q177439', 'P170', 'Q34660']
ASK WHERE { resource:Q177439 property:P170 resource:Q34660 }
Yes
action is_in
entity J. K. Rowling
action find
entity Rubeus Hagrid
relation creator
['Rubeus Hagrid', 'creator', 'J. K. Rowling']
ASK WHERE { resource:Rubeus_Hagrid property:creator resource:J._K._Rowling }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q8337 Q8014894 Q19279780
P50
Q502895
USER
Is William M. Hughes and Franz Albert Schneider an author of Harry Potter ?
(Q8337,P50,Q8014894) (Q8337,P50,Q19279780)
action is_in
entity Q8337
action intersection
action find_reverse
entity Q8014894
relation P50
action find_reverse
entity Q19279780
relation P50
['Q8337', 'P50', 'Q8014894'] ['Q8337', 'P50', 'Q19279780']
ASK WHERE { resource:Q8337 property:P50 resource:Q19279780 . resource:Q8337 property:P50 resource:Q8014894 }
Harry Potter William M. Hughes Franz Albert Schneider
action is_in
entity Harry Potter
action intersection
action find_reverse
entity William M. Hughes
relation author
action find_reverse
entity Franz Albert Schneider
relation author
['Harry Potter', 'author', 'William M. Hughes'] ['Harry Potter', 'author', 'Franz Albert Schneider']
ASK WHERE { resource:Harry_Potter property:author resource:Franz_Albert_Schneider . resource:Harry_Potter property:author resource:William_M._Hughes }
[]
common name
SYSTEM
NO
(Q8337,P50,Q8014894) (Q8337,P50,Q19279780)
action is_in
entity Q8337
action intersection
action find_reverse
entity Q8014894
relation P50
action find_reverse
entity Q19279780
relation P50
[ANSWER]
['Q8337', 'P50', 'Q8014894'] ['Q8337', 'P50', 'Q19279780']
ASK WHERE { resource:Q8337 property:P50 resource:Q19279780 . resource:Q8337 property:P50 resource:Q8014894 }
No
action is_in
entity Harry Potter
action intersection
action find_reverse
entity William M. Hughes
relation author
action find_reverse
entity Franz Albert Schneider
relation author
['Harry Potter', 'author', 'William M. Hughes'] ['Harry Potter', 'author', 'Franz Albert Schneider']
ASK WHERE { resource:Harry_Potter property:author resource:Franz_Albert_Schneider . resource:Harry_Potter property:author resource:William_M._Hughes }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q14321830 Q8337
P1441
Q277759
USER
Does Harry Potter contain that mythical creature ?
(Q14321830,P1441,Q8337)
action is_in
entity Q8337
action find
entity Q14321830
relation P1441
['Q14321830', 'P1441', 'Q8337']
ASK WHERE { resource:Q14321830 property:P1441 resource:Q8337 }
Blast-ended Skrewt Harry Potter
action is_in
entity Harry Potter
action find
entity Blast-ended Skrewt
relation present in work
['Blast-ended Skrewt', 'present in work', 'Harry Potter']
ASK WHERE { resource:Blast-ended_Skrewt property:present_in_work resource:Harry_Potter }
[]
book series
SYSTEM
YES
(Q14321830,P1441,Q8337)
action is_in
entity Q8337
action find
entity Q14321830
relation P1441
[ANSWER]
['Q14321830', 'P1441', 'Q8337']
ASK WHERE { resource:Q14321830 property:P1441 resource:Q8337 }
Yes
action is_in
entity Harry Potter
action find
entity Blast-ended Skrewt
relation present in work
['Blast-ended Skrewt', 'present in work', 'Harry Potter']
ASK WHERE { resource:Blast-ended_Skrewt property:present_in_work resource:Harry_Potter }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q8337 Q34660 Q912670
P50
Q502895
USER
Is J. K. Rowling and Károly Dávid an author of Harry Potter ?
(Q8337,P50,Q34660) (Q8337,P50,Q912670)
action is_in
entity Q8337
action intersection
action find_reverse
entity Q34660
relation P50
action find_reverse
entity Q912670
relation P50
['Q8337', 'P50', 'Q34660'] ['Q8337', 'P50', 'Q912670']
ASK WHERE { resource:Q8337 property:P50 resource:Q912670 . resource:Q8337 property:P50 resource:Q34660 }
Harry Potter J. K. Rowling Károly Dávid
action is_in
entity Harry Potter
action intersection
action find_reverse
entity J. K. Rowling
relation author
action find_reverse
entity Károly Dávid
relation author
['Harry Potter', 'author', 'J. K. Rowling'] ['Harry Potter', 'author', 'Károly Dávid']
ASK WHERE { resource:Harry_Potter property:author resource:Károly_Dávid . resource:Harry_Potter property:author resource:J._K._Rowling }
[]
common name
SYSTEM
YES and NO respectively
(Q8337,P50,Q34660) (Q8337,P50,Q912670)
action is_in
entity Q8337
action intersection
action find_reverse
entity Q34660
relation P50
action find_reverse
entity Q912670
relation P50
[ANSWER]
['Q8337', 'P50', 'Q34660'] ['Q8337', 'P50', 'Q912670']
ASK WHERE { resource:Q8337 property:P50 resource:Q912670 . resource:Q8337 property:P50 resource:Q34660 }
YES and NO respectively
action is_in
entity Harry Potter
action intersection
action find_reverse
entity J. K. Rowling
relation author
action find_reverse
entity Károly Dávid
relation author
['Harry Potter', 'author', 'J. K. Rowling'] ['Harry Potter', 'author', 'Károly Dávid']
ASK WHERE { resource:Harry_Potter property:author resource:Károly_Dávid . resource:Harry_Potter property:author resource:J._K._Rowling }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q14321830 Q8337 Q8022961
P1441
Q277759
USER
Is Blast-ended Skrewt from the works of Harry Potter and Wilson ?
(Q14321830,P1441,Q8337) (Q14321830,P1441,Q8022961)
action is_in
entity Q14321830
action intersection
action find_reverse
entity Q8337
relation P1441
action find_reverse
entity Q8022961
relation P1441
['Q14321830', 'P1441', 'Q8337'] ['Q14321830', 'P1441', 'Q8022961']
ASK WHERE { resource:Q14321830 property:P1441 resource:Q8337 . resource:Q14321830 property:P1441 resource:Q8022961 }
Blast-ended Skrewt Harry Potter Wilson
action is_in
entity Blast-ended Skrewt
action intersection
action find_reverse
entity Harry Potter
relation present in work
action find_reverse
entity Wilson
relation present in work
['Blast-ended Skrewt', 'present in work', 'Harry Potter'] ['Blast-ended Skrewt', 'present in work', 'Wilson']
ASK WHERE { resource:Blast-ended_Skrewt property:present_in_work resource:Harry_Potter . resource:Blast-ended_Skrewt property:present_in_work resource:Wilson }
[]
book series
SYSTEM
YES and NO respectively
(Q14321830,P1441,Q8337) (Q14321830,P1441,Q8022961)
action is_in
entity Q14321830
action intersection
action find_reverse
entity Q8337
relation P1441
action find_reverse
entity Q8022961
relation P1441
[ANSWER]
['Q14321830', 'P1441', 'Q8337'] ['Q14321830', 'P1441', 'Q8022961']
ASK WHERE { resource:Q14321830 property:P1441 resource:Q8337 . resource:Q14321830 property:P1441 resource:Q8022961 }
YES and NO respectively
action is_in
entity Blast-ended Skrewt
action intersection
action find_reverse
entity Harry Potter
relation present in work
action find_reverse
entity Wilson
relation present in work
['Blast-ended Skrewt', 'present in work', 'Harry Potter'] ['Blast-ended Skrewt', 'present in work', 'Wilson']
ASK WHERE { resource:Blast-ended_Skrewt property:present_in_work resource:Harry_Potter . resource:Blast-ended_Skrewt property:present_in_work resource:Wilson }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q177439 Q34660
P170
Q502895
USER
Is J. K. Rowling credited with the creation of Rubeus Hagrid ?
(Q177439,P170,Q34660)
action is_in
entity Q34660
action find
entity Q177439
relation P170
['Q177439', 'P170', 'Q34660']
ASK WHERE { resource:Q177439 property:P170 resource:Q34660 }
Rubeus Hagrid J. K. Rowling
action is_in
entity J. K. Rowling
action find
entity Rubeus Hagrid
relation creator
['Rubeus Hagrid', 'creator', 'J. K. Rowling']
ASK WHERE { resource:Rubeus_Hagrid property:creator resource:J._K._Rowling }
[]
common name
SYSTEM
YES
(Q177439,P170,Q34660)
action is_in
entity Q34660
action find
entity Q177439
relation P170
[ANSWER]
['Q177439', 'P170', 'Q34660']
ASK WHERE { resource:Q177439 property:P170 resource:Q34660 }
Yes
action is_in
entity J. K. Rowling
action find
entity Rubeus Hagrid
relation creator
['Rubeus Hagrid', 'creator', 'J. K. Rowling']
ASK WHERE { resource:Rubeus_Hagrid property:creator resource:J._K._Rowling }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q177439
P674
Q838948
USER
Which work of art is that beast species in the Harry Potter universe a character of ?
action filter_type
action find_reverse
entity Q177439
relation P674
type Q838948
SELECT DISTINCT ?m WHERE { ?m property:P674 resource:Q177439 . ?m rdf:type ontology:Q838948 }
Rubeus Hagrid
action filter_type
action find_reverse
entity Rubeus Hagrid
relation characters
type work of art
SELECT DISTINCT ?m WHERE { ?m property:characters resource:Rubeus_Hagrid . ?m rdf:type ontology:work_of_art }
[]
work of art
Q20711488
SYSTEM
Harry Potter and the Cursed Child
Q20711488
action filter_type
action find_reverse
entity Q177439
relation P674
type Q838948
[ANSWER] is that beast species in the Harry Potter universe a character of
SELECT DISTINCT ?m WHERE { ?m property:P674 resource:Q177439 . ?m rdf:type ontology:Q838948 }
Harry Potter and the Cursed Child
Harry Potter and the Cursed Child is that beast species in the Harry Potter universe a character of
Harry Potter and the Cursed Child
action filter_type
action find_reverse
entity Rubeus Hagrid
relation characters
type work of art
SELECT DISTINCT ?m WHERE { ?m property:characters resource:Rubeus_Hagrid . ?m rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20711488
P361
Q277759
USER
Which book series is that work of art a part of ?
(Q20711488,P361,c(Q277759))
action filter_type
action find
entity Q20711488
relation P361
type Q277759
['Q20711488', 'P361', {'concept': 'Q277759'}]
SELECT DISTINCT ?h WHERE { resource:Q20711488 property:P361 ?h . ?h rdf:type ontology:Q277759 }
Harry Potter and the Cursed Child
action filter_type
action find
entity Harry Potter and the Cursed Child
relation part of
type book series
['Harry Potter and the Cursed Child', 'part of', {'concept': 'book series'}]
SELECT DISTINCT ?h WHERE { resource:Harry_Potter_and_the_Cursed_Child property:part_of ?h . ?h rdf:type ontology:book_series }
[]
book series
Q8337
SYSTEM
Harry Potter
Q8337
(Q20711488,P361,c(Q277759))
action filter_type
action find
entity Q20711488
relation P361
type Q277759
[ANSWER] is that work of art a part of
['Q20711488', 'P361', {'concept': 'Q277759'}]
SELECT DISTINCT ?h WHERE { resource:Q20711488 property:P361 ?h . ?h rdf:type ontology:Q277759 }
Harry Potter
Harry Potter is that work of art a part of
Harry Potter
action filter_type
action find
entity Harry Potter and the Cursed Child
relation part of
type book series
['Harry Potter and the Cursed Child', 'part of', {'concept': 'book series'}]
SELECT DISTINCT ?h WHERE { resource:Harry_Potter_and_the_Cursed_Child property:part_of ?h . ?h rdf:type ontology:book_series }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q8337 Q4335005
P1441
Q15707583
USER
Is Onslaught present in that book series ?
(Q4335005,P1441,Q8337)
action is_in
entity Q4335005
action find
entity Q8337
relation P1441
['Q4335005', 'P1441', 'Q8337']
ASK WHERE { resource:Q8337 property:P1441 resource:Q4335005 }
Harry Potter Onslaught
action is_in
entity Onslaught
action find
entity Harry Potter
relation present in work
['Onslaught', 'present in work', 'Harry Potter']
ASK WHERE { resource:Harry_Potter property:present_in_work resource:Onslaught }
[]
fictional taxon
SYSTEM
NO
(Q4335005,P1441,Q8337)
action is_in
entity Q4335005
action find
entity Q8337
relation P1441
[ANSWER]
['Q4335005', 'P1441', 'Q8337']
ASK WHERE { resource:Q8337 property:P1441 resource:Q4335005 }
No
action is_in
entity Onslaught
action find
entity Harry Potter
relation present in work
['Onslaught', 'present in work', 'Harry Potter']
ASK WHERE { resource:Harry_Potter property:present_in_work resource:Onslaught }
[]