Simple Question (Direct)
Simple Question
Q4350142
P106
Q12737077
USER
What are the job of Eduard Caudella ?
(Q4350142,P106,c(Q12737077))
action filter_type
action find
entity Q4350142
relation P106
type Q12737077
['Q4350142', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q4350142 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Eduard Caudella
action filter_type
action find
entity Eduard Caudella
relation occupation
type occupation
['Eduard Caudella', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Eduard_Caudella property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q36834 Q158852 Q1259917
SYSTEM
composer, conductor, violinist
Q158852 Q1259917 Q36834 Q1350157
(Q4350142,P106,c(Q12737077))
action filter_type
action find
entity Q4350142
relation P106
type Q12737077
The job of Eduard Caudella are the [ANSWERS]
['Q4350142', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q4350142 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
conductor violinist composer music critic
The job of Eduard Caudella are the composer, conductor and violinist
composer conductor violinist
action filter_type
action find
entity Eduard Caudella
relation occupation
type occupation
['Eduard Caudella', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Eduard_Caudella property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36834
P425
Q838948
USER
Who has composer as the associated field of occupation ?
(Q36834,P425,c(Q838948))
action filter_type
action find
entity Q36834
relation P425
type Q838948
['Q36834', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?c WHERE { resource:Q36834 property:P425 ?c . ?c rdf:type ontology:Q838948 }
composer
action filter_type
action find
entity composer
relation field of this occupation
type work of art
['composer', 'field of this occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?c WHERE { resource:composer property:field_of_this_occupation ?c . ?c rdf:type ontology:work_of_art }
[]
work of art
Q207628
SYSTEM
musical composition
Q207628
(Q36834,P425,c(Q838948))
action filter_type
action find
entity Q36834
relation P425
type Q838948
The [ANSWER] has composer as the associated field of occupation
['Q36834', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?c WHERE { resource:Q36834 property:P425 ?c . ?c rdf:type ontology:Q838948 }
musical composition
The musical composition has composer as the associated field of occupation
musical composition
action filter_type
action find
entity composer
relation field of this occupation
type work of art
['composer', 'field of this occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?c WHERE { resource:composer property:field_of_this_occupation ?c . ?c rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36834
P175
Q7725634
USER
Who performed composer ?
(c(Q7725634),P175,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P175
type Q7725634
[{'concept': 'Q7725634'}, 'P175', 'Q36834']
SELECT DISTINCT ?z WHERE { ?z property:P175 resource:Q36834 . ?z rdf:type ontology:Q7725634 }
composer
action filter_type
action find_reverse
entity composer
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'composer']
SELECT DISTINCT ?z WHERE { ?z property:performer resource:composer . ?z rdf:type ontology:literary_work }
[]
literary work
Q5907189
SYSTEM
Hosanna
Q5907189
(c(Q7725634),P175,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P175
type Q7725634
[ANSWER] performed composer
[{'concept': 'Q7725634'}, 'P175', 'Q36834']
SELECT DISTINCT ?z WHERE { ?z property:P175 resource:Q36834 . ?z rdf:type ontology:Q7725634 }
Hosanna
Hosanna performed composer
Hosanna
action filter_type
action find_reverse
entity composer
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'composer']
SELECT DISTINCT ?z WHERE { ?z property:performer resource:composer . ?z rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5907189
P264
Q334453
USER
Which division sponsored the recording of that literary work ?
(Q5907189,P264,c(Q334453))
action filter_type
action find
entity Q5907189
relation P264
type Q334453
['Q5907189', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?u WHERE { resource:Q5907189 property:P264 ?u . ?u rdf:type ontology:Q334453 }
Hosanna
action filter_type
action find
entity Hosanna
relation record label
type division
['Hosanna', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?u WHERE { resource:Hosanna property:record_label ?u . ?u rdf:type ontology:division }
[]
division
Q330629
SYSTEM
Sony Music Entertainment
Q330629
(Q5907189,P264,c(Q334453))
action filter_type
action find
entity Q5907189
relation P264
type Q334453
[ANSWER] sponsored the recording of that literary work
['Q5907189', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?u WHERE { resource:Q5907189 property:P264 ?u . ?u rdf:type ontology:Q334453 }
Sony Music Entertainment
Sony Music Entertainment sponsored the recording of that literary work
Sony Music Entertainment
action filter_type
action find
entity Hosanna
relation record label
type division
['Hosanna', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?u WHERE { resource:Hosanna property:record_label ?u . ?u rdf:type ontology:division }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q330629 Q30
P17
Q15617994
USER
Is Sony Music Entertainment present in United States of America ?
(Q330629,P17,Q30)
action is_in
entity Q30
action find
entity Q330629
relation P17
['Q330629', 'P17', 'Q30']
ASK WHERE { resource:Q330629 property:P17 resource:Q30 }
Sony Music Entertainment United States of America
action is_in
entity United States of America
action find
entity Sony Music Entertainment
relation country
['Sony Music Entertainment', 'country', 'United States of America']
ASK WHERE { resource:Sony_Music_Entertainment property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q330629,P17,Q30)
action is_in
entity Q30
action find
entity Q330629
relation P17
[ANSWER]
['Q330629', 'P17', 'Q30']
ASK WHERE { resource:Q330629 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Sony Music Entertainment
relation country
['Sony Music Entertainment', 'country', 'United States of America']
ASK WHERE { resource:Sony_Music_Entertainment property:country resource:United_States_of_America }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q11060274 Q838948
USER
How many occupations are expressed in exactly 3 prints or works of art ?
(c(Q11060274)|c(Q838948),P180,c(Q12737077))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
value 3
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:P180 ?o . ?o rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q11060274 } UNION { ?f property:P180 ?o . ?o rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q838948 } } GROUP BY ?o } . FILTER ( ?j = 3 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
value 3
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:depicts ?o . ?o rdf:type ontology:occupation . ?f rdf:type ontology:print } UNION { ?f property:depicts ?o . ?o rdf:type ontology:occupation . ?f rdf:type ontology:work_of_art } } GROUP BY ?o } . FILTER ( ?j = 3 ) }
[]
occupation print work of art
SYSTEM
3
Q81710 Q483501 Q331432
(c(Q11060274)|c(Q838948),P180,c(Q12737077))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
value 3
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:P180 ?o . ?o rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q11060274 } UNION { ?f property:P180 ?o . ?o rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q838948 } } GROUP BY ?o } . FILTER ( ?j = 3 ) }
shepherd artist fisherman
3
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
value 3
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:depicts ?o . ?o rdf:type ontology:occupation . ?f rdf:type ontology:print } UNION { ?f property:depicts ?o . ?o rdf:type ontology:occupation . ?f rdf:type ontology:work_of_art } } GROUP BY ?o } . FILTER ( ?j = 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q334453 Q334453
USER
Which divisions serve as a subsidiary of atmost 1 division ?
(c(Q334453),P355,c(Q334453))
action atmost
action find_reverse_tuple_counts
relation P355
type Q334453
type Q334453
value 1
[{'concept': 'Q334453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:P355 ?i . ?i rdf:type ontology:Q334453 . ?b rdf:type ontology:Q334453 } GROUP BY ?i } . FILTER ( ?h <= 1 ) }
action atmost
action find_reverse_tuple_counts
relation subsidiary
type division
type division
value 1
[{'concept': 'division'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:subsidiary ?i . ?i rdf:type ontology:division . ?b rdf:type ontology:division } GROUP BY ?i } . FILTER ( ?h <= 1 ) }
[]
division division
Q21077 Q1046066 Q330629
SYSTEM
Warner Music Group, Fueled By Ramen, Sony Music Entertainment
Q7225366 Q7937485 Q21130152 Q27670061 Q4796656 Q654283 Q2358400 Q5757199 Q5508109 Q8194234 Q1200105 Q3244698 Q165711 Q202585 Q231694 Q20723082 Q7027790 Q5574527 Q183387 Q3746620 Q2937480 Q8194176 Q220861 Q330629 Q5359782 Q2723471 Q13218788 Q22126104 Q3415299 Q820156 Q645889 Q2733913 Q27037164 Q1154245 Q770328 Q213710 Q373246 Q1088453 Q10831860 Q9170958 Q13489420 Q17211910 Q585643 Q1046066 Q4836116 Q2047343 Q1062659 Q14944631 Q4413456 Q483971 Q13221666 Q2338889 Q513712 Q18628 Q1072828 Q21077
(c(Q334453),P355,c(Q334453))
action atmost
action find_reverse_tuple_counts
relation P355
type Q334453
type Q334453
value 1
[ANSWERS] serve as a subsidiary of atmost 1 division
[{'concept': 'Q334453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:P355 ?i . ?i rdf:type ontology:Q334453 . ?b rdf:type ontology:Q334453 } GROUP BY ?i } . FILTER ( ?h <= 1 ) }
East Asia Music Viva Records RCA Italy PolyGram Records, Inc. ArtPeople Def Jam Recordings Legacy Recordings High Street Records Full Moon Records Universal Music Japan J Storm Sony Music Latin Sire Records RCA Records Interscope Records Universal Music France Nick Records Go! Beat Records Columbia Records Flip Records Capitol Music Group Starchild Kontor Records Sony Music Entertainment Eleven Thirty Records Interscope Geffen A&M Virgin EMI Records Evil Line Records RPM Records Meteor Records Reprise Records Deram Records Ear Music Rhythm Zone Aniplex Apple Records Eagle Records Chrysalis Records Warner Music Finland EMI Music Poland Universal Music Hong Kong Sistus Records Atco Records Fueled By Ramen BNA Records Flair Records Lantis EMI Records Japan Republic Records CJ E&M Music and Live Double Six Records MCA Records Pony Canyon Roadrunner Records Ki/oon Music Warner Music Group
Warner Music Group, Fueled By Ramen and Sony Music Entertainment serve as a subsidiary of atmost 1 division
Warner Music Group Fueled By Ramen Sony Music Entertainment
action atmost
action find_reverse_tuple_counts
relation subsidiary
type division
type division
value 1
[{'concept': 'division'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:subsidiary ?i . ?i rdf:type ontology:division . ?b rdf:type ontology:division } GROUP BY ?i } . FILTER ( ?h <= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q942760 Q1046066
P19 P159
Q56061
USER
Which administrative territories are the head office for Fueled By Ramen located or were Burak Kaplan born in ?
OR((Q1046066,P159,c(Q56061)), (Q942760,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1046066
relation P159
action find
entity Q942760
relation P19
type Q56061
{'OR': [['Q1046066', 'P159', {'concept': 'Q56061'}], ['Q942760', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1046066 property:P159 ?q } UNION { resource:Q942760 property:P19 ?q } } . ?q rdf:type ontology:Q56061 }
Burak Kaplan Fueled By Ramen
action filter_type
action union
action find
entity Fueled By Ramen
relation headquarters location
action find
entity Burak Kaplan
relation place of birth
type administrative territorial entity
{'OR': [['Fueled By Ramen', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Burak Kaplan', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Fueled_By_Ramen property:headquarters_location ?q } UNION { resource:Burak_Kaplan property:place_of_birth ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q365 Q60 Q49255
SYSTEM
Cologne, New York City, Tampa
Q365 Q60 Q49255
OR((Q1046066,P159,c(Q56061)), (Q942760,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1046066
relation P159
action find
entity Q942760
relation P19
type Q56061
[ANSWERS] are the head office for Fueled By Ramen located or were Burak Kaplan born in
{'OR': [['Q1046066', 'P159', {'concept': 'Q56061'}], ['Q942760', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1046066 property:P159 ?q } UNION { resource:Q942760 property:P19 ?q } } . ?q rdf:type ontology:Q56061 }
Cologne New York City Tampa
Cologne, New York City and Tampa are the head office for Fueled By Ramen located or were Burak Kaplan born in
Cologne New York City Tampa
action filter_type
action union
action find
entity Fueled By Ramen
relation headquarters location
action find
entity Burak Kaplan
relation place of birth
type administrative territorial entity
{'OR': [['Fueled By Ramen', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Burak Kaplan', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Fueled_By_Ramen property:headquarters_location ?q } UNION { resource:Burak_Kaplan property:place_of_birth ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q60
P190
Q15700808 Q56061
USER
How many urban unit definitions and administrative territories are the sister cities of New York City ?
(Q60,P190,c(Q15700808)) (Q60,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q60
relation P190
type Q15700808
action filter_type
action find
entity Q60
relation P190
type Q56061
['Q60', 'P190', {'concept': 'Q15700808'}] ['Q60', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { ?i rdf:type ontology:Q56061 . resource:Q60 property:P190 ?i } UNION { resource:Q60 property:P190 ?i . ?i rdf:type ontology:Q15700808 } }
New York City
action count
action union
action filter_type
action find
entity New York City
relation sister city
type urban unit definition
action filter_type
action find
entity New York City
relation sister city
type administrative territorial entity
['New York City', 'sister city', {'concept': 'urban unit definition'}] ['New York City', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { ?i rdf:type ontology:administrative_territorial_entity . resource:New_York_City property:sister_city ?i } UNION { resource:New_York_City property:sister_city ?i . ?i rdf:type ontology:urban_unit_definition } }
[]
urban unit definition administrative territorial entity
SYSTEM
1 urban unit definitions and 14 administrative territories
Q3630 Q33935 Q34820 Q51103 Q34647 Q2807 Q956 Q1781 Q84 Q85 Q1490 Q1218 Q3561 Q26040 Q585
(Q60,P190,c(Q15700808)) (Q60,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q60
relation P190
type Q15700808
action filter_type
action find
entity Q60
relation P190
type Q56061
[ANSWER]
['Q60', 'P190', {'concept': 'Q15700808'}] ['Q60', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { ?i rdf:type ontology:Q56061 . resource:Q60 property:P190 ?i } UNION { resource:Q60 property:P190 ?i . ?i rdf:type ontology:Q15700808 } }
Jakarta Tel Aviv Santo Domingo Cali Johannesburg Madrid Beijing Budapest London Cairo Tokyo Jerusalem Algiers Borås Oslo
1 urban unit definitions and 14 administrative territories
action count
action union
action filter_type
action find
entity New York City
relation sister city
type urban unit definition
action filter_type
action find
entity New York City
relation sister city
type administrative territorial entity
['New York City', 'sister city', {'concept': 'urban unit definition'}] ['New York City', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { ?i rdf:type ontology:administrative_territorial_entity . resource:New_York_City property:sister_city ?i } UNION { resource:New_York_City property:sister_city ?i . ?i rdf:type ontology:urban_unit_definition } }
[]