Simple Question (Direct)
Simple Question
Q10373255
P57
Q502895
USER
Which person directed Somewhere Slow ?
(Q10373255,P57,c(Q502895))
action filter_type
action find
entity Q10373255
relation P57
type Q502895
['Q10373255', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q10373255 property:P57 ?k . ?k rdf:type ontology:Q502895 }
Somewhere Slow
action filter_type
action find
entity Somewhere Slow
relation director
type common name
['Somewhere Slow', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Somewhere_Slow property:director ?k . ?k rdf:type ontology:common_name }
[]
common name
Q6181745
SYSTEM
Jeremy O'Keefe
Q6181745
(Q10373255,P57,c(Q502895))
action filter_type
action find
entity Q10373255
relation P57
type Q502895
[ANSWER] directed Somewhere Slow
['Q10373255', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q10373255 property:P57 ?k . ?k rdf:type ontology:Q502895 }
Jeremy O'Keefe
Jeremy O'Keefe directed Somewhere Slow
Jeremy O'Keefe
action filter_type
action find
entity Somewhere Slow
relation director
type common name
['Somewhere Slow', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Somewhere_Slow property:director ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10373255
P136
Q1792379
USER
What can be considered as category for Somewhere Slow ?
(Q10373255,P136,c(Q1792379))
action filter_type
action find
entity Q10373255
relation P136
type Q1792379
['Q10373255', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { resource:Q10373255 property:P136 ?t . ?t rdf:type ontology:Q1792379 }
Somewhere Slow
action filter_type
action find
entity Somewhere Slow
relation genre
type art genre
['Somewhere Slow', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { resource:Somewhere_Slow property:genre ?t . ?t rdf:type ontology:art_genre }
[]
art genre
Q157443
SYSTEM
comedy film
Q157443
(Q10373255,P136,c(Q1792379))
action filter_type
action find
entity Q10373255
relation P136
type Q1792379
[ANSWER] can be considered as category for Somewhere Slow
['Q10373255', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { resource:Q10373255 property:P136 ?t . ?t rdf:type ontology:Q1792379 }
comedy film
Comedy film can be considered as category for Somewhere Slow
comedy film
action filter_type
action find
entity Somewhere Slow
relation genre
type art genre
['Somewhere Slow', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { resource:Somewhere_Slow property:genre ?t . ?t rdf:type ontology:art_genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7783708
Q1792379
USER
And what about They Flew Alone?
(Q7783708,P136,c(Q1792379))
action filter_type
action find
entity Q7783708
relation P136
type Q1792379
['Q7783708', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?n WHERE { resource:Q7783708 property:P136 ?n . ?n rdf:type ontology:Q1792379 }
They Flew Alone
action filter_type
action find
entity They Flew Alone
relation genre
type art genre
['They Flew Alone', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?n WHERE { resource:They_Flew_Alone property:genre ?n . ?n rdf:type ontology:art_genre }
[]
art genre
Q369747 Q645928 Q1935609
SYSTEM
war film, biographical film, propaganda film
Q645928 Q369747 Q1935609 Q130232
(Q7783708,P136,c(Q1792379))
action filter_type
action find
entity Q7783708
relation P136
type Q1792379
[ANSWERS] And about Flew
['Q7783708', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?n WHERE { resource:Q7783708 property:P136 ?n . ?n rdf:type ontology:Q1792379 }
biographical film war film propaganda film drama film
War film, biographical film and propaganda film And about Flew
war film biographical film propaganda film
action filter_type
action find
entity They Flew Alone
relation genre
type art genre
['They Flew Alone', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?n WHERE { resource:They_Flew_Alone property:genre ?n . ?n rdf:type ontology:art_genre }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1089904
P136
Q838948
USER
Does Churchill's Island a those art genres as their class ?
(Q1089904,P136,Q369747) (Q1089904,P136,Q645928) (Q1089904,P136,Q1935609)
action is_in
entity prev_answer
action find
entity Q1089904
relation P136
['Q1089904', 'P136', 'Q369747'] ['Q1089904', 'P136', 'Q645928'] ['Q1089904', 'P136', 'Q1935609']
ASK WHERE { resource:Q1089904 property:P136 ?e . VALUES ( ?e ) { ( resource:Q645928 ) ( resource:Q369747 ) ( resource:Q1935609 ) } }
Churchill's Island
action is_in
entity prev_answer
action find
entity Churchill's Island
relation genre
["Churchill's Island", 'genre', 'war film'] ["Churchill's Island", 'genre', 'biographical film'] ["Churchill's Island", 'genre', 'propaganda film']
ASK WHERE { resource:Churchill's_Island property:genre ?e . VALUES ( ?e ) { ( resource:biographical_film ) ( resource:war_film ) ( resource:propaganda_film ) } }
[]
work of art
SYSTEM
YES
(Q1089904,P136,Q369747) (Q1089904,P136,Q645928) (Q1089904,P136,Q1935609)
action is_in
entity prev_answer
action find
entity Q1089904
relation P136
[ANSWER]
['Q1089904', 'P136', 'Q369747'] ['Q1089904', 'P136', 'Q645928'] ['Q1089904', 'P136', 'Q1935609']
ASK WHERE { resource:Q1089904 property:P136 ?e . VALUES ( ?e ) { ( resource:Q645928 ) ( resource:Q369747 ) ( resource:Q1935609 ) } }
Yes
action is_in
entity prev_answer
action find
entity Churchill's Island
relation genre
["Churchill's Island", 'genre', 'war film'] ["Churchill's Island", 'genre', 'biographical film'] ["Churchill's Island", 'genre', 'propaganda film']
ASK WHERE { resource:Churchill's_Island property:genre ?e . VALUES ( ?e ) { ( resource:biographical_film ) ( resource:war_film ) ( resource:propaganda_film ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1194365 Q157443
P136
Q838948
USER
Which works of art have comedy film and pink film as genre ?
AND((c(Q838948),P136,Q157443), (c(Q838948),P136,Q1194365))
action filter_type
action intersection
action find_reverse
entity Q157443
relation P136
action find_reverse
entity Q1194365
relation P136
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P136', 'Q157443'], [{'concept': 'Q838948'}, 'P136', 'Q1194365']]}
SELECT DISTINCT ?b WHERE { ?b property:P136 resource:Q157443 . ?b property:P136 resource:Q1194365 . ?b rdf:type ontology:Q838948 }
pink film comedy film
action filter_type
action intersection
action find_reverse
entity comedy film
relation genre
action find_reverse
entity pink film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'genre', 'comedy film'], [{'concept': 'work of art'}, 'genre', 'pink film']]}
SELECT DISTINCT ?b WHERE { ?b property:genre resource:comedy_film . ?b property:genre resource:pink_film . ?b rdf:type ontology:work_of_art }
[]
work of art
Q4906576
SYSTEM
Big Tit Sisters: Blow Through the Valley
Q4906576
AND((c(Q838948),P136,Q157443), (c(Q838948),P136,Q1194365))
action filter_type
action intersection
action find_reverse
entity Q157443
relation P136
action find_reverse
entity Q1194365
relation P136
type Q838948
[ANSWER] have comedy film and pink film as genre
{'AND': [[{'concept': 'Q838948'}, 'P136', 'Q157443'], [{'concept': 'Q838948'}, 'P136', 'Q1194365']]}
SELECT DISTINCT ?b WHERE { ?b property:P136 resource:Q157443 . ?b property:P136 resource:Q1194365 . ?b rdf:type ontology:Q838948 }
Big Tit Sisters: Blow Through the Valley
Big Tit Sisters: Blow Through the Valley have comedy film and pink film as genre
Big Tit Sisters: Blow Through the Valley
action filter_type
action intersection
action find_reverse
entity comedy film
relation genre
action find_reverse
entity pink film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'genre', 'comedy film'], [{'concept': 'work of art'}, 'genre', 'pink film']]}
SELECT DISTINCT ?b WHERE { ?b property:genre resource:comedy_film . ?b property:genre resource:pink_film . ?b rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1139023 Q4906576
P161
Q502895
USER
Which people were casted in Big Tit Sisters: Blow Through the Valley or The Robe ?
OR((Q4906576,P161,c(Q502895)), (Q1139023,P161,c(Q502895)))
action filter_type
action union
action find
entity Q4906576
relation P161
action find
entity Q1139023
relation P161
type Q502895
{'OR': [['Q4906576', 'P161', {'concept': 'Q502895'}], ['Q1139023', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q4906576 property:P161 ?i } UNION { resource:Q1139023 property:P161 ?i } } . ?i rdf:type ontology:Q502895 }
The Robe Big Tit Sisters: Blow Through the Valley
action filter_type
action union
action find
entity Big Tit Sisters: Blow Through the Valley
relation cast member
action find
entity The Robe
relation cast member
type common name
{'OR': [['Big Tit Sisters: Blow Through the Valley', 'cast member', {'concept': 'common name'}], ['The Robe', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Big_Tit_Sisters:_Blow_Through_the_Valley property:cast_member ?i } UNION { resource:The_Robe property:cast_member ?i } } . ?i rdf:type ontology:common_name }
[]
common name
Q2475940 Q1436958 Q107656 Q727310 Q1929042 Q120215 Q471309 Q633755 Q1092037 Q151973
SYSTEM
Some of them are Betta St. John, Ford Rainey, Jean Simmons, Percy Helton, Michael Rennie, Ernest Thesiger, Dean Jagger, Jay Robinson, Ai Kanade, Richard Burton
Q1395893 Q1686347 Q4772462 Q15123111 Q471309 Q1929042 Q633755 Q85174 Q358317 Q1681583 Q727310 Q2475940 Q1092037 Q1436958 Q11665649 Q1277018 Q1285368 Q3815692 Q107656 Q5482191 Q554443 Q153332 Q120215 Q345325 Q493340 Q469086 Q8062656 Q556332 Q3891940 Q1276579 Q151973 Q598939 Q439588
OR((Q4906576,P161,c(Q502895)), (Q1139023,P161,c(Q502895)))
action filter_type
action union
action find
entity Q4906576
relation P161
action find
entity Q1139023
relation P161
type Q502895
[ANSWERS] were casted in Big Tit Sisters: Blow Through the Valley or The Robe
{'OR': [['Q4906576', 'P161', {'concept': 'Q502895'}], ['Q1139023', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q4906576 property:P161 ?i } UNION { resource:Q1139023 property:P161 ?i } } . ?i rdf:type ontology:Q502895 }
Rosalind Ivan Jeff Morrow Anthony Eustrel Thomas Browne Henry Dean Jagger Michael Rennie Jay Robinson Leon Askin Victor Mature Jan Arvan Percy Helton Betta St. John Ai Kanade Ford Rainey Kyōko Kazama Richard Boone Hayden Rorke Kit Carson Jean Simmons Francis Pierlot George E. Stone Mae Marsh Ernest Thesiger Harry Shearer Cameron Mitchell Dawn Addams Yōko Satomi Frank de Kova Peter Reynolds Michael Ansara Richard Burton John Doucette Torin Thatcher
Betta St. John, Ford Rainey, Jean Simmons, Percy Helton, Michael Rennie, Ernest Thesiger, Dean Jagger, Jay Robinson, Ai Kanade and Richard Burton were casted in Big Tit Sisters: Blow Through the Valley or The Robe
Betta St. John Ford Rainey Jean Simmons Percy Helton Michael Rennie Ernest Thesiger Dean Jagger Jay Robinson Ai Kanade Richard Burton
action filter_type
action union
action find
entity Big Tit Sisters: Blow Through the Valley
relation cast member
action find
entity The Robe
relation cast member
type common name
{'OR': [['Big Tit Sisters: Blow Through the Valley', 'cast member', {'concept': 'common name'}], ['The Robe', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Big_Tit_Sisters:_Blow_Through_the_Valley property:cast_member ?i } UNION { resource:The_Robe property:cast_member ?i } } . ?i rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q727310
P607
Q198
USER
What battle was that person a part of ?
(Q727310,P607,c(Q198))
action filter_type
action find
entity Q727310
relation P607
type Q198
['Q727310', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?g WHERE { resource:Q727310 property:P607 ?g . ?g rdf:type ontology:Q198 }
Percy Helton
action filter_type
action find
entity Percy Helton
relation conflict
type war
['Percy Helton', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?g WHERE { resource:Percy_Helton property:conflict ?g . ?g rdf:type ontology:war }
[]
war
Clarification for simple ques.
Q633755
SYSTEM
Did you mean Jay Robinson ?
Q2475940 Q1436958 Q107656 Q727310 Q1929042 Q120215 Q471309 Q633755 Q1092037 Q151973
(Q2475940,P607,c(Q198)) (Q1436958,P607,c(Q198)) (Q107656,P607,c(Q198)) (Q727310,P607,c(Q198)) (Q1929042,P607,c(Q198)) (Q120215,P607,c(Q198)) (Q471309,P607,c(Q198)) (Q633755,P607,c(Q198)) (Q1092037,P607,c(Q198)) (Q151973,P607,c(Q198))
[ANSWER]
['Q2475940', 'P607', {'concept': 'Q198'}] ['Q1436958', 'P607', {'concept': 'Q198'}] ['Q107656', 'P607', {'concept': 'Q198'}] ['Q727310', 'P607', {'concept': 'Q198'}] ['Q1929042', 'P607', {'concept': 'Q198'}] ['Q120215', 'P607', {'concept': 'Q198'}] ['Q471309', 'P607', {'concept': 'Q198'}] ['Q633755', 'P607', {'concept': 'Q198'}] ['Q1092037', 'P607', {'concept': 'Q198'}] ['Q151973', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?g WHERE { resource:Q727310 property:P607 ?g . ?g rdf:type ontology:Q198 }
Betta St. John Ford Rainey Jean Simmons Percy Helton Michael Rennie Ernest Thesiger Dean Jagger Jay Robinson Ai Kanade Richard Burton
Did you mean Jay Robinson ?
Jay Robinson
['Betta St. John', 'conflict', {'concept': 'war'}] ['Ford Rainey', 'conflict', {'concept': 'war'}] ['Jean Simmons', 'conflict', {'concept': 'war'}] ['Percy Helton', 'conflict', {'concept': 'war'}] ['Michael Rennie', 'conflict', {'concept': 'war'}] ['Ernest Thesiger', 'conflict', {'concept': 'war'}] ['Dean Jagger', 'conflict', {'concept': 'war'}] ['Jay Robinson', 'conflict', {'concept': 'war'}] ['Ai Kanade', 'conflict', {'concept': 'war'}] ['Richard Burton', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?g WHERE { resource:Percy_Helton property:conflict ?g . ?g rdf:type ontology:war }
[]
Simple Question (Coreferenced)
USER
No, I meant Percy Helton. Could you tell me the answer for that?
(Q727310,P607,c(Q198))
Q727310
['Q727310', 'P607', {'concept': 'Q198'}]
['Percy Helton', 'conflict', {'concept': 'war'}]
[]
Q361
SYSTEM
World War I
Q361
(Q727310,P607,c(Q198))
action filter_type
action find
entity Q727310
relation P607
type Q198
What battle was that person a part of
['Q727310', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?g WHERE { resource:Q727310 property:P607 ?g . ?g rdf:type ontology:Q198 }
World War I
What battle was that person a part of
World War I
action filter_type
action find
entity Percy Helton
relation conflict
type war
['Percy Helton', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?g WHERE { resource:Percy_Helton property:conflict ?g . ?g rdf:type ontology:war }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q361 Q63952
P607
Q502895
USER
Did that war fight in Max Simon ?
(Q63952,P607,Q361)
action is_in
entity Q361
action find
entity Q63952
relation P607
['Q63952', 'P607', 'Q361']
ASK WHERE { resource:Q63952 property:P607 resource:Q361 }
World War I Max Simon
action is_in
entity World War I
action find
entity Max Simon
relation conflict
['Max Simon', 'conflict', 'World War I']
ASK WHERE { resource:Max_Simon property:conflict resource:World_War_I }
[]
common name
SYSTEM
YES
(Q63952,P607,Q361)
action is_in
entity Q361
action find
entity Q63952
relation P607
[ANSWER]
['Q63952', 'P607', 'Q361']
ASK WHERE { resource:Q63952 property:P607 resource:Q361 }
Yes
action is_in
entity World War I
action find
entity Max Simon
relation conflict
['Max Simon', 'conflict', 'World War I']
ASK WHERE { resource:Max_Simon property:conflict resource:World_War_I }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q151973
P20
Q56061 Q13220204
USER
How many administrative territories or administrative country subdivisions did the demise of Richard Burton occur ?
(Q151973,P20,c(Q56061)) (Q151973,P20,c(Q13220204))
action count
action union
action filter_type
action find
entity Q151973
relation P20
type Q56061
action filter_type
action find
entity Q151973
relation P20
type Q13220204
['Q151973', 'P20', {'concept': 'Q56061'}] ['Q151973', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:Q56061 ) ( ontology:Q13220204 ) } }
Richard Burton
action count
action union
action filter_type
action find
entity Richard Burton
relation place of death
type administrative territorial entity
action filter_type
action find
entity Richard Burton
relation place of death
type second-level administrative country subdivision
['Richard Burton', 'place of death', {'concept': 'administrative territorial entity'}] ['Richard Burton', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } }
[]
administrative territorial entity second-level administrative country subdivision
SYSTEM
2
Q71 Q69410
(Q151973,P20,c(Q56061)) (Q151973,P20,c(Q13220204))
action count
action union
action filter_type
action find
entity Q151973
relation P20
type Q56061
action filter_type
action find
entity Q151973
relation P20
type Q13220204
[ANSWER]
['Q151973', 'P20', {'concept': 'Q56061'}] ['Q151973', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:Q56061 ) ( ontology:Q13220204 ) } }
Geneva Céligny
2
action count
action union
action filter_type
action find
entity Richard Burton
relation place of death
type administrative territorial entity
action filter_type
action find
entity Richard Burton
relation place of death
type second-level administrative country subdivision
['Richard Burton', 'place of death', {'concept': 'administrative territorial entity'}] ['Richard Burton', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2475940 Q10798782
P106
Q12737077
USER
Does television actor have Betta St. John as his/her as a career ?
(Q2475940,P106,Q10798782)
action is_in
entity Q10798782
action find
entity Q2475940
relation P106
['Q2475940', 'P106', 'Q10798782']
ASK WHERE { resource:Q2475940 property:P106 resource:Q10798782 }
Betta St. John television actor
action is_in
entity television actor
action find
entity Betta St. John
relation occupation
['Betta St. John', 'occupation', 'television actor']
ASK WHERE { resource:Betta_St._John property:occupation resource:television_actor }
[]
occupation
SYSTEM
YES
(Q2475940,P106,Q10798782)
action is_in
entity Q10798782
action find
entity Q2475940
relation P106
[ANSWER]
['Q2475940', 'P106', 'Q10798782']
ASK WHERE { resource:Q2475940 property:P106 resource:Q10798782 }
Yes
action is_in
entity television actor
action find
entity Betta St. John
relation occupation
['Betta St. John', 'occupation', 'television actor']
ASK WHERE { resource:Betta_St._John property:occupation resource:television_actor }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2475940
P734
Q82799
USER
Which name is associated with that person ?
action filter_type
action find
entity Q2475940
relation P734
type Q82799
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q82799 . resource:Q2475940 property:P734 ?o }
Betta St. John
action filter_type
action find
entity Betta St. John
relation family name
type name
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:name . resource:Betta_St._John property:family_name ?o }
[]
name
Q19253821
SYSTEM
Saint John
Q19253821
action filter_type
action find
entity Q2475940
relation P734
type Q82799
[ANSWER] is associated with that person
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q82799 . resource:Q2475940 property:P734 ?o }
Saint John
Saint John is associated with that person
Saint John
action filter_type
action find
entity Betta St. John
relation family name
type name
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:name . resource:Betta_St._John property:family_name ?o }
[]