Simple Question (Direct)
Simple Question
Q7734963
P495
Q15617994
USER
Which administrative territory is the country of origin of The Fountain ?
(Q7734963,P495,c(Q15617994))
action filter_type
action find
entity Q7734963
relation P495
type Q15617994
['Q7734963', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q7734963 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
The Fountain
action filter_type
action find
entity The Fountain
relation country of origin
type designation for an administrative territorial entity
['The Fountain', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:The_Fountain property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7734963,P495,c(Q15617994))
action filter_type
action find
entity Q7734963
relation P495
type Q15617994
[ANSWER] is the country of origin of The Fountain
['Q7734963', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q7734963 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of origin of The Fountain
United States of America
action filter_type
action find
entity The Fountain
relation country of origin
type designation for an administrative territorial entity
['The Fountain', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:The_Fountain property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7734963
P136
Q1792379
USER
What can be considered as category for The Fountain ?
(Q7734963,P136,c(Q1792379))
action filter_type
action find
entity Q7734963
relation P136
type Q1792379
['Q7734963', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?u WHERE { resource:Q7734963 property:P136 ?u . ?u rdf:type ontology:Q1792379 }
The Fountain
action filter_type
action find
entity The Fountain
relation genre
type art genre
['The Fountain', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?u WHERE { resource:The_Fountain property:genre ?u . ?u rdf:type ontology:art_genre }
[]
art genre
Q1054574
SYSTEM
romance film
Q1054574
(Q7734963,P136,c(Q1792379))
action filter_type
action find
entity Q7734963
relation P136
type Q1792379
[ANSWER] can be considered as category for The Fountain
['Q7734963', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?u WHERE { resource:Q7734963 property:P136 ?u . ?u rdf:type ontology:Q1792379 }
romance film
Romance film can be considered as category for The Fountain
romance film
action filter_type
action find
entity The Fountain
relation genre
type art genre
['The Fountain', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?u WHERE { resource:The_Fountain property:genre ?u . ?u rdf:type ontology:art_genre }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1054574 Q1962137
P136
Q838948
USER
Does Cyborg Cop have that one as genre ?
(Q1962137,P136,Q1054574)
action is_in
entity Q1962137
action find
entity Q1054574
relation P136
['Q1962137', 'P136', 'Q1054574']
ASK WHERE { resource:Q1054574 property:P136 resource:Q1962137 }
romance film Cyborg Cop
action is_in
entity Cyborg Cop
action find
entity romance film
relation genre
['Cyborg Cop', 'genre', 'romance film']
ASK WHERE { resource:romance_film property:genre resource:Cyborg_Cop }
[]
work of art
SYSTEM
NO
(Q1962137,P136,Q1054574)
action is_in
entity Q1962137
action find
entity Q1054574
relation P136
[ANSWER]
['Q1962137', 'P136', 'Q1054574']
ASK WHERE { resource:Q1054574 property:P136 resource:Q1962137 }
No
action is_in
entity Cyborg Cop
action find
entity romance film
relation genre
['Cyborg Cop', 'genre', 'romance film']
ASK WHERE { resource:romance_film property:genre resource:Cyborg_Cop }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q16 Q4447166
P530
Q1048835
USER
Does United States of America have ambassadorial relations with Canada and Sukhovolia ?
(Q30,P530,Q16) (Q30,P530,Q4447166)
action is_in
entity Q30
action intersection
action find_reverse
entity Q16
relation P530
action find_reverse
entity Q4447166
relation P530
['Q30', 'P530', 'Q16'] ['Q30', 'P530', 'Q4447166']
ASK WHERE { resource:Q30 property:P530 resource:Q16 . resource:Q30 property:P530 resource:Q4447166 }
United States of America Canada Sukhovolia
action is_in
entity United States of America
action intersection
action find_reverse
entity Canada
relation diplomatic relation
action find_reverse
entity Sukhovolia
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Canada'] ['United States of America', 'diplomatic relation', 'Sukhovolia']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Canada . resource:United_States_of_America property:diplomatic_relation resource:Sukhovolia }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q30,P530,Q16) (Q30,P530,Q4447166)
action is_in
entity Q30
action intersection
action find_reverse
entity Q16
relation P530
action find_reverse
entity Q4447166
relation P530
[ANSWER]
['Q30', 'P530', 'Q16'] ['Q30', 'P530', 'Q4447166']
ASK WHERE { resource:Q30 property:P530 resource:Q16 . resource:Q30 property:P530 resource:Q4447166 }
YES and NO respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Canada
relation diplomatic relation
action find_reverse
entity Sukhovolia
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Canada'] ['United States of America', 'diplomatic relation', 'Sukhovolia']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Canada . resource:United_States_of_America property:diplomatic_relation resource:Sukhovolia }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q838948 Q838948 Q7725634
USER
How many works of art are exactly 3 works of art and literary works a component of ?
(c(Q838948)|c(Q7725634),P361,c(Q838948))
action count
action equal
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P361
type Q838948
type Q7725634
value 3
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?v WHERE { { ?x property:P361 ?v . ?v rdf:type ontology:Q838948 . ?x rdf:type ontology:Q838948 } UNION { ?x property:P361 ?v . ?x rdf:type ontology:Q7725634 . ?v rdf:type ontology:Q838948 } } GROUP BY ?v } . FILTER ( ?w = 3 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation part of
type work of art
type work of art
action find_reverse_tuple_counts
relation part of
type work of art
type literary work
value 3
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?v WHERE { { ?x property:part_of ?v . ?v rdf:type ontology:work_of_art . ?x rdf:type ontology:work_of_art } UNION { ?x property:part_of ?v . ?x rdf:type ontology:literary_work . ?v rdf:type ontology:work_of_art } } GROUP BY ?v } . FILTER ( ?w = 3 ) }
[]
work of art work of art literary work
SYSTEM
3
Q6675667 Q4660040 Q16980242
(c(Q838948)|c(Q7725634),P361,c(Q838948))
action count
action equal
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P361
type Q838948
type Q7725634
value 3
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?v WHERE { { ?x property:P361 ?v . ?v rdf:type ontology:Q838948 . ?x rdf:type ontology:Q838948 } UNION { ?x property:P361 ?v . ?x rdf:type ontology:Q7725634 . ?v rdf:type ontology:Q838948 } } GROUP BY ?v } . FILTER ( ?w = 3 ) }
Looney Tunes: Unleashed A Texas Trilogy Arabian Nights
3
action count
action equal
action union
action find_reverse_tuple_counts
relation part of
type work of art
type work of art
action find_reverse_tuple_counts
relation part of
type work of art
type literary work
value 3
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?v WHERE { { ?x property:part_of ?v . ?v rdf:type ontology:work_of_art . ?x rdf:type ontology:work_of_art } UNION { ?x property:part_of ?v . ?x rdf:type ontology:literary_work . ?v rdf:type ontology:work_of_art } } GROUP BY ?v } . FILTER ( ?w = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P138
Q2235308
USER
Which ship types have United States of America as their toponym ?
(c(Q2235308),P138,Q30)
action filter_type
action find_reverse
entity Q30
relation P138
type Q2235308
[{'concept': 'Q2235308'}, 'P138', 'Q30']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q30 . ?k rdf:type ontology:Q2235308 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'United States of America']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:United_States_of_America . ?k rdf:type ontology:ship_type }
[]
ship type
Q509266 Q7408497
SYSTEM
USS America, USS America
Q509266 Q7408497
(c(Q2235308),P138,Q30)
action filter_type
action find_reverse
entity Q30
relation P138
type Q2235308
And [ANSWERS] have United States of America as their toponym
[{'concept': 'Q2235308'}, 'P138', 'Q30']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q30 . ?k rdf:type ontology:Q2235308 }
USS America USS America
And USS America and USS America have United States of America as their toponym
USS America USS America
action filter_type
action find_reverse
entity United States of America
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'United States of America']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:United_States_of_America . ?k rdf:type ontology:ship_type }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q509266 Q7408497
P138
Q15617994
USER
Which administrative territories are the etymology of those ship types ?
(Q509266,P138,c(Q15617994)) (Q7408497,P138,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P138
type Q15617994
['Q509266', 'P138', {'concept': 'Q15617994'}] ['Q7408497', 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?y property:P138 ?q . VALUES ( ?y ) { ( resource:Q509266 ) ( resource:Q7408497 ) } . ?q rdf:type ontology:Q15617994 }
USS America USS America
action filter_type
action find
entity prev_answer
relation named after
type designation for an administrative territorial entity
['USS America', 'named after', {'concept': 'designation for an administrative territorial entity'}] ['USS America', 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?y property:named_after ?q . VALUES ( ?y ) { ( resource:USS_America ) ( resource:USS_America ) } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q30
SYSTEM
United States of America
Q30 Q30
(Q509266,P138,c(Q15617994)) (Q7408497,P138,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P138
type Q15617994
[ANSWER] and [ANSWER] are the etymology of those ship types
['Q509266', 'P138', {'concept': 'Q15617994'}] ['Q7408497', 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?y property:P138 ?q . VALUES ( ?y ) { ( resource:Q509266 ) ( resource:Q7408497 ) } . ?q rdf:type ontology:Q15617994 }
United States of America United States of America
United States of America and United States of America are the etymology of those ship types
United States of America United States of America
action filter_type
action find
entity prev_answer
relation named after
type designation for an administrative territorial entity
['USS America', 'named after', {'concept': 'designation for an administrative territorial entity'}] ['USS America', 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?y property:named_after ?q . VALUES ( ?y ) { ( resource:USS_America ) ( resource:USS_America ) } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P127
Q811979
USER
Which architectural structures are owned by United States of America ?
(c(Q811979),P127,Q30)
action filter_type
action find_reverse
entity Q30
relation P127
type Q811979
[{'concept': 'Q811979'}, 'P127', 'Q30']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q811979 . ?q property:P127 resource:Q30 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'United States of America']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:architectural_structure . ?q property:owned_by resource:United_States_of_America }
[]
architectural structure
Q5203364 Q7846680 Q6242206
SYSTEM
D.C. Armory, Trowbridge House, John Joseph Moakley United States Courthouse
Q5203364 Q7846680 Q6242206
(c(Q811979),P127,Q30)
action filter_type
action find_reverse
entity Q30
relation P127
type Q811979
[ANSWERS] are owned by United States of America
[{'concept': 'Q811979'}, 'P127', 'Q30']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q811979 . ?q property:P127 resource:Q30 }
D.C. Armory Trowbridge House John Joseph Moakley United States Courthouse
D.C. Armory, Trowbridge House and John Joseph Moakley United States Courthouse are owned by United States of America
D.C. Armory Trowbridge House John Joseph Moakley United States Courthouse
action filter_type
action find_reverse
entity United States of America
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'United States of America']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:architectural_structure . ?q property:owned_by resource:United_States_of_America }
[]