Simple Question (Direct)
Simple Question
Q3281737
P57
Q16017119
USER
Who was Morgan Stewart's Coming Home directed by ?
(Q3281737,P57,c(Q16017119))
action filter_type
action find
entity Q3281737
relation P57
type Q16017119
['Q3281737', 'P57', {'concept': 'Q16017119'}]
SELECT DISTINCT ?i WHERE { resource:Q3281737 property:P57 ?i . ?i rdf:type ontology:Q16017119 }
Morgan Stewart's Coming Home
action filter_type
action find
entity Morgan Stewart's Coming Home
relation director
type collective pseudonym
["Morgan Stewart's Coming Home", 'director', {'concept': 'collective pseudonym'}]
SELECT DISTINCT ?i WHERE { resource:Morgan_Stewart's_Coming_Home property:director ?i . ?i rdf:type ontology:collective_pseudonym }
[]
collective pseudonym
Q734916
SYSTEM
Alan Smithee
Q734916
(Q3281737,P57,c(Q16017119))
action filter_type
action find
entity Q3281737
relation P57
type Q16017119
[ANSWER]
['Q3281737', 'P57', {'concept': 'Q16017119'}]
SELECT DISTINCT ?i WHERE { resource:Q3281737 property:P57 ?i . ?i rdf:type ontology:Q16017119 }
Alan Smithee
Alan Smithee
action filter_type
action find
entity Morgan Stewart's Coming Home
relation director
type collective pseudonym
["Morgan Stewart's Coming Home", 'director', {'concept': 'collective pseudonym'}]
SELECT DISTINCT ?i WHERE { resource:Morgan_Stewart's_Coming_Home property:director ?i . ?i rdf:type ontology:collective_pseudonym }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3281737
P840
Q56061
USER
Which administrative territory is the narrative location of Morgan Stewart's Coming Home ?
(Q3281737,P840,c(Q56061))
action filter_type
action find
entity Q3281737
relation P840
type Q56061
['Q3281737', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3281737 property:P840 ?h . ?h rdf:type ontology:Q56061 }
Morgan Stewart's Coming Home
action filter_type
action find
entity Morgan Stewart's Coming Home
relation narrative location
type administrative territorial entity
["Morgan Stewart's Coming Home", 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Morgan_Stewart's_Coming_Home property:narrative_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q61
SYSTEM
Washington, D.C.
Q61
(Q3281737,P840,c(Q56061))
action filter_type
action find
entity Q3281737
relation P840
type Q56061
[ANSWER] is the narrative location of Morgan Stewart's Coming Home
['Q3281737', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3281737 property:P840 ?h . ?h rdf:type ontology:Q56061 }
Washington, D.C.
Washington, D.C. is the narrative location of Morgan Stewart's Coming Home
Washington, D.C.
action filter_type
action find
entity Morgan Stewart's Coming Home
relation narrative location
type administrative territorial entity
["Morgan Stewart's Coming Home", 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Morgan_Stewart's_Coming_Home property:narrative_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q61 Q30
P1376
Q15617994
USER
Does United States of America have that administrative territory has its first city ?
(Q61,P1376,Q30)
action is_in
entity Q30
action find
entity Q61
relation P1376
['Q61', 'P1376', 'Q30']
ASK WHERE { resource:Q61 property:P1376 resource:Q30 }
Washington, D.C. United States of America
action is_in
entity United States of America
action find
entity Washington, D.C.
relation capital of
['Washington, D.C.', 'capital of', 'United States of America']
ASK WHERE { resource:Washington,_D.C. property:capital_of resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q61,P1376,Q30)
action is_in
entity Q30
action find
entity Q61
relation P1376
[ANSWER]
['Q61', 'P1376', 'Q30']
ASK WHERE { resource:Q61 property:P1376 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Washington, D.C.
relation capital of
['Washington, D.C.', 'capital of', 'United States of America']
ASK WHERE { resource:Washington,_D.C. property:capital_of resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3281737 Q156552
P161
Q502895
USER
Did Lynn Redgrave star in Morgan Stewart's Coming Home ?
(Q3281737,P161,Q156552)
action is_in
entity Q156552
action find
entity Q3281737
relation P161
['Q3281737', 'P161', 'Q156552']
ASK WHERE { resource:Q3281737 property:P161 resource:Q156552 }
Morgan Stewart's Coming Home Lynn Redgrave
action is_in
entity Lynn Redgrave
action find
entity Morgan Stewart's Coming Home
relation cast member
["Morgan Stewart's Coming Home", 'cast member', 'Lynn Redgrave']
ASK WHERE { resource:Morgan_Stewart's_Coming_Home property:cast_member resource:Lynn_Redgrave }
[]
common name
SYSTEM
YES
(Q3281737,P161,Q156552)
action is_in
entity Q156552
action find
entity Q3281737
relation P161
[ANSWER]
['Q3281737', 'P161', 'Q156552']
ASK WHERE { resource:Q3281737 property:P161 resource:Q156552 }
Yes
action is_in
entity Lynn Redgrave
action find
entity Morgan Stewart's Coming Home
relation cast member
["Morgan Stewart's Coming Home", 'cast member', 'Lynn Redgrave']
ASK WHERE { resource:Morgan_Stewart's_Coming_Home property:cast_member resource:Lynn_Redgrave }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q838948 Q1190554 Q838948
USER
Which works of art are max number of events and works of art a component of ?
(c(Q1190554)|c(Q838948),P361,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q1190554
action find_reverse_tuple_counts
relation P361
type Q838948
type Q838948
[[{'concept': 'Q1190554'}, {'concept': 'Q838948'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?a WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1190554 ) ( ontology:Q838948 ) } } GROUP BY ?a } } . FILTER ( ?n = ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?q WHERE { VALUES ( ?z ) { ( ontology:Q1190554 ) ( ontology:Q838948 ) } . ?f rdf:type ?z } GROUP BY ?q } }
action argmax
action union
action find_reverse_tuple_counts
relation part of
type work of art
type event
action find_reverse_tuple_counts
relation part of
type work of art
type work of art
[[{'concept': 'event'}, {'concept': 'work of art'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?a WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:event ) ( ontology:work_of_art ) } } GROUP BY ?a } } . FILTER ( ?n = ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?q WHERE { VALUES ( ?z ) { ( ontology:event ) ( ontology:work_of_art ) } . ?f rdf:type ?z } GROUP BY ?q } }
[]
work of art event work of art
Q15057808
SYSTEM
Monument to the Republic
Q15057808
(c(Q1190554)|c(Q838948),P361,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q1190554
action find_reverse_tuple_counts
relation P361
type Q838948
type Q838948
[ANSWER] is max number of events and works of art a component of
[[{'concept': 'Q1190554'}, {'concept': 'Q838948'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?a WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1190554 ) ( ontology:Q838948 ) } } GROUP BY ?a } } . FILTER ( ?n = ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?q WHERE { VALUES ( ?z ) { ( ontology:Q1190554 ) ( ontology:Q838948 ) } . ?f rdf:type ?z } GROUP BY ?q } }
Monument to the Republic
Monument to the Republic is max number of events and works of art a component of
Monument to the Republic
action argmax
action union
action find_reverse_tuple_counts
relation part of
type work of art
type event
action find_reverse_tuple_counts
relation part of
type work of art
type work of art
[[{'concept': 'event'}, {'concept': 'work of art'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?a WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:event ) ( ontology:work_of_art ) } } GROUP BY ?a } } . FILTER ( ?n = ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?q WHERE { VALUES ( ?z ) { ( ontology:event ) ( ontology:work_of_art ) } . ?f rdf:type ?z } GROUP BY ?q } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P170
Q502895
USER
How many people created that work of art ?
(Q15057808,P170,c(Q502895))
action count
action filter_type
action find
entity Q15057808
relation P170
type Q502895
['Q15057808', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Q15057808 property:P170 ?i . ?i rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity Monument to the Republic
relation creator
type common name
['Monument to the Republic', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Monument_to_the_Republic property:creator ?i . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q3271857 Q15057874
(Q15057808,P170,c(Q502895))
action count
action filter_type
action find
entity Q15057808
relation P170
type Q502895
[ANSWER]
['Q15057808', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Q15057808 property:P170 ?i . ?i rdf:type ontology:Q502895 }
Léopold Morice François-Charles Morice
2
action count
action filter_type
action find
entity Monument to the Republic
relation creator
type common name
['Monument to the Republic', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Monument_to_the_Republic property:creator ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q61
P276
Q4830453
USER
What is located at Washington, D.C. ?
(c(Q4830453),P276,Q61)
action filter_type
action find_reverse
entity Q61
relation P276
type Q4830453
[{'concept': 'Q4830453'}, 'P276', 'Q61']
SELECT DISTINCT ?o WHERE { ?o property:P276 resource:Q61 . ?o rdf:type ontology:Q4830453 }
Washington, D.C.
action filter_type
action find_reverse
entity Washington, D.C.
relation location
type business enterprise
[{'concept': 'business enterprise'}, 'location', 'Washington, D.C.']
SELECT DISTINCT ?o WHERE { ?o property:location resource:Washington,_D.C. . ?o rdf:type ontology:business_enterprise }
[]
business enterprise
Q6802010
SYSTEM
McKissack & McKissack
Q6802010
(c(Q4830453),P276,Q61)
action filter_type
action find_reverse
entity Q61
relation P276
type Q4830453
[ANSWER] is located at Washington, D.C.
[{'concept': 'Q4830453'}, 'P276', 'Q61']
SELECT DISTINCT ?o WHERE { ?o property:P276 resource:Q61 . ?o rdf:type ontology:Q4830453 }
McKissack & McKissack
McKissack & McKissack is located at Washington, D.C.
McKissack & McKissack
action filter_type
action find_reverse
entity Washington, D.C.
relation location
type business enterprise
[{'concept': 'business enterprise'}, 'location', 'Washington, D.C.']
SELECT DISTINCT ?o WHERE { ?o property:location resource:Washington,_D.C. . ?o rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q61
P127
Q483110
USER
Which stadium belongs to Washington, D.C. ?
(c(Q483110),P127,Q61)
action filter_type
action find_reverse
entity Q61
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q61']
SELECT DISTINCT ?h WHERE { ?h property:P127 resource:Q61 . ?h rdf:type ontology:Q483110 }
Washington, D.C.
action filter_type
action find_reverse
entity Washington, D.C.
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Washington, D.C.']
SELECT DISTINCT ?h WHERE { ?h property:owned_by resource:Washington,_D.C. . ?h rdf:type ontology:stadium }
[]
stadium
Q153312
SYSTEM
Robert F. Kennedy Memorial Stadium
Q153312
(c(Q483110),P127,Q61)
action filter_type
action find_reverse
entity Q61
relation P127
type Q483110
[ANSWER] belongs to Washington, D.C.
[{'concept': 'Q483110'}, 'P127', 'Q61']
SELECT DISTINCT ?h WHERE { ?h property:P127 resource:Q61 . ?h rdf:type ontology:Q483110 }
Robert F. Kennedy Memorial Stadium
Robert F. Kennedy Memorial Stadium belongs to Washington, D.C.
Robert F. Kennedy Memorial Stadium
action filter_type
action find_reverse
entity Washington, D.C.
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Washington, D.C.']
SELECT DISTINCT ?h WHERE { ?h property:owned_by resource:Washington,_D.C. . ?h rdf:type ontology:stadium }
[]