Simple Question (Direct)
Simple Question
Q16825571
P161
Q502895
USER
Who starred in The Adventurers ?
(Q16825571,P161,c(Q502895))
action filter_type
action find
entity Q16825571
relation P161
type Q502895
['Q16825571', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q16825571 property:P161 ?b . ?b rdf:type ontology:Q502895 }
The Adventurers
action filter_type
action find
entity The Adventurers
relation cast member
type common name
['The Adventurers', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:The_Adventurers property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
common name
Q84340 Q85051 Q95365
SYSTEM
Harry Liedtke, Eduard von Winterstein, Robert Leffler
Q96589 Q85051 Q84340 Q78880 Q71472 Q104699 Q95365 Q91575 Q108611
(Q16825571,P161,c(Q502895))
action filter_type
action find
entity Q16825571
relation P161
type Q502895
[ANSWERS] starred in The Adventurers
['Q16825571', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q16825571 property:P161 ?b . ?b rdf:type ontology:Q502895 }
Paul Biensfeldt Eduard von Winterstein Harry Liedtke Mady Christians Erna Morena Margarete Schlegel Robert Leffler Hans Brausewetter Ernst Hofmann
Harry Liedtke, Eduard von Winterstein and Robert Leffler starred in The Adventurers
Harry Liedtke Eduard von Winterstein Robert Leffler
action filter_type
action find
entity The Adventurers
relation cast member
type common name
['The Adventurers', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:The_Adventurers property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q84340 Q85051 Q95365
P19
Q56061
USER
Where were those people born ?
(Q84340,P19,c(Q56061)) (Q85051,P19,c(Q56061)) (Q95365,P19,c(Q56061))
action filter_type
action find
entity prev_answer
relation P19
type Q56061
['Q84340', 'P19', {'concept': 'Q56061'}] ['Q85051', 'P19', {'concept': 'Q56061'}] ['Q95365', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?p property:P19 ?k . VALUES ( ?p ) { ( resource:Q96589 ) ( resource:Q85051 ) ( resource:Q84340 ) } . ?k rdf:type ontology:Q56061 }
Harry Liedtke Eduard von Winterstein Robert Leffler
action filter_type
action find
entity prev_answer
relation place of birth
type administrative territorial entity
['Harry Liedtke', 'place of birth', {'concept': 'administrative territorial entity'}] ['Eduard von Winterstein', 'place of birth', {'concept': 'administrative territorial entity'}] ['Robert Leffler', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?p property:place_of_birth ?k . VALUES ( ?p ) { ( resource:Paul_Biensfeldt ) ( resource:Eduard_von_Winterstein ) ( resource:Harry_Liedtke ) } . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4120832 Q1741 Q486991
SYSTEM
Königsberg, Vienna, Aschersleben
Q4120832 Q1741 Q486991
(Q84340,P19,c(Q56061)) (Q85051,P19,c(Q56061)) (Q95365,P19,c(Q56061))
action filter_type
action find
entity prev_answer
relation P19
type Q56061
Those people were born in [ANSWERS]
['Q84340', 'P19', {'concept': 'Q56061'}] ['Q85051', 'P19', {'concept': 'Q56061'}] ['Q95365', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?p property:P19 ?k . VALUES ( ?p ) { ( resource:Q96589 ) ( resource:Q85051 ) ( resource:Q84340 ) } . ?k rdf:type ontology:Q56061 }
Königsberg Vienna Aschersleben
Those people were born in Königsberg, Vienna and Aschersleben
Königsberg Vienna Aschersleben
action filter_type
action find
entity prev_answer
relation place of birth
type administrative territorial entity
['Harry Liedtke', 'place of birth', {'concept': 'administrative territorial entity'}] ['Eduard von Winterstein', 'place of birth', {'concept': 'administrative territorial entity'}] ['Robert Leffler', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?p property:place_of_birth ?k . VALUES ( ?p ) { ( resource:Paul_Biensfeldt ) ( resource:Eduard_von_Winterstein ) ( resource:Harry_Liedtke ) } . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4120832
P119
Q502895
USER
Which person was burried at Königsberg ?
(c(Q502895),P119,Q4120832)
action filter_type
action find_reverse
entity Q4120832
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q4120832']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P119 resource:Q4120832 }
Königsberg
action filter_type
action find_reverse
entity Königsberg
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Königsberg']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:place_of_burial resource:Königsberg }
[]
common name
Q9312
SYSTEM
Immanuel Kant
Q9312
(c(Q502895),P119,Q4120832)
action filter_type
action find_reverse
entity Q4120832
relation P119
type Q502895
[ANSWER] was burried at Königsberg
[{'concept': 'Q502895'}, 'P119', 'Q4120832']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P119 resource:Q4120832 }
Immanuel Kant
Immanuel Kant was burried at Königsberg
Immanuel Kant
action filter_type
action find_reverse
entity Königsberg
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Königsberg']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:place_of_burial resource:Königsberg }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84340
P26
Q502895
USER
Who are married to Harry Liedtke ?
(c(Q502895),P26,Q84340)
action filter_type
action find
entity Q84340
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q84340']
SELECT DISTINCT ?t WHERE { resource:Q84340 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Harry Liedtke
action filter_type
action find
entity Harry Liedtke
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Harry Liedtke']
SELECT DISTINCT ?t WHERE { resource:Harry_Liedtke property:spouse ?t . ?t rdf:type ontology:common_name }
[]
common name
Q90511 Q109505
SYSTEM
Christa Tordy, Käthe Dorsch
Q90511 Q109505
(c(Q502895),P26,Q84340)
action filter_type
action find
entity Q84340
relation P26
type Q502895
[ANSWERS] are married to Harry Liedtke
[{'concept': 'Q502895'}, 'P26', 'Q84340']
SELECT DISTINCT ?t WHERE { resource:Q84340 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Christa Tordy Käthe Dorsch
Christa Tordy and Käthe Dorsch are married to Harry Liedtke
Christa Tordy Käthe Dorsch
action filter_type
action find
entity Harry Liedtke
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Harry Liedtke']
SELECT DISTINCT ?t WHERE { resource:Harry_Liedtke property:spouse ?t . ?t rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q109505
P166
Q618779
USER
Which award was received by that person ?
(Q109505,P166,c(Q618779))
action filter_type
action find
entity Q109505
relation P166
type Q618779
['Q109505', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q618779 . resource:Q109505 property:P166 ?z }
Käthe Dorsch
action filter_type
action find
entity Käthe Dorsch
relation award received
type award
['Käthe Dorsch', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:award . resource:Käthe_Dorsch property:award_received ?z }
[]
award
Clarification for simple ques.
Q109505
SYSTEM
Did you mean Käthe Dorsch ?
Q90511 Q109505
(Q90511,P166,c(Q618779)) (Q109505,P166,c(Q618779))
[ANSWER]
['Q90511', 'P166', {'concept': 'Q618779'}] ['Q109505', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q618779 . resource:Q109505 property:P166 ?z }
Christa Tordy Käthe Dorsch
Did you mean Käthe Dorsch ?
Käthe Dorsch
['Christa Tordy', 'award received', {'concept': 'award'}] ['Käthe Dorsch', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:award . resource:Käthe_Dorsch property:award_received ?z }
[]
Simple Question (Coreferenced)
USER
Yes
(Q109505,P166,c(Q618779))
['Q109505', 'P166', {'concept': 'Q618779'}]
['Käthe Dorsch', 'award received', {'concept': 'award'}]
[]
Q821609
SYSTEM
Berliner Kunstpreis
Q821609
(Q109505,P166,c(Q618779))
action filter_type
action find
entity Q109505
relation P166
type Q618779
[ANSWER] was received by that person
['Q109505', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q618779 . resource:Q109505 property:P166 ?z }
Berliner Kunstpreis
Berliner Kunstpreis was received by that person
Berliner Kunstpreis
action filter_type
action find
entity Käthe Dorsch
relation award received
type award
['Käthe Dorsch', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:award . resource:Käthe_Dorsch property:award_received ?z }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q821609 Q1440276
P166
Q502895
USER
Was Alexander Gonda awarded with that award ?
(Q1440276,P166,Q821609)
action is_in
entity Q821609
action find
entity Q1440276
relation P166
['Q1440276', 'P166', 'Q821609']
ASK WHERE { resource:Q1440276 property:P166 resource:Q821609 }
Berliner Kunstpreis Alexander Gonda
action is_in
entity Berliner Kunstpreis
action find
entity Alexander Gonda
relation award received
['Alexander Gonda', 'award received', 'Berliner Kunstpreis']
ASK WHERE { resource:Alexander_Gonda property:award_received resource:Berliner_Kunstpreis }
[]
common name
SYSTEM
YES
(Q1440276,P166,Q821609)
action is_in
entity Q821609
action find
entity Q1440276
relation P166
[ANSWER]
['Q1440276', 'P166', 'Q821609']
ASK WHERE { resource:Q1440276 property:P166 resource:Q821609 }
Yes
action is_in
entity Berliner Kunstpreis
action find
entity Alexander Gonda
relation award received
['Alexander Gonda', 'award received', 'Berliner Kunstpreis']
ASK WHERE { resource:Alexander_Gonda property:award_received resource:Berliner_Kunstpreis }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q85051 Q40 Q377446
P27
Q1048835
USER
Is Eduard von Winterstein a native of Austria and Vallés ?
(Q85051,P27,Q40) (Q85051,P27,Q377446)
action is_in
entity Q85051
action intersection
action find_reverse
entity Q40
relation P27
action find_reverse
entity Q377446
relation P27
['Q85051', 'P27', 'Q40'] ['Q85051', 'P27', 'Q377446']
ASK WHERE { resource:Q85051 property:P27 resource:Q40 . resource:Q85051 property:P27 resource:Q377446 }
Eduard von Winterstein Austria Vallés
action is_in
entity Eduard von Winterstein
action intersection
action find_reverse
entity Austria
relation country of citizenship
action find_reverse
entity Vallés
relation country of citizenship
['Eduard von Winterstein', 'country of citizenship', 'Austria'] ['Eduard von Winterstein', 'country of citizenship', 'Vallés']
ASK WHERE { resource:Eduard_von_Winterstein property:country_of_citizenship resource:Austria . resource:Eduard_von_Winterstein property:country_of_citizenship resource:Vallés }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q85051,P27,Q40) (Q85051,P27,Q377446)
action is_in
entity Q85051
action intersection
action find_reverse
entity Q40
relation P27
action find_reverse
entity Q377446
relation P27
[ANSWER]
['Q85051', 'P27', 'Q40'] ['Q85051', 'P27', 'Q377446']
ASK WHERE { resource:Q85051 property:P27 resource:Q40 . resource:Q85051 property:P27 resource:Q377446 }
YES and NO respectively
action is_in
entity Eduard von Winterstein
action intersection
action find_reverse
entity Austria
relation country of citizenship
action find_reverse
entity Vallés
relation country of citizenship
['Eduard von Winterstein', 'country of citizenship', 'Austria'] ['Eduard von Winterstein', 'country of citizenship', 'Vallés']
ASK WHERE { resource:Eduard_von_Winterstein property:country_of_citizenship resource:Austria . resource:Eduard_von_Winterstein property:country_of_citizenship resource:Vallés }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q254368 Q95365
P161
Q838948
USER
Which works of art have Robert Leffler or Megumi Ogata as actor ?
OR((c(Q838948),P161,Q95365), (c(Q838948),P161,Q254368))
action filter_type
action union
action find_reverse
entity Q95365
relation P161
action find_reverse
entity Q254368
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q95365'], [{'concept': 'Q838948'}, 'P161', 'Q254368']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P161 resource:Q254368 } UNION { ?w property:P161 resource:Q95365 } } . ?w rdf:type ontology:Q838948 }
Megumi Ogata Robert Leffler
action filter_type
action union
action find_reverse
entity Robert Leffler
relation cast member
action find_reverse
entity Megumi Ogata
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Robert Leffler'], [{'concept': 'work of art'}, 'cast member', 'Megumi Ogata']]}
SELECT DISTINCT ?w WHERE { { { ?w property:cast_member resource:Megumi_Ogata } UNION { ?w property:cast_member resource:Robert_Leffler } } . ?w rdf:type ontology:work_of_art }
[]
work of art
Q182206 Q22000876 Q2279734 Q1196712 Q21869286 Q21869998 Q566098 Q1044391 Q22969403 Q17478825
SYSTEM
Some of them are Evangelion: 3.0 You Can (Not) Redo, Quarantine, Cardcaptor Sakura Movie 2: The Sealed Card, Detective Conan: The Phantom of Baker Street, The Demon of Kolno, The Wiskottens, Sailor Moon Super S: The Movie, Yu-Gi-Oh!, The Golden Abyss, By Order of Pompadour
Q967664 Q22000515 Q21869998 Q21869327 Q707596 Q7882705 Q579209 Q614200 Q22969403 Q1044391 Q21869286 Q15648591 Q22000876 Q1196712 Q17152104 Q22969576 Q13471208 Q21869180 Q21868867 Q182206 Q17478825 Q1066446 Q8019231 Q21869252 Q19796697 Q566098 Q1151814 Q2279734 Q21869800
OR((c(Q838948),P161,Q95365), (c(Q838948),P161,Q254368))
action filter_type
action union
action find_reverse
entity Q95365
relation P161
action find_reverse
entity Q254368
relation P161
type Q838948
[ANSWERS] have Robert Leffler or Megumi Ogata as actor
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q95365'], [{'concept': 'Q838948'}, 'P161', 'Q254368']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P161 resource:Q254368 } UNION { ?w property:P161 resource:Q95365 } } . ?w rdf:type ontology:Q838948 }
Neon Genesis Evangelion: Death & Rebirth It Illuminates, My Dear The Wiskottens Eternal Allegiance Doraemon: Nobita and the Legend of the Sun King Uncle Bräsig Evangelion: 1.0 You Are (Not) Alone Evangelion: 2.0 You Can Advance The Golden Abyss Yu-Gi-Oh! The Demon of Kolno Persona 3 The Movie: Chapter 2, Midsummer Knight's Dream Quarantine Detective Conan: The Phantom of Baker Street Persona 3 The Movie: No. 3, Falling Down A Free People Their Last Love Affair Bismarck 1862-1898 The Adventurer Evangelion: 3.0 You Can (Not) Redo By Order of Pompadour Sailor Moon S: The Movie William Tell The Comedian's Child The Buddenbrooks Sailor Moon Super S: The Movie The End of Evangelion Cardcaptor Sakura Movie 2: The Sealed Card The Secret of Santa Maria
Evangelion: 3.0 You Can (Not) Redo, Quarantine, Cardcaptor Sakura Movie 2: The Sealed Card, Detective Conan: The Phantom of Baker Street, The Demon of Kolno, The Wiskottens, Sailor Moon Super S: The Movie, Yu-Gi-Oh!, The Golden Abyss and By Order of Pompadour have Robert Leffler or Megumi Ogata as actor
Evangelion: 3.0 You Can (Not) Redo Quarantine Cardcaptor Sakura Movie 2: The Sealed Card Detective Conan: The Phantom of Baker Street The Demon of Kolno The Wiskottens Sailor Moon Super S: The Movie Yu-Gi-Oh! The Golden Abyss By Order of Pompadour
action filter_type
action union
action find_reverse
entity Robert Leffler
relation cast member
action find_reverse
entity Megumi Ogata
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Robert Leffler'], [{'concept': 'work of art'}, 'cast member', 'Megumi Ogata']]}
SELECT DISTINCT ?w WHERE { { { ?w property:cast_member resource:Megumi_Ogata } UNION { ?w property:cast_member resource:Robert_Leffler } } . ?w rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1196712
P86
Q502895
USER
Who was that work of art composed by ?
(Q1196712,P86,c(Q502895))
action filter_type
action find
entity Q1196712
relation P86
type Q502895
['Q1196712', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1196712 property:P86 ?o . ?o rdf:type ontology:Q502895 }
Detective Conan: The Phantom of Baker Street
action filter_type
action find
entity Detective Conan: The Phantom of Baker Street
relation composer
type common name
['Detective Conan: The Phantom of Baker Street', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Detective_Conan:_The_Phantom_of_Baker_Street property:composer ?o . ?o rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q22969403
SYSTEM
Did you mean The Golden Abyss ?
Q182206 Q22000876 Q2279734 Q1196712 Q21869286 Q21869998 Q566098 Q1044391 Q22969403 Q17478825
(Q182206,P86,c(Q502895)) (Q22000876,P86,c(Q502895)) (Q2279734,P86,c(Q502895)) (Q1196712,P86,c(Q502895)) (Q21869286,P86,c(Q502895)) (Q21869998,P86,c(Q502895)) (Q566098,P86,c(Q502895)) (Q1044391,P86,c(Q502895)) (Q22969403,P86,c(Q502895)) (Q17478825,P86,c(Q502895))
[ANSWER]
['Q182206', 'P86', {'concept': 'Q502895'}] ['Q22000876', 'P86', {'concept': 'Q502895'}] ['Q2279734', 'P86', {'concept': 'Q502895'}] ['Q1196712', 'P86', {'concept': 'Q502895'}] ['Q21869286', 'P86', {'concept': 'Q502895'}] ['Q21869998', 'P86', {'concept': 'Q502895'}] ['Q566098', 'P86', {'concept': 'Q502895'}] ['Q1044391', 'P86', {'concept': 'Q502895'}] ['Q22969403', 'P86', {'concept': 'Q502895'}] ['Q17478825', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1196712 property:P86 ?o . ?o rdf:type ontology:Q502895 }
Evangelion: 3.0 You Can (Not) Redo Quarantine Cardcaptor Sakura Movie 2: The Sealed Card Detective Conan: The Phantom of Baker Street The Demon of Kolno The Wiskottens Sailor Moon Super S: The Movie Yu-Gi-Oh! The Golden Abyss By Order of Pompadour
Did you mean The Golden Abyss ?
The Golden Abyss
['Evangelion: 3.0 You Can (Not) Redo', 'composer', {'concept': 'common name'}] ['Quarantine', 'composer', {'concept': 'common name'}] ['Cardcaptor Sakura Movie 2: The Sealed Card', 'composer', {'concept': 'common name'}] ['Detective Conan: The Phantom of Baker Street', 'composer', {'concept': 'common name'}] ['The Demon of Kolno', 'composer', {'concept': 'common name'}] ['The Wiskottens', 'composer', {'concept': 'common name'}] ['Sailor Moon Super S: The Movie', 'composer', {'concept': 'common name'}] ['Yu-Gi-Oh!', 'composer', {'concept': 'common name'}] ['The Golden Abyss', 'composer', {'concept': 'common name'}] ['By Order of Pompadour', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Detective_Conan:_The_Phantom_of_Baker_Street property:composer ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Detective Conan: The Phantom of Baker Street. Could you tell me the answer for that?
(Q1196712,P86,c(Q502895))
Q1196712
['Q1196712', 'P86', {'concept': 'Q502895'}]
['Detective Conan: The Phantom of Baker Street', 'composer', {'concept': 'common name'}]
[]
Q1036504
SYSTEM
Katsuo Ōno
Q1036504
(Q1196712,P86,c(Q502895))
action filter_type
action find
entity Q1196712
relation P86
type Q502895
By that work of art was composed by [ANSWER]
['Q1196712', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1196712 property:P86 ?o . ?o rdf:type ontology:Q502895 }
Katsuo Ōno
By that work of art was composed by Katsuo Ōno
Katsuo Ōno
action filter_type
action find
entity Detective Conan: The Phantom of Baker Street
relation composer
type common name
['Detective Conan: The Phantom of Baker Street', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Detective_Conan:_The_Phantom_of_Baker_Street property:composer ?o . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P86
Q838948 Q1001378
USER
How many works of art or cinematic techniques were composed by that person ?
(c(Q838948),P86,Q1036504) (c(Q1001378),P86,Q1036504) (c(Q838948),P86,Q1036504) (c(Q1001378),P86,Q1036504)
action count
action union
action filter_type
action find_reverse
entity Q1036504
relation P86
type Q838948
action filter_type
action find_reverse
entity Q1036504
relation P86
type Q1001378
[{'concept': 'Q838948'}, 'P86', 'Q1036504'] [{'concept': 'Q1001378'}, 'P86', 'Q1036504'] [{'concept': 'Q838948'}, 'P86', 'Q1036504'] [{'concept': 'Q1001378'}, 'P86', 'Q1036504']
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q1001378 ) } }
action count
action union
action filter_type
action find_reverse
entity Katsuo Ōno
relation composer
type work of art
action filter_type
action find_reverse
entity Katsuo Ōno
relation composer
type cinematic technique
[{'concept': 'work of art'}, 'composer', 'Katsuo Ōno'] [{'concept': 'cinematic technique'}, 'composer', 'Katsuo Ōno'] [{'concept': 'work of art'}, 'composer', 'Katsuo Ōno'] [{'concept': 'cinematic technique'}, 'composer', 'Katsuo Ōno']
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:cinematic_technique ) } }
[]
work of art cinematic technique
SYSTEM
19
Q2840937 Q1317462 Q15279283 Q18601583 Q218516 Q1193711 Q1195701 Q1195711 Q1300488 Q260821 Q512262 Q1207394 Q287096 Q1207384 Q1204889 Q21600367 Q1300513 Q1196712 Q717510
(c(Q838948),P86,Q1036504) (c(Q1001378),P86,Q1036504) (c(Q838948),P86,Q1036504) (c(Q1001378),P86,Q1036504)
action count
action union
action filter_type
action find_reverse
entity Q1036504
relation P86
type Q838948
action filter_type
action find_reverse
entity Q1036504
relation P86
type Q1001378
[ANSWER]
[{'concept': 'Q838948'}, 'P86', 'Q1036504'] [{'concept': 'Q1001378'}, 'P86', 'Q1036504'] [{'concept': 'Q838948'}, 'P86', 'Q1036504'] [{'concept': 'Q1001378'}, 'P86', 'Q1036504']
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q1001378 ) } }
Detective Conan: Captured in Her Eyes Detective Conan: The Private Eyes' Requiem Detective Conan: Dimensional Sniper Detective Conan: Sunflowers of Inferno Detective Conan: Private Eye in the Distant Sea Detective Conan: The Fourteenth Target Detective Conan: Crossroad in the Ancient Capital Detective Conan: The Time Bombed Skyscraper Detective Conan: Full Score of Fear Detective Conan: The Last Wizard of the Century Detective Conan: Quarter of Silence Detective Conan: The Raven Chaser Detective Conan: Countdown to Heaven Detective Conan: Strategy Above the Depths Detective Conan: The Lost Ship in the Sky Detective Conan: The Darkest Nightmare Detective Conan: Jolly Roger in the Deep Azure Detective Conan: The Phantom of Baker Street Detective Conan: The Eleventh Striker
19
action count
action union
action filter_type
action find_reverse
entity Katsuo Ōno
relation composer
type work of art
action filter_type
action find_reverse
entity Katsuo Ōno
relation composer
type cinematic technique
[{'concept': 'work of art'}, 'composer', 'Katsuo Ōno'] [{'concept': 'cinematic technique'}, 'composer', 'Katsuo Ōno'] [{'concept': 'work of art'}, 'composer', 'Katsuo Ōno'] [{'concept': 'cinematic technique'}, 'composer', 'Katsuo Ōno']
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:cinematic_technique ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q653303 Q22000876
P161
Q502895
USER
Which people starred in Quarantine or Dragonball Evolution ?
OR((Q22000876,P161,c(Q502895)), (Q653303,P161,c(Q502895)))
action filter_type
action union
action find
entity Q22000876
relation P161
action find
entity Q653303
relation P161
type Q502895
{'OR': [['Q22000876', 'P161', {'concept': 'Q502895'}], ['Q653303', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?h ) { ( resource:Q22000876 ) ( resource:Q653303 ) } . ?h property:P161 ?m } . ?m rdf:type ontology:Q502895 }
Dragonball Evolution Quarantine
action filter_type
action union
action find
entity Quarantine
relation cast member
action find
entity Dragonball Evolution
relation cast member
type common name
{'OR': [['Quarantine', 'cast member', {'concept': 'common name'}], ['Dragonball Evolution', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?h ) { ( resource:Quarantine ) ( resource:Dragonball_Evolution ) } . ?h property:cast_member ?m } . ?m rdf:type ontology:common_name }
[]
common name
Q484394 Q96795 Q63816 Q98755 Q232642 Q15999140 Q181425 Q35912 Q2555865 Q1655682
SYSTEM
Some of them are Joon Park, Robert Scholz, Heinrich George, Loni Nest, Jamie Chung, Kurt Katch, Chow Yun-fat, Emmy Rossum, Eriko Tamura, Ian Whyte
Q129978 Q1599606 Q484394 Q274282 Q98755 Q312885 Q1655682 Q100338 Q1189393 Q96795 Q95365 Q318110 Q181425 Q2555865 Q232642 Q15999140 Q63816 Q35912 Q471018
OR((Q22000876,P161,c(Q502895)), (Q653303,P161,c(Q502895)))
action filter_type
action union
action find
entity Q22000876
relation P161
action find
entity Q653303
relation P161
type Q502895
[ANSWERS] starred in Quarantine or Dragonball Evolution
{'OR': [['Q22000876', 'P161', {'concept': 'Q502895'}], ['Q653303', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?h ) { ( resource:Q22000876 ) ( resource:Q653303 ) } . ?h property:P161 ?m } . ?m rdf:type ontology:Q502895 }
Justin Chatwin Marga Lindt Joon Park Helena Makowska Loni Nest James Marsters Ian Whyte Rudolf Lettinger Texas Battle Robert Scholz Robert Leffler Randall Duk Kim Chow Yun-fat Eriko Tamura Jamie Chung Kurt Katch Heinrich George Emmy Rossum Ernie Hudson
Joon Park, Robert Scholz, Heinrich George, Loni Nest, Jamie Chung, Kurt Katch, Chow Yun-fat, Emmy Rossum, Eriko Tamura and Ian Whyte starred in Quarantine or Dragonball Evolution
Joon Park Robert Scholz Heinrich George Loni Nest Jamie Chung Kurt Katch Chow Yun-fat Emmy Rossum Eriko Tamura Ian Whyte
action filter_type
action union
action find
entity Quarantine
relation cast member
action find
entity Dragonball Evolution
relation cast member
type common name
{'OR': [['Quarantine', 'cast member', {'concept': 'common name'}], ['Dragonball Evolution', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?h ) { ( resource:Quarantine ) ( resource:Dragonball_Evolution ) } . ?h property:cast_member ?m } . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atleast 1876 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1876
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?u ) WHERE { ?o rdf:type ontology:Q502895 . ?t rdf:type ontology:Q34379 . ?o property:P1303 ?t } GROUP BY ?t } . FILTER ( ?u >= 1876 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1876
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?u ) WHERE { ?o rdf:type ontology:common_name . ?t rdf:type ontology:musical_instrument . ?o property:instrument ?t } GROUP BY ?t } . FILTER ( ?u >= 1876 ) }
[]
musical instrument common name
SYSTEM
4
Q5994 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1876
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?u ) WHERE { ?o rdf:type ontology:Q502895 . ?t rdf:type ontology:Q34379 . ?o property:P1303 ?t } GROUP BY ?t } . FILTER ( ?u >= 1876 ) }
piano violin organ drum kit
4
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1876
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?u ) WHERE { ?o rdf:type ontology:common_name . ?t rdf:type ontology:musical_instrument . ?o property:instrument ?t } GROUP BY ?t } . FILTER ( ?u >= 1876 ) }
[]