Simple Question (Direct)
Simple Question
Q4980907
P136
Q151885
USER
Which genre does Bryn Merrick belong to ?
(Q4980907,P136,c(Q151885))
action filter_type
action find
entity Q4980907
relation P136
type Q151885
['Q4980907', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q151885 . resource:Q4980907 property:P136 ?p }
Bryn Merrick
action filter_type
action find
entity Bryn Merrick
relation genre
type concept
['Bryn Merrick', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:concept . resource:Bryn_Merrick property:genre ?p }
[]
concept
Q3071
SYSTEM
punk rock
Q3071
(Q4980907,P136,c(Q151885))
action filter_type
action find
entity Q4980907
relation P136
type Q151885
Bryn Merrick belongs to [ANSWER]
['Q4980907', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q151885 . resource:Q4980907 property:P136 ?p }
punk rock
Bryn Merrick belongs to punk rock
punk rock
action filter_type
action find
entity Bryn Merrick
relation genre
type concept
['Bryn Merrick', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:concept . resource:Bryn_Merrick property:genre ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3071
P361
Q151885
USER
Which concept is a portion of that one ?
(c(Q151885),P361,Q3071)
action filter_type
action find_reverse
entity Q3071
relation P361
type Q151885
[{'concept': 'Q151885'}, 'P361', 'Q3071']
SELECT DISTINCT ?n WHERE { ?n property:P361 resource:Q3071 . ?n rdf:type ontology:Q151885 }
punk rock
action filter_type
action find_reverse
entity punk rock
relation part of
type concept
[{'concept': 'concept'}, 'part of', 'punk rock']
SELECT DISTINCT ?n WHERE { ?n property:part_of resource:punk_rock . ?n rdf:type ontology:concept }
[]
concept
Q460674
SYSTEM
Ska punk
Q460674
(c(Q151885),P361,Q3071)
action filter_type
action find_reverse
entity Q3071
relation P361
type Q151885
[ANSWER] is a portion of that one
[{'concept': 'Q151885'}, 'P361', 'Q3071']
SELECT DISTINCT ?n WHERE { ?n property:P361 resource:Q3071 . ?n rdf:type ontology:Q151885 }
Ska punk
Ska punk is a portion of that one
Ska punk
action filter_type
action find_reverse
entity punk rock
relation part of
type concept
[{'concept': 'concept'}, 'part of', 'punk rock']
SELECT DISTINCT ?n WHERE { ?n property:part_of resource:punk_rock . ?n rdf:type ontology:concept }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q151885 Q151885
USER
Which concepts are named after approximately 2 concepts ?
(c(Q151885),P138,c(Q151885))
action approx
action find_tuple_counts
relation P138
type Q151885
type Q151885
value 2
[{'concept': 'Q151885'}, 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?r ) WHERE { ?y rdf:type ontology:Q151885 . ?l rdf:type ontology:Q151885 . ?y property:P138 ?l } GROUP BY ?y } . FILTER ( ?r = 2 ) }
action approx
action find_tuple_counts
relation named after
type concept
type concept
value 2
[{'concept': 'concept'}, 'named after', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?r ) WHERE { ?y rdf:type ontology:concept . ?l rdf:type ontology:concept . ?y property:named_after ?l } GROUP BY ?y } . FILTER ( ?r = 2 ) }
[]
concept concept
Q484179
SYSTEM
folk metal
Q484179
(c(Q151885),P138,c(Q151885))
action approx
action find_tuple_counts
relation P138
type Q151885
type Q151885
value 2
[ANSWER] is named after approximately 2 concepts
[{'concept': 'Q151885'}, 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?r ) WHERE { ?y rdf:type ontology:Q151885 . ?l rdf:type ontology:Q151885 . ?y property:P138 ?l } GROUP BY ?y } . FILTER ( ?r = 2 ) }
folk metal
Folk metal is named after approximately 2 concepts
folk metal
action approx
action find_tuple_counts
relation named after
type concept
type concept
value 2
[{'concept': 'concept'}, 'named after', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?r ) WHERE { ?y rdf:type ontology:concept . ?l rdf:type ontology:concept . ?y property:named_after ?l } GROUP BY ?y } . FILTER ( ?r = 2 ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q484179 Q182963
P136
Q2088357
USER
Does Black Messiah a that concept as its category ?
(Q182963,P136,Q484179)
action is_in
entity Q484179
action find
entity Q182963
relation P136
['Q182963', 'P136', 'Q484179']
ASK WHERE { resource:Q182963 property:P136 resource:Q484179 }
folk metal Black Messiah
action is_in
entity folk metal
action find
entity Black Messiah
relation genre
['Black Messiah', 'genre', 'folk metal']
ASK WHERE { resource:Black_Messiah property:genre resource:folk_metal }
[]
musical ensemble
SYSTEM
YES
(Q182963,P136,Q484179)
action is_in
entity Q484179
action find
entity Q182963
relation P136
[ANSWER]
['Q182963', 'P136', 'Q484179']
ASK WHERE { resource:Q182963 property:P136 resource:Q484179 }
Yes
action is_in
entity folk metal
action find
entity Black Messiah
relation genre
['Black Messiah', 'genre', 'folk metal']
ASK WHERE { resource:Black_Messiah property:genre resource:folk_metal }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P136
Q151885 Q838948 Q502895
USER
How many concepts can be considered as category for atleast 4267 works of art or people ?
(c(Q838948)|c(Q502895),P136,c(Q151885))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q838948
action find_reverse_tuple_counts
relation P136
type Q151885
type Q502895
value 4267
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) ?m WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } } GROUP BY ?m } . FILTER ( ?z >= 4267 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation genre
type concept
type work of art
action find_reverse_tuple_counts
relation genre
type concept
type common name
value 4267
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) ?m WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:work_of_art ) ( ontology:common_name ) } } GROUP BY ?m } . FILTER ( ?z >= 4267 ) }
[]
concept work of art common name
SYSTEM
2
Q37073 Q8341
(c(Q838948)|c(Q502895),P136,c(Q151885))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q838948
action find_reverse_tuple_counts
relation P136
type Q151885
type Q502895
value 4267
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) ?m WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } } GROUP BY ?m } . FILTER ( ?z >= 4267 ) }
pop music jazz
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation genre
type concept
type work of art
action find_reverse_tuple_counts
relation genre
type concept
type common name
value 4267
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) ?m WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:work_of_art ) ( ontology:common_name ) } } GROUP BY ?m } . FILTER ( ?z >= 4267 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4980907
P27
Q15617994
USER
Which administrative territory is the native country of Bryn Merrick ?
(Q4980907,P27,c(Q15617994))
action filter_type
action find
entity Q4980907
relation P27
type Q15617994
['Q4980907', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q4980907 property:P27 ?g }
Bryn Merrick
action filter_type
action find
entity Bryn Merrick
relation country of citizenship
type designation for an administrative territorial entity
['Bryn Merrick', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bryn_Merrick property:country_of_citizenship ?g }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q4980907,P27,c(Q15617994))
action filter_type
action find
entity Q4980907
relation P27
type Q15617994
The [ANSWER] is the native country of Bryn Merrick
['Q4980907', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q4980907 property:P27 ?g }
United Kingdom
The United Kingdom is the native country of Bryn Merrick
United Kingdom
action filter_type
action find
entity Bryn Merrick
relation country of citizenship
type designation for an administrative territorial entity
['Bryn Merrick', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bryn_Merrick property:country_of_citizenship ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4980907
P1303
Q34379
USER
Which musical instrument can that person perform with ?
(Q145,P1303,c(Q34379))
action filter_type
action find
entity Q4980907
relation P1303
type Q34379
['Q145', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { resource:Q4980907 property:P1303 ?x . ?x rdf:type ontology:Q34379 }
Bryn Merrick
action filter_type
action find
entity Bryn Merrick
relation instrument
type musical instrument
['United Kingdom', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { resource:Bryn_Merrick property:instrument ?x . ?x rdf:type ontology:musical_instrument }
[]
musical instrument
Q46185
SYSTEM
bass guitar
Q46185
(Q145,P1303,c(Q34379))
action filter_type
action find
entity Q4980907
relation P1303
type Q34379
That person can perform on [ANSWER]
['Q145', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { resource:Q4980907 property:P1303 ?x . ?x rdf:type ontology:Q34379 }
bass guitar
That person can perform on bass guitar
bass guitar
action filter_type
action find
entity Bryn Merrick
relation instrument
type musical instrument
['United Kingdom', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { resource:Bryn_Merrick property:instrument ?x . ?x rdf:type ontology:musical_instrument }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q46185 Q26256550
P1303
Q502895
USER
Does Camilla Hattersley play that musical instrument ?
(Q26256550,P1303,Q46185)
action is_in
entity Q26256550
action find
entity Q46185
relation P1303
['Q26256550', 'P1303', 'Q46185']
ASK WHERE { resource:Q46185 property:P1303 resource:Q26256550 }
bass guitar Camilla Hattersley
action is_in
entity Camilla Hattersley
action find
entity bass guitar
relation instrument
['Camilla Hattersley', 'instrument', 'bass guitar']
ASK WHERE { resource:bass_guitar property:instrument resource:Camilla_Hattersley }
[]
common name
SYSTEM
NO
(Q26256550,P1303,Q46185)
action is_in
entity Q26256550
action find
entity Q46185
relation P1303
[ANSWER]
['Q26256550', 'P1303', 'Q46185']
ASK WHERE { resource:Q46185 property:P1303 resource:Q26256550 }
No
action is_in
entity Camilla Hattersley
action find
entity bass guitar
relation instrument
['Camilla Hattersley', 'instrument', 'bass guitar']
ASK WHERE { resource:bass_guitar property:instrument resource:Camilla_Hattersley }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q145 Q5842896 Q805
P530
Q15617994
USER
Does United Kingdom have ambassadorial relations with School City of Hammond and Yemen ?
(Q145,P530,Q5842896) (Q145,P530,Q805)
action is_in
entity Q145
action intersection
action find_reverse
entity Q5842896
relation P530
action find_reverse
entity Q805
relation P530
['Q145', 'P530', 'Q5842896'] ['Q145', 'P530', 'Q805']
ASK WHERE { resource:Q145 property:P530 resource:Q805 . resource:Q145 property:P530 resource:Q5842896 }
United Kingdom School City of Hammond Yemen
action is_in
entity United Kingdom
action intersection
action find_reverse
entity School City of Hammond
relation diplomatic relation
action find_reverse
entity Yemen
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'School City of Hammond'] ['United Kingdom', 'diplomatic relation', 'Yemen']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Yemen . resource:United_Kingdom property:diplomatic_relation resource:School_City_of_Hammond }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q145,P530,Q5842896) (Q145,P530,Q805)
action is_in
entity Q145
action intersection
action find_reverse
entity Q5842896
relation P530
action find_reverse
entity Q805
relation P530
[ANSWER]
['Q145', 'P530', 'Q5842896'] ['Q145', 'P530', 'Q805']
ASK WHERE { resource:Q145 property:P530 resource:Q805 . resource:Q145 property:P530 resource:Q5842896 }
NO and YES respectively
action is_in
entity United Kingdom
action intersection
action find_reverse
entity School City of Hammond
relation diplomatic relation
action find_reverse
entity Yemen
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'School City of Hammond'] ['United Kingdom', 'diplomatic relation', 'Yemen']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Yemen . resource:United_Kingdom property:diplomatic_relation resource:School_City_of_Hammond }
[]