Simple Question (Direct)
Simple Question
Q471976
P344
Q502895
USER
Who is appointed as the cinematographer of The Chronicles of Riddick ?
(Q471976,P344,c(Q502895))
action filter_type
action find
entity Q471976
relation P344
type Q502895
['Q471976', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q471976 property:P344 ?o }
The Chronicles of Riddick
action filter_type
action find
entity The Chronicles of Riddick
relation director of photography
type common name
['The Chronicles of Riddick', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:The_Chronicles_of_Riddick property:director_of_photography ?o }
[]
common name
Q5931301
SYSTEM
Hugh Johnson
Q5931301
(Q471976,P344,c(Q502895))
action filter_type
action find
entity Q471976
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of The Chronicles of Riddick
['Q471976', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q471976 property:P344 ?o }
Hugh Johnson
Hugh Johnson is appointed as the cinematographer of The Chronicles of Riddick
Hugh Johnson
action filter_type
action find
entity The Chronicles of Riddick
relation director of photography
type common name
['The Chronicles of Riddick', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:The_Chronicles_of_Riddick property:director_of_photography ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q471976
P144
Q502895
USER
Which person is The Chronicles of Riddick considered a copy of ?
(Q471976,P144,c(Q502895))
action filter_type
action find
entity Q471976
relation P144
type Q502895
['Q471976', 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q471976 property:P144 ?i . ?i rdf:type ontology:Q502895 }
The Chronicles of Riddick
action filter_type
action find
entity The Chronicles of Riddick
relation based on
type common name
['The Chronicles of Riddick', 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:The_Chronicles_of_Riddick property:based_on ?i . ?i rdf:type ontology:common_name }
[]
common name
Q6388687
SYSTEM
Ken Wheat
Q6388687
(Q471976,P144,c(Q502895))
action filter_type
action find
entity Q471976
relation P144
type Q502895
The Chronicles of Riddick is considered a copy of the [ANSWER]
['Q471976', 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q471976 property:P144 ?i . ?i rdf:type ontology:Q502895 }
Ken Wheat
The Chronicles of Riddick is considered a copy of the Ken Wheat
Ken Wheat
action filter_type
action find
entity The Chronicles of Riddick
relation based on
type common name
['The Chronicles of Riddick', 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:The_Chronicles_of_Riddick property:based_on ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6388687
P170
Q15619164
USER
What was developed by that person ?
(c(Q15619164),P170,Q6388687)
action filter_type
action find_reverse
entity Q6388687
relation P170
type Q15619164
[{'concept': 'Q15619164'}, 'P170', 'Q6388687']
SELECT DISTINCT ?u WHERE { ?u property:P170 resource:Q6388687 . ?u rdf:type ontology:Q15619164 }
Ken Wheat
action filter_type
action find_reverse
entity Ken Wheat
relation creator
type abstract being
[{'concept': 'abstract being'}, 'creator', 'Ken Wheat']
SELECT DISTINCT ?u WHERE { ?u property:creator resource:Ken_Wheat . ?u rdf:type ontology:abstract_being }
[]
abstract being
Q1190079
SYSTEM
Riddick
Q1190079
(c(Q15619164),P170,Q6388687)
action filter_type
action find_reverse
entity Q6388687
relation P170
type Q15619164
[ANSWER] was developed by that person
[{'concept': 'Q15619164'}, 'P170', 'Q6388687']
SELECT DISTINCT ?u WHERE { ?u property:P170 resource:Q6388687 . ?u rdf:type ontology:Q15619164 }
Riddick
Riddick was developed by that person
Riddick
action filter_type
action find_reverse
entity Ken Wheat
relation creator
type abstract being
[{'concept': 'abstract being'}, 'creator', 'Ken Wheat']
SELECT DISTINCT ?u WHERE { ?u property:creator resource:Ken_Wheat . ?u rdf:type ontology:abstract_being }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q583705
P144
Q838948 Q166142 Q2342494
USER
How many works of art are more number of applications and collectables based on than La Celestina ?
(c(Q166142)|c(Q2342494),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q166142
action find_reverse_tuple_counts
relation P144
type Q838948
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q583705
relation P144
type Q166142
type Q2342494
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:Q166142 ) ( ontology:Q2342494 ) } . ?v rdf:type ?c } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:P144 resource:Q583705 . { { ?n rdf:type ontology:Q166142 } UNION { ?n rdf:type ontology:Q2342494 } } } } . FILTER ( ?e > ?b ) }
La Celestina
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type application
action find_reverse_tuple_counts
relation based on
type work of art
type collectable
action count
action filter_multi_types
action find_reverse
entity La Celestina
relation based on
type application
type collectable
[[{'concept': 'application'}, {'concept': 'collectable'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:application ) ( ontology:collectable ) } . ?v rdf:type ?c } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:based_on resource:La_Celestina . { { ?n rdf:type ontology:application } UNION { ?n rdf:type ontology:collectable } } } } . FILTER ( ?e > ?b ) }
[]
work of art application collectable
SYSTEM
58
Q106506 Q114819 Q46717 Q205028 Q3136443 Q213081 Q332368 Q635441 Q28891 Q320594 Q372514 Q319783 Q42051 Q212792 Q204670 Q105387 Q320423 Q179215 Q191100 Q106571 Q174284 Q102448 Q212145 Q185658 Q181803 Q19089 Q207916 Q41567 Q24871 Q232009 Q165713 Q211009 Q244604 Q104814 Q1138659 Q3635914 Q102225 Q105624 Q181795 Q1122971 Q11621 Q124612 Q579928 Q646389 Q691611 Q102438 Q221103 Q334780 Q17738 Q102235 Q161678 Q103569 Q47703 Q309086 Q784444 Q504697 Q102244 Q181069
(c(Q166142)|c(Q2342494),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q166142
action find_reverse_tuple_counts
relation P144
type Q838948
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q583705
relation P144
type Q166142
type Q2342494
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:Q166142 ) ( ontology:Q2342494 ) } . ?v rdf:type ?c } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:P144 resource:Q583705 . { { ?n rdf:type ontology:Q166142 } UNION { ?n rdf:type ontology:Q2342494 } } } } . FILTER ( ?e > ?b ) }
The Fifth Element Dune Pirates of the Caribbean: The Curse of the Black Pearl Iron Man 2 His Dark Materials Star Trek A View to a Kill Black Coffee Wreck-It Ralph Abhijñānaśākuntalam RoboCop Rambo: First Blood Part II Star Wars: Episode III – Revenge of the Sith Bolt An Inconvenient Truth Independence Day The Spy Who Loved Me Indiana Jones and the Temple of Doom Transformers: Revenge of the Fallen From Russia with Love Raiders of the Lost Ark Harry Potter and the Prisoner of Azkaban The World Is Not Enough Indiana Jones and the Last Crusade Star Wars Episode VI: Return of the Jedi GoldenEye Tomorrow Never Dies Hamlet Avatar Harry Potter and the Deathly Hallows – Part 2 Star Wars: Episode I – The Phantom Menace Van Helsing Minority Report Aliens Street Fighter The Fish That Saved Pittsburgh Harry Potter and the Goblet of Fire The Bourne Identity The Empire Strikes Back The Warriors E.T. the Extra-Terrestrial Creature from the Black Lagoon The SpongeBob SquarePants Movie Hook Serenity Harry Potter and the Philosopher's Stone Halloween Moonraker Star Wars Episode IV: A New Hope Harry Potter and the Order of the Phoenix Harry Potter and the Deathly Hallows – Part 1 Alien The Godfather Licence to Kill G-Force WarGames Harry Potter and the Chamber of Secrets Star Wars Episode II: Attack of the Clones
58
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type application
action find_reverse_tuple_counts
relation based on
type work of art
type collectable
action count
action filter_multi_types
action find_reverse
entity La Celestina
relation based on
type application
type collectable
[[{'concept': 'application'}, {'concept': 'collectable'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:application ) ( ontology:collectable ) } . ?v rdf:type ?c } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:based_on resource:La_Celestina . { { ?n rdf:type ontology:application } UNION { ?n rdf:type ontology:collectable } } } } . FILTER ( ?e > ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q13274870
P144
Q838948 Q166142 Q2342494
USER
And how about Rock Drill?
(c(Q166142)|c(Q2342494),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q166142
action find_reverse_tuple_counts
relation P144
type Q838948
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q13274870
relation P144
type Q166142
type Q2342494
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) ?v WHERE { { ?j property:P144 ?v . ?v rdf:type ontology:Q838948 . ?j rdf:type ontology:Q166142 } UNION { ?j property:P144 ?v . ?v rdf:type ontology:Q838948 . ?j rdf:type ontology:Q2342494 } } GROUP BY ?v } . FILTER ( ?a > ?r ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { { ?u rdf:type ontology:Q166142 } UNION { ?u rdf:type ontology:Q2342494 } } . ?u property:P144 resource:Q13274870 } } }
Rock Drill
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type application
action find_reverse_tuple_counts
relation based on
type work of art
type collectable
action count
action filter_multi_types
action find_reverse
entity Rock Drill
relation based on
type application
type collectable
[[{'concept': 'application'}, {'concept': 'collectable'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) ?v WHERE { { ?j property:based_on ?v . ?v rdf:type ontology:work_of_art . ?j rdf:type ontology:application } UNION { ?j property:based_on ?v . ?v rdf:type ontology:work_of_art . ?j rdf:type ontology:collectable } } GROUP BY ?v } . FILTER ( ?a > ?r ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { { ?u rdf:type ontology:application } UNION { ?u rdf:type ontology:collectable } } . ?u property:based_on resource:Rock_Drill } } }
[]
work of art application collectable
SYSTEM
58
Q106506 Q114819 Q46717 Q205028 Q3136443 Q213081 Q332368 Q635441 Q28891 Q320594 Q372514 Q319783 Q42051 Q212792 Q204670 Q105387 Q320423 Q179215 Q191100 Q106571 Q174284 Q102448 Q212145 Q185658 Q181803 Q19089 Q207916 Q41567 Q24871 Q232009 Q165713 Q211009 Q244604 Q104814 Q1138659 Q3635914 Q102225 Q105624 Q181795 Q1122971 Q11621 Q124612 Q579928 Q646389 Q691611 Q102438 Q221103 Q334780 Q17738 Q102235 Q161678 Q103569 Q47703 Q309086 Q784444 Q504697 Q102244 Q181069
(c(Q166142)|c(Q2342494),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q166142
action find_reverse_tuple_counts
relation P144
type Q838948
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q13274870
relation P144
type Q166142
type Q2342494
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) ?v WHERE { { ?j property:P144 ?v . ?v rdf:type ontology:Q838948 . ?j rdf:type ontology:Q166142 } UNION { ?j property:P144 ?v . ?v rdf:type ontology:Q838948 . ?j rdf:type ontology:Q2342494 } } GROUP BY ?v } . FILTER ( ?a > ?r ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { { ?u rdf:type ontology:Q166142 } UNION { ?u rdf:type ontology:Q2342494 } } . ?u property:P144 resource:Q13274870 } } }
The Fifth Element Dune Pirates of the Caribbean: The Curse of the Black Pearl Iron Man 2 His Dark Materials Star Trek A View to a Kill Black Coffee Wreck-It Ralph Abhijñānaśākuntalam RoboCop Rambo: First Blood Part II Star Wars: Episode III – Revenge of the Sith Bolt An Inconvenient Truth Independence Day The Spy Who Loved Me Indiana Jones and the Temple of Doom Transformers: Revenge of the Fallen From Russia with Love Raiders of the Lost Ark Harry Potter and the Prisoner of Azkaban The World Is Not Enough Indiana Jones and the Last Crusade Star Wars Episode VI: Return of the Jedi GoldenEye Tomorrow Never Dies Hamlet Avatar Harry Potter and the Deathly Hallows – Part 2 Star Wars: Episode I – The Phantom Menace Van Helsing Minority Report Aliens Street Fighter The Fish That Saved Pittsburgh Harry Potter and the Goblet of Fire The Bourne Identity The Empire Strikes Back The Warriors E.T. the Extra-Terrestrial Creature from the Black Lagoon The SpongeBob SquarePants Movie Hook Serenity Harry Potter and the Philosopher's Stone Halloween Moonraker Star Wars Episode IV: A New Hope Harry Potter and the Order of the Phoenix Harry Potter and the Deathly Hallows – Part 1 Alien The Godfather Licence to Kill G-Force WarGames Harry Potter and the Chamber of Secrets Star Wars Episode II: Attack of the Clones
58
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type application
action find_reverse_tuple_counts
relation based on
type work of art
type collectable
action count
action filter_multi_types
action find_reverse
entity Rock Drill
relation based on
type application
type collectable
[[{'concept': 'application'}, {'concept': 'collectable'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) ?v WHERE { { ?j property:based_on ?v . ?v rdf:type ontology:work_of_art . ?j rdf:type ontology:application } UNION { ?j property:based_on ?v . ?v rdf:type ontology:work_of_art . ?j rdf:type ontology:collectable } } GROUP BY ?v } . FILTER ( ?a > ?r ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { { ?u rdf:type ontology:application } UNION { ?u rdf:type ontology:collectable } } . ?u property:based_on resource:Rock_Drill } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6388687
P57
Q15416
USER
Which television program is Ken Wheat a director of ?
(c(Q15416),P57,Q6388687)
action filter_type
action find_reverse
entity Q6388687
relation P57
type Q15416
[{'concept': 'Q15416'}, 'P57', 'Q6388687']
SELECT DISTINCT ?p WHERE { ?p property:P57 resource:Q6388687 . ?p rdf:type ontology:Q15416 }
Ken Wheat
action filter_type
action find_reverse
entity Ken Wheat
relation director
type television program
[{'concept': 'television program'}, 'director', 'Ken Wheat']
SELECT DISTINCT ?p WHERE { ?p property:director resource:Ken_Wheat . ?p rdf:type ontology:television_program }
[]
television program
Q738360
SYSTEM
Ewoks: The Battle for Endor
Q738360
(c(Q15416),P57,Q6388687)
action filter_type
action find_reverse
entity Q6388687
relation P57
type Q15416
[ANSWER] is Ken Wheat a director of
[{'concept': 'Q15416'}, 'P57', 'Q6388687']
SELECT DISTINCT ?p WHERE { ?p property:P57 resource:Q6388687 . ?p rdf:type ontology:Q15416 }
Ewoks: The Battle for Endor
Ewoks: The Battle for Endor is Ken Wheat a director of
Ewoks: The Battle for Endor
action filter_type
action find_reverse
entity Ken Wheat
relation director
type television program
[{'concept': 'television program'}, 'director', 'Ken Wheat']
SELECT DISTINCT ?p WHERE { ?p property:director resource:Ken_Wheat . ?p rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6388687
P58
Q838948
USER
Which works of art did Ken Wheat do the screenwriting for ?
(c(Q838948),P58,Q6388687)
action filter_type
action find_reverse
entity Q6388687
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q6388687']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q838948 . ?e property:P58 resource:Q6388687 }
Ken Wheat
action filter_type
action find_reverse
entity Ken Wheat
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Ken Wheat']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:work_of_art . ?e property:screenwriter resource:Ken_Wheat }
[]
work of art
Q468703 Q429934
SYSTEM
The Fly II, Pitch Black
Q468703 Q429934
(c(Q838948),P58,Q6388687)
action filter_type
action find_reverse
entity Q6388687
relation P58
type Q838948
[ANSWERS] did Ken Wheat do the screenwriting for
[{'concept': 'Q838948'}, 'P58', 'Q6388687']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q838948 . ?e property:P58 resource:Q6388687 }
The Fly II Pitch Black
The Fly II and Pitch Black did Ken Wheat do the screenwriting for
The Fly II Pitch Black
action filter_type
action find_reverse
entity Ken Wheat
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Ken Wheat']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:work_of_art . ?e property:screenwriter resource:Ken_Wheat }
[]
Clarification
Simple Question|Single Entity|Indirect
Q429934
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q429934,P136,c(Q1792379))
action filter_type
action find
entity Q429934
relation P136
type Q1792379
['Q429934', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?b WHERE { resource:Q429934 property:P136 ?b . ?b rdf:type ontology:Q1792379 }
Pitch Black
action filter_type
action find
entity Pitch Black
relation genre
type art genre
['Pitch Black', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?b WHERE { resource:Pitch_Black property:genre ?b . ?b rdf:type ontology:art_genre }
[]
art genre
Clarification for simple ques.
Q468703
SYSTEM
Did you mean The Fly II ?
Q468703 Q429934
(Q468703,P136,c(Q1792379)) (Q429934,P136,c(Q1792379))
[ANSWER]
['Q468703', 'P136', {'concept': 'Q1792379'}] ['Q429934', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?b WHERE { resource:Q429934 property:P136 ?b . ?b rdf:type ontology:Q1792379 }
The Fly II Pitch Black
Did you mean The Fly II ?
The Fly II
['The Fly II', 'genre', {'concept': 'art genre'}] ['Pitch Black', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?b WHERE { resource:Pitch_Black property:genre ?b . ?b rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
USER
No, I meant Pitch Black. Could you tell me the answer for that?
(Q429934,P136,c(Q1792379))
Q429934
['Q429934', 'P136', {'concept': 'Q1792379'}]
['Pitch Black', 'genre', {'concept': 'art genre'}]
[]
Q1342372 Q471839 Q319221
SYSTEM
monster film, science fiction film, adventure film
Q1342372 Q471839 Q319221 Q188473
(Q429934,P136,c(Q1792379))
action filter_type
action find
entity Q429934
relation P136
type Q1792379
The [ANSWERS] can be considered as category for that work of art
['Q429934', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?b WHERE { resource:Q429934 property:P136 ?b . ?b rdf:type ontology:Q1792379 }
monster film science fiction film adventure film action film
The monster film, science fiction film and adventure film can be considered as category for that work of art
monster film science fiction film adventure film
action filter_type
action find
entity Pitch Black
relation genre
type art genre
['Pitch Black', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?b WHERE { resource:Pitch_Black property:genre ?b . ?b rdf:type ontology:art_genre }
[]