Simple Question (Direct)
Simple Question
Q3795605
P495
Q15617994
USER
Which administrative territory is the country of origin of The Return of Superfly ?
(Q3795605,P495,c(Q15617994))
action filter_type
action find
entity Q3795605
relation P495
type Q15617994
['Q3795605', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q3795605 property:P495 ?x }
The Return of Superfly
action filter_type
action find
entity The Return of Superfly
relation country of origin
type designation for an administrative territorial entity
['The Return of Superfly', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Return_of_Superfly property:country_of_origin ?x }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3795605,P495,c(Q15617994))
action filter_type
action find
entity Q3795605
relation P495
type Q15617994
[ANSWER]
['Q3795605', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q3795605 property:P495 ?x }
United States of America
United States of America
action filter_type
action find
entity The Return of Superfly
relation country of origin
type designation for an administrative territorial entity
['The Return of Superfly', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Return_of_Superfly property:country_of_origin ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3795605
P86
Q502895
USER
Who wrote the music for The Return of Superfly ?
(Q3795605,P86,c(Q502895))
action filter_type
action find
entity Q3795605
relation P86
type Q502895
['Q3795605', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q3795605 property:P86 ?d . ?d rdf:type ontology:Q502895 }
The Return of Superfly
action filter_type
action find
entity The Return of Superfly
relation composer
type common name
['The Return of Superfly', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:The_Return_of_Superfly property:composer ?d . ?d rdf:type ontology:common_name }
[]
common name
Q310170
SYSTEM
Curtis Mayfield
Q310170
(Q3795605,P86,c(Q502895))
action filter_type
action find
entity Q3795605
relation P86
type Q502895
[ANSWER]
['Q3795605', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q3795605 property:P86 ?d . ?d rdf:type ontology:Q502895 }
Curtis Mayfield
Curtis Mayfield
action filter_type
action find
entity The Return of Superfly
relation composer
type common name
['The Return of Superfly', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:The_Return_of_Superfly property:composer ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3795605
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q310170,P136,c(Q1792379))
action filter_type
action find
entity Q3795605
relation P136
type Q1792379
['Q310170', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?c WHERE { resource:Q3795605 property:P136 ?c . ?c rdf:type ontology:Q1792379 }
The Return of Superfly
action filter_type
action find
entity The Return of Superfly
relation genre
type art genre
['Curtis Mayfield', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?c WHERE { resource:The_Return_of_Superfly property:genre ?c . ?c rdf:type ontology:art_genre }
[]
art genre
Q883179 Q959790 Q130232
SYSTEM
blaxploitation, crime film, drama film
Q883179 Q959790 Q130232
(Q310170,P136,c(Q1792379))
action filter_type
action find
entity Q3795605
relation P136
type Q1792379
[ANSWERS]
['Q310170', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?c WHERE { resource:Q3795605 property:P136 ?c . ?c rdf:type ontology:Q1792379 }
blaxploitation crime film drama film
blaxploitation crime film drama film
action filter_type
action find
entity The Return of Superfly
relation genre
type art genre
['Curtis Mayfield', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?c WHERE { resource:The_Return_of_Superfly property:genre ?c . ?c rdf:type ontology:art_genre }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5645607
P136
Q838948
USER
Do Hammer have those ones as genre ?
(Q5645607,P136,Q883179) (Q5645607,P136,Q959790) (Q5645607,P136,Q130232)
action is_in
entity prev_answer
action find
entity Q5645607
relation P136
['Q5645607', 'P136', 'Q883179'] ['Q5645607', 'P136', 'Q959790'] ['Q5645607', 'P136', 'Q130232']
ASK WHERE { VALUES ( ?q ) { ( resource:Q883179 ) ( resource:Q959790 ) ( resource:Q130232 ) } . resource:Q5645607 property:P136 ?q }
Hammer
action is_in
entity prev_answer
action find
entity Hammer
relation genre
['Hammer', 'genre', 'blaxploitation'] ['Hammer', 'genre', 'crime film'] ['Hammer', 'genre', 'drama film']
ASK WHERE { VALUES ( ?q ) { ( resource:blaxploitation ) ( resource:crime_film ) ( resource:drama_film ) } . resource:Hammer property:genre ?q }
[]
work of art
SYSTEM
YES
(Q5645607,P136,Q883179) (Q5645607,P136,Q959790) (Q5645607,P136,Q130232)
action is_in
entity prev_answer
action find
entity Q5645607
relation P136
[ANSWER]
['Q5645607', 'P136', 'Q883179'] ['Q5645607', 'P136', 'Q959790'] ['Q5645607', 'P136', 'Q130232']
ASK WHERE { VALUES ( ?q ) { ( resource:Q883179 ) ( resource:Q959790 ) ( resource:Q130232 ) } . resource:Q5645607 property:P136 ?q }
Yes
action is_in
entity prev_answer
action find
entity Hammer
relation genre
['Hammer', 'genre', 'blaxploitation'] ['Hammer', 'genre', 'crime film'] ['Hammer', 'genre', 'drama film']
ASK WHERE { VALUES ( ?q ) { ( resource:blaxploitation ) ( resource:crime_film ) ( resource:drama_film ) } . resource:Hammer property:genre ?q }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q310170 Q21468760
P106
Q12737077
USER
How many occupations have Curtis Mayfield and Phillip Klimek as his/her as a career ?
(Q310170,P106,c(Q12737077)) (Q21468760,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q310170
relation P106
type Q12737077
action filter_type
action find
entity Q21468760
relation P106
type Q12737077
['Q310170', 'P106', {'concept': 'Q12737077'}] ['Q21468760', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Q310170 property:P106 ?h . ?h rdf:type ontology:Q12737077 . resource:Q21468760 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Curtis Mayfield Phillip Klimek
action count
action intersection
action filter_type
action find
entity Curtis Mayfield
relation occupation
type occupation
action filter_type
action find
entity Phillip Klimek
relation occupation
type occupation
['Curtis Mayfield', 'occupation', {'concept': 'occupation'}] ['Phillip Klimek', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Curtis_Mayfield property:occupation ?h . ?h rdf:type ontology:occupation . resource:Phillip_Klimek property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
SYSTEM
2
Q753110 Q177220
(Q310170,P106,c(Q12737077)) (Q21468760,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q310170
relation P106
type Q12737077
action filter_type
action find
entity Q21468760
relation P106
type Q12737077
[ANSWER]
['Q310170', 'P106', {'concept': 'Q12737077'}] ['Q21468760', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Q310170 property:P106 ?h . ?h rdf:type ontology:Q12737077 . resource:Q21468760 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
songwriter singer
2
action count
action intersection
action filter_type
action find
entity Curtis Mayfield
relation occupation
type occupation
action filter_type
action find
entity Phillip Klimek
relation occupation
type occupation
['Curtis Mayfield', 'occupation', {'concept': 'occupation'}] ['Phillip Klimek', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Curtis_Mayfield property:occupation ?h . ?h rdf:type ontology:occupation . resource:Phillip_Klimek property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q310170
P166
Q618779
USER
Which awards were Curtis Mayfield awarded with ?
(Q310170,P166,c(Q618779))
action filter_type
action find
entity Q310170
relation P166
type Q618779
['Q310170', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q310170 property:P166 ?p . ?p rdf:type ontology:Q618779 }
Curtis Mayfield
action filter_type
action find
entity Curtis Mayfield
relation award received
type award
['Curtis Mayfield', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Curtis_Mayfield property:award_received ?p . ?p rdf:type ontology:award }
[]
award
Q935843 Q1542347
SYSTEM
Grammy Lifetime Achievement Award, Grammy Legend Award
Q935843 Q1542347
(Q310170,P166,c(Q618779))
action filter_type
action find
entity Q310170
relation P166
type Q618779
[ANSWERS]
['Q310170', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q310170 property:P166 ?p . ?p rdf:type ontology:Q618779 }
Grammy Lifetime Achievement Award Grammy Legend Award
Grammy Lifetime Achievement Award Grammy Legend Award
action filter_type
action find
entity Curtis Mayfield
relation award received
type award
['Curtis Mayfield', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Curtis_Mayfield property:award_received ?p . ?p rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q664 Q30
P27
Q502895
USER
Which people are civilians of United States of America and New Zealand ?
AND((c(Q502895),P27,Q30), (c(Q502895),P27,Q664))
action filter_type
action intersection
action find_reverse
entity Q30
relation P27
action find_reverse
entity Q664
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q30'], [{'concept': 'Q502895'}, 'P27', 'Q664']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P27 resource:Q664 . ?f property:P27 resource:Q30 }
New Zealand United States of America
action filter_type
action intersection
action find_reverse
entity United States of America
relation country of citizenship
action find_reverse
entity New Zealand
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'United States of America'], [{'concept': 'common name'}, 'country of citizenship', 'New Zealand']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:country_of_citizenship resource:New_Zealand . ?f property:country_of_citizenship resource:United_States_of_America }
[]
common name
Q76222 Q2582452 Q1441584 Q3605004 Q7049425 Q1369749 Q22978958 Q1573916 Q4893064 Q1383120
SYSTEM
Some of them are William Trautmann, Hugh McCutcheon, Francis John Turner, Adam Richards, Nonila Wharemate, Rupert Julian, David Benney , Hammond Peek, Bernard Diederich, James R. Flynn
Q4933597 Q1369749 Q76222 Q2579315 Q625794 Q6940524 Q1441584 Q879453 Q3853931 Q166251 Q3605004 Q7049425 Q256031 Q6391153 Q142025 Q2915288 Q3047154 Q5110079 Q629207 Q4893064 Q8019594 Q2582452 Q173592 Q1383120 Q1573916 Q4769048 Q1508257 Q2144944 Q7346036 Q22978958
AND((c(Q502895),P27,Q30), (c(Q502895),P27,Q664))
action filter_type
action intersection
action find_reverse
entity Q30
relation P27
action find_reverse
entity Q664
relation P27
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q30'], [{'concept': 'Q502895'}, 'P27', 'Q664']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P27 resource:Q664 . ?f property:P27 resource:Q30 }
Bob Parr Rupert Julian William Trautmann William L. Holland John Money Stefania LaVie Owen Francis John Turner Bjorn Seguin Megan Compain George Campbell Munro Adam Richards Nonila Wharemate Jenny Bindon Kenny McFadden Peter Arnett Susan Moller Okin Ed Book Christian Rivers David J. Stevenson Bernard Diederich William Twigg-Smith Hugh McCutcheon Tony Shelly James R. Flynn Hammond Peek Annette Baier George Silk Reo Fortune Robert James Creighton David Benney 
William Trautmann Hugh McCutcheon Francis John Turner Adam Richards Nonila Wharemate Rupert Julian David Benney  Hammond Peek Bernard Diederich James R. Flynn
action filter_type
action intersection
action find_reverse
entity United States of America
relation country of citizenship
action find_reverse
entity New Zealand
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'United States of America'], [{'concept': 'common name'}, 'country of citizenship', 'New Zealand']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:country_of_citizenship resource:New_Zealand . ?f property:country_of_citizenship resource:United_States_of_America }
[]