Simple Question (Direct)
Simple Question
Q3806587
P20
Q56061
USER
Where did James Hamilton, 2nd Earl of Clanbrassil die ?
(Q3806587,P20,c(Q56061))
action filter_type
action find
entity Q3806587
relation P20
type Q56061
['Q3806587', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q3806587 property:P20 ?b . ?b rdf:type ontology:Q56061 }
James Hamilton, 2nd Earl of Clanbrassil
action filter_type
action find
entity James Hamilton, 2nd Earl of Clanbrassil
relation place of death
type administrative territorial entity
['James Hamilton, 2nd Earl of Clanbrassil', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:James_Hamilton,_2nd_Earl_of_Clanbrassil property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q595619
SYSTEM
Midleton
Q595619
(Q3806587,P20,c(Q56061))
action filter_type
action find
entity Q3806587
relation P20
type Q56061
James Hamilton , 2nd Earl of Clanbrassil died at [ANSWER]
['Q3806587', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q3806587 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Midleton
James Hamilton , 2nd Earl of Clanbrassil died at Midleton
Midleton
action filter_type
action find
entity James Hamilton, 2nd Earl of Clanbrassil
relation place of death
type administrative territorial entity
['James Hamilton, 2nd Earl of Clanbrassil', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:James_Hamilton,_2nd_Earl_of_Clanbrassil property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q595619
P740
Q2088357
USER
Which musical ensemble originated at that administrative territory ?
(c(Q2088357),P740,Q595619)
action filter_type
action find_reverse
entity Q595619
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q595619']
SELECT DISTINCT ?s WHERE { ?s property:P740 resource:Q595619 . ?s rdf:type ontology:Q2088357 }
Midleton
action filter_type
action find_reverse
entity Midleton
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Midleton']
SELECT DISTINCT ?s WHERE { ?s property:location_of_formation resource:Midleton . ?s rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q7805020
SYSTEM
Time Is a Thief
Q7805020
(c(Q2088357),P740,Q595619)
action filter_type
action find_reverse
entity Q595619
relation P740
type Q2088357
[ANSWER] originated at that administrative territory
[{'concept': 'Q2088357'}, 'P740', 'Q595619']
SELECT DISTINCT ?s WHERE { ?s property:P740 resource:Q595619 . ?s rdf:type ontology:Q2088357 }
Time Is a Thief
Time Is a Thief originated at that administrative territory
Time Is a Thief
action filter_type
action find_reverse
entity Midleton
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Midleton']
SELECT DISTINCT ?s WHERE { ?s property:location_of_formation resource:Midleton . ?s rdf:type ontology:musical_ensemble }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q3806587
P21 P40
Q502895
USER
Which people have James Hamilton, 2nd Earl of Clanbrassil as an offspring and are a male ?
AND((c(Q502895),P40,Q3806587), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3806587
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q3806587'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q3806587 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
male James Hamilton, 2nd Earl of Clanbrassil
action filter_type
action intersection
action find_reverse
entity James Hamilton, 2nd Earl of Clanbrassil
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'James Hamilton, 2nd Earl of Clanbrassil'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:child resource:James_Hamilton,_2nd_Earl_of_Clanbrassil . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
common name
Q16274788
SYSTEM
James Hamilton, 1st Earl of Clanbrassil
Q16274788
AND((c(Q502895),P40,Q3806587), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3806587
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have James Hamilton, 2nd Earl of Clanbrassil as an offspring and are a male
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q3806587'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q3806587 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
James Hamilton, 1st Earl of Clanbrassil
James Hamilton, 1st Earl of Clanbrassil have James Hamilton, 2nd Earl of Clanbrassil as an offspring and are a male
James Hamilton, 1st Earl of Clanbrassil
action filter_type
action intersection
action find_reverse
entity James Hamilton, 2nd Earl of Clanbrassil
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'James Hamilton, 2nd Earl of Clanbrassil'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:child resource:James_Hamilton,_2nd_Earl_of_Clanbrassil . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q16274788 Q3806587
P40
Q502895
USER
Is James Hamilton, 2nd Earl of Clanbrassil an offspring of that one ?
(Q16274788,P40,Q3806587)
action is_in
entity Q3806587
action find
entity Q16274788
relation P40
['Q16274788', 'P40', 'Q3806587']
ASK WHERE { resource:Q16274788 property:P40 resource:Q3806587 }
James Hamilton, 1st Earl of Clanbrassil James Hamilton, 2nd Earl of Clanbrassil
action is_in
entity James Hamilton, 2nd Earl of Clanbrassil
action find
entity James Hamilton, 1st Earl of Clanbrassil
relation child
['James Hamilton, 1st Earl of Clanbrassil', 'child', 'James Hamilton, 2nd Earl of Clanbrassil']
ASK WHERE { resource:James_Hamilton,_1st_Earl_of_Clanbrassil property:child resource:James_Hamilton,_2nd_Earl_of_Clanbrassil }
[]
common name
SYSTEM
YES
(Q16274788,P40,Q3806587)
action is_in
entity Q3806587
action find
entity Q16274788
relation P40
[ANSWER]
['Q16274788', 'P40', 'Q3806587']
ASK WHERE { resource:Q16274788 property:P40 resource:Q3806587 }
Yes
action is_in
entity James Hamilton, 2nd Earl of Clanbrassil
action find
entity James Hamilton, 1st Earl of Clanbrassil
relation child
['James Hamilton, 1st Earl of Clanbrassil', 'child', 'James Hamilton, 2nd Earl of Clanbrassil']
ASK WHERE { resource:James_Hamilton,_1st_Earl_of_Clanbrassil property:child resource:James_Hamilton,_2nd_Earl_of_Clanbrassil }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q595619
P17
Q15617994
USER
Which administrative territory does Midleton belong to ?
(Q595619,P17,c(Q15617994))
action filter_type
action find
entity Q595619
relation P17
type Q15617994
['Q595619', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q595619 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Midleton
action filter_type
action find
entity Midleton
relation country
type designation for an administrative territorial entity
['Midleton', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Midleton property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q27
SYSTEM
Ireland
Q27
(Q595619,P17,c(Q15617994))
action filter_type
action find
entity Q595619
relation P17
type Q15617994
Midleton belongs to [ANSWER]
['Q595619', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q595619 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Ireland
Midleton belongs to Ireland
Ireland
action filter_type
action find
entity Midleton
relation country
type designation for an administrative territorial entity
['Midleton', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Midleton property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27
P35
Q502895
USER
Which person is the head of state of that administrative territory ?
(Q27,P35,c(Q502895))
action filter_type
action find
entity Q27
relation P35
type Q502895
['Q27', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q27 property:P35 ?o . ?o rdf:type ontology:Q502895 }
Ireland
action filter_type
action find
entity Ireland
relation head of state
type common name
['Ireland', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Ireland property:head_of_state ?o . ?o rdf:type ontology:common_name }
[]
common name
Q57276
SYSTEM
Michael Higgins
Q57276
(Q27,P35,c(Q502895))
action filter_type
action find
entity Q27
relation P35
type Q502895
[ANSWER] is the head of state of that administrative territory
['Q27', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q27 property:P35 ?o . ?o rdf:type ontology:Q502895 }
Michael Higgins
Michael Higgins is the head of state of that administrative territory
Michael Higgins
action filter_type
action find
entity Ireland
relation head of state
type common name
['Ireland', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Ireland property:head_of_state ?o . ?o rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q57276 Q27 Q303941
P27
Q15617994
USER
Is that person a civilian of Ireland and Scurelle ?
(Q57276,P27,Q27) (Q57276,P27,Q303941)
action is_in
entity Q57276
action intersection
action find_reverse
entity Q27
relation P27
action find_reverse
entity Q303941
relation P27
['Q57276', 'P27', 'Q27'] ['Q57276', 'P27', 'Q303941']
ASK WHERE { resource:Q57276 property:P27 resource:Q27 . resource:Q57276 property:P27 resource:Q303941 }
Michael Higgins Ireland Scurelle
action is_in
entity Michael Higgins
action intersection
action find_reverse
entity Ireland
relation country of citizenship
action find_reverse
entity Scurelle
relation country of citizenship
['Michael Higgins', 'country of citizenship', 'Ireland'] ['Michael Higgins', 'country of citizenship', 'Scurelle']
ASK WHERE { resource:Michael_Higgins property:country_of_citizenship resource:Ireland . resource:Michael_Higgins property:country_of_citizenship resource:Scurelle }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q57276,P27,Q27) (Q57276,P27,Q303941)
action is_in
entity Q57276
action intersection
action find_reverse
entity Q27
relation P27
action find_reverse
entity Q303941
relation P27
[ANSWER]
['Q57276', 'P27', 'Q27'] ['Q57276', 'P27', 'Q303941']
ASK WHERE { resource:Q57276 property:P27 resource:Q27 . resource:Q57276 property:P27 resource:Q303941 }
YES and NO respectively
action is_in
entity Michael Higgins
action intersection
action find_reverse
entity Ireland
relation country of citizenship
action find_reverse
entity Scurelle
relation country of citizenship
['Michael Higgins', 'country of citizenship', 'Ireland'] ['Michael Higgins', 'country of citizenship', 'Scurelle']
ASK WHERE { resource:Michael_Higgins property:country_of_citizenship resource:Ireland . resource:Michael_Higgins property:country_of_citizenship resource:Scurelle }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q57276
P172
Q2472587
USER
What is the race of that person ?
action filter_type
action find
entity Q57276
relation P172
type Q2472587
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2472587 . resource:Q57276 property:P172 ?v }
Michael Higgins
action filter_type
action find
entity Michael Higgins
relation ethnic group
type people
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:people . resource:Michael_Higgins property:ethnic_group ?v }
[]
people
Q170826
SYSTEM
Irish people
Q170826
action filter_type
action find
entity Q57276
relation P172
type Q2472587
The race of that person is the [ANSWER]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2472587 . resource:Q57276 property:P172 ?v }
Irish people
The race of that person is the Irish people
Irish people
action filter_type
action find
entity Michael Higgins
relation ethnic group
type people
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:people . resource:Michael_Higgins property:ethnic_group ?v }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q502895 Q15850590 Q838948
USER
Which people are the name of the persons who plays a role in around 2 theatrical genres and works of art ?
(c(Q15850590)|c(Q838948),P674,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q838948
value 2
[[{'concept': 'Q15850590'}, {'concept': 'Q838948'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?f WHERE { VALUES ( ?b ) { ( ontology:Q15850590 ) ( ontology:Q838948 ) } . ?c rdf:type ?b } GROUP BY ?f } . FILTER ( ?n = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type work of art
value 2
[[{'concept': 'theatrical genre'}, {'concept': 'work of art'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?f WHERE { VALUES ( ?b ) { ( ontology:theatrical_genre ) ( ontology:work_of_art ) } . ?c rdf:type ?b } GROUP BY ?f } . FILTER ( ?n = 2 ) }
[]
common name theatrical genre work of art
Q38370 Q80823 Q188541
SYSTEM
Henry VIII, Anne Boleyn, Chandragupta Maurya
Q38370 Q188541 Q9045 Q80823
(c(Q15850590)|c(Q838948),P674,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q838948
value 2
[ANSWERS] are the name of the persons who plays a role in around 2 theatrical genres and works of art
[[{'concept': 'Q15850590'}, {'concept': 'Q838948'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?f WHERE { VALUES ( ?b ) { ( ontology:Q15850590 ) ( ontology:Q838948 ) } . ?c rdf:type ?b } GROUP BY ?f } . FILTER ( ?n = 2 ) }
Henry VIII Chandragupta Maurya Chanakya Anne Boleyn
Henry VIII, Anne Boleyn and Chandragupta Maurya are the name of the persons who plays a role in around 2 theatrical genres and works of art
Henry VIII Anne Boleyn Chandragupta Maurya
action approx
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type work of art
value 2
[[{'concept': 'theatrical genre'}, {'concept': 'work of art'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?f WHERE { VALUES ( ?b ) { ( ontology:theatrical_genre ) ( ontology:work_of_art ) } . ?c rdf:type ?b } GROUP BY ?f } . FILTER ( ?n = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1193618 Q57276
P161
Q838948
USER
Which works of art do Michael Higgins or Naoko Matsui star in ?
OR((c(Q838948),P161,Q57276), (c(Q838948),P161,Q1193618))
action filter_type
action union
action find_reverse
entity Q57276
relation P161
action find_reverse
entity Q1193618
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q57276'], [{'concept': 'Q838948'}, 'P161', 'Q1193618']]}
SELECT DISTINCT ?n WHERE { { { ?n property:P161 resource:Q1193618 } UNION { ?n property:P161 resource:Q57276 } } . ?n rdf:type ontology:Q838948 }
Naoko Matsui Michael Higgins
action filter_type
action union
action find_reverse
entity Michael Higgins
relation cast member
action find_reverse
entity Naoko Matsui
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Michael Higgins'], [{'concept': 'work of art'}, 'cast member', 'Naoko Matsui']]}
SELECT DISTINCT ?n WHERE { { { ?n property:cast_member resource:Naoko_Matsui } UNION { ?n property:cast_member resource:Michael_Higgins } } . ?n rdf:type ontology:work_of_art }
[]
work of art
Q1300513 Q1193711 Q287096 Q1195701 Q1207394 Q18601583 Q1317462 Q493807 Q15279283 Q3015930
SYSTEM
Some of them are Detective Conan: Jolly Roger in the Deep Azure, Detective Conan: The Fourteenth Target, Detective Conan: Countdown to Heaven, Detective Conan: Crossroad in the Ancient Capital, Detective Conan: The Raven Chaser, Detective Conan: Sunflowers of Inferno, Detective Conan: The Private Eyes' Requiem, Angel Heart, Detective Conan: Dimensional Sniper, Desperate Characters
Q1544908 Q1167169 Q493807 Q1317462 Q379296 Q1009788 Q218516 Q1195701 Q1300513 Q1196712 Q3015930 Q15279283 Q960668 Q18601583 Q1193711 Q1195711 Q212660 Q760926 Q1300488 Q1207394 Q287096 Q749569 Q764639 Q1204889
OR((c(Q838948),P161,Q57276), (c(Q838948),P161,Q1193618))
action filter_type
action union
action find_reverse
entity Q57276
relation P161
action find_reverse
entity Q1193618
relation P161
type Q838948
Michael Higgins or Naoko Matsui star in [ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q57276'], [{'concept': 'Q838948'}, 'P161', 'Q1193618']]}
SELECT DISTINCT ?n WHERE { { { ?n property:P161 resource:Q1193618 } UNION { ?n property:P161 resource:Q57276 } } . ?n rdf:type ontology:Q838948 }
The Seduction of Joe Tynan The Arrangement Angel Heart Detective Conan: The Private Eyes' Requiem Did You Hear About the Morgans? The Conversation Detective Conan: Private Eye in the Distant Sea Detective Conan: Crossroad in the Ancient Capital Detective Conan: Jolly Roger in the Deep Azure Detective Conan: The Phantom of Baker Street Desperate Characters Detective Conan: Dimensional Sniper State and Main Detective Conan: Sunflowers of Inferno Detective Conan: The Fourteenth Target Detective Conan: The Time Bombed Skyscraper Dead Bang Fort Apache, The Bronx Detective Conan: Full Score of Fear Detective Conan: The Raven Chaser Detective Conan: Countdown to Heaven Swimfan The Stepford Wives Detective Conan: The Lost Ship in the Sky
Michael Higgins or Naoko Matsui star in Detective Conan: Jolly Roger in the Deep Azure, Detective Conan: The Fourteenth Target, Detective Conan: Countdown to Heaven, Detective Conan: Crossroad in the Ancient Capital, Detective Conan: The Raven Chaser, Detective Conan: Sunflowers of Inferno, Detective Conan: The Private Eyes' Requiem, Angel Heart, Detective Conan: Dimensional Sniper and Desperate Characters
Detective Conan: Jolly Roger in the Deep Azure Detective Conan: The Fourteenth Target Detective Conan: Countdown to Heaven Detective Conan: Crossroad in the Ancient Capital Detective Conan: The Raven Chaser Detective Conan: Sunflowers of Inferno Detective Conan: The Private Eyes' Requiem Angel Heart Detective Conan: Dimensional Sniper Desperate Characters
action filter_type
action union
action find_reverse
entity Michael Higgins
relation cast member
action find_reverse
entity Naoko Matsui
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Michael Higgins'], [{'concept': 'work of art'}, 'cast member', 'Naoko Matsui']]}
SELECT DISTINCT ?n WHERE { { { ?n property:cast_member resource:Naoko_Matsui } UNION { ?n property:cast_member resource:Michael_Higgins } } . ?n rdf:type ontology:work_of_art }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P161
Q502895
USER
How many people starred in that work of art ?
(Q1207394,P161,c(Q502895))
['Q1207394', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1207394 property:Q3297652 ?z . ?z rdf:type ontology:Q502895 }
['Detective Conan: The Raven Chaser', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Detective_Conan:_The_Raven_Chaser property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q18601583
SYSTEM
Did you mean Detective Conan: Sunflowers of Inferno ?
(Q1300513,P161,c(Q502895)) (Q1193711,P161,c(Q502895)) (Q287096,P161,c(Q502895)) (Q1195701,P161,c(Q502895)) (Q1207394,P161,c(Q502895)) (Q18601583,P161,c(Q502895)) (Q1317462,P161,c(Q502895)) (Q493807,P161,c(Q502895)) (Q15279283,P161,c(Q502895)) (Q3015930,P161,c(Q502895))
[ANSWER]
['Q1300513', 'P161', {'concept': 'Q502895'}] ['Q1193711', 'P161', {'concept': 'Q502895'}] ['Q287096', 'P161', {'concept': 'Q502895'}] ['Q1195701', 'P161', {'concept': 'Q502895'}] ['Q1207394', 'P161', {'concept': 'Q502895'}] ['Q18601583', 'P161', {'concept': 'Q502895'}] ['Q1317462', 'P161', {'concept': 'Q502895'}] ['Q493807', 'P161', {'concept': 'Q502895'}] ['Q15279283', 'P161', {'concept': 'Q502895'}] ['Q3015930', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1207394 property:Q3297652 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Detective Conan: Sunflowers of Inferno ?
Detective Conan: Sunflowers of Inferno
['Detective Conan: Jolly Roger in the Deep Azure', 'cast member', {'concept': 'common name'}] ['Detective Conan: The Fourteenth Target', 'cast member', {'concept': 'common name'}] ['Detective Conan: Countdown to Heaven', 'cast member', {'concept': 'common name'}] ['Detective Conan: Crossroad in the Ancient Capital', 'cast member', {'concept': 'common name'}] ['Detective Conan: The Raven Chaser', 'cast member', {'concept': 'common name'}] ['Detective Conan: Sunflowers of Inferno', 'cast member', {'concept': 'common name'}] ["Detective Conan: The Private Eyes' Requiem", 'cast member', {'concept': 'common name'}] ['Angel Heart', 'cast member', {'concept': 'common name'}] ['Detective Conan: Dimensional Sniper', 'cast member', {'concept': 'common name'}] ['Desperate Characters', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Detective_Conan:_The_Raven_Chaser property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Detective Conan: The Raven Chaser. Could you tell me the answer for that?
(Q1207394,P161,c(Q502895))
Q1207394
['Q1207394', 'P161', {'concept': 'Q502895'}]
['Detective Conan: The Raven Chaser', 'cast member', {'concept': 'common name'}]
[]
SYSTEM
33
Q5771523 Q49547 Q3113196 Q2468115 Q1199055 Q8062723 Q1139881 Q1323029 Q233380 Q225654 Q2707888 Q8062726 Q1154469 Q1142856 Q2714894 Q355173 Q418649 Q6782679 Q266670 Q236715 Q229347 Q2719755 Q3276229 Q1193618 Q937873 Q921468 Q960528 Q517337 Q945665 Q1317635 Q418762 Q4118923 Q2279779
(Q1207394,P161,c(Q502895))
[ANSWER]
['Q1207394', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1207394 property:Q3297652 ?z . ?z rdf:type ontology:Q502895 }
Hiroyuki Kinoshita Fumiko Orikasa Yukitoshi Hori Mami Koyama Ryōtarō Okiayu Yūji Mikimoto Atsuko Yuya Minami Takayama Ikue Ōtani Kazuhiko Inoue Kenichi Ogata Yūji Takada Kikuko Inoue Fumihiko Tachiki Chafurin Kappei Yamaguchi Akio Ōtsuka Masashi Sugawara Megumi Hayashibara Ami Koshimizu Nana Mizuki Wakana Yamazaki Tomohiro Nishimura Naoko Matsui Yukiko Iwai Daigo Nobutoshi Canna Toshio Furukawa Wataru Takagi Isshin Chiba Akira Kamiya Seizō Katō Yūko Miyamura
33
['Detective Conan: The Raven Chaser', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Detective_Conan:_The_Raven_Chaser property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q493807
P921
Q2057971
USER
What was Angel Heart mainly about ?
(Q493807,P921,c(Q2057971))
action filter_type
action find
entity Q493807
relation P921
type Q2057971
['Q493807', 'P921', {'concept': 'Q2057971'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q2057971 . resource:Q493807 property:P921 ?m }
Angel Heart
action filter_type
action find
entity Angel Heart
relation main subject
type health problem
['Angel Heart', 'main subject', {'concept': 'health problem'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:health_problem . resource:Angel_Heart property:main_subject ?m }
[]
health problem
Q11072
SYSTEM
amnestic disorder
Q11072
(Q493807,P921,c(Q2057971))
action filter_type
action find
entity Q493807
relation P921
type Q2057971
Mainly Angel Heart was about the [ANSWER]
['Q493807', 'P921', {'concept': 'Q2057971'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q2057971 . resource:Q493807 property:P921 ?m }
amnestic disorder
Mainly Angel Heart was about the amnestic disorder
amnestic disorder
action filter_type
action find
entity Angel Heart
relation main subject
type health problem
['Angel Heart', 'main subject', {'concept': 'health problem'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:health_problem . resource:Angel_Heart property:main_subject ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P921
Q1001378 Q15416
USER
How many cinematic techniques or television programs were primarily based on that health problem ?
(c(Q1001378),P921,Q11072) (c(Q15416),P921,Q11072) (c(Q1001378),P921,Q11072) (c(Q15416),P921,Q11072)
action count
action union
action filter_type
action find_reverse
entity Q11072
relation P921
type Q1001378
action filter_type
action find_reverse
entity Q11072
relation P921
type Q15416
[{'concept': 'Q1001378'}, 'P921', 'Q11072'] [{'concept': 'Q15416'}, 'P921', 'Q11072'] [{'concept': 'Q1001378'}, 'P921', 'Q11072'] [{'concept': 'Q15416'}, 'P921', 'Q11072']
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:Q1001378 ) ( ontology:Q15416 ) } }
action count
action union
action filter_type
action find_reverse
entity amnestic disorder
relation main subject
type cinematic technique
action filter_type
action find_reverse
entity amnestic disorder
relation main subject
type television program
[{'concept': 'cinematic technique'}, 'main subject', 'amnestic disorder'] [{'concept': 'television program'}, 'main subject', 'amnestic disorder'] [{'concept': 'cinematic technique'}, 'main subject', 'amnestic disorder'] [{'concept': 'television program'}, 'main subject', 'amnestic disorder']
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:cinematic_technique ) ( ontology:television_program ) } }
[]
cinematic technique television program
SYSTEM
4
Q160793 Q2299873 Q336240 Q7775345
(c(Q1001378),P921,Q11072) (c(Q15416),P921,Q11072) (c(Q1001378),P921,Q11072) (c(Q15416),P921,Q11072)
action count
action union
action filter_type
action find_reverse
entity Q11072
relation P921
type Q1001378
action filter_type
action find_reverse
entity Q11072
relation P921
type Q15416
[ANSWER]
[{'concept': 'Q1001378'}, 'P921', 'Q11072'] [{'concept': 'Q15416'}, 'P921', 'Q11072'] [{'concept': 'Q1001378'}, 'P921', 'Q11072'] [{'concept': 'Q15416'}, 'P921', 'Q11072']
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:Q1001378 ) ( ontology:Q15416 ) } }
Waltz with Bashir XIII: The Conspiracy Doctor Who The Wives He Forgot
4
action count
action union
action filter_type
action find_reverse
entity amnestic disorder
relation main subject
type cinematic technique
action filter_type
action find_reverse
entity amnestic disorder
relation main subject
type television program
[{'concept': 'cinematic technique'}, 'main subject', 'amnestic disorder'] [{'concept': 'television program'}, 'main subject', 'amnestic disorder'] [{'concept': 'cinematic technique'}, 'main subject', 'amnestic disorder'] [{'concept': 'television program'}, 'main subject', 'amnestic disorder']
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:cinematic_technique ) ( ontology:television_program ) } }
[]