Simple Question (Direct)
Simple Question
Q472096
P364
Q34770
USER
Which language was used originally for the creation of Body Heat ?
(Q472096,P364,c(Q34770))
action filter_type
action find
entity Q472096
relation P364
type Q34770
['Q472096', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q472096 property:P364 ?u . ?u rdf:type ontology:Q34770 }
Body Heat
action filter_type
action find
entity Body Heat
relation original language of work
type language
['Body Heat', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Body_Heat property:original_language_of_work ?u . ?u rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q472096,P364,c(Q34770))
action filter_type
action find
entity Q472096
relation P364
type Q34770
[ANSWER] was used originally for the creation of Body Heat
['Q472096', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q472096 property:P364 ?u . ?u rdf:type ontology:Q34770 }
English
English was used originally for the creation of Body Heat
English
action filter_type
action find
entity Body Heat
relation original language of work
type language
['Body Heat', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Body_Heat property:original_language_of_work ?u . ?u rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q472096
P344
Q502895
USER
Who is appointed as the cinematographer of Body Heat ?
(Q472096,P344,c(Q502895))
action filter_type
action find
entity Q472096
relation P344
type Q502895
['Q472096', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q472096 property:P344 ?f . ?f rdf:type ontology:Q502895 }
Body Heat
action filter_type
action find
entity Body Heat
relation director of photography
type common name
['Body Heat', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Body_Heat property:director_of_photography ?f . ?f rdf:type ontology:common_name }
[]
common name
Q707946
SYSTEM
Richard H. Kline
Q707946
(Q472096,P344,c(Q502895))
action filter_type
action find
entity Q472096
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of Body Heat
['Q472096', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q472096 property:P344 ?f . ?f rdf:type ontology:Q502895 }
Richard H. Kline
Richard H. Kline is appointed as the cinematographer of Body Heat
Richard H. Kline
action filter_type
action find
entity Body Heat
relation director of photography
type common name
['Body Heat', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Body_Heat property:director_of_photography ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q472096
P86
Q502895
USER
Who wrote the music for that work of art ?
(Q707946,P86,c(Q502895))
action filter_type
action find
entity Q472096
relation P86
type Q502895
['Q707946', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q472096 property:P86 ?g . ?g rdf:type ontology:Q502895 }
Body Heat
action filter_type
action find
entity Body Heat
relation composer
type common name
['Richard H. Kline', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Body_Heat property:composer ?g . ?g rdf:type ontology:common_name }
[]
common name
Q111074
SYSTEM
John Barry
Q111074
(Q707946,P86,c(Q502895))
action filter_type
action find
entity Q472096
relation P86
type Q502895
[ANSWER] wrote the music for that work of art
['Q707946', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q472096 property:P86 ?g . ?g rdf:type ontology:Q502895 }
John Barry
John Barry wrote the music for that work of art
John Barry
action filter_type
action find
entity Body Heat
relation composer
type common name
['Richard H. Kline', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Body_Heat property:composer ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q111074
P800
Q2031291
USER
What was notable work done by that person ?
(Q111074,P800,c(Q2031291))
action filter_type
action find
entity Q111074
relation P800
type Q2031291
['Q111074', 'P800', {'concept': 'Q2031291'}]
SELECT DISTINCT ?r WHERE { resource:Q111074 property:P800 ?r . ?r rdf:type ontology:Q2031291 }
John Barry
action filter_type
action find
entity John Barry
relation notable work
type release
['John Barry', 'notable work', {'concept': 'release'}]
SELECT DISTINCT ?r WHERE { resource:John_Barry property:notable_work ?r . ?r rdf:type ontology:release }
[]
release
Q14716
SYSTEM
Goldfinger
Q14716
(Q111074,P800,c(Q2031291))
action filter_type
action find
entity Q111074
relation P800
type Q2031291
Notable work done by that person was named [ANSWER]
['Q111074', 'P800', {'concept': 'Q2031291'}]
SELECT DISTINCT ?r WHERE { resource:Q111074 property:P800 ?r . ?r rdf:type ontology:Q2031291 }
Goldfinger
Notable work done by that person was named Goldfinger
Goldfinger
action filter_type
action find
entity John Barry
relation notable work
type release
['John Barry', 'notable work', {'concept': 'release'}]
SELECT DISTINCT ?r WHERE { resource:John_Barry property:notable_work ?r . ?r rdf:type ontology:release }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P800
Q2031291 Q502895
USER
How many releases are a notable work of greater number of people than that release ?
(c(Q502895),P800,c(Q2031291))
action count
action greater
action find_reverse_tuple_counts
relation P800
type Q2031291
type Q502895
action count
action filter_type
action find
entity Q14716
relation P800
type Q2031291
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q2031291'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?j ) WHERE { ?g rdf:type ontology:Q2031291 . ?p rdf:type ontology:Q502895 . ?p property:P800 ?g } GROUP BY ?g } . FILTER ( ?j > ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Q14716 property:P800 ?d . ?d rdf:type ontology:Q2031291 } } }
action count
action greater
action find_reverse_tuple_counts
relation notable work
type release
type common name
action count
action filter_type
action find
entity Goldfinger
relation notable work
type release
[{'concept': 'common name'}, 'notable work', {'concept': 'release'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?j ) WHERE { ?g rdf:type ontology:release . ?p rdf:type ontology:common_name . ?p property:notable_work ?g } GROUP BY ?g } . FILTER ( ?j > ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Goldfinger property:notable_work ?d . ?d rdf:type ontology:release } } }
[]
release common name
SYSTEM
3
Q1004668 Q5533319 Q23022395
(c(Q502895),P800,c(Q2031291))
action count
action greater
action find_reverse_tuple_counts
relation P800
type Q2031291
type Q502895
action count
action filter_type
action find
entity Q14716
relation P800
type Q2031291
[ANSWER]
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q2031291'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?j ) WHERE { ?g rdf:type ontology:Q2031291 . ?p rdf:type ontology:Q502895 . ?p property:P800 ?g } GROUP BY ?g } . FILTER ( ?j > ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Q14716 property:P800 ?d . ?d rdf:type ontology:Q2031291 } } }
Fångad av en stormvind Genki o Dashite If I Were Sorry
3
action count
action greater
action find_reverse_tuple_counts
relation notable work
type release
type common name
action count
action filter_type
action find
entity Goldfinger
relation notable work
type release
[{'concept': 'common name'}, 'notable work', {'concept': 'release'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?j ) WHERE { ?g rdf:type ontology:release . ?p rdf:type ontology:common_name . ?p property:notable_work ?g } GROUP BY ?g } . FILTER ( ?j > ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Goldfinger property:notable_work ?d . ?d rdf:type ontology:release } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q111074
P22
Q502895
USER
Which person has John Barry as a parent ?
(c(Q502895),P22,Q111074)
action filter_type
action find_reverse
entity Q111074
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q111074']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q111074 }
John Barry
action filter_type
action find_reverse
entity John Barry
relation father
type common name
[{'concept': 'common name'}, 'father', 'John Barry']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:father resource:John_Barry }
[]
common name
Q6375357
SYSTEM
Kate Barry
Q6375357
(c(Q502895),P22,Q111074)
action filter_type
action find_reverse
entity Q111074
relation P22
type Q502895
[ANSWER] has John Barry as a parent
[{'concept': 'Q502895'}, 'P22', 'Q111074']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q111074 }
Kate Barry
Kate Barry has John Barry as a parent
Kate Barry
action filter_type
action find_reverse
entity John Barry
relation father
type common name
[{'concept': 'common name'}, 'father', 'John Barry']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:father resource:John_Barry }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q111074
P1412
Q34770
USER
Which language is spoken by John Barry ?
(Q111074,P1412,c(Q34770))
action filter_type
action find
entity Q111074
relation P1412
type Q34770
['Q111074', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q111074 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
John Barry
action filter_type
action find
entity John Barry
relation languages spoken, written or signed
type language
['John Barry', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:John_Barry property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q111074,P1412,c(Q34770))
action filter_type
action find
entity Q111074
relation P1412
type Q34770
It [ANSWER] is spoken by John Barry
['Q111074', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q111074 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
English
It English is spoken by John Barry
English
action filter_type
action find
entity John Barry
relation languages spoken, written or signed
type language
['John Barry', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:John_Barry property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q111074
P1346
Q4220917
USER
Which film awards were won by that person ?
(c(Q4220917),P1346,Q1860)
action filter_type
action find_reverse
entity Q111074
relation P1346
type Q4220917
[{'concept': 'Q4220917'}, 'P1346', 'Q1860']
SELECT DISTINCT ?i WHERE { ?i property:P1346 resource:Q111074 . ?i rdf:type ontology:Q4220917 }
John Barry
action filter_type
action find_reverse
entity John Barry
relation winner
type film award
[{'concept': 'film award'}, 'winner', 'English']
SELECT DISTINCT ?i WHERE { ?i property:winner resource:John_Barry . ?i rdf:type ontology:film_award }
[]
film award
Q787098 Q787148
SYSTEM
BAFTA Award for Best Film Music, BAFTA Academy Fellowship Award
Q787098 Q787148
(c(Q4220917),P1346,Q1860)
action filter_type
action find_reverse
entity Q111074
relation P1346
type Q4220917
[ANSWERS] were won by that person
[{'concept': 'Q4220917'}, 'P1346', 'Q1860']
SELECT DISTINCT ?i WHERE { ?i property:P1346 resource:Q111074 . ?i rdf:type ontology:Q4220917 }
BAFTA Award for Best Film Music BAFTA Academy Fellowship Award
BAFTA Award for Best Film Music and BAFTA Academy Fellowship Award were won by that person
BAFTA Award for Best Film Music BAFTA Academy Fellowship Award
action filter_type
action find_reverse
entity John Barry
relation winner
type film award
[{'concept': 'film award'}, 'winner', 'English']
SELECT DISTINCT ?i WHERE { ?i property:winner resource:John_Barry . ?i rdf:type ontology:film_award }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5403111
P166
Q502895
USER
Were Wilhelm Bauck awarded with those film awards ?
(Q5403111,P166,Q787098) (Q5403111,P166,Q787148)
action is_in
entity prev_answer
action find
entity Q5403111
relation P166
['Q5403111', 'P166', 'Q787098'] ['Q5403111', 'P166', 'Q787148']
ASK WHERE { resource:Q5403111 property:P166 ?t . VALUES ( ?t ) { ( resource:Q787098 ) ( resource:Q787148 ) } }
Wilhelm Bauck
action is_in
entity prev_answer
action find
entity Wilhelm Bauck
relation award received
['Wilhelm Bauck', 'award received', 'BAFTA Award for Best Film Music'] ['Wilhelm Bauck', 'award received', 'BAFTA Academy Fellowship Award']
ASK WHERE { resource:Wilhelm_Bauck property:award_received ?t . VALUES ( ?t ) { ( resource:BAFTA_Award_for_Best_Film_Music ) ( resource:BAFTA_Academy_Fellowship_Award ) } }
[]
common name
SYSTEM
NO
(Q5403111,P166,Q787098) (Q5403111,P166,Q787148)
action is_in
entity prev_answer
action find
entity Q5403111
relation P166
[ANSWER]
['Q5403111', 'P166', 'Q787098'] ['Q5403111', 'P166', 'Q787148']
ASK WHERE { resource:Q5403111 property:P166 ?t . VALUES ( ?t ) { ( resource:Q787098 ) ( resource:Q787148 ) } }
No
action is_in
entity prev_answer
action find
entity Wilhelm Bauck
relation award received
['Wilhelm Bauck', 'award received', 'BAFTA Award for Best Film Music'] ['Wilhelm Bauck', 'award received', 'BAFTA Academy Fellowship Award']
ASK WHERE { resource:Wilhelm_Bauck property:award_received ?t . VALUES ( ?t ) { ( resource:BAFTA_Award_for_Best_Film_Music ) ( resource:BAFTA_Academy_Fellowship_Award ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6375357
P25
Q502895
USER
Who was the mom of Kate Barry ?
(Q6375357,P25,c(Q502895))
action filter_type
action find
entity Q6375357
relation P25
type Q502895
['Q6375357', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q6375357 property:P25 ?e . ?e rdf:type ontology:Q502895 }
Kate Barry
action filter_type
action find
entity Kate Barry
relation mother
type common name
['Kate Barry', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Kate_Barry property:mother ?e . ?e rdf:type ontology:common_name }
[]
common name
Q212873
SYSTEM
Jane Birkin
Q212873
(Q6375357,P25,c(Q502895))
action filter_type
action find
entity Q6375357
relation P25
type Q502895
The mom of Kate Barry was Miss [ANSWER]
['Q6375357', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q6375357 property:P25 ?e . ?e rdf:type ontology:Q502895 }
Jane Birkin
The mom of Kate Barry was Miss Jane Birkin
Jane Birkin
action filter_type
action find
entity Kate Barry
relation mother
type common name
['Kate Barry', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Kate_Barry property:mother ?e . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P175
Q2031291 Q7725634
USER
How many releases and literary works delivered the performance of that person ?
(c(Q2031291),P175,Q212873) (c(Q7725634),P175,Q212873) (c(Q2031291),P175,Q212873) (c(Q7725634),P175,Q212873)
action count
action union
action filter_type
action find_reverse
entity Q212873
relation P175
type Q2031291
action filter_type
action find_reverse
entity Q212873
relation P175
type Q7725634
[{'concept': 'Q2031291'}, 'P175', 'Q212873'] [{'concept': 'Q7725634'}, 'P175', 'Q212873'] [{'concept': 'Q2031291'}, 'P175', 'Q212873'] [{'concept': 'Q7725634'}, 'P175', 'Q212873']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { ?u rdf:type ontology:Q2031291 . ?u property:P175 resource:Q212873 } UNION { ?u property:P175 resource:Q212873 . ?u rdf:type ontology:Q7725634 } }
action count
action union
action filter_type
action find_reverse
entity Jane Birkin
relation performer
type release
action filter_type
action find_reverse
entity Jane Birkin
relation performer
type literary work
[{'concept': 'release'}, 'performer', 'Jane Birkin'] [{'concept': 'literary work'}, 'performer', 'Jane Birkin'] [{'concept': 'release'}, 'performer', 'Jane Birkin'] [{'concept': 'literary work'}, 'performer', 'Jane Birkin']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { ?u rdf:type ontology:release . ?u property:performer resource:Jane_Birkin } UNION { ?u property:performer resource:Jane_Birkin . ?u rdf:type ontology:literary_work } }
[]
release literary work
SYSTEM
5 releases and 2 literary works
Q2877999 Q5419177 Q128028 Q2844058 Q2348863 Q6668919 Q3061716
(c(Q2031291),P175,Q212873) (c(Q7725634),P175,Q212873) (c(Q2031291),P175,Q212873) (c(Q7725634),P175,Q212873)
action count
action union
action filter_type
action find_reverse
entity Q212873
relation P175
type Q2031291
action filter_type
action find_reverse
entity Q212873
relation P175
type Q7725634
[ANSWER]
[{'concept': 'Q2031291'}, 'P175', 'Q212873'] [{'concept': 'Q7725634'}, 'P175', 'Q212873'] [{'concept': 'Q2031291'}, 'P175', 'Q212873'] [{'concept': 'Q7725634'}, 'P175', 'Q212873']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { ?u rdf:type ontology:Q2031291 . ?u property:P175 resource:Q212873 } UNION { ?u property:P175 resource:Q212873 . ?u rdf:type ontology:Q7725634 } }
Baby Alone in Babylone Ex fan des sixties Je t'aime... moi non plus Amours des feintes Les Retrouvailles Lolita Go Home Ex fan des sixties (song)
5 releases and 2 literary works
action count
action union
action filter_type
action find_reverse
entity Jane Birkin
relation performer
type release
action filter_type
action find_reverse
entity Jane Birkin
relation performer
type literary work
[{'concept': 'release'}, 'performer', 'Jane Birkin'] [{'concept': 'literary work'}, 'performer', 'Jane Birkin'] [{'concept': 'release'}, 'performer', 'Jane Birkin'] [{'concept': 'literary work'}, 'performer', 'Jane Birkin']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { ?u rdf:type ontology:release . ?u property:performer resource:Jane_Birkin } UNION { ?u property:performer resource:Jane_Birkin . ?u rdf:type ontology:literary_work } }
[]