Simple Question (Direct)
Simple Question
Q1475218
P136
Q1792379
USER
What can be considered as category for Another Way ?
(Q1475218,P136,c(Q1792379))
action filter_type
action find
entity Q1475218
relation P136
type Q1792379
['Q1475218', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { resource:Q1475218 property:P136 ?t . ?t rdf:type ontology:Q1792379 }
Another Way
action filter_type
action find
entity Another Way
relation genre
type art genre
['Another Way', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { resource:Another_Way property:genre ?t . ?t rdf:type ontology:art_genre }
[]
art genre
Q130232
SYSTEM
drama film
Q130232
(Q1475218,P136,c(Q1792379))
action filter_type
action find
entity Q1475218
relation P136
type Q1792379
A [ANSWER] can be considered as category for Another Way
['Q1475218', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { resource:Q1475218 property:P136 ?t . ?t rdf:type ontology:Q1792379 }
drama film
A drama film can be considered as category for Another Way
drama film
action filter_type
action find
entity Another Way
relation genre
type art genre
['Another Way', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { resource:Another_Way property:genre ?t . ?t rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1475218
P344
Q502895
USER
Who is the director of photography for Another Way ?
(Q1475218,P344,c(Q502895))
action filter_type
action find
entity Q1475218
relation P344
type Q502895
['Q1475218', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1475218 property:P344 ?u . ?u rdf:type ontology:Q502895 }
Another Way
action filter_type
action find
entity Another Way
relation director of photography
type common name
['Another Way', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Another_Way property:director_of_photography ?u . ?u rdf:type ontology:common_name }
[]
common name
Q760841
SYSTEM
Tamás Andor
Q760841
(Q1475218,P344,c(Q502895))
action filter_type
action find
entity Q1475218
relation P344
type Q502895
The director of photography for Another Way is directed [ANSWER]
['Q1475218', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1475218 property:P344 ?u . ?u rdf:type ontology:Q502895 }
Tamás Andor
The director of photography for Another Way is directed Tamás Andor
Tamás Andor
action filter_type
action find
entity Another Way
relation director of photography
type common name
['Another Way', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Another_Way property:director_of_photography ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1475218
P57
Q502895
USER
Who directed Another Way ?
(Q1475218,P57,c(Q502895))
action filter_type
action find
entity Q1475218
relation P57
type Q502895
['Q1475218', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1475218 property:P57 ?a . ?a rdf:type ontology:Q502895 }
Another Way
action filter_type
action find
entity Another Way
relation director
type common name
['Another Way', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Another_Way property:director ?a . ?a rdf:type ontology:common_name }
[]
common name
Q1046993
SYSTEM
Károly Makk
Q1046993
(Q1475218,P57,c(Q502895))
action filter_type
action find
entity Q1475218
relation P57
type Q502895
[ANSWER] directed Another Way
['Q1475218', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1475218 property:P57 ?a . ?a rdf:type ontology:Q502895 }
Károly Makk
Károly Makk directed Another Way
Károly Makk
action filter_type
action find
entity Another Way
relation director
type common name
['Another Way', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Another_Way property:director ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1475218
P86
Q502895
USER
Who composed Another Way ?
(Q1475218,P86,c(Q502895))
action filter_type
action find
entity Q1475218
relation P86
type Q502895
['Q1475218', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1475218 property:P86 ?g . ?g rdf:type ontology:Q502895 }
Another Way
action filter_type
action find
entity Another Way
relation composer
type common name
['Another Way', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Another_Way property:composer ?g . ?g rdf:type ontology:common_name }
[]
common name
Q312674
SYSTEM
Giorgio Moroder
Q312674
(Q1475218,P86,c(Q502895))
action filter_type
action find
entity Q1475218
relation P86
type Q502895
[ANSWER] composed Another Way
['Q1475218', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1475218 property:P86 ?g . ?g rdf:type ontology:Q502895 }
Giorgio Moroder
Giorgio Moroder composed Another Way
Giorgio Moroder
action filter_type
action find
entity Another Way
relation composer
type common name
['Another Way', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Another_Way property:composer ?g . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q312674
P175
Q2031291 Q838948
USER
How many releases and works of art presented Giorgio Moroder ?
(c(Q2031291),P175,Q312674) (c(Q838948),P175,Q312674)
action count
action union
action filter_type
action find_reverse
entity Q312674
relation P175
type Q2031291
action filter_type
action find_reverse
entity Q312674
relation P175
type Q838948
[{'concept': 'Q2031291'}, 'P175', 'Q312674'] [{'concept': 'Q838948'}, 'P175', 'Q312674']
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:P175 resource:Q312674 . ?k rdf:type ontology:Q2031291 } UNION { ?k property:P175 resource:Q312674 . ?k rdf:type ontology:Q838948 } }
Giorgio Moroder
action count
action union
action filter_type
action find_reverse
entity Giorgio Moroder
relation performer
type release
action filter_type
action find_reverse
entity Giorgio Moroder
relation performer
type work of art
[{'concept': 'release'}, 'performer', 'Giorgio Moroder'] [{'concept': 'work of art'}, 'performer', 'Giorgio Moroder']
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:performer resource:Giorgio_Moroder . ?k rdf:type ontology:release } UNION { ?k property:performer resource:Giorgio_Moroder . ?k rdf:type ontology:work_of_art } }
[]
release work of art
SYSTEM
13 releases and 1 works of art
Q692720 Q19926366 Q5505438 Q5582378 Q7813146 Q20019174 Q4743891 Q5046793 Q4875547 Q2961324 Q6422431 Q18844782 Q19892411 Q7300176
(c(Q2031291),P175,Q312674) (c(Q838948),P175,Q312674)
action count
action union
action filter_type
action find_reverse
entity Q312674
relation P175
type Q2031291
action filter_type
action find_reverse
entity Q312674
relation P175
type Q838948
[ANSWER]
[{'concept': 'Q2031291'}, 'P175', 'Q312674'] [{'concept': 'Q838948'}, 'P175', 'Q312674']
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:P175 resource:Q312674 . ?k rdf:type ontology:Q2031291 } UNION { ?k property:P175 resource:Q312674 . ?k rdf:type ontology:Q838948 } }
American Gigolo (Full) Stop From Here to Eternity Good-Bye Bad Times Together in Electric Dreams The NeverEnding Story American Gigolo Carry On Be My Lover Now Chase Knights in White Satin Right Here, Right Now Déjà Vu Reach Out
13 releases and 1 works of art
action count
action union
action filter_type
action find_reverse
entity Giorgio Moroder
relation performer
type release
action filter_type
action find_reverse
entity Giorgio Moroder
relation performer
type work of art
[{'concept': 'release'}, 'performer', 'Giorgio Moroder'] [{'concept': 'work of art'}, 'performer', 'Giorgio Moroder']
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:performer resource:Giorgio_Moroder . ?k rdf:type ontology:release } UNION { ?k property:performer resource:Giorgio_Moroder . ?k rdf:type ontology:work_of_art } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q312674
P676
Q2031291
USER
Which releases did Giorgio Moroder pen down the lyrics for ?
(c(Q2031291),P676,Q312674)
action filter_type
action find_reverse
entity Q312674
relation P676
type Q2031291
[{'concept': 'Q2031291'}, 'P676', 'Q312674']
SELECT DISTINCT ?m WHERE { ?m property:P676 resource:Q312674 . ?m rdf:type ontology:Q2031291 }
Giorgio Moroder
action filter_type
action find_reverse
entity Giorgio Moroder
relation lyrics by
type release
[{'concept': 'release'}, 'lyrics by', 'Giorgio Moroder']
SELECT DISTINCT ?m WHERE { ?m property:lyrics_by resource:Giorgio_Moroder . ?m rdf:type ontology:release }
[]
release
Q149050 Q2298481
SYSTEM
Naughty Girl, Take My Breath Away
Q149050 Q2298481
(c(Q2031291),P676,Q312674)
action filter_type
action find_reverse
entity Q312674
relation P676
type Q2031291
Giorgio Moroder pent down the lyrics for Miss [ANSWERS]
[{'concept': 'Q2031291'}, 'P676', 'Q312674']
SELECT DISTINCT ?m WHERE { ?m property:P676 resource:Q312674 . ?m rdf:type ontology:Q2031291 }
Naughty Girl Take My Breath Away
Giorgio Moroder pent down the lyrics for Miss Naughty Girl and Take My Breath Away
Naughty Girl Take My Breath Away
action filter_type
action find_reverse
entity Giorgio Moroder
relation lyrics by
type release
[{'concept': 'release'}, 'lyrics by', 'Giorgio Moroder']
SELECT DISTINCT ?m WHERE { ?m property:lyrics_by resource:Giorgio_Moroder . ?m rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q149050 Q2298481
P676
Q502895
USER
Who penned the lyrics for those releases ?
(Q149050,P676,c(Q502895)) (Q2298481,P676,c(Q502895))
action filter_type
action find
entity prev_answer
relation P676
type Q502895
['Q149050', 'P676', {'concept': 'Q502895'}] ['Q2298481', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?q ) { ( resource:Q149050 ) ( resource:Q2298481 ) } . ?l rdf:type ontology:Q502895 . ?q property:P676 ?l }
Naughty Girl Take My Breath Away
action filter_type
action find
entity prev_answer
relation lyrics by
type common name
['Naughty Girl', 'lyrics by', {'concept': 'common name'}] ['Take My Breath Away', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?q ) { ( resource:Naughty_Girl ) ( resource:Take_My_Breath_Away ) } . ?l rdf:type ontology:common_name . ?q property:lyrics_by ?l }
[]
common name
Q312674 Q312674
SYSTEM
Giorgio Moroder
Q312674 Q312674
(Q149050,P676,c(Q502895)) (Q2298481,P676,c(Q502895))
action filter_type
action find
entity prev_answer
relation P676
type Q502895
The [ANSWER] and [ANSWER] penned the lyrics for those releases
['Q149050', 'P676', {'concept': 'Q502895'}] ['Q2298481', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?q ) { ( resource:Q149050 ) ( resource:Q2298481 ) } . ?l rdf:type ontology:Q502895 . ?q property:P676 ?l }
Giorgio Moroder Giorgio Moroder
The Giorgio Moroder and Giorgio Moroder penned the lyrics for those releases
Giorgio Moroder Giorgio Moroder
action filter_type
action find
entity prev_answer
relation lyrics by
type common name
['Naughty Girl', 'lyrics by', {'concept': 'common name'}] ['Take My Breath Away', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?q ) { ( resource:Naughty_Girl ) ( resource:Take_My_Breath_Away ) } . ?l rdf:type ontology:common_name . ?q property:lyrics_by ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q312674
P264
Q2031291
USER
Which releases have Giorgio Moroder as their record company ?
(c(Q2031291),P264,Q312674)
action filter_type
action find_reverse
entity Q312674
relation P264
type Q2031291
[{'concept': 'Q2031291'}, 'P264', 'Q312674']
SELECT DISTINCT ?v WHERE { ?v property:P264 resource:Q312674 . ?v rdf:type ontology:Q2031291 }
Giorgio Moroder
action filter_type
action find_reverse
entity Giorgio Moroder
relation record label
type release
[{'concept': 'release'}, 'record label', 'Giorgio Moroder']
SELECT DISTINCT ?v WHERE { ?v property:record_label resource:Giorgio_Moroder . ?v rdf:type ontology:release }
[]
release
Q7713065 Q6410233 Q7739031
SYSTEM
The Ale Is Dear, Kimosabe, The Haunting
Q7713065 Q6410233 Q7739031
(c(Q2031291),P264,Q312674)
action filter_type
action find_reverse
entity Q312674
relation P264
type Q2031291
The Ale is Dear, Kimosabe and The Haunting have Giorgio Moroder as their record company
[{'concept': 'Q2031291'}, 'P264', 'Q312674']
SELECT DISTINCT ?v WHERE { ?v property:P264 resource:Q312674 . ?v rdf:type ontology:Q2031291 }
The Ale Is Dear Kimosabe The Haunting
The Ale is Dear, Kimosabe and The Haunting have Giorgio Moroder as their record company
The Ale Is Dear Kimosabe The Haunting
action filter_type
action find_reverse
entity Giorgio Moroder
relation record label
type release
[{'concept': 'release'}, 'record label', 'Giorgio Moroder']
SELECT DISTINCT ?v WHERE { ?v property:record_label resource:Giorgio_Moroder . ?v rdf:type ontology:release }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7739031
P175
Q2088357
USER
What was presented by that release ?
(Q7739031,P175,c(Q2088357))
action filter_type
action find
entity Q7739031
relation P175
type Q2088357
['Q7739031', 'P175', {'concept': 'Q2088357'}]
SELECT DISTINCT ?h WHERE { resource:Q7739031 property:P175 ?h . ?h rdf:type ontology:Q2088357 }
The Haunting
action filter_type
action find
entity The Haunting
relation performer
type musical ensemble
['The Haunting', 'performer', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?h WHERE { resource:The_Haunting property:performer ?h . ?h rdf:type ontology:musical_ensemble }
[]
musical ensemble
Clarification for simple ques.
Q7739031
SYSTEM
Did you mean The Haunting ?
Q7713065 Q6410233 Q7739031
(Q7713065,P175,c(Q2088357)) (Q6410233,P175,c(Q2088357)) (Q7739031,P175,c(Q2088357))
[ANSWER]
['Q7713065', 'P175', {'concept': 'Q2088357'}] ['Q6410233', 'P175', {'concept': 'Q2088357'}] ['Q7739031', 'P175', {'concept': 'Q2088357'}]
SELECT DISTINCT ?h WHERE { resource:Q7739031 property:P175 ?h . ?h rdf:type ontology:Q2088357 }
The Ale Is Dear Kimosabe The Haunting
Did you mean The Haunting ?
The Haunting
['The Ale Is Dear', 'performer', {'concept': 'musical ensemble'}] ['Kimosabe', 'performer', {'concept': 'musical ensemble'}] ['The Haunting', 'performer', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?h WHERE { resource:The_Haunting property:performer ?h . ?h rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
USER
Yes
(Q7739031,P175,c(Q2088357))
['Q7739031', 'P175', {'concept': 'Q2088357'}]
['The Haunting', 'performer', {'concept': 'musical ensemble'}]
[]
Q5125760
SYSTEM
Clandestine
Q5125760
(Q7739031,P175,c(Q2088357))
action filter_type
action find
entity Q7739031
relation P175
type Q2088357
[ANSWER] was presented by that release
['Q7739031', 'P175', {'concept': 'Q2088357'}]
SELECT DISTINCT ?h WHERE { resource:Q7739031 property:P175 ?h . ?h rdf:type ontology:Q2088357 }
Clandestine
Clandestine was presented by that release
Clandestine
action filter_type
action find
entity The Haunting
relation performer
type musical ensemble
['The Haunting', 'performer', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?h WHERE { resource:The_Haunting property:performer ?h . ?h rdf:type ontology:musical_ensemble }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q5125760 Q30
P495
Q15617994
USER
Is United States of America the origin of that musical ensemble ?
(Q5125760,P495,Q30)
action is_in
entity Q30
action find
entity Q5125760
relation P495
['Q5125760', 'P495', 'Q30']
ASK WHERE { resource:Q5125760 property:P495 resource:Q30 }
Clandestine United States of America
action is_in
entity United States of America
action find
entity Clandestine
relation country of origin
['Clandestine', 'country of origin', 'United States of America']
ASK WHERE { resource:Clandestine property:country_of_origin resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q5125760,P495,Q30)
action is_in
entity Q30
action find
entity Q5125760
relation P495
[ANSWER]
['Q5125760', 'P495', 'Q30']
ASK WHERE { resource:Q5125760 property:P495 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Clandestine
relation country of origin
['Clandestine', 'country of origin', 'United States of America']
ASK WHERE { resource:Clandestine property:country_of_origin resource:United_States_of_America }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P737
Q2088357 Q215380
USER
How many bands were influenced by atleast 2 musical ensembles ?
(c(Q215380),P737,c(Q2088357))
action count
action atleast
action find_tuple_counts
relation P737
type Q215380
type Q2088357
value 2
[{'concept': 'Q215380'}, 'P737', {'concept': 'Q2088357'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?b ) WHERE { ?s property:P737 ?u . ?s rdf:type ontology:Q215380 . ?u rdf:type ontology:Q2088357 } GROUP BY ?s } . FILTER ( ?b >= 2 ) }
action count
action atleast
action find_tuple_counts
relation influenced by
type band
type musical ensemble
value 2
[{'concept': 'band'}, 'influenced by', {'concept': 'musical ensemble'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?b ) WHERE { ?s property:influenced_by ?u . ?s rdf:type ontology:band . ?u rdf:type ontology:musical_ensemble } GROUP BY ?s } . FILTER ( ?b >= 2 ) }
[]
musical ensemble band
SYSTEM
1
Q11649
(c(Q215380),P737,c(Q2088357))
action count
action atleast
action find_tuple_counts
relation P737
type Q215380
type Q2088357
value 2
[ANSWER]
[{'concept': 'Q215380'}, 'P737', {'concept': 'Q2088357'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?b ) WHERE { ?s property:P737 ?u . ?s rdf:type ontology:Q215380 . ?u rdf:type ontology:Q2088357 } GROUP BY ?s } . FILTER ( ?b >= 2 ) }
Nirvana
1
action count
action atleast
action find_tuple_counts
relation influenced by
type band
type musical ensemble
value 2
[{'concept': 'band'}, 'influenced by', {'concept': 'musical ensemble'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?b ) WHERE { ?s property:influenced_by ?u . ?s rdf:type ontology:band . ?u rdf:type ontology:musical_ensemble } GROUP BY ?s } . FILTER ( ?b >= 2 ) }
[]