Simple Question (Direct)
Simple Question
Q1522637
P19
Q15617994
USER
Which administrative territory is the birthplace of Gianni Quaranta ?
(Q1522637,P19,c(Q15617994))
action filter_type
action find
entity Q1522637
relation P19
type Q15617994
['Q1522637', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q1522637 property:P19 ?h }
Gianni Quaranta
action filter_type
action find
entity Gianni Quaranta
relation place of birth
type designation for an administrative territorial entity
['Gianni Quaranta', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gianni_Quaranta property:place_of_birth ?h }
[]
designation for an administrative territorial entity
Q41020
SYSTEM
Arsiè
Q41020
(Q1522637,P19,c(Q15617994))
action filter_type
action find
entity Q1522637
relation P19
type Q15617994
[ANSWER] is the birthplace of Gianni Quaranta
['Q1522637', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q1522637 property:P19 ?h }
Arsiè
Arsiè is the birthplace of Gianni Quaranta
Arsiè
action filter_type
action find
entity Gianni Quaranta
relation place of birth
type designation for an administrative territorial entity
['Gianni Quaranta', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gianni_Quaranta property:place_of_birth ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1522637
P1346
Q618779
USER
Where was Gianni Quaranta decalred as a victor ?
(c(Q618779),P1346,Q1522637)
action filter_type
action find_reverse
entity Q1522637
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q1522637']
SELECT DISTINCT ?w WHERE { ?w property:P1346 resource:Q1522637 . ?w rdf:type ontology:Q618779 }
Gianni Quaranta
action filter_type
action find_reverse
entity Gianni Quaranta
relation winner
type award
[{'concept': 'award'}, 'winner', 'Gianni Quaranta']
SELECT DISTINCT ?w WHERE { ?w property:winner resource:Gianni_Quaranta . ?w rdf:type ontology:award }
[]
award
Q900352
SYSTEM
César Award for Best Production Design
Q900352
(c(Q618779),P1346,Q1522637)
action filter_type
action find_reverse
entity Q1522637
relation P1346
type Q618779
Gianni Quaranta was decalred in [ANSWER] as a victor
[{'concept': 'Q618779'}, 'P1346', 'Q1522637']
SELECT DISTINCT ?w WHERE { ?w property:P1346 resource:Q1522637 . ?w rdf:type ontology:Q618779 }
César Award for Best Production Design
Gianni Quaranta was decalred in César Award for Best Production Design as a victor
César Award for Best Production Design
action filter_type
action find_reverse
entity Gianni Quaranta
relation winner
type award
[{'concept': 'award'}, 'winner', 'Gianni Quaranta']
SELECT DISTINCT ?w WHERE { ?w property:winner resource:Gianni_Quaranta . ?w rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1522637
P1411
Q4220917
USER
Which film award was that person nominated for ?
(Q900352,P1411,c(Q4220917))
action filter_type
action find
entity Q1522637
relation P1411
type Q4220917
['Q900352', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?o WHERE { resource:Q1522637 property:P1411 ?o . ?o rdf:type ontology:Q4220917 }
Gianni Quaranta
action filter_type
action find
entity Gianni Quaranta
relation nominated for
type film award
['César Award for Best Production Design', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?o WHERE { resource:Gianni_Quaranta property:nominated_for ?o . ?o rdf:type ontology:film_award }
[]
film award
Q277751
SYSTEM
Academy Award for Best Production Design
Q277751
(Q900352,P1411,c(Q4220917))
action filter_type
action find
entity Q1522637
relation P1411
type Q4220917
That person was nominated for [ANSWER]
['Q900352', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?o WHERE { resource:Q1522637 property:P1411 ?o . ?o rdf:type ontology:Q4220917 }
Academy Award for Best Production Design
That person was nominated for Academy Award for Best Production Design
Academy Award for Best Production Design
action filter_type
action find
entity Gianni Quaranta
relation nominated for
type film award
['César Award for Best Production Design', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?o WHERE { resource:Gianni_Quaranta property:nominated_for ?o . ?o rdf:type ontology:film_award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1522637
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q277751,P27,c(Q15617994))
action filter_type
action find
entity Q1522637
relation P27
type Q15617994
['Q277751', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1522637 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Gianni Quaranta
action filter_type
action find
entity Gianni Quaranta
relation country of citizenship
type designation for an administrative territorial entity
['Academy Award for Best Production Design', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Gianni_Quaranta property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q277751,P27,c(Q15617994))
action filter_type
action find
entity Q1522637
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q277751', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1522637 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Italy
Italy is the country of citizenship of that person
Italy
action filter_type
action find
entity Gianni Quaranta
relation country of citizenship
type designation for an administrative territorial entity
['Academy Award for Best Production Design', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Gianni_Quaranta property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1411
Q618779 Q838948 Q502895
USER
Which awards were max number of works of art and people a recipient of ?
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action argmax
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?l ) { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?z ) WHERE { VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?v rdf:type ?x } GROUP BY ?j } } . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?u ) WHERE { { ?g property:P1411 ?q . ?q rdf:type ontology:Q618779 . ?g rdf:type ontology:Q838948 } UNION { ?q rdf:type ontology:Q618779 . ?g rdf:type ontology:Q502895 . ?g property:P1411 ?q } } GROUP BY ?q } . FILTER ( ?u = ?l ) }
action argmax
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?l ) { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?z ) WHERE { VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?v rdf:type ?x } GROUP BY ?j } } . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?u ) WHERE { { ?g property:nominated_for ?q . ?q rdf:type ontology:award . ?g rdf:type ontology:work_of_art } UNION { ?q rdf:type ontology:award . ?g rdf:type ontology:common_name . ?g property:nominated_for ?q } } GROUP BY ?q } . FILTER ( ?u = ?l ) }
[]
award work of art common name
Q37922
SYSTEM
Nobel Prize in Literature
Q37922
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action argmax
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
[ANSWER] was max number of works of art and people a recipient of
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?l ) { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?z ) WHERE { VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?v rdf:type ?x } GROUP BY ?j } } . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?u ) WHERE { { ?g property:P1411 ?q . ?q rdf:type ontology:Q618779 . ?g rdf:type ontology:Q838948 } UNION { ?q rdf:type ontology:Q618779 . ?g rdf:type ontology:Q502895 . ?g property:P1411 ?q } } GROUP BY ?q } . FILTER ( ?u = ?l ) }
Nobel Prize in Literature
Nobel Prize in Literature was max number of works of art and people a recipient of
Nobel Prize in Literature
action argmax
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?l ) { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?z ) WHERE { VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?v rdf:type ?x } GROUP BY ?j } } . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?u ) WHERE { { ?g property:nominated_for ?q . ?q rdf:type ontology:award . ?g rdf:type ontology:work_of_art } UNION { ?q rdf:type ontology:award . ?g rdf:type ontology:common_name . ?g property:nominated_for ?q } } GROUP BY ?q } . FILTER ( ?u = ?l ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16575756 Q1522637
P106
Q12737077
USER
Which occupations do Gianni Quaranta or Marco Berti do for a living ?
OR((Q1522637,P106,c(Q12737077)), (Q16575756,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1522637
relation P106
action find
entity Q16575756
relation P106
type Q12737077
{'OR': [['Q1522637', 'P106', {'concept': 'Q12737077'}], ['Q16575756', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1522637 property:P106 ?i } UNION { resource:Q16575756 property:P106 ?i } } . ?i rdf:type ontology:Q12737077 }
Marco Berti Gianni Quaranta
action filter_type
action union
action find
entity Gianni Quaranta
relation occupation
action find
entity Marco Berti
relation occupation
type occupation
{'OR': [['Gianni Quaranta', 'occupation', {'concept': 'occupation'}], ['Marco Berti', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Gianni_Quaranta property:occupation ?i } UNION { resource:Marco_Berti property:occupation ?i } } . ?i rdf:type ontology:occupation }
[]
occupation
Q2707485 Q131524
SYSTEM
scenographer, entrepreneur
Q2707485 Q131524
OR((Q1522637,P106,c(Q12737077)), (Q16575756,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1522637
relation P106
action find
entity Q16575756
relation P106
type Q12737077
[ANSWERS] Gianni Quaranta or Marco Berti do for a living
{'OR': [['Q1522637', 'P106', {'concept': 'Q12737077'}], ['Q16575756', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1522637 property:P106 ?i } UNION { resource:Q16575756 property:P106 ?i } } . ?i rdf:type ontology:Q12737077 }
scenographer entrepreneur
Scenographer and entrepreneur Gianni Quaranta or Marco Berti do for a living
scenographer entrepreneur
action filter_type
action union
action find
entity Gianni Quaranta
relation occupation
action find
entity Marco Berti
relation occupation
type occupation
{'OR': [['Gianni Quaranta', 'occupation', {'concept': 'occupation'}], ['Marco Berti', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Gianni_Quaranta property:occupation ?i } UNION { resource:Marco_Berti property:occupation ?i } } . ?i rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q79007 Q34442
USER
Which administrative territories are around 1 streets or roads named after ?
(c(Q79007)|c(Q34442),P138,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q79007
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q34442
value 1
[[{'concept': 'Q79007'}, {'concept': 'Q34442'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?e WHERE { VALUES ( ?s ) { ( ontology:Q79007 ) ( ontology:Q34442 ) } . ?u rdf:type ?s } GROUP BY ?e } . FILTER ( ?k = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type street
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type road
value 1
[[{'concept': 'street'}, {'concept': 'road'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?e WHERE { VALUES ( ?s ) { ( ontology:street ) ( ontology:road ) } . ?u rdf:type ?s } GROUP BY ?e } . FILTER ( ?k = 1 ) }
[]
designation for an administrative territorial entity street road
Q155 Q142 Q17
SYSTEM
Brazil, France, Japan
Q414 Q155 Q46490 Q3372 Q549449 Q913434 Q7603016 Q3326 Q948 Q33788 Q12788 Q585248 Q155622 Q39 Q159626 Q1206596 Q186115 Q822 Q107426 Q20 Q390125 Q40611 Q34607 Q1210 Q2742 Q819 Q20077 Q142 Q262 Q928 Q424 Q42984 Q645814 Q1041 Q17 Q775 Q1019 Q772
(c(Q79007)|c(Q34442),P138,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q79007
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q34442
value 1
[ANSWERS] are around 1 streets or roads named after
[[{'concept': 'Q79007'}, {'concept': 'Q34442'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?e WHERE { VALUES ( ?s ) { ( ontology:Q79007 ) ( ontology:Q34442 ) } . ?u rdf:type ?s } GROUP BY ?e } . FILTER ( ?k = 1 ) }
Argentina Brazil Arcole Eure Prince of Orange Les Halles Mitino Corrèze Tunisia New Caledonia Val-de-Marne Glienicke/Nordbahn Bernkastel-Kues Switzerland Württemberg Deux-Nèthes Montmartre Lebanon Anjou Norway Linz am Rhein Casteggio Este Lombardy Münster Laos Werdau France Algeria Philippines Cambodia Turbigo Kröpelin Senegal Japan Gelderland Madagascar Drenthe
Brazil, France and Japan are around 1 streets or roads named after
Brazil France Japan
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type street
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type road
value 1
[[{'concept': 'street'}, {'concept': 'road'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?e WHERE { VALUES ( ?s ) { ( ontology:street ) ( ontology:road ) } . ?u rdf:type ?s } GROUP BY ?e } . FILTER ( ?k = 1 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1168322
P840
Q166142
USER
Do EA Sports F1 2001 have their narrative set in those administrative territories ?
(Q1168322,P840,Q155) (Q1168322,P840,Q142) (Q1168322,P840,Q17)
action is_in
entity prev_answer
action find
entity Q1168322
relation P840
['Q1168322', 'P840', 'Q155'] ['Q1168322', 'P840', 'Q142'] ['Q1168322', 'P840', 'Q17']
ASK WHERE { VALUES ( ?q ) { ( resource:Q414 ) ( resource:Q155 ) ( resource:Q46490 ) } . resource:Q1168322 property:P840 ?q }
EA Sports F1 2001
action is_in
entity prev_answer
action find
entity EA Sports F1 2001
relation narrative location
['EA Sports F1 2001', 'narrative location', 'Brazil'] ['EA Sports F1 2001', 'narrative location', 'France'] ['EA Sports F1 2001', 'narrative location', 'Japan']
ASK WHERE { VALUES ( ?q ) { ( resource:Argentina ) ( resource:Brazil ) ( resource:Arcole ) } . resource:EA_Sports_F1_2001 property:narrative_location ?q }
[]
application
SYSTEM
YES
(Q1168322,P840,Q155) (Q1168322,P840,Q142) (Q1168322,P840,Q17)
action is_in
entity prev_answer
action find
entity Q1168322
relation P840
[ANSWER]
['Q1168322', 'P840', 'Q155'] ['Q1168322', 'P840', 'Q142'] ['Q1168322', 'P840', 'Q17']
ASK WHERE { VALUES ( ?q ) { ( resource:Q414 ) ( resource:Q155 ) ( resource:Q46490 ) } . resource:Q1168322 property:P840 ?q }
Yes
action is_in
entity prev_answer
action find
entity EA Sports F1 2001
relation narrative location
['EA Sports F1 2001', 'narrative location', 'Brazil'] ['EA Sports F1 2001', 'narrative location', 'France'] ['EA Sports F1 2001', 'narrative location', 'Japan']
ASK WHERE { VALUES ( ?q ) { ( resource:Argentina ) ( resource:Brazil ) ( resource:Arcole ) } . resource:EA_Sports_F1_2001 property:narrative_location ?q }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q1522637
P364 P2554
Q838948
USER
Which works of art have Gianni Quaranta as the production designer and are known to be originally created in English language ?
AND((c(Q838948),P2554,Q1522637), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q1522637
relation P2554
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P2554', 'Q1522637'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?h WHERE { ?h property:P2554 resource:Q1522637 . ?h property:P364 resource:Q1860 . ?h rdf:type ontology:Q838948 }
English Gianni Quaranta
action filter_type
action intersection
action find_reverse
entity Gianni Quaranta
relation production designer
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'production designer', 'Gianni Quaranta'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?h WHERE { ?h property:production_designer resource:Gianni_Quaranta . ?h property:original_language_of_work resource:English . ?h rdf:type ontology:work_of_art }
[]
work of art
Q203574 Q1879989 Q4451329
SYSTEM
A Room with a View, The Comfort of Strangers, Dancers
Q203574 Q1879989 Q4451329
AND((c(Q838948),P2554,Q1522637), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q1522637
relation P2554
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWERS] have Gianni Quaranta as the production designer and are known to be originally created in English language
{'AND': [[{'concept': 'Q838948'}, 'P2554', 'Q1522637'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?h WHERE { ?h property:P2554 resource:Q1522637 . ?h property:P364 resource:Q1860 . ?h rdf:type ontology:Q838948 }
A Room with a View The Comfort of Strangers Dancers
A Room with a View, The Comfort of Strangers and Dancers have Gianni Quaranta as the production designer and are known to be originally created in English language
A Room with a View The Comfort of Strangers Dancers
action filter_type
action intersection
action find_reverse
entity Gianni Quaranta
relation production designer
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'production designer', 'Gianni Quaranta'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?h WHERE { ?h property:production_designer resource:Gianni_Quaranta . ?h property:original_language_of_work resource:English . ?h rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q203574
P57
Q502895
USER
Which person served as the directed of that work of art ?
(Q203574,P57,c(Q502895))
action filter_type
action find
entity Q203574
relation P57
type Q502895
['Q203574', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q203574 property:P57 ?u . ?u rdf:type ontology:Q502895 }
A Room with a View
action filter_type
action find
entity A Room with a View
relation director
type common name
['A Room with a View', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:A_Room_with_a_View property:director ?u . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1879989
SYSTEM
Did you mean The Comfort of Strangers ?
Q203574 Q1879989 Q4451329
(Q203574,P57,c(Q502895)) (Q1879989,P57,c(Q502895)) (Q4451329,P57,c(Q502895))
[ANSWER]
['Q203574', 'P57', {'concept': 'Q502895'}] ['Q1879989', 'P57', {'concept': 'Q502895'}] ['Q4451329', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q203574 property:P57 ?u . ?u rdf:type ontology:Q502895 }
A Room with a View The Comfort of Strangers Dancers
Did you mean The Comfort of Strangers ?
The Comfort of Strangers
['A Room with a View', 'director', {'concept': 'common name'}] ['The Comfort of Strangers', 'director', {'concept': 'common name'}] ['Dancers', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:A_Room_with_a_View property:director ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant A Room with a View. Could you tell me the answer for that?
(Q203574,P57,c(Q502895))
Q203574
['Q203574', 'P57', {'concept': 'Q502895'}]
['A Room with a View', 'director', {'concept': 'common name'}]
[]
Q51577
SYSTEM
James Ivory
Q51577
(Q203574,P57,c(Q502895))
action filter_type
action find
entity Q203574
relation P57
type Q502895
[ANSWER] served as the directed of that work of art
['Q203574', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q203574 property:P57 ?u . ?u rdf:type ontology:Q502895 }
James Ivory
James Ivory served as the directed of that work of art
James Ivory
action filter_type
action find
entity A Room with a View
relation director
type common name
['A Room with a View', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:A_Room_with_a_View property:director ?u . ?u rdf:type ontology:common_name }
[]