Simple Question (Direct)
Simple Question
Q137984
P57
Q502895
USER
Which person directed Goemon ?
(Q137984,P57,c(Q502895))
action filter_type
action find
entity Q137984
relation P57
type Q502895
['Q137984', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q137984 property:P57 ?y . ?y rdf:type ontology:Q502895 }
Goemon
action filter_type
action find
entity Goemon
relation director
type common name
['Goemon', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Goemon property:director ?y . ?y rdf:type ontology:common_name }
[]
common name
Q2528937
SYSTEM
Kazuaki Kiriya
Q2528937
(Q137984,P57,c(Q502895))
action filter_type
action find
entity Q137984
relation P57
type Q502895
[ANSWER] directed Goemon
['Q137984', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q137984 property:P57 ?y . ?y rdf:type ontology:Q502895 }
Kazuaki Kiriya
Kazuaki Kiriya directed Goemon
Kazuaki Kiriya
action filter_type
action find
entity Goemon
relation director
type common name
['Goemon', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Goemon property:director ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2528937
P26
Q502895
USER
Which person has that one as spouse ?
(c(Q502895),P26,Q2528937)
action filter_type
action find
entity Q2528937
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2528937']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q2528937 property:P26 ?b }
Kazuaki Kiriya
action filter_type
action find
entity Kazuaki Kiriya
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Kazuaki Kiriya']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Kazuaki_Kiriya property:spouse ?b }
[]
common name
Q234598
SYSTEM
Hikaru Utada
Q234598
(c(Q502895),P26,Q2528937)
action filter_type
action find
entity Q2528937
relation P26
type Q502895
[ANSWER] has that one as spouse
[{'concept': 'Q502895'}, 'P26', 'Q2528937']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q2528937 property:P26 ?b }
Hikaru Utada
Hikaru Utada has that one as spouse
Hikaru Utada
action filter_type
action find
entity Kazuaki Kiriya
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Kazuaki Kiriya']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Kazuaki_Kiriya property:spouse ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q234598
P86
Q2031291
USER
What are that person a composer of ?
(c(Q2031291),P86,Q234598)
action filter_type
action find_reverse
entity Q234598
relation P86
type Q2031291
[{'concept': 'Q2031291'}, 'P86', 'Q234598']
SELECT DISTINCT ?v WHERE { ?v property:P86 resource:Q234598 . ?v rdf:type ontology:Q2031291 }
Hikaru Utada
action filter_type
action find_reverse
entity Hikaru Utada
relation composer
type release
[{'concept': 'release'}, 'composer', 'Hikaru Utada']
SELECT DISTINCT ?v WHERE { ?v property:composer resource:Hikaru_Utada . ?v rdf:type ontology:release }
[]
release
Q1082751 Q628062 Q1010478
SYSTEM
Goodbye Happiness, Can You Keep a Secret?, Final Distance
Q367904 Q2457040 Q1082751 Q1753594 Q2760791 Q18164464 Q1076851 Q628062 Q2700210 Q1010478 Q2762245
(c(Q2031291),P86,Q234598)
action filter_type
action find_reverse
entity Q234598
relation P86
type Q2031291
[ANSWERS]
[{'concept': 'Q2031291'}, 'P86', 'Q234598']
SELECT DISTINCT ?v WHERE { ?v property:P86 resource:Q234598 . ?v rdf:type ontology:Q2031291 }
Eternally Keep Tryin' Goodbye Happiness Sakura Nagashi Movin' on Without You Time Will Tell Devil Inside Can You Keep a Secret? Addicted to You Final Distance Prisoner of Love
That person a composer of are the Goodbye Happiness, Can You Keep a Secret and Final Distance
Goodbye Happiness Can You Keep a Secret? Final Distance
action filter_type
action find_reverse
entity Hikaru Utada
relation composer
type release
[{'concept': 'release'}, 'composer', 'Hikaru Utada']
SELECT DISTINCT ?v WHERE { ?v property:composer resource:Hikaru_Utada . ?v rdf:type ontology:release }
[]
Clarification
Simple Question|Single Entity|Indirect
Q628062
P800
Q502895
USER
Who is author of that release ?
(c(Q502895),P800,Q628062)
action filter_type
action find_reverse
entity Q628062
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q628062']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P800 resource:Q628062 }
Can You Keep a Secret?
action filter_type
action find_reverse
entity Can You Keep a Secret?
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Can You Keep a Secret?']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:notable_work resource:Can_You_Keep_a_Secret? }
[]
common name
Clarification for simple ques.
Q1082751
SYSTEM
Did you mean Goodbye Happiness ?
Q1082751 Q628062 Q1010478
(c(Q502895),P800,Q1082751) (c(Q502895),P800,Q628062) (c(Q502895),P800,Q1010478)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q1082751'] [{'concept': 'Q502895'}, 'P800', 'Q628062'] [{'concept': 'Q502895'}, 'P800', 'Q1010478']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P800 resource:Q628062 }
Goodbye Happiness Can You Keep a Secret? Final Distance
Did you mean Goodbye Happiness ?
Goodbye Happiness
[{'concept': 'common name'}, 'notable work', 'Goodbye Happiness'] [{'concept': 'common name'}, 'notable work', 'Can You Keep a Secret?'] [{'concept': 'common name'}, 'notable work', 'Final Distance']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:notable_work resource:Can_You_Keep_a_Secret? }
[]
Simple Question (Coreferenced)
USER
No, I meant Can You Keep a Secret?. Could you tell me the answer for that?
(c(Q502895),P800,Q628062)
Q628062
[{'concept': 'Q502895'}, 'P800', 'Q628062']
[{'concept': 'common name'}, 'notable work', 'Can You Keep a Secret?']
[]
Q234598
SYSTEM
Hikaru Utada
Q234598
(c(Q502895),P800,Q628062)
action filter_type
action find_reverse
entity Q628062
relation P800
type Q502895
[ANSWER] is author of that release
[{'concept': 'Q502895'}, 'P800', 'Q628062']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P800 resource:Q628062 }
Hikaru Utada
Hikaru Utada is author of that release
Hikaru Utada
action filter_type
action find_reverse
entity Can You Keep a Secret?
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Can You Keep a Secret?']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:notable_work resource:Can_You_Keep_a_Secret? }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q2528937
P57 P364
Q838948
USER
Which works of art are Kazuaki Kiriya a director of and were done in English language during their inception ?
AND((c(Q838948),P57,Q2528937), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q2528937
relation P57
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P57', 'Q2528937'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?d WHERE { ?d property:P57 resource:Q2528937 . ?d property:P364 resource:Q1860 . ?d rdf:type ontology:Q838948 }
English Kazuaki Kiriya
action filter_type
action intersection
action find_reverse
entity Kazuaki Kiriya
relation director
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'director', 'Kazuaki Kiriya'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?d WHERE { ?d property:director resource:Kazuaki_Kiriya . ?d property:original_language_of_work resource:English . ?d rdf:type ontology:work_of_art }
[]
work of art
Q7745847
SYSTEM
The Last Knights
Q7745847
AND((c(Q838948),P57,Q2528937), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q2528937
relation P57
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWER] is Kazuaki Kiriya a director of and were done in English language during their inception
{'AND': [[{'concept': 'Q838948'}, 'P57', 'Q2528937'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?d WHERE { ?d property:P57 resource:Q2528937 . ?d property:P364 resource:Q1860 . ?d rdf:type ontology:Q838948 }
The Last Knights
The Last Knights is Kazuaki Kiriya a director of and were done in English language during their inception
The Last Knights
action filter_type
action intersection
action find_reverse
entity Kazuaki Kiriya
relation director
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'director', 'Kazuaki Kiriya'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?d WHERE { ?d property:director resource:Kazuaki_Kiriya . ?d property:original_language_of_work resource:English . ?d rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q188473 Q2528937
P136 P58
Q838948
USER
Which works of art have Kazuaki Kiriya as screenwriter and have action film as genre ?
AND((c(Q838948),P58,Q2528937), (c(Q838948),P136,Q188473))
action filter_type
action intersection
action find_reverse
entity Q2528937
relation P58
action find_reverse
entity Q188473
relation P136
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P58', 'Q2528937'], [{'concept': 'Q838948'}, 'P136', 'Q188473']]}
SELECT DISTINCT ?k WHERE { ?k property:P136 resource:Q188473 . ?k property:P58 resource:Q2528937 . ?k rdf:type ontology:Q838948 }
action film Kazuaki Kiriya
action filter_type
action intersection
action find_reverse
entity Kazuaki Kiriya
relation screenwriter
action find_reverse
entity action film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'screenwriter', 'Kazuaki Kiriya'], [{'concept': 'work of art'}, 'genre', 'action film']]}
SELECT DISTINCT ?k WHERE { ?k property:genre resource:action_film . ?k property:screenwriter resource:Kazuaki_Kiriya . ?k rdf:type ontology:work_of_art }
[]
work of art
Q137984 Q1048319
SYSTEM
Goemon, Casshern
Q137984 Q1048319
AND((c(Q838948),P58,Q2528937), (c(Q838948),P136,Q188473))
action filter_type
action intersection
action find_reverse
entity Q2528937
relation P58
action find_reverse
entity Q188473
relation P136
type Q838948
[ANSWERS] have Kazuaki Kiriya as screenwriter and have action film as genre
{'AND': [[{'concept': 'Q838948'}, 'P58', 'Q2528937'], [{'concept': 'Q838948'}, 'P136', 'Q188473']]}
SELECT DISTINCT ?k WHERE { ?k property:P136 resource:Q188473 . ?k property:P58 resource:Q2528937 . ?k rdf:type ontology:Q838948 }
Goemon Casshern
Goemon and Casshern have Kazuaki Kiriya as screenwriter and have action film as genre
Goemon Casshern
action filter_type
action intersection
action find_reverse
entity Kazuaki Kiriya
relation screenwriter
action find_reverse
entity action film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'screenwriter', 'Kazuaki Kiriya'], [{'concept': 'work of art'}, 'genre', 'action film']]}
SELECT DISTINCT ?k WHERE { ?k property:genre resource:action_film . ?k property:screenwriter resource:Kazuaki_Kiriya . ?k rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1048319
P344
Q502895
USER
Which person is the cinematographer of Casshern ?
(Q1048319,P344,c(Q502895))
action filter_type
action find
entity Q1048319
relation P344
type Q502895
['Q1048319', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1048319 property:P344 ?x . ?x rdf:type ontology:Q502895 }
Casshern
action filter_type
action find
entity Casshern
relation director of photography
type common name
['Casshern', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Casshern property:director_of_photography ?x . ?x rdf:type ontology:common_name }
[]
common name
Q2528937
SYSTEM
Kazuaki Kiriya
Q2528937
(Q1048319,P344,c(Q502895))
action filter_type
action find
entity Q1048319
relation P344
type Q502895
[ANSWER] is the cinematographer of Casshern
['Q1048319', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1048319 property:P344 ?x . ?x rdf:type ontology:Q502895 }
Kazuaki Kiriya
Kazuaki Kiriya is the cinematographer of Casshern
Kazuaki Kiriya
action filter_type
action find
entity Casshern
relation director of photography
type common name
['Casshern', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Casshern property:director_of_photography ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4003634
Q502895
USER
And what about Another World Is Possible?
(Q4003634,P344,c(Q502895))
action filter_type
action find
entity Q4003634
relation P344
type Q502895
['Q4003634', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q4003634 property:P344 ?v . ?v rdf:type ontology:Q502895 }
Another World Is Possible
action filter_type
action find
entity Another World Is Possible
relation director of photography
type common name
['Another World Is Possible', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Another_World_Is_Possible property:director_of_photography ?v . ?v rdf:type ontology:common_name }
[]
common name
Q1006997 Q3939111 Q1987238
SYSTEM
Carlo Di Palma, Roberto Romei, Nicolò Ferrari
Q3950248 Q3838051 Q1987238 Q1006997 Q3741747 Q3751276 Q3939111 Q3148244
(Q4003634,P344,c(Q502895))
action filter_type
action find
entity Q4003634
relation P344
type Q502895
[ANSWERS] And Possible about
['Q4003634', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q4003634 property:P344 ?v . ?v rdf:type ontology:Q502895 }
Sara Bertelà Luca Bigazzi Nicolò Ferrari Carlo Di Palma Federico Greco Franco Di Giacomo Roberto Romei Ignazio Oliva
Carlo Di Palma, Roberto Romei and Nicolò Ferrari And Possible about
Carlo Di Palma Roberto Romei Nicolò Ferrari
action filter_type
action find
entity Another World Is Possible
relation director of photography
type common name
['Another World Is Possible', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Another_World_Is_Possible property:director_of_photography ?v . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4003634
P57
Q502895
USER
How many people were Another World Is Possible directed by ?
(Q4003634,P57,c(Q502895))
action count
action filter_type
action find
entity Q4003634
relation P57
type Q502895
['Q4003634', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f rdf:type ontology:Q502895 . resource:Q4003634 property:P57 ?f }
Another World Is Possible
action count
action filter_type
action find
entity Another World Is Possible
relation director
type common name
['Another World Is Possible', 'director', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f rdf:type ontology:common_name . resource:Another_World_Is_Possible property:director ?f }
[]
common name
SYSTEM
23
Q1987238 Q3956295 Q517537 Q53026 Q53048 Q1527893 Q55465 Q367489 Q3877221 Q511472 Q3894379 Q1907685 Q3851455 Q1046087 Q3428463 Q1442590 Q3702078 Q53031 Q53037 Q2215720 Q457170 Q3750521 Q3897138
(Q4003634,P57,c(Q502895))
action count
action filter_type
action find
entity Q4003634
relation P57
type Q502895
[ANSWER]
['Q4003634', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f rdf:type ontology:Q502895 . resource:Q4003634 property:P57 ?f }
Nicolò Ferrari Sergio Spina Guido Chiesa Mario Monicelli Francesco Maselli Giuliana Berlinguer Gabriele Salvatores Ricky Tognazzi Nino Russo Wilma Labate Paolo Pietrangeli Massimo Felisatti Massimo Sani Simona Izzo Fulvio Wetzl Franco Giraldi Daniele Segre Gillo Pontecorvo Ettore Scola Salvatore Maira Francesca Comencini Francesco Ranieri Martinotti Pasquale Scimeca
23
action count
action filter_type
action find
entity Another World Is Possible
relation director
type common name
['Another World Is Possible', 'director', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f rdf:type ontology:common_name . resource:Another_World_Is_Possible property:director ?f }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q19854621
Q502895
USER
And how about Signal?
(Q19854621,P57,c(Q502895))
action count
action filter_type
action find
entity Q19854621
relation P57
type Q502895
['Q19854621', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j rdf:type ontology:Q502895 . resource:Q19854621 property:P57 ?j }
Signal
action count
action filter_type
action find
entity Signal
relation director
type common name
['Signal', 'director', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j rdf:type ontology:common_name . resource:Signal property:director ?j }
[]
common name
SYSTEM
1
(Q19854621,P57,c(Q502895))
action count
action filter_type
action find
entity Q19854621
relation P57
type Q502895
[ANSWER]
['Q19854621', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j rdf:type ontology:Q502895 . resource:Q19854621 property:P57 ?j }
1
action count
action filter_type
action find
entity Signal
relation director
type common name
['Signal', 'director', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j rdf:type ontology:common_name . resource:Signal property:director ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19854621
P495
Q15617994
USER
Which administrative territory is the origin of that television program ?
action filter_type
action find
entity Q19854621
relation P495
type Q15617994
SELECT DISTINCT ?k WHERE { resource:Q19854621 property:P495 ?k . ?k rdf:type ontology:Q15617994 }
Signal
action filter_type
action find
entity Signal
relation country of origin
type designation for an administrative territorial entity
SELECT DISTINCT ?k WHERE { resource:Signal property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
action filter_type
action find
entity Q19854621
relation P495
type Q15617994
[ANSWER] is the origin of that television program
SELECT DISTINCT ?k WHERE { resource:Q19854621 property:P495 ?k . ?k rdf:type ontology:Q15617994 }
South Korea
South Korea is the origin of that television program
South Korea
action filter_type
action find
entity Signal
relation country of origin
type designation for an administrative territorial entity
SELECT DISTINCT ?k WHERE { resource:Signal property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]