Simple Question (Direct)
Simple Question
Q548128
P364
Q34770
USER
Which language was used originally for the creation of Rosario Tijeras ?
(Q548128,P364,c(Q34770))
action filter_type
action find
entity Q548128
relation P364
type Q34770
['Q548128', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q548128 property:P364 ?x . ?x rdf:type ontology:Q34770 }
Rosario Tijeras
action filter_type
action find
entity Rosario Tijeras
relation original language of work
type language
['Rosario Tijeras', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Rosario_Tijeras property:original_language_of_work ?x . ?x rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q548128,P364,c(Q34770))
action filter_type
action find
entity Q548128
relation P364
type Q34770
[ANSWER] was used originally for the creation of Rosario Tijeras
['Q548128', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q548128 property:P364 ?x . ?x rdf:type ontology:Q34770 }
Spanish
Spanish was used originally for the creation of Rosario Tijeras
Spanish
action filter_type
action find
entity Rosario Tijeras
relation original language of work
type language
['Rosario Tijeras', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Rosario_Tijeras property:original_language_of_work ?x . ?x rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q548128
P58
Q502895
USER
Who were the screenwriters for Rosario Tijeras ?
(Q548128,P58,c(Q502895))
action filter_type
action find
entity Q548128
relation P58
type Q502895
['Q548128', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q548128 property:P58 ?n . ?n rdf:type ontology:Q502895 }
Rosario Tijeras
action filter_type
action find
entity Rosario Tijeras
relation screenwriter
type common name
['Rosario Tijeras', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Rosario_Tijeras property:screenwriter ?n . ?n rdf:type ontology:common_name }
[]
common name
Q506957 Q3183825
SYSTEM
Marcelo Figueras, Jorge Franco
Q506957 Q3183825
(Q548128,P58,c(Q502895))
action filter_type
action find
entity Q548128
relation P58
type Q502895
The screenwriters for Rosario Tijeras were José [ANSWERS]
['Q548128', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q548128 property:P58 ?n . ?n rdf:type ontology:Q502895 }
Marcelo Figueras Jorge Franco
The screenwriters for Rosario Tijeras were José Marcelo Figueras and Jorge Franco
Marcelo Figueras Jorge Franco
action filter_type
action find
entity Rosario Tijeras
relation screenwriter
type common name
['Rosario Tijeras', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Rosario_Tijeras property:screenwriter ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q548128
P344
Q502895
USER
Which person serves as the director of photography for Rosario Tijeras ?
(Q548128,P344,c(Q502895))
action filter_type
action find
entity Q548128
relation P344
type Q502895
['Q548128', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q548128 property:P344 ?y }
Rosario Tijeras
action filter_type
action find
entity Rosario Tijeras
relation director of photography
type common name
['Rosario Tijeras', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Rosario_Tijeras property:director_of_photography ?y }
[]
common name
Q18396816
SYSTEM
Pascal Marti
Q18396816
(Q548128,P344,c(Q502895))
action filter_type
action find
entity Q548128
relation P344
type Q502895
[ANSWER] serves as the director of photography for Rosario Tijeras
['Q548128', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q548128 property:P344 ?y }
Pascal Marti
Pascal Marti serves as the director of photography for Rosario Tijeras
Pascal Marti
action filter_type
action find
entity Rosario Tijeras
relation director of photography
type common name
['Rosario Tijeras', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Rosario_Tijeras property:director_of_photography ?y }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q457925
Q502895
USER
And how about Manners of Dying?
(Q457925,P344,c(Q502895))
action filter_type
action find
entity Q457925
relation P344
type Q502895
['Q457925', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q457925 property:P344 ?g . ?g rdf:type ontology:Q502895 }
Manners of Dying
action filter_type
action find
entity Manners of Dying
relation director of photography
type common name
['Manners of Dying', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Manners_of_Dying property:director_of_photography ?g . ?g rdf:type ontology:common_name }
[]
common name
Q630845
SYSTEM
James Gray
Q630845
(Q457925,P344,c(Q502895))
action filter_type
action find
entity Q457925
relation P344
type Q502895
[ANSWER]
['Q457925', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q457925 property:P344 ?g . ?g rdf:type ontology:Q502895 }
James Gray
James Gray
action filter_type
action find
entity Manners of Dying
relation director of photography
type common name
['Manners of Dying', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Manners_of_Dying property:director_of_photography ?g . ?g rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q630845 Q60
P19
Q56061
USER
Is New York City the birthplace of that person ?
(Q630845,P19,Q60)
action is_in
entity Q60
action find
entity Q630845
relation P19
['Q630845', 'P19', 'Q60']
ASK WHERE { resource:Q630845 property:P19 resource:Q60 }
James Gray New York City
action is_in
entity New York City
action find
entity James Gray
relation place of birth
['James Gray', 'place of birth', 'New York City']
ASK WHERE { resource:James_Gray property:place_of_birth resource:New_York_City }
[]
administrative territorial entity
SYSTEM
YES
(Q630845,P19,Q60)
action is_in
entity Q60
action find
entity Q630845
relation P19
[ANSWER]
['Q630845', 'P19', 'Q60']
ASK WHERE { resource:Q630845 property:P19 resource:Q60 }
Yes
action is_in
entity New York City
action find
entity James Gray
relation place of birth
['James Gray', 'place of birth', 'New York City']
ASK WHERE { resource:James_Gray property:place_of_birth resource:New_York_City }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q577959 Q630845
P57
Q838948
USER
Which works of art are James Gray or Paco Plaza a director of ?
OR((c(Q838948),P57,Q630845), (c(Q838948),P57,Q577959))
action filter_type
action union
action find_reverse
entity Q630845
relation P57
action find_reverse
entity Q577959
relation P57
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q630845'], [{'concept': 'Q838948'}, 'P57', 'Q577959']]}
SELECT DISTINCT ?r WHERE { { ?r property:P57 ?z . VALUES ( ?z ) { ( resource:Q630845 ) ( resource:Q577959 ) } } . ?r rdf:type ontology:Q838948 }
Paco Plaza James Gray
action filter_type
action union
action find_reverse
entity James Gray
relation director
action find_reverse
entity Paco Plaza
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'James Gray'], [{'concept': 'work of art'}, 'director', 'Paco Plaza']]}
SELECT DISTINCT ?r WHERE { { ?r property:director ?z . VALUES ( ?z ) { ( resource:James_Gray ) ( resource:Paco_Plaza ) } } . ?r rdf:type ontology:work_of_art }
[]
work of art
Q1033868 Q773998 Q1050065 Q628589 Q137800 Q20814623 Q754474 Q3341412 Q786038 Q1848116
SYSTEM
Some of them are Second Name, Two Lovers, REC 2, Little Odessa, The Yards, The Lost City of Z, REC, The Immigrant, We Own the Night, Romasanta
Q246391 Q137800 Q1033868 Q1050065 Q773998 Q628589 Q1848116 Q3341412 Q786038 Q754474 Q20814623
OR((c(Q838948),P57,Q630845), (c(Q838948),P57,Q577959))
action filter_type
action union
action find_reverse
entity Q630845
relation P57
action find_reverse
entity Q577959
relation P57
type Q838948
[ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q630845'], [{'concept': 'Q838948'}, 'P57', 'Q577959']]}
SELECT DISTINCT ?r WHERE { { ?r property:P57 ?z . VALUES ( ?z ) { ( resource:Q630845 ) ( resource:Q577959 ) } } . ?r rdf:type ontology:Q838948 }
REC 3: Genesis The Yards Second Name REC 2 Two Lovers Little Odessa Romasanta The Immigrant We Own the Night REC The Lost City of Z
The Immigrant, We own the Night and Romasanta are James Gray or Paco Plaza a director of
Second Name Two Lovers REC 2 Little Odessa The Yards The Lost City of Z REC The Immigrant We Own the Night Romasanta
action filter_type
action union
action find_reverse
entity James Gray
relation director
action find_reverse
entity Paco Plaza
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'James Gray'], [{'concept': 'work of art'}, 'director', 'Paco Plaza']]}
SELECT DISTINCT ?r WHERE { { ?r property:director ?z . VALUES ( ?z ) { ( resource:James_Gray ) ( resource:Paco_Plaza ) } } . ?r rdf:type ontology:work_of_art }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P495
Q15617994
USER
How many administrative territories are the origin of that work of art ?
(Q20814623,P495,c(Q15617994))
['Q20814623', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3207492 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
['The Lost City of Z', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:The_Lost_City_of_Z property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q3341412
SYSTEM
Did you mean The Immigrant ?
(Q1033868,P495,c(Q15617994)) (Q773998,P495,c(Q15617994)) (Q1050065,P495,c(Q15617994)) (Q628589,P495,c(Q15617994)) (Q137800,P495,c(Q15617994)) (Q20814623,P495,c(Q15617994)) (Q754474,P495,c(Q15617994)) (Q3341412,P495,c(Q15617994)) (Q786038,P495,c(Q15617994)) (Q1848116,P495,c(Q15617994))
[ANSWER]
['Q1033868', 'P495', {'concept': 'Q15617994'}] ['Q773998', 'P495', {'concept': 'Q15617994'}] ['Q1050065', 'P495', {'concept': 'Q15617994'}] ['Q628589', 'P495', {'concept': 'Q15617994'}] ['Q137800', 'P495', {'concept': 'Q15617994'}] ['Q20814623', 'P495', {'concept': 'Q15617994'}] ['Q754474', 'P495', {'concept': 'Q15617994'}] ['Q3341412', 'P495', {'concept': 'Q15617994'}] ['Q786038', 'P495', {'concept': 'Q15617994'}] ['Q1848116', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3207492 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean The Immigrant ?
The Immigrant
['Second Name', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Two Lovers', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['REC 2', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Little Odessa', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Yards', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Lost City of Z', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['REC', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Immigrant', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['We Own the Night', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Romasanta', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:The_Lost_City_of_Z property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant The Lost City of Z. Could you tell me the answer for that?
(Q20814623,P495,c(Q15617994))
Q20814623
['Q20814623', 'P495', {'concept': 'Q15617994'}]
['The Lost City of Z', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q30
(Q20814623,P495,c(Q15617994))
[ANSWER]
['Q20814623', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3207492 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
1
['The Lost City of Z', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:The_Lost_City_of_Z property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1050065
P1431
Q502895
USER
Who is the executive producer of REC 2 ?
(Q1050065,P1431,c(Q502895))
action filter_type
action find
entity Q1050065
relation P1431
type Q502895
['Q1050065', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1050065 property:P1431 ?l . ?l rdf:type ontology:Q502895 }
REC 2
action filter_type
action find
entity REC 2
relation executive producer
type common name
['REC 2', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:REC_2 property:executive_producer ?l . ?l rdf:type ontology:common_name }
[]
common name
Q3392272
SYSTEM
Julio Fernández Rodríguez
Q3392272
(Q1050065,P1431,c(Q502895))
action filter_type
action find
entity Q1050065
relation P1431
type Q502895
The executive producer of REC 2 is the [ANSWER]
['Q1050065', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1050065 property:P1431 ?l . ?l rdf:type ontology:Q502895 }
Julio Fernández Rodríguez
The executive producer of REC 2 is the Julio Fernández Rodríguez
Julio Fernández Rodríguez
action filter_type
action find
entity REC 2
relation executive producer
type common name
['REC 2', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:REC_2 property:executive_producer ?l . ?l rdf:type ontology:common_name }
[]