Simple Question (Direct)
Simple Question
Q2086266
P106
Q28640
USER
Which professions are the professions of Christian Fechner ?
(Q2086266,P106,c(Q28640))
action filter_type
action find
entity Q2086266
relation P106
type Q28640
['Q2086266', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?r WHERE { resource:Q2086266 property:P106 ?r . ?r rdf:type ontology:Q28640 }
Christian Fechner
action filter_type
action find
entity Christian Fechner
relation occupation
type profession
['Christian Fechner', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?r WHERE { resource:Christian_Fechner property:occupation ?r . ?r rdf:type ontology:profession }
[]
profession
Q2526255 Q3282637 Q28389
SYSTEM
film director, film producer, screenwriter
Q2526255 Q3282637 Q28389
(Q2086266,P106,c(Q28640))
action filter_type
action find
entity Q2086266
relation P106
type Q28640
The professions of Christian Fechner are [ANSWERS]
['Q2086266', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?r WHERE { resource:Q2086266 property:P106 ?r . ?r rdf:type ontology:Q28640 }
film director film producer screenwriter
The professions of Christian Fechner are film director, film producer and screenwriter
film director film producer screenwriter
action filter_type
action find
entity Christian Fechner
relation occupation
type profession
['Christian Fechner', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?r WHERE { resource:Christian_Fechner property:occupation ?r . ?r rdf:type ontology:profession }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3282637
P162
Q838948
USER
What has been developed by that profession ?
(c(Q838948),P162,Q3282637)
action filter_type
action find_reverse
entity Q3282637
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q3282637']
SELECT DISTINCT ?x WHERE { ?x property:P162 resource:Q3282637 . ?x rdf:type ontology:Q838948 }
film producer
action filter_type
action find_reverse
entity film producer
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'film producer']
SELECT DISTINCT ?x WHERE { ?x property:producer resource:film_producer . ?x rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q2526255
SYSTEM
Did you mean film director ?
Q2526255 Q3282637 Q28389
(c(Q838948),P162,Q2526255) (c(Q838948),P162,Q3282637) (c(Q838948),P162,Q28389)
[ANSWER]
[{'concept': 'Q838948'}, 'P162', 'Q2526255'] [{'concept': 'Q838948'}, 'P162', 'Q3282637'] [{'concept': 'Q838948'}, 'P162', 'Q28389']
SELECT DISTINCT ?x WHERE { ?x property:P162 resource:Q3282637 . ?x rdf:type ontology:Q838948 }
film director film producer screenwriter
Did you mean film director ?
film director
[{'concept': 'work of art'}, 'producer', 'film director'] [{'concept': 'work of art'}, 'producer', 'film producer'] [{'concept': 'work of art'}, 'producer', 'screenwriter']
SELECT DISTINCT ?x WHERE { ?x property:producer resource:film_producer . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant film producer. Could you tell me the answer for that?
(c(Q838948),P162,Q3282637)
Q3282637
[{'concept': 'Q838948'}, 'P162', 'Q3282637']
[{'concept': 'work of art'}, 'producer', 'film producer']
[]
Q3234842
SYSTEM
The Revolving Doors
Q3234842
(c(Q838948),P162,Q3282637)
action filter_type
action find_reverse
entity Q3282637
relation P162
type Q838948
[ANSWER] has been developed by that profession
[{'concept': 'Q838948'}, 'P162', 'Q3282637']
SELECT DISTINCT ?x WHERE { ?x property:P162 resource:Q3282637 . ?x rdf:type ontology:Q838948 }
The Revolving Doors
The Revolving Doors has been developed by that profession
The Revolving Doors
action filter_type
action find_reverse
entity film producer
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'film producer']
SELECT DISTINCT ?x WHERE { ?x property:producer resource:film_producer . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3234842
P750
Q43229
USER
Who is the distributor of that work of art ?
(Q3234842,P750,c(Q43229))
action filter_type
action find
entity Q3234842
relation P750
type Q43229
['Q3234842', 'P750', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { resource:Q3234842 property:P750 ?a . ?a rdf:type ontology:Q43229 }
The Revolving Doors
action filter_type
action find
entity The Revolving Doors
relation distributor
type organization
['The Revolving Doors', 'distributor', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { resource:The_Revolving_Doors property:distributor ?a . ?a rdf:type ontology:organization }
[]
organization
Q18154370
SYSTEM
Les Films Séville
Q18154370
(Q3234842,P750,c(Q43229))
action filter_type
action find
entity Q3234842
relation P750
type Q43229
The distributor of that work of art is the [ANSWER]
['Q3234842', 'P750', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { resource:Q3234842 property:P750 ?a . ?a rdf:type ontology:Q43229 }
Les Films Séville
The distributor of that work of art is the Les Films Séville
Les Films Séville
action filter_type
action find
entity The Revolving Doors
relation distributor
type organization
['The Revolving Doors', 'distributor', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { resource:The_Revolving_Doors property:distributor ?a . ?a rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P750
Q838948
USER
How many works of art are that organization a distributor of ?
(c(Q838948),P750,Q18154370)
action count
action filter_type
action find_reverse
entity Q18154370
relation P750
type Q838948
[{'concept': 'Q838948'}, 'P750', 'Q18154370']
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:P750 resource:Q18154370 . ?n rdf:type ontology:Q838948 }
action count
action filter_type
action find_reverse
entity Les Films Séville
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'Les Films Séville']
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:distributor resource:Les_Films_Séville . ?n rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
8
Q1109094 Q750163 Q3234842 Q19544249 Q902480 Q22678046 Q594239 Q662774
(c(Q838948),P750,Q18154370)
action count
action filter_type
action find_reverse
entity Q18154370
relation P750
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P750', 'Q18154370']
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:P750 resource:Q18154370 . ?n rdf:type ontology:Q838948 }
Shake Hands with the Devil Emotional Arithmetic The Revolving Doors The Death and Life of John F. Donovan Lost and Delirious The Diary of an Old Man Bluff The Passion of Darkly Noon
8
action count
action filter_type
action find_reverse
entity Les Films Séville
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'Les Films Séville']
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:distributor resource:Les_Films_Séville . ?n rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18154370
P159
Q56061
USER
Which administrative territory is the head office of Les Films Séville ?
(Q18154370,P159,c(Q56061))
action filter_type
action find
entity Q18154370
relation P159
type Q56061
['Q18154370', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q18154370 property:P159 ?o . ?o rdf:type ontology:Q56061 }
Les Films Séville
action filter_type
action find
entity Les Films Séville
relation headquarters location
type administrative territorial entity
['Les Films Séville', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Les_Films_Séville property:headquarters_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q340
SYSTEM
Montreal
Q340
(Q18154370,P159,c(Q56061))
action filter_type
action find
entity Q18154370
relation P159
type Q56061
[ANSWER] is the head office of Les Films Séville
['Q18154370', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q18154370 property:P159 ?o . ?o rdf:type ontology:Q56061 }
Montreal
Montreal is the head office of Les Films Séville
Montreal
action filter_type
action find
entity Les Films Séville
relation headquarters location
type administrative territorial entity
['Les Films Séville', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Les_Films_Séville property:headquarters_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q340
P6
Q502895
USER
What people are that administrative territory the head of goverment of ?
(Q340,P6,c(Q502895))
action filter_type
action find
entity Q340
relation P6
type Q502895
['Q340', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q340 property:P6 ?e }
Montreal
action filter_type
action find
entity Montreal
relation head of government
type common name
['Montreal', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Montreal property:head_of_government ?e }
[]
common name
Q3022603 Q3307998 Q3219045
SYSTEM
Denis Coderre, Michael Applebaum, Laurent Blanchard
Q3022603 Q3307998 Q3219045
(Q340,P6,c(Q502895))
action filter_type
action find
entity Q340
relation P6
type Q502895
[ANSWERS] are that administrative territory the head of goverment of
['Q340', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q340 property:P6 ?e }
Denis Coderre Michael Applebaum Laurent Blanchard
Denis Coderre, Michael Applebaum and Laurent Blanchard are that administrative territory the head of goverment of
Denis Coderre Michael Applebaum Laurent Blanchard
action filter_type
action find
entity Montreal
relation head of government
type common name
['Montreal', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Montreal property:head_of_government ?e }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3022603 Q3307998 Q3219045
P102
Q7210356
USER
Which parties do Denis Coderre, Michael Applebaum and Laurent Blanchard belong to ?
(Q3022603,P102,c(Q7210356)) (Q3307998,P102,c(Q7210356)) (Q3219045,P102,c(Q7210356))
action union
action filter_type
action find
entity Q3022603
relation P102
type Q7210356
action filter_type
action find
entity Q3307998
relation P102
type Q7210356
action filter_type
action find
entity Q3219045
relation P102
type Q7210356
['Q3022603', 'P102', {'concept': 'Q7210356'}] ['Q3307998', 'P102', {'concept': 'Q7210356'}] ['Q3219045', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { { resource:Q3022603 property:P102 ?r . ?r rdf:type ontology:Q7210356 } UNION { resource:Q3307998 property:P102 ?r . ?r rdf:type ontology:Q7210356 } }
Denis Coderre Michael Applebaum Laurent Blanchard
action union
action filter_type
action find
entity Denis Coderre
relation member of political party
type political organization
action filter_type
action find
entity Michael Applebaum
relation member of political party
type political organization
action filter_type
action find
entity Laurent Blanchard
relation member of political party
type political organization
['Denis Coderre', 'member of political party', {'concept': 'political organization'}] ['Michael Applebaum', 'member of political party', {'concept': 'political organization'}] ['Laurent Blanchard', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { { resource:Denis_Coderre property:member_of_political_party ?r . ?r rdf:type ontology:political_organization } UNION { resource:Michael_Applebaum property:member_of_political_party ?r . ?r rdf:type ontology:political_organization } }
[]
political organization
Q138345 Q116211 Q3561034
SYSTEM
Liberal Party of Canada, Union Montreal, Vision Montreal
Q138345 Q116211 Q3561034
(Q3022603,P102,c(Q7210356)) (Q3307998,P102,c(Q7210356)) (Q3219045,P102,c(Q7210356))
action union
action filter_type
action find
entity Q3022603
relation P102
type Q7210356
action filter_type
action find
entity Q3307998
relation P102
type Q7210356
action filter_type
action find
entity Q3219045
relation P102
type Q7210356
[ANSWERS] Denis Coderre, Michael Applebaum and Laurent Blanchard belong to
['Q3022603', 'P102', {'concept': 'Q7210356'}] ['Q3307998', 'P102', {'concept': 'Q7210356'}] ['Q3219045', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { { resource:Q3022603 property:P102 ?r . ?r rdf:type ontology:Q7210356 } UNION { resource:Q3307998 property:P102 ?r . ?r rdf:type ontology:Q7210356 } }
Liberal Party of Canada Union Montreal Vision Montreal
Liberal Party of Canada, Union Montreal and Vision Montreal Denis Coderre, Michael Applebaum and Laurent Blanchard belong to
Liberal Party of Canada Union Montreal Vision Montreal
action union
action filter_type
action find
entity Denis Coderre
relation member of political party
type political organization
action filter_type
action find
entity Michael Applebaum
relation member of political party
type political organization
action filter_type
action find
entity Laurent Blanchard
relation member of political party
type political organization
['Denis Coderre', 'member of political party', {'concept': 'political organization'}] ['Michael Applebaum', 'member of political party', {'concept': 'political organization'}] ['Laurent Blanchard', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { { resource:Denis_Coderre property:member_of_political_party ?r . ?r rdf:type ontology:political_organization } UNION { resource:Michael_Applebaum property:member_of_political_party ?r . ?r rdf:type ontology:political_organization } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q138345 Q116211 Q3561034
P159
Q56061
USER
Which administrative territories are the HQ of those political organizations ?
(Q138345,P159,c(Q56061)) (Q116211,P159,c(Q56061)) (Q3561034,P159,c(Q56061))
action filter_type
action find
entity prev_answer
relation P159
type Q56061
['Q138345', 'P159', {'concept': 'Q56061'}] ['Q116211', 'P159', {'concept': 'Q56061'}] ['Q3561034', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?g property:P159 ?s . ?s rdf:type ontology:Q56061 . VALUES ( ?g ) { ( resource:Q138345 ) ( resource:Q116211 ) ( resource:Q3561034 ) } }
Liberal Party of Canada Union Montreal Vision Montreal
action filter_type
action find
entity prev_answer
relation headquarters location
type administrative territorial entity
['Liberal Party of Canada', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Union Montreal', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Vision Montreal', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?g property:headquarters_location ?s . ?s rdf:type ontology:administrative_territorial_entity . VALUES ( ?g ) { ( resource:Liberal_Party_of_Canada ) ( resource:Union_Montreal ) ( resource:Vision_Montreal ) } }
[]
administrative territorial entity
Q1930 Q340 Q340
SYSTEM
Montreal for 2nd, 3rd, Ottawa for 1st
Q1930 Q340 Q340
(Q138345,P159,c(Q56061)) (Q116211,P159,c(Q56061)) (Q3561034,P159,c(Q56061))
action filter_type
action find
entity prev_answer
relation P159
type Q56061
[ANSWERS]
['Q138345', 'P159', {'concept': 'Q56061'}] ['Q116211', 'P159', {'concept': 'Q56061'}] ['Q3561034', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?g property:P159 ?s . ?s rdf:type ontology:Q56061 . VALUES ( ?g ) { ( resource:Q138345 ) ( resource:Q116211 ) ( resource:Q3561034 ) } }
Ottawa Montreal Montreal
Ottawa, Montreal and Montreal are the HQ of those political organizations
Ottawa Montreal Montreal
action filter_type
action find
entity prev_answer
relation headquarters location
type administrative territorial entity
['Liberal Party of Canada', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Union Montreal', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Vision Montreal', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?g property:headquarters_location ?s . ?s rdf:type ontology:administrative_territorial_entity . VALUES ( ?g ) { ( resource:Liberal_Party_of_Canada ) ( resource:Union_Montreal ) ( resource:Vision_Montreal ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q340
P551
Q502895
USER
Which people live in Montreal ?
(c(Q502895),P551,Q340)
action filter_type
action find_reverse
entity Q340
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q340']
SELECT DISTINCT ?n WHERE { ?n property:P551 resource:Q340 . ?n rdf:type ontology:Q502895 }
Montreal
action filter_type
action find_reverse
entity Montreal
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Montreal']
SELECT DISTINCT ?n WHERE { ?n property:residence resource:Montreal . ?n rdf:type ontology:common_name }
[]
common name
Q1276 Q83059 Q105349
SYSTEM
Leonard Cohen, Saul Bellow, Oscar Peterson
Q3295510 Q263172 Q23847129 Q2886755 Q3087024 Q20752045 Q22812885 Q8078413 Q21103991 Q7684752 Q7050788 Q16222400 Q239067 Q439032 Q4043240 Q7968982 Q128479 Q16682593 Q316756 Q3341018 Q83059 Q27063207 Q371821 Q1063718 Q22246600 Q20972879 Q6548477 Q464097 Q6950073 Q16012272 Q15901091 Q7086757 Q15242485 Q1065216 Q1000678 Q723762 Q5804958 Q1116211 Q14863648 Q353822 Q1389704 Q1276 Q3308697 Q957680 Q105349 Q1030862
(c(Q502895),P551,Q340)
action filter_type
action find_reverse
entity Q340
relation P551
type Q502895
[ANSWERS] live in Montreal
[{'concept': 'Q502895'}, 'P551', 'Q340']
SELECT DISTINCT ?n WHERE { ?n property:P551 resource:Q340 . ?n rdf:type ontology:Q502895 }
Martin Laurendeau Maureen Forrester Gordon Edward Pfeiffer Bashar Shbib Freddy Balta Félix Auger-Aliassime Alexander Zelkin Érik Chvojka Verma Panton Tappan Adney Nordine Taleb Zakaria Ramhani Rudolph A. Marcus Eugenie Bouchard Luba Ward C. Pitfield, Jr. John Makdessi Victor Quijada Jay Baruchel Nicole Brossard Saul Bellow Théo Chentrier Samuel Dalembert Charlie Biddle Joey Bond Malika Auger-Aliassime Lily Dougall Lhasa de Sela Mélanie Gloria Dayal Kaur Khalsa Dulcinea Langfelder Oli Beaudoin Karen Cho Charles Krauthammer Randy McKay Rory MacDonald Fernando Medina Oliver Jones Françoise Abanda Maynard Ferguson Marc-Édouard Vlasic Leonard Cohen Michaël Sik Yuen Joe Matt Oscar Peterson Michel Brault
Leonard Cohen, Saul Bellow and Oscar Peterson live in Montreal
Leonard Cohen Saul Bellow Oscar Peterson
action filter_type
action find_reverse
entity Montreal
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Montreal']
SELECT DISTINCT ?n WHERE { ?n property:residence resource:Montreal . ?n rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q105349
P136
Q151885
USER
Which concepts can be considered as genre of that person ?
(Q105349,P136,c(Q151885))
action filter_type
action find
entity Q105349
relation P136
type Q151885
['Q105349', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?v WHERE { resource:Q105349 property:P136 ?v . ?v rdf:type ontology:Q151885 }
Oscar Peterson
action filter_type
action find
entity Oscar Peterson
relation genre
type concept
['Oscar Peterson', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?v WHERE { resource:Oscar_Peterson property:genre ?v . ?v rdf:type ontology:concept }
[]
concept
Clarification for simple ques.
Q83059
SYSTEM
Did you mean Saul Bellow ?
Q1276 Q83059 Q105349
(Q1276,P136,c(Q151885)) (Q83059,P136,c(Q151885)) (Q105349,P136,c(Q151885))
[ANSWER]
['Q1276', 'P136', {'concept': 'Q151885'}] ['Q83059', 'P136', {'concept': 'Q151885'}] ['Q105349', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?v WHERE { resource:Q105349 property:P136 ?v . ?v rdf:type ontology:Q151885 }
Leonard Cohen Saul Bellow Oscar Peterson
Did you mean Saul Bellow ?
Saul Bellow
['Leonard Cohen', 'genre', {'concept': 'concept'}] ['Saul Bellow', 'genre', {'concept': 'concept'}] ['Oscar Peterson', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?v WHERE { resource:Oscar_Peterson property:genre ?v . ?v rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
USER
No, I meant Oscar Peterson. Could you tell me the answer for that?
(Q105349,P136,c(Q151885))
Q105349
['Q105349', 'P136', {'concept': 'Q151885'}]
['Oscar Peterson', 'genre', {'concept': 'concept'}]
[]
Q181010 Q8341 Q105513
SYSTEM
hard bop, jazz, bebop
Q181010 Q8341 Q9759 Q105513
(Q105349,P136,c(Q151885))
action filter_type
action find
entity Q105349
relation P136
type Q151885
[ANSWERS] can be considered as genre of that person
['Q105349', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?v WHERE { resource:Q105349 property:P136 ?v . ?v rdf:type ontology:Q151885 }
hard bop jazz blues bebop
Hard bop, jazz and bebop can be considered as genre of that person
hard bop jazz bebop
action filter_type
action find
entity Oscar Peterson
relation genre
type concept
['Oscar Peterson', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?v WHERE { resource:Oscar_Peterson property:genre ?v . ?v rdf:type ontology:concept }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P941
Q151885 Q7725634 Q502895
USER
Which concepts inspired around the same number of literary works and people as that concept ?
(c(Q7725634)|c(Q502895),P941,c(Q151885))
[[{'concept': 'Q7725634'}, {'concept': 'Q502895'}], 'P941', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:P941 ?y } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q151885 . ?x rdf:type ontology:Q502895 }
[[{'concept': 'literary work'}, {'concept': 'common name'}], 'inspired by', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:inspired_by ?y } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:concept . ?x rdf:type ontology:common_name }
[]
concept literary work common name
Comparative|More/Less|Mult. entity type|Clarification
Q181010
SYSTEM
Did you mean hard bop ?
(c(Q7725634)|c(Q502895),P941,c(Q151885))
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q502895'}], 'P941', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:P941 ?y } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q151885 . ?x rdf:type ontology:Q502895 }
Did you mean hard bop ?
hard bop
[[{'concept': 'literary work'}, {'concept': 'common name'}], 'inspired by', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:inspired_by ?y } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:concept . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
USER
No, I meant jazz. Could you tell me the answer for that?
(c(Q7725634)|c(Q502895),P941,c(Q151885))
Q8341
[[{'concept': 'Q7725634'}, {'concept': 'Q502895'}], 'P941', {'concept': 'Q151885'}]
[[{'concept': 'literary work'}, {'concept': 'common name'}], 'inspired by', {'concept': 'concept'}]
[]
Q8341 Q2979
SYSTEM
jazz, liberty
Q8341 Q2979
(c(Q7725634)|c(Q502895),P941,c(Q151885))
[ANSWERS] inspired around the same number of literary works and people as that concept
[[{'concept': 'Q7725634'}, {'concept': 'Q502895'}], 'P941', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P941 ?y } UNION { ?x property:P941 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q151885 . ?x rdf:type ontology:Q502895 }
jazz liberty
Jazz and liberty inspired around the same number of literary works and people as that concept
jazz liberty
[[{'concept': 'literary work'}, {'concept': 'common name'}], 'inspired by', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { { { ?z property:inspired_by ?y } UNION { ?x property:inspired_by ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:concept . ?x rdf:type ontology:common_name }
[]