Simple Question (Direct)
Simple Question
Q2789524
P58
Q502895
USER
Who wrote the screenplay for Disorder in the Court ?
(Q2789524,P58,c(Q502895))
action filter_type
action find
entity Q2789524
relation P58
type Q502895
['Q2789524', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q2789524 property:P58 ?u }
Disorder in the Court
action filter_type
action find
entity Disorder in the Court
relation screenwriter
type common name
['Disorder in the Court', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Disorder_in_the_Court property:screenwriter ?u }
[]
common name
Q5442123
SYSTEM
Felix Adler
Q5442123
(Q2789524,P58,c(Q502895))
action filter_type
action find
entity Q2789524
relation P58
type Q502895
[ANSWER] wrote the screenplay for Disorder in the Court
['Q2789524', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q2789524 property:P58 ?u }
Felix Adler
Felix Adler wrote the screenplay for Disorder in the Court
Felix Adler
action filter_type
action find
entity Disorder in the Court
relation screenwriter
type common name
['Disorder in the Court', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Disorder_in_the_Court property:screenwriter ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2789524
P162
Q502895
USER
Which person is the produced of that work of art ?
(Q5442123,P162,c(Q502895))
action filter_type
action find
entity Q2789524
relation P162
type Q502895
['Q5442123', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q2789524 property:P162 ?x . ?x rdf:type ontology:Q502895 }
Disorder in the Court
action filter_type
action find
entity Disorder in the Court
relation producer
type common name
['Felix Adler', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Disorder_in_the_Court property:producer ?x . ?x rdf:type ontology:common_name }
[]
common name
Q1526143
SYSTEM
Jules White
Q1526143
(Q5442123,P162,c(Q502895))
action filter_type
action find
entity Q2789524
relation P162
type Q502895
[ANSWER] is the produced of that work of art
['Q5442123', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q2789524 property:P162 ?x . ?x rdf:type ontology:Q502895 }
Jules White
Jules White is the produced of that work of art
Jules White
action filter_type
action find
entity Disorder in the Court
relation producer
type common name
['Felix Adler', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Disorder_in_the_Court property:producer ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2789524
P1040
Q502895
USER
Which person is the editor of that work of art ?
(Q1526143,P1040,c(Q502895))
action filter_type
action find
entity Q2789524
relation P1040
type Q502895
['Q1526143', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q2789524 property:P1040 ?f . ?f rdf:type ontology:Q502895 }
Disorder in the Court
action filter_type
action find
entity Disorder in the Court
relation film editor
type common name
['Jules White', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Disorder_in_the_Court property:film_editor ?f . ?f rdf:type ontology:common_name }
[]
common name
Q2577710
SYSTEM
William Lyon
Q2577710
(Q1526143,P1040,c(Q502895))
action filter_type
action find
entity Q2789524
relation P1040
type Q502895
[ANSWER] is the editor of that work of art
['Q1526143', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q2789524 property:P1040 ?f . ?f rdf:type ontology:Q502895 }
William Lyon
William Lyon is the editor of that work of art
William Lyon
action filter_type
action find
entity Disorder in the Court
relation film editor
type common name
['Jules White', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Disorder_in_the_Court property:film_editor ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2789524
P462
Q1075
USER
Which color is associated with Disorder in the Court ?
(Q2789524,P462,c(Q1075))
action filter_type
action find
entity Q2789524
relation P462
type Q1075
['Q2789524', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?p WHERE { resource:Q2789524 property:P462 ?p . ?p rdf:type ontology:Q1075 }
Disorder in the Court
action filter_type
action find
entity Disorder in the Court
relation color
type color
['Disorder in the Court', 'color', {'concept': 'color'}]
SELECT DISTINCT ?p WHERE { resource:Disorder_in_the_Court property:color ?p . ?p rdf:type ontology:color }
[]
color
Q2254548
SYSTEM
black-and-white film
Q2254548
(Q2789524,P462,c(Q1075))
action filter_type
action find
entity Q2789524
relation P462
type Q1075
Film [ANSWER] is associated with Disorder in the Court
['Q2789524', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?p WHERE { resource:Q2789524 property:P462 ?p . ?p rdf:type ontology:Q1075 }
black-and-white film
Film black-and-white film is associated with Disorder in the Court
black-and-white film
action filter_type
action find
entity Disorder in the Court
relation color
type color
['Disorder in the Court', 'color', {'concept': 'color'}]
SELECT DISTINCT ?p WHERE { resource:Disorder_in_the_Court property:color ?p . ?p rdf:type ontology:color }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q781980
Q1075
USER
And also tell me about It Came from Outer Space?
(Q781980,P462,c(Q1075))
action filter_type
action find
entity Q781980
relation P462
type Q1075
['Q781980', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?z WHERE { resource:Q781980 property:P462 ?z . ?z rdf:type ontology:Q1075 }
It Came from Outer Space
action filter_type
action find
entity It Came from Outer Space
relation color
type color
['It Came from Outer Space', 'color', {'concept': 'color'}]
SELECT DISTINCT ?z WHERE { resource:It_Came_from_Outer_Space property:color ?z . ?z rdf:type ontology:color }
[]
color
Q2254548
SYSTEM
black-and-white film
Q2254548
(Q781980,P462,c(Q1075))
action filter_type
action find
entity Q781980
relation P462
type Q1075
Also tell about Came me And the [ANSWER]
['Q781980', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?z WHERE { resource:Q781980 property:P462 ?z . ?z rdf:type ontology:Q1075 }
black-and-white film
Also tell about Came me And the black-and-white film
black-and-white film
action filter_type
action find
entity It Came from Outer Space
relation color
type color
['It Came from Outer Space', 'color', {'concept': 'color'}]
SELECT DISTINCT ?z WHERE { resource:It_Came_from_Outer_Space property:color ?z . ?z rdf:type ontology:color }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21646184 Q2789524
P495
Q15617994
USER
Which administrative territories did Disorder in the Court or The Blast Furnace originate ?
OR((Q2789524,P495,c(Q15617994)), (Q21646184,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q2789524
relation P495
action find
entity Q21646184
relation P495
type Q15617994
{'OR': [['Q2789524', 'P495', {'concept': 'Q15617994'}], ['Q21646184', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q2789524 property:P495 ?t } UNION { resource:Q21646184 property:P495 ?t } } . ?t rdf:type ontology:Q15617994 }
The Blast Furnace Disorder in the Court
action filter_type
action union
action find
entity Disorder in the Court
relation country of origin
action find
entity The Blast Furnace
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Disorder in the Court', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['The Blast Furnace', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Disorder_in_the_Court property:country_of_origin ?t } UNION { resource:The_Blast_Furnace property:country_of_origin ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q423 Q30
SYSTEM
North Korea, United States of America
Q423 Q30
OR((Q2789524,P495,c(Q15617994)), (Q21646184,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q2789524
relation P495
action find
entity Q21646184
relation P495
type Q15617994
Disorder in the Court or The Blast Furnace originated in [ANSWERS]
{'OR': [['Q2789524', 'P495', {'concept': 'Q15617994'}], ['Q21646184', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q2789524 property:P495 ?t } UNION { resource:Q21646184 property:P495 ?t } } . ?t rdf:type ontology:Q15617994 }
North Korea United States of America
Disorder in the Court or The Blast Furnace originated in North Korea and United States of America
North Korea United States of America
action filter_type
action union
action find
entity Disorder in the Court
relation country of origin
action find
entity The Blast Furnace
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Disorder in the Court', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['The Blast Furnace', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Disorder_in_the_Court property:country_of_origin ?t } UNION { resource:The_Blast_Furnace property:country_of_origin ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q838948 Q838948 Q201658
USER
How many works of art were approximately 1 works of art and film genres inspired by ?
(c(Q838948)|c(Q201658),P941,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P941
type Q838948
type Q201658
value 1
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) ?v WHERE { { ?s property:P941 ?v . ?v rdf:type ontology:Q838948 . ?s rdf:type ontology:Q838948 } UNION { ?v rdf:type ontology:Q838948 . ?s rdf:type ontology:Q201658 . ?s property:P941 ?v } } GROUP BY ?v } . FILTER ( ?b = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type work of art
action find_reverse_tuple_counts
relation inspired by
type work of art
type film genre
value 1
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) ?v WHERE { { ?s property:inspired_by ?v . ?v rdf:type ontology:work_of_art . ?s rdf:type ontology:work_of_art } UNION { ?v rdf:type ontology:work_of_art . ?s rdf:type ontology:film_genre . ?s property:inspired_by ?v } } GROUP BY ?v } . FILTER ( ?b = 1 ) }
[]
work of art work of art film genre
SYSTEM
13
Q1136305 Q107724 Q7758112 Q1852671 Q17738 Q181598 Q753298 Q1754737 Q186014 Q734834 Q375786 Q83186 Q465478
(c(Q838948)|c(Q201658),P941,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P941
type Q838948
type Q201658
value 1
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) ?v WHERE { { ?s property:P941 ?v . ?v rdf:type ontology:Q838948 . ?s rdf:type ontology:Q838948 } UNION { ?v rdf:type ontology:Q838948 . ?s rdf:type ontology:Q201658 . ?s property:P941 ?v } } GROUP BY ?v } . FILTER ( ?b = 1 ) }
Doryphoros Thunderball The Pretty Sister of Jose Carnival of Souls Star Wars Episode IV: A New Hope King Lear Uncle Vanya Lady Snowblood Zeitgeist: The Movie Ghent Altarpiece Hippolytus Romeo and Juliet Star Trek II: The Wrath of Khan
13
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type work of art
action find_reverse_tuple_counts
relation inspired by
type work of art
type film genre
value 1
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) ?v WHERE { { ?s property:inspired_by ?v . ?v rdf:type ontology:work_of_art . ?s rdf:type ontology:work_of_art } UNION { ?v rdf:type ontology:work_of_art . ?s rdf:type ontology:film_genre . ?s property:inspired_by ?v } } GROUP BY ?v } . FILTER ( ?b = 1 ) }
[]