Simple Question (Direct)
Simple Question
Q7823357
P27
Q15617994
USER
Which administrative territory is Tony Scalzo an inhabitant of ?
(Q7823357,P27,c(Q15617994))
action filter_type
action find
entity Q7823357
relation P27
type Q15617994
['Q7823357', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q7823357 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Tony Scalzo
action filter_type
action find
entity Tony Scalzo
relation country of citizenship
type designation for an administrative territorial entity
['Tony Scalzo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Tony_Scalzo property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7823357,P27,c(Q15617994))
action filter_type
action find
entity Q7823357
relation P27
type Q15617994
The [ANSWER] is Tony Scalzo an inhabitant of
['Q7823357', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q7823357 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
United States of America
The United States of America is Tony Scalzo an inhabitant of
United States of America
action filter_type
action find
entity Tony Scalzo
relation country of citizenship
type designation for an administrative territorial entity
['Tony Scalzo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Tony_Scalzo property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7823357
P175
Q2031291
USER
Who performed that person ?
(c(Q2031291),P175,Q30)
action filter_type
action find_reverse
entity Q7823357
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q30']
SELECT DISTINCT ?m WHERE { ?m property:P175 resource:Q7823357 . ?m rdf:type ontology:Q2031291 }
Tony Scalzo
action filter_type
action find_reverse
entity Tony Scalzo
relation performer
type release
[{'concept': 'release'}, 'performer', 'United States of America']
SELECT DISTINCT ?m WHERE { ?m property:performer resource:Tony_Scalzo . ?m rdf:type ontology:release }
[]
release
Q17145603
SYSTEM
My Favorite Year
Q17145603
(c(Q2031291),P175,Q30)
action filter_type
action find_reverse
entity Q7823357
relation P175
type Q2031291
[ANSWER] performed that person
[{'concept': 'Q2031291'}, 'P175', 'Q30']
SELECT DISTINCT ?m WHERE { ?m property:P175 resource:Q7823357 . ?m rdf:type ontology:Q2031291 }
My Favorite Year
My Favorite Year performed that person
My Favorite Year
action filter_type
action find_reverse
entity Tony Scalzo
relation performer
type release
[{'concept': 'release'}, 'performer', 'United States of America']
SELECT DISTINCT ?m WHERE { ?m property:performer resource:Tony_Scalzo . ?m rdf:type ontology:release }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q234591 Q7823357
P136
Q151885
USER
Which concepts can be considered as genre of Tony Scalzo or Ringo Sheena ?
OR((Q7823357,P136,c(Q151885)), (Q234591,P136,c(Q151885)))
action filter_type
action union
action find
entity Q7823357
relation P136
action find
entity Q234591
relation P136
type Q151885
{'OR': [['Q7823357', 'P136', {'concept': 'Q151885'}], ['Q234591', 'P136', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?b ) { ( resource:Q7823357 ) ( resource:Q234591 ) } . ?b property:P136 ?a } . ?a rdf:type ontology:Q151885 }
Ringo Sheena Tony Scalzo
action filter_type
action union
action find
entity Tony Scalzo
relation genre
action find
entity Ringo Sheena
relation genre
type concept
{'OR': [['Tony Scalzo', 'genre', {'concept': 'concept'}], ['Ringo Sheena', 'genre', {'concept': 'concept'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?b ) { ( resource:Tony_Scalzo ) ( resource:Ringo_Sheena ) } . ?b property:genre ?a } . ?a rdf:type ontology:concept }
[]
concept
Q3071 Q1641839 Q164444 Q486263 Q11366 Q11365 Q8341 Q1418683 Q484641
SYSTEM
punk rock, experimental rock, funk, bossa nova, alternative rock, grunge, jazz, kayōkyoku, pop rock
Q3071 Q1641839 Q164444 Q486263 Q11366 Q11365 Q8341 Q1418683 Q484641
OR((Q7823357,P136,c(Q151885)), (Q234591,P136,c(Q151885)))
action filter_type
action union
action find
entity Q7823357
relation P136
action find
entity Q234591
relation P136
type Q151885
[ANSWERS] can be considered as genre of Tony Scalzo or Ringo Sheena
{'OR': [['Q7823357', 'P136', {'concept': 'Q151885'}], ['Q234591', 'P136', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?b ) { ( resource:Q7823357 ) ( resource:Q234591 ) } . ?b property:P136 ?a } . ?a rdf:type ontology:Q151885 }
punk rock experimental rock funk bossa nova alternative rock grunge jazz kayōkyoku pop rock
Punk rock, experimental rock, funk, bossa nova, alternative rock, grunge, jazz, kayōkyoku and pop rock can be considered as genre of Tony Scalzo or Ringo Sheena
punk rock experimental rock funk bossa nova alternative rock grunge jazz kayōkyoku pop rock
action filter_type
action union
action find
entity Tony Scalzo
relation genre
action find
entity Ringo Sheena
relation genre
type concept
{'OR': [['Tony Scalzo', 'genre', {'concept': 'concept'}], ['Ringo Sheena', 'genre', {'concept': 'concept'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?b ) { ( resource:Tony_Scalzo ) ( resource:Ringo_Sheena ) } . ?b property:genre ?a } . ?a rdf:type ontology:concept }
[]
Clarification
Simple Question|Single Entity|Indirect
Q164444
P264
Q2031291
USER
Which release has that concept as its record company ?
(c(Q2031291),P264,Q164444)
action filter_type
action find_reverse
entity Q164444
relation P264
type Q2031291
[{'concept': 'Q2031291'}, 'P264', 'Q164444']
SELECT DISTINCT ?g WHERE { ?g property:P264 resource:Q164444 . ?g rdf:type ontology:Q2031291 }
funk
action filter_type
action find_reverse
entity funk
relation record label
type release
[{'concept': 'release'}, 'record label', 'funk']
SELECT DISTINCT ?g WHERE { ?g property:record_label resource:funk . ?g rdf:type ontology:release }
[]
release
Clarification for simple ques.
Q484641
SYSTEM
Did you mean pop rock ?
Q3071 Q1641839 Q164444 Q486263 Q11366 Q11365 Q8341 Q1418683 Q484641
(c(Q2031291),P264,Q3071) (c(Q2031291),P264,Q1641839) (c(Q2031291),P264,Q164444) (c(Q2031291),P264,Q486263) (c(Q2031291),P264,Q11366) (c(Q2031291),P264,Q11365) (c(Q2031291),P264,Q8341) (c(Q2031291),P264,Q1418683) (c(Q2031291),P264,Q484641)
[ANSWER]
[{'concept': 'Q2031291'}, 'P264', 'Q3071'] [{'concept': 'Q2031291'}, 'P264', 'Q1641839'] [{'concept': 'Q2031291'}, 'P264', 'Q164444'] [{'concept': 'Q2031291'}, 'P264', 'Q486263'] [{'concept': 'Q2031291'}, 'P264', 'Q11366'] [{'concept': 'Q2031291'}, 'P264', 'Q11365'] [{'concept': 'Q2031291'}, 'P264', 'Q8341'] [{'concept': 'Q2031291'}, 'P264', 'Q1418683'] [{'concept': 'Q2031291'}, 'P264', 'Q484641']
SELECT DISTINCT ?g WHERE { ?g property:P264 resource:Q164444 . ?g rdf:type ontology:Q2031291 }
punk rock experimental rock funk bossa nova alternative rock grunge jazz kayōkyoku pop rock
Did you mean pop rock ?
pop rock
[{'concept': 'release'}, 'record label', 'punk rock'] [{'concept': 'release'}, 'record label', 'experimental rock'] [{'concept': 'release'}, 'record label', 'funk'] [{'concept': 'release'}, 'record label', 'bossa nova'] [{'concept': 'release'}, 'record label', 'alternative rock'] [{'concept': 'release'}, 'record label', 'grunge'] [{'concept': 'release'}, 'record label', 'jazz'] [{'concept': 'release'}, 'record label', 'kayōkyoku'] [{'concept': 'release'}, 'record label', 'pop rock']
SELECT DISTINCT ?g WHERE { ?g property:record_label resource:funk . ?g rdf:type ontology:release }
[]
Simple Question (Coreferenced)
USER
No, I meant funk. Could you tell me the answer for that?
(c(Q2031291),P264,Q164444)
Q164444
[{'concept': 'Q2031291'}, 'P264', 'Q164444']
[{'concept': 'release'}, 'record label', 'funk']
[]
Q8056725
SYSTEM
You've Got the Floor
Q8056725
(c(Q2031291),P264,Q164444)
action filter_type
action find_reverse
entity Q164444
relation P264
type Q2031291
[ANSWER] has that concept as its record company
[{'concept': 'Q2031291'}, 'P264', 'Q164444']
SELECT DISTINCT ?g WHERE { ?g property:P264 resource:Q164444 . ?g rdf:type ontology:Q2031291 }
You've Got the Floor
You've Got the Floor has that concept as its record company
You've Got the Floor
action filter_type
action find_reverse
entity funk
relation record label
type release
[{'concept': 'release'}, 'record label', 'funk']
SELECT DISTINCT ?g WHERE { ?g property:record_label resource:funk . ?g rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8056725
P264
Q334453
USER
Who sponsored the recoding of that release ?
(Q8056725,P264,c(Q334453))
action filter_type
action find
entity Q8056725
relation P264
type Q334453
['Q8056725', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q334453 . resource:Q8056725 property:P264 ?t }
You've Got the Floor
action filter_type
action find
entity You've Got the Floor
relation record label
type division
["You've Got the Floor", 'record label', {'concept': 'division'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:division . resource:You've_Got_the_Floor property:record_label ?t }
[]
division
Q202585
SYSTEM
RCA Records
Q202585
(Q8056725,P264,c(Q334453))
action filter_type
action find
entity Q8056725
relation P264
type Q334453
[ANSWER] sponsored the recoding of that release
['Q8056725', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q334453 . resource:Q8056725 property:P264 ?t }
RCA Records
RCA Records sponsored the recoding of that release
RCA Records
action filter_type
action find
entity You've Got the Floor
relation record label
type division
["You've Got the Floor", 'record label', {'concept': 'division'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:division . resource:You've_Got_the_Floor property:record_label ?t }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3244698
P355
Q334453 Q334453
USER
How many divisions are an auxiliary of approximately the same number of divisions as Sony Music Latin ?
(c(Q334453),P355,c(Q334453))
action count
action approx
action find_reverse_tuple_counts
relation P355
type Q334453
type Q334453
action count
action filter_type
action find
entity Q3244698
relation P355
type Q334453
[{'concept': 'Q334453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P355 ?k . ?k rdf:type ontology:Q334453 . ?y rdf:type ontology:Q334453 } GROUP BY ?k } . FILTER ( ?r = ?l ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Q3244698 property:P355 ?m . ?m rdf:type ontology:Q334453 } } }
Sony Music Latin
action count
action approx
action find_reverse_tuple_counts
relation subsidiary
type division
type division
action count
action filter_type
action find
entity Sony Music Latin
relation subsidiary
type division
[{'concept': 'division'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:subsidiary ?k . ?k rdf:type ontology:division . ?y rdf:type ontology:division } GROUP BY ?k } . FILTER ( ?r = ?l ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Sony_Music_Latin property:subsidiary ?m . ?m rdf:type ontology:division } } }
[]
division division
SYSTEM
28
Q21130152 Q27670061 Q2358400 Q5757199 Q1200105 Q3244698 Q165711 Q5574527 Q183387 Q8194176 Q22126104 Q3415299 Q820156 Q645889 Q2733913 Q1154245 Q770328 Q1088453 Q10831860 Q9170958 Q17211910 Q585643 Q1046066 Q4836116 Q2047343 Q13221666 Q18628 Q1072828
(c(Q334453),P355,c(Q334453))
action count
action approx
action find_reverse_tuple_counts
relation P355
type Q334453
type Q334453
action count
action filter_type
action find
entity Q3244698
relation P355
type Q334453
[ANSWER]
[{'concept': 'Q334453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P355 ?k . ?k rdf:type ontology:Q334453 . ?y rdf:type ontology:Q334453 } GROUP BY ?k } . FILTER ( ?r = ?l ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Q3244698 property:P355 ?m . ?m rdf:type ontology:Q334453 } } }
RCA Italy PolyGram Records, Inc. Legacy Recordings High Street Records J Storm Sony Music Latin Sire Records Go! Beat Records Columbia Records Starchild Evil Line Records RPM Records Meteor Records Reprise Records Deram Records Rhythm Zone Aniplex Chrysalis Records Warner Music Finland EMI Music Poland Sistus Records Atco Records Fueled By Ramen BNA Records Flair Records Double Six Records Roadrunner Records Ki/oon Music
28
action count
action approx
action find_reverse_tuple_counts
relation subsidiary
type division
type division
action count
action filter_type
action find
entity Sony Music Latin
relation subsidiary
type division
[{'concept': 'division'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:subsidiary ?k . ?k rdf:type ontology:division . ?y rdf:type ontology:division } GROUP BY ?k } . FILTER ( ?r = ?l ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Sony_Music_Latin property:subsidiary ?m . ?m rdf:type ontology:division } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q10831860
P355
Q334453 Q334453
USER
And what about Warner Music Finland?
(c(Q334453),P355,c(Q334453))
action count
action approx
action find_reverse_tuple_counts
relation P355
type Q334453
type Q334453
action count
action filter_type
action find
entity Q10831860
relation P355
type Q334453
[{'concept': 'Q334453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P355 ?r . ?j rdf:type ontology:Q334453 . ?r rdf:type ontology:Q334453 } GROUP BY ?r } . FILTER ( ?v = ?f ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Q10831860 property:P355 ?m . ?m rdf:type ontology:Q334453 } } }
Warner Music Finland
action count
action approx
action find_reverse_tuple_counts
relation subsidiary
type division
type division
action count
action filter_type
action find
entity Warner Music Finland
relation subsidiary
type division
[{'concept': 'division'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:subsidiary ?r . ?j rdf:type ontology:division . ?r rdf:type ontology:division } GROUP BY ?r } . FILTER ( ?v = ?f ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Warner_Music_Finland property:subsidiary ?m . ?m rdf:type ontology:division } } }
[]
division division
SYSTEM
28
Q21130152 Q27670061 Q2358400 Q5757199 Q1200105 Q3244698 Q165711 Q5574527 Q183387 Q8194176 Q22126104 Q3415299 Q820156 Q645889 Q2733913 Q1154245 Q770328 Q1088453 Q10831860 Q9170958 Q17211910 Q585643 Q1046066 Q4836116 Q2047343 Q13221666 Q18628 Q1072828
(c(Q334453),P355,c(Q334453))
action count
action approx
action find_reverse_tuple_counts
relation P355
type Q334453
type Q334453
action count
action filter_type
action find
entity Q10831860
relation P355
type Q334453
[ANSWER]
[{'concept': 'Q334453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P355 ?r . ?j rdf:type ontology:Q334453 . ?r rdf:type ontology:Q334453 } GROUP BY ?r } . FILTER ( ?v = ?f ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Q10831860 property:P355 ?m . ?m rdf:type ontology:Q334453 } } }
RCA Italy PolyGram Records, Inc. Legacy Recordings High Street Records J Storm Sony Music Latin Sire Records Go! Beat Records Columbia Records Starchild Evil Line Records RPM Records Meteor Records Reprise Records Deram Records Rhythm Zone Aniplex Chrysalis Records Warner Music Finland EMI Music Poland Sistus Records Atco Records Fueled By Ramen BNA Records Flair Records Double Six Records Roadrunner Records Ki/oon Music
28
action count
action approx
action find_reverse_tuple_counts
relation subsidiary
type division
type division
action count
action filter_type
action find
entity Warner Music Finland
relation subsidiary
type division
[{'concept': 'division'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:subsidiary ?r . ?j rdf:type ontology:division . ?r rdf:type ontology:division } GROUP BY ?r } . FILTER ( ?v = ?f ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Warner_Music_Finland property:subsidiary ?m . ?m rdf:type ontology:division } } }
[]