Simple Question (Direct)
Simple Question
Q972590
P1411
Q4220917
USER
Which film award does Alessandro Camon have ?
(Q972590,P1411,c(Q4220917))
action filter_type
action find
entity Q972590
relation P1411
type Q4220917
['Q972590', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?j WHERE { resource:Q972590 property:P1411 ?j . ?j rdf:type ontology:Q4220917 }
Alessandro Camon
action filter_type
action find
entity Alessandro Camon
relation nominated for
type film award
['Alessandro Camon', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?j WHERE { resource:Alessandro_Camon property:nominated_for ?j . ?j rdf:type ontology:film_award }
[]
film award
Q41417
SYSTEM
Academy Award for Best Writing, Original Screenplay
Q41417
(Q972590,P1411,c(Q4220917))
action filter_type
action find
entity Q972590
relation P1411
type Q4220917
Alessandro Camon has won [ANSWER]
['Q972590', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?j WHERE { resource:Q972590 property:P1411 ?j . ?j rdf:type ontology:Q4220917 }
Academy Award for Best Writing, Original Screenplay
Alessandro Camon has won Academy Award for Best Writing, Original Screenplay
Academy Award for Best Writing, Original Screenplay
action filter_type
action find
entity Alessandro Camon
relation nominated for
type film award
['Alessandro Camon', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?j WHERE { resource:Alessandro_Camon property:nominated_for ?j . ?j rdf:type ontology:film_award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q972590
P1431
Q838948
USER
Which work of art is Alessandro Camon an executive producer of ?
(c(Q838948),P1431,Q972590)
action filter_type
action find_reverse
entity Q972590
relation P1431
type Q838948
[{'concept': 'Q838948'}, 'P1431', 'Q972590']
SELECT DISTINCT ?z WHERE { ?z property:P1431 resource:Q972590 . ?z rdf:type ontology:Q838948 }
Alessandro Camon
action filter_type
action find_reverse
entity Alessandro Camon
relation executive producer
type work of art
[{'concept': 'work of art'}, 'executive producer', 'Alessandro Camon']
SELECT DISTINCT ?z WHERE { ?z property:executive_producer resource:Alessandro_Camon . ?z rdf:type ontology:work_of_art }
[]
work of art
Q798737
SYSTEM
The Bad Lieutenant: Port of Call New Orleans
Q798737
(c(Q838948),P1431,Q972590)
action filter_type
action find_reverse
entity Q972590
relation P1431
type Q838948
[ANSWER] is Alessandro Camon an executive producer of
[{'concept': 'Q838948'}, 'P1431', 'Q972590']
SELECT DISTINCT ?z WHERE { ?z property:P1431 resource:Q972590 . ?z rdf:type ontology:Q838948 }
The Bad Lieutenant: Port of Call New Orleans
The Bad Lieutenant: Port of Call New Orleans is Alessandro Camon an executive producer of
The Bad Lieutenant: Port of Call New Orleans
action filter_type
action find_reverse
entity Alessandro Camon
relation executive producer
type work of art
[{'concept': 'work of art'}, 'executive producer', 'Alessandro Camon']
SELECT DISTINCT ?z WHERE { ?z property:executive_producer resource:Alessandro_Camon . ?z rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q798737
P462
Q1075
USER
Which color is associated with that work of art ?
(Q798737,P462,c(Q1075))
action filter_type
action find
entity Q798737
relation P462
type Q1075
['Q798737', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1075 . resource:Q798737 property:P462 ?r }
The Bad Lieutenant: Port of Call New Orleans
action filter_type
action find
entity The Bad Lieutenant: Port of Call New Orleans
relation color
type color
['The Bad Lieutenant: Port of Call New Orleans', 'color', {'concept': 'color'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:color . resource:The_Bad_Lieutenant:_Port_of_Call_New_Orleans property:color ?r }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q798737,P462,c(Q1075))
action filter_type
action find
entity Q798737
relation P462
type Q1075
The [ANSWER] is associated with that work of art
['Q798737', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1075 . resource:Q798737 property:P462 ?r }
color
The color is associated with that work of art
color
action filter_type
action find
entity The Bad Lieutenant: Port of Call New Orleans
relation color
type color
['The Bad Lieutenant: Port of Call New Orleans', 'color', {'concept': 'color'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:color . resource:The_Bad_Lieutenant:_Port_of_Call_New_Orleans property:color ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q798737
P57
Q502895
USER
Who was the director of The Bad Lieutenant: Port of Call New Orleans ?
(Q798737,P57,c(Q502895))
action filter_type
action find
entity Q798737
relation P57
type Q502895
['Q798737', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q798737 property:P57 ?y }
The Bad Lieutenant: Port of Call New Orleans
action filter_type
action find
entity The Bad Lieutenant: Port of Call New Orleans
relation director
type common name
['The Bad Lieutenant: Port of Call New Orleans', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:The_Bad_Lieutenant:_Port_of_Call_New_Orleans property:director ?y }
[]
common name
Q44131
SYSTEM
Werner Herzog
Q44131
(Q798737,P57,c(Q502895))
action filter_type
action find
entity Q798737
relation P57
type Q502895
The director of The Bad Lieutenant : Port of Call New Orleans was by [ANSWER]
['Q798737', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q798737 property:P57 ?y }
Werner Herzog
The director of The Bad Lieutenant : Port of Call New Orleans was by Werner Herzog
Werner Herzog
action filter_type
action find
entity The Bad Lieutenant: Port of Call New Orleans
relation director
type common name
['The Bad Lieutenant: Port of Call New Orleans', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:The_Bad_Lieutenant:_Port_of_Call_New_Orleans property:director ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q798737
P495
Q15617994
USER
Where did The Bad Lieutenant: Port of Call New Orleans originate ?
(Q798737,P495,c(Q15617994))
action filter_type
action find
entity Q798737
relation P495
type Q15617994
['Q798737', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q798737 property:P495 ?v . ?v rdf:type ontology:Q15617994 }
The Bad Lieutenant: Port of Call New Orleans
action filter_type
action find
entity The Bad Lieutenant: Port of Call New Orleans
relation country of origin
type designation for an administrative territorial entity
['The Bad Lieutenant: Port of Call New Orleans', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:The_Bad_Lieutenant:_Port_of_Call_New_Orleans property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q798737,P495,c(Q15617994))
action filter_type
action find
entity Q798737
relation P495
type Q15617994
The Bad Lieutenant : Port of Call New Orleans originated the [ANSWER]
['Q798737', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q798737 property:P495 ?v . ?v rdf:type ontology:Q15617994 }
United States of America
The Bad Lieutenant : Port of Call New Orleans originated the United States of America
United States of America
action filter_type
action find
entity The Bad Lieutenant: Port of Call New Orleans
relation country of origin
type designation for an administrative territorial entity
['The Bad Lieutenant: Port of Call New Orleans', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:The_Bad_Lieutenant:_Port_of_Call_New_Orleans property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5403508
Q15617994
USER
And how about Scale the Summit?
(Q5403508,P495,c(Q15617994))
action filter_type
action find
entity Q5403508
relation P495
type Q15617994
['Q5403508', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q5403508 property:P495 ?t . ?t rdf:type ontology:Q15617994 }
Scale the Summit
action filter_type
action find
entity Scale the Summit
relation country of origin
type designation for an administrative territorial entity
['Scale the Summit', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Scale_the_Summit property:country_of_origin ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5403508,P495,c(Q15617994))
action filter_type
action find
entity Q5403508
relation P495
type Q15617994
[ANSWER]
['Q5403508', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q5403508 property:P495 ?t . ?t rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Scale the Summit
relation country of origin
type designation for an administrative territorial entity
['Scale the Summit', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Scale_the_Summit property:country_of_origin ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q35686 Q16200895
P6
Q502895
USER
Does that administrative territory have Rutherford B. Hayes and Ravikumar as its head of government ?
(Q30,P6,Q35686) (Q30,P6,Q16200895)
action is_in
entity Q30
action intersection
action find_reverse
entity Q35686
relation P6
action find_reverse
entity Q16200895
relation P6
['Q30', 'P6', 'Q35686'] ['Q30', 'P6', 'Q16200895']
ASK WHERE { resource:Q30 property:P6 resource:Q35686 . resource:Q30 property:P6 resource:Q16200895 }
United States of America Rutherford B. Hayes Ravikumar
action is_in
entity United States of America
action intersection
action find_reverse
entity Rutherford B. Hayes
relation head of government
action find_reverse
entity Ravikumar
relation head of government
['United States of America', 'head of government', 'Rutherford B. Hayes'] ['United States of America', 'head of government', 'Ravikumar']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Rutherford_B._Hayes . resource:United_States_of_America property:head_of_government resource:Ravikumar }
[]
common name
SYSTEM
YES and NO respectively
(Q30,P6,Q35686) (Q30,P6,Q16200895)
action is_in
entity Q30
action intersection
action find_reverse
entity Q35686
relation P6
action find_reverse
entity Q16200895
relation P6
[ANSWER]
['Q30', 'P6', 'Q35686'] ['Q30', 'P6', 'Q16200895']
ASK WHERE { resource:Q30 property:P6 resource:Q35686 . resource:Q30 property:P6 resource:Q16200895 }
YES and NO respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Rutherford B. Hayes
relation head of government
action find_reverse
entity Ravikumar
relation head of government
['United States of America', 'head of government', 'Rutherford B. Hayes'] ['United States of America', 'head of government', 'Ravikumar']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Rutherford_B._Hayes . resource:United_States_of_America property:head_of_government resource:Ravikumar }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q4164871 Q11204
USER
How many administrative territories are judicially linked to atleast 5 positions and legislatures ?
(c(Q4164871)|c(Q11204),P1001,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
value 5
[[{'concept': 'Q4164871'}, {'concept': 'Q11204'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) ?h WHERE { VALUES ( ?x ) { ( ontology:Q11204 ) ( ontology:Q4164871 ) } . ?q rdf:type ?x } GROUP BY ?h } . FILTER ( ?c >= 5 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
value 5
[[{'concept': 'position'}, {'concept': 'legislature'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) ?h WHERE { VALUES ( ?x ) { ( ontology:legislature ) ( ontology:position ) } . ?q rdf:type ?x } GROUP BY ?h } . FILTER ( ?c >= 5 ) }
[]
designation for an administrative territorial entity position legislature
SYSTEM
3
Q145 Q38 Q29
(c(Q4164871)|c(Q11204),P1001,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
value 5
[ANSWER]
[[{'concept': 'Q4164871'}, {'concept': 'Q11204'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) ?h WHERE { VALUES ( ?x ) { ( ontology:Q11204 ) ( ontology:Q4164871 ) } . ?q rdf:type ?x } GROUP BY ?h } . FILTER ( ?c >= 5 ) }
United Kingdom Italy Spain
3
action count
action atleast
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
value 5
[[{'concept': 'position'}, {'concept': 'legislature'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) ?h WHERE { VALUES ( ?x ) { ( ontology:legislature ) ( ontology:position ) } . ?q rdf:type ?x } GROUP BY ?h } . FILTER ( ?c >= 5 ) }
[]