Simple Question (Direct)
Simple Question
Q214614
P20
Q15617994
USER
Where did Peter Josef von Lindpaintner expire ?
(Q214614,P20,c(Q15617994))
action filter_type
action find
entity Q214614
relation P20
type Q15617994
['Q214614', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q214614 property:P20 ?u . ?u rdf:type ontology:Q15617994 }
Peter Josef von Lindpaintner
action filter_type
action find
entity Peter Josef von Lindpaintner
relation place of death
type designation for an administrative territorial entity
['Peter Josef von Lindpaintner', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Peter_Josef_von_Lindpaintner property:place_of_death ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q517513
SYSTEM
Nonnenhorn
Q517513
(Q214614,P20,c(Q15617994))
action filter_type
action find
entity Q214614
relation P20
type Q15617994
Peter Josef von Lindpaintner expired [ANSWER]
['Q214614', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q214614 property:P20 ?u . ?u rdf:type ontology:Q15617994 }
Nonnenhorn
Peter Josef von Lindpaintner expired Nonnenhorn
Nonnenhorn
action filter_type
action find
entity Peter Josef von Lindpaintner
relation place of death
type designation for an administrative territorial entity
['Peter Josef von Lindpaintner', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Peter_Josef_von_Lindpaintner property:place_of_death ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q214614
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q517513,P106,c(Q12737077))
action filter_type
action find
entity Q214614
relation P106
type Q12737077
['Q517513', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q214614 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Peter Josef von Lindpaintner
action filter_type
action find
entity Peter Josef von Lindpaintner
relation occupation
type occupation
['Nonnenhorn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Peter_Josef_von_Lindpaintner property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q158852 Q36834
SYSTEM
conductor, composer
Q158852 Q36834
(Q517513,P106,c(Q12737077))
action filter_type
action find
entity Q214614
relation P106
type Q12737077
The professions of that person are the [ANSWERS]
['Q517513', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q214614 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
conductor composer
The professions of that person are the conductor and composer
conductor composer
action filter_type
action find
entity Peter Josef von Lindpaintner
relation occupation
type occupation
['Nonnenhorn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Peter_Josef_von_Lindpaintner property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q36834
P425
Q838948
USER
Which work of art is associated with the field of occupation that one ?
(Q36834,P425,c(Q838948))
action filter_type
action find
entity Q36834
relation P425
type Q838948
['Q36834', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q838948 . resource:Q36834 property:P425 ?j }
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 ?j WHERE { ?j rdf:type ontology:work_of_art . resource:composer property:field_of_this_occupation ?j }
[]
work of art
Clarification for simple ques.
Q158852
SYSTEM
Did you mean conductor ?
Q158852 Q36834
(Q158852,P425,c(Q838948)) (Q36834,P425,c(Q838948))
[ANSWER]
['Q158852', 'P425', {'concept': 'Q838948'}] ['Q36834', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q838948 . resource:Q36834 property:P425 ?j }
conductor composer
Did you mean conductor ?
conductor
['conductor', 'field of this occupation', {'concept': 'work of art'}] ['composer', 'field of this occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:work_of_art . resource:composer property:field_of_this_occupation ?j }
[]
Simple Question (Coreferenced)
USER
No, I meant composer. Could you tell me the answer for that?
(Q36834,P425,c(Q838948))
Q36834
['Q36834', 'P425', {'concept': 'Q838948'}]
['composer', 'field of this occupation', {'concept': '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] is associated with the field of occupation that one
['Q36834', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q838948 . resource:Q36834 property:P425 ?j }
musical composition
The musical composition is associated with the field of occupation that one
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 ?j WHERE { ?j rdf:type ontology:work_of_art . resource:composer property:field_of_this_occupation ?j }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q12737077 Q386724 Q191067
USER
Which occupations were max number of works or articles mainly about ?
(c(Q386724)|c(Q191067),P921,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
[[{'concept': 'Q386724'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?d WHERE { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:Q386724 ) ( ontology:Q191067 ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) ?e WHERE { { ?y property:P921 ?e . ?e rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q386724 } UNION { ?y property:P921 ?e . ?e rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q191067 } } GROUP BY ?e } . FILTER ( ?r = ?t ) }
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type article
[[{'concept': 'work'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?d WHERE { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:work ) ( ontology:article ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) ?e WHERE { { ?y property:main_subject ?e . ?e rdf:type ontology:occupation . ?y rdf:type ontology:work } UNION { ?y property:main_subject ?e . ?e rdf:type ontology:occupation . ?y rdf:type ontology:article } } GROUP BY ?e } . FILTER ( ?r = ?t ) }
[]
occupation work article
Q16746569
SYSTEM
high school student
Q16746569
(c(Q386724)|c(Q191067),P921,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
Max number of works or articles mainly about were a [ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?d WHERE { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:Q386724 ) ( ontology:Q191067 ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) ?e WHERE { { ?y property:P921 ?e . ?e rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q386724 } UNION { ?y property:P921 ?e . ?e rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q191067 } } GROUP BY ?e } . FILTER ( ?r = ?t ) }
high school student
Max number of works or articles mainly about were a high school student
high school student
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type article
[[{'concept': 'work'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?d WHERE { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:work ) ( ontology:article ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) ?e WHERE { { ?y property:main_subject ?e . ?e rdf:type ontology:occupation . ?y rdf:type ontology:work } UNION { ?y property:main_subject ?e . ?e rdf:type ontology:occupation . ?y rdf:type ontology:article } } GROUP BY ?e } . FILTER ( ?r = ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q124000
P138
Q486972 Q1190554 Q15617994
USER
How many administrative territories are named after greater number of human settlements or events than Victoria ?
(c(Q15617994),P138,c(Q486972)|c(Q1190554))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q486972
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action count
action filter_multi_types
action find
entity Q124000
relation P138
type Q486972
type Q1190554
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?z ) WHERE { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:Q486972 ) ( ontology:Q1190554 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q124000 property:P138 ?y . { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:Q486972 ) ( ontology:Q1190554 ) } } } } . FILTER ( ?z > ?q ) }
Victoria
action count
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action count
action filter_multi_types
action find
entity Victoria
relation named after
type human settlement
type event
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?z ) WHERE { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:human_settlement ) ( ontology:event ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Victoria property:named_after ?y . { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:human_settlement ) ( ontology:event ) } } } } . FILTER ( ?z > ?q ) }
[]
human settlement event designation for an administrative territorial entity
SYSTEM
7
Q158876 Q14697553 Q1508919 Q10903 Q1452646 Q1393469 Q480103
(c(Q15617994),P138,c(Q486972)|c(Q1190554))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q486972
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action count
action filter_multi_types
action find
entity Q124000
relation P138
type Q486972
type Q1190554
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?z ) WHERE { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:Q486972 ) ( ontology:Q1190554 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q124000 property:P138 ?y . { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:Q486972 ) ( ontology:Q1190554 ) } } } } . FILTER ( ?z > ?q ) }
Reinickendorf Neetzow-Liepen Marengo Finnentrop Montenotte Jemmapes Amt Volmarstein
7
action count
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action count
action filter_multi_types
action find
entity Victoria
relation named after
type human settlement
type event
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?z ) WHERE { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:human_settlement ) ( ontology:event ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Victoria property:named_after ?y . { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:human_settlement ) ( ontology:event ) } } } } . FILTER ( ?z > ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q252157
P138
Q486972 Q1190554 Q15617994
USER
And what about Sarre?
(c(Q15617994),P138,c(Q486972)|c(Q1190554))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q486972
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action count
action filter_multi_types
action find
entity Q252157
relation P138
type Q486972
type Q1190554
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) ?i WHERE { ?s rdf:type ?a . VALUES ( ?a ) { ( ontology:Q486972 ) ( ontology:Q1190554 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { { ?z rdf:type ontology:Q1190554 } UNION { ?z rdf:type ontology:Q486972 } } . resource:Q252157 property:P138 ?z } } . FILTER ( ?h > ?t ) }
Sarre
action count
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action count
action filter_multi_types
action find
entity Sarre
relation named after
type human settlement
type event
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) ?i WHERE { ?s rdf:type ?a . VALUES ( ?a ) { ( ontology:human_settlement ) ( ontology:event ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { { ?z rdf:type ontology:event } UNION { ?z rdf:type ontology:human_settlement } } . resource:Sarre property:named_after ?z } } . FILTER ( ?h > ?t ) }
[]
human settlement event designation for an administrative territorial entity
SYSTEM
7
Q158876 Q14697553 Q1508919 Q10903 Q1452646 Q1393469 Q480103
(c(Q15617994),P138,c(Q486972)|c(Q1190554))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q486972
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action count
action filter_multi_types
action find
entity Q252157
relation P138
type Q486972
type Q1190554
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) ?i WHERE { ?s rdf:type ?a . VALUES ( ?a ) { ( ontology:Q486972 ) ( ontology:Q1190554 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { { ?z rdf:type ontology:Q1190554 } UNION { ?z rdf:type ontology:Q486972 } } . resource:Q252157 property:P138 ?z } } . FILTER ( ?h > ?t ) }
Reinickendorf Neetzow-Liepen Marengo Finnentrop Montenotte Jemmapes Amt Volmarstein
7
action count
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action count
action filter_multi_types
action find
entity Sarre
relation named after
type human settlement
type event
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) ?i WHERE { ?s rdf:type ?a . VALUES ( ?a ) { ( ontology:human_settlement ) ( ontology:event ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { { ?z rdf:type ontology:event } UNION { ?z rdf:type ontology:human_settlement } } . resource:Sarre property:named_after ?z } } . FILTER ( ?h > ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q517513
P19
Q502895
USER
Which person was born at Nonnenhorn ?
(c(Q502895),P19,Q517513)
action filter_type
action find_reverse
entity Q517513
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q517513']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P19 resource:Q517513 }
Nonnenhorn
action filter_type
action find_reverse
entity Nonnenhorn
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Nonnenhorn']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:place_of_birth resource:Nonnenhorn }
[]
common name
Q104686
SYSTEM
Georg Köberle
Q104686
(c(Q502895),P19,Q517513)
action filter_type
action find_reverse
entity Q517513
relation P19
type Q502895
[ANSWER] was born at Nonnenhorn
[{'concept': 'Q502895'}, 'P19', 'Q517513']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P19 resource:Q517513 }
Georg Köberle
Georg Köberle was born at Nonnenhorn
Georg Köberle
action filter_type
action find_reverse
entity Nonnenhorn
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Nonnenhorn']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:place_of_birth resource:Nonnenhorn }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36834
P417
Q502895
USER
Who is the patron saint of composer ?
(Q36834,P417,c(Q502895))
action filter_type
action find
entity Q36834
relation P417
type Q502895
['Q36834', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q36834 property:P417 ?t . ?t rdf:type ontology:Q502895 }
composer
action filter_type
action find
entity composer
relation patron saint
type common name
['composer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:composer property:patron_saint ?t . ?t rdf:type ontology:common_name }
[]
common name
Q80513
SYSTEM
Saint Cecilia
Q80513
(Q36834,P417,c(Q502895))
action filter_type
action find
entity Q36834
relation P417
type Q502895
The patron saint of composer is the [ANSWER]
['Q36834', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q36834 property:P417 ?t . ?t rdf:type ontology:Q502895 }
Saint Cecilia
The patron saint of composer is the Saint Cecilia
Saint Cecilia
action filter_type
action find
entity composer
relation patron saint
type common name
['composer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:composer property:patron_saint ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36834
P175
Q7725634
USER
Which literary work presented that occupation ?
(c(Q7725634),P175,Q80513)
action filter_type
action find_reverse
entity Q36834
relation P175
type Q7725634
[{'concept': 'Q7725634'}, 'P175', 'Q80513']
SELECT DISTINCT ?a WHERE { ?a property:P175 resource:Q36834 . ?a rdf:type ontology:Q7725634 }
composer
action filter_type
action find_reverse
entity composer
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'Saint Cecilia']
SELECT DISTINCT ?a WHERE { ?a property:performer resource:composer . ?a rdf:type ontology:literary_work }
[]
literary work
Q5907189
SYSTEM
Hosanna
Q5907189
(c(Q7725634),P175,Q80513)
action filter_type
action find_reverse
entity Q36834
relation P175
type Q7725634
[ANSWER] presented that occupation
[{'concept': 'Q7725634'}, 'P175', 'Q80513']
SELECT DISTINCT ?a WHERE { ?a property:P175 resource:Q36834 . ?a rdf:type ontology:Q7725634 }
Hosanna
Hosanna presented that occupation
Hosanna
action filter_type
action find_reverse
entity composer
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'Saint Cecilia']
SELECT DISTINCT ?a WHERE { ?a property:performer resource:composer . ?a rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5907189
P264
Q334453
USER
Which division is the record brand 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 ?v WHERE { resource:Q5907189 property:P264 ?v . ?v rdf:type ontology:Q334453 }
Hosanna
action filter_type
action find
entity Hosanna
relation record label
type division
['Hosanna', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { resource:Hosanna property:record_label ?v . ?v 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] is the record brand of that literary work
['Q5907189', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { resource:Q5907189 property:P264 ?v . ?v rdf:type ontology:Q334453 }
Sony Music Entertainment
Sony Music Entertainment is the record brand 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 ?v WHERE { resource:Hosanna property:record_label ?v . ?v rdf:type ontology:division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P159
Q515 Q56061 Q334453
USER
Which divisions have the principal seat at greater number of cities and administrative territories than that division ?
(c(Q334453),P159,c(Q515)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P159
type Q334453
type Q515
action find_tuple_counts
relation P159
type Q334453
type Q56061
action count
action filter_multi_types
action find
entity Q330629
relation P159
type Q515
type Q56061
[{'concept': 'Q334453'}, 'P159', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:Q515 ) ( ontology:Q56061 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Q330629 property:P159 ?f . { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:Q515 ) ( ontology:Q56061 ) } } } } . FILTER ( ?n > ?m ) }
action greater
action union
action find_tuple_counts
relation headquarters location
type division
type city
action find_tuple_counts
relation headquarters location
type division
type administrative territorial entity
action count
action filter_multi_types
action find
entity Sony Music Entertainment
relation headquarters location
type city
type administrative territorial entity
[{'concept': 'division'}, 'headquarters location', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Sony_Music_Entertainment property:headquarters_location ?f . { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?n > ?m ) }
[]
city administrative territorial entity division
SYSTEM
727
Q1301927 Q544186 Q675725 Q3964307 Q18712484 Q4735111 Q11173360 Q1123266 Q917511 Q8043433 Q1157099 Q632992 Q216364 Q7532877 Q845506 Q847018 Q6900882 Q732503 Q1076747 Q183387 Q758547 Q448723 Q121698 Q16962070 Q2082494 Q3978140 Q26911493 Q288810 Q7830597 Q1128185 Q579423 Q6907975 Q3771894 Q2606741 Q20992262 Q899126 Q2819021 Q4041432 Q778673 Q393401 Q2494570 Q1113857 Q1849080 Q2069679 Q3809835 Q4889663 Q7201757 Q311439 Q2936300 Q13221666 Q5758224 Q14192383 Q2553368 Q2546713 Q7562494 Q385558 Q798658 Q2091609 Q10398667 Q5322356 Q2034661 Q3500796 Q1636558 Q3269698 Q7899222 Q3922628 Q4834938 Q1035129 Q2271458 Q1153338 Q3278143 Q753819 Q1165565 Q898618 Q1470264 Q1857367 Q4728518 Q513944 Q5462072 Q1639648 Q4801381 Q3117047 Q3647393 Q23814886 Q1631774 Q2116093 Q4921081 Q13424955 Q295794 Q19905204 Q3879381 Q160732 Q1093882 Q7678073 Q776031 Q3177785 Q2161263 Q5433534 Q12018500 Q2870767 Q18913565 Q800080 Q16842305 Q5103606 Q20822757 Q1228431 Q5011174 Q3739211 Q605388 Q772494 Q1772450 Q4828438 Q3716882 Q1688849 Q6003306 Q6008072 Q5593921 Q221162 Q3576531 Q265169 Q3331225 Q578943 Q2937480 Q18574662 Q678186 Q569779 Q1548644 Q3154512 Q1848896 Q6554990 Q14259733 Q7894020 Q7011318 Q27184 Q6215532 Q947109 Q16070339 Q2944115 Q13615069 Q438628 Q4779509 Q1372258 Q395204 Q616975 Q21091 Q1470329 Q7355999 Q5032060 Q7132595 Q780223 Q7532146 Q1406986 Q1254522 Q122575 Q3560636 Q1799526 Q5554000 Q10856910 Q4736435 Q1124849 Q553557 Q5558609 Q5959018 Q330629 Q7493605 Q15995150 Q2327062 Q3206859 Q126543 Q7532707 Q1122815 Q6305494 Q1093480 Q4958352 Q1081874 Q2859201 Q2533251 Q2117925 Q203059 Q2437256 Q17080058 Q5324176 Q3273123 Q1165455 Q5755857 Q17165185 Q1465200 Q794724 Q1397914 Q6715733 Q1341013 Q3528947 Q1124153 Q16246582 Q5313648 Q546258 Q637814 Q644144 Q12045341 Q1716584 Q871571 Q3634396 Q16205262 Q1157105 Q20978620 Q815776 Q2286273 Q7355516 Q25831392 Q843402 Q681168 Q2030782 Q3976712 Q537118 Q22829081 Q5046705 Q3229458 Q3906822 Q2608177 Q2801595 Q933025 Q7715919 Q7956206 Q549624 Q5692300 Q6555876 Q12046300 Q7865265 Q7099204 Q7087861 Q4836116 Q16997702 Q3783410 Q5322638 Q797236 Q489428 Q4992261 Q3625308 Q2119405 Q3566715 Q1131655 Q2154708 Q7233320 Q5009264 Q1744506 Q6479040 Q496608 Q5578903 Q4655720 Q7841330 Q17151102 Q2290130 Q1395670 Q3031775 Q3734513 Q185874 Q377453 Q1882866 Q1925796 Q2427366 Q3214321 Q17022914 Q11895838 Q6094434 Q16161254 Q7694177 Q6024385 Q6675957 Q4034425 Q1130958 Q1070152 Q1029135 Q3047114 Q2347683 Q6058623 Q5057050 Q3991412 Q781847 Q2297757 Q11247869 Q23009831 Q292128 Q3565108 Q1239845 Q5039274 Q7336341 Q513712 Q7443978 Q193023 Q15254007 Q3338373 Q627091 Q1142456 Q8075301 Q4652018 Q2996526 Q5045602 Q1984458 Q711447 Q4016520 Q3724803 Q7604026 Q2001931 Q12599305 Q50596 Q5629807 Q3868643 Q1399294 Q4035084 Q700115 Q16959423 Q1636655 Q7228856 Q3782891 Q2869540 Q2733913 Q7705738 Q7304384 Q7667850 Q21090 Q518854 Q7803047 Q7883647 Q5045044 Q11888633 Q18916590 Q16950144 Q5145247 Q462262 Q18353572 Q7181469 Q4788909 Q5513979 Q6663039 Q14907316 Q5608343 Q4043197 Q21029768 Q3179416 Q4047764 Q474113 Q5425756 Q212699 Q2708269 Q3639843 Q1958630 Q1546001 Q1571382 Q1849138 Q16465976 Q3640650 Q543707 Q7641705 Q682784 Q6869316 Q627446 Q16161359 Q2093233 Q17035773 Q2909797 Q6536995 Q3325440 Q4716223 Q7501450 Q2660489 Q3821223 Q6783165 Q2819391 Q827462 Q2413622 Q7542915 Q613837 Q3512782 Q3922159 Q4430445 Q16217877 Q7075953 Q5715080 Q3942184 Q8007810 Q2685641 Q231694 Q16995752 Q3016029 Q10294040 Q1718083 Q2142601 Q1980456 Q7256196 Q753014 Q7544642 Q4024311 Q158867 Q7438855 Q155152 Q896202 Q3415299 Q5973528 Q1626081 Q3567163 Q4779305 Q23018517 Q7228960 Q809177 Q277860 Q2456091 Q1144968 Q4833713 Q355175 Q484449 Q5013782 Q218481 Q1046066 Q3747293 Q1508104 Q10851326 Q3815426 Q180277 Q19604618 Q7291921 Q16975947 Q217596 Q6386991 Q6189168 Q6422927 Q815803 Q7643034 Q4037112 Q6073383 Q322738 Q491998 Q21554828 Q23819508 Q3665673 Q16997657 Q7678080 Q3773408 Q3812984 Q3277355 Q2104471 Q2085119 Q571385 Q158886 Q1434590 Q869965 Q2097634 Q4797610 Q168407 Q264980 Q1066294 Q4038466 Q1328605 Q1765119 Q3784681 Q9004108 Q4040501 Q2337027 Q466649 Q4647091 Q892824 Q7185509 Q1358159 Q551566 Q1002465 Q3106841 Q2745349 Q4926602 Q1390427 Q11986060 Q2371991 Q3934174 Q4729596 Q7818732 Q12806467 Q5511077 Q3895024 Q5511897 Q3709316 Q266645 Q1337601 Q654283 Q3998977 Q1200368 Q4354637 Q16207546 Q6494370 Q1425832 Q2297042 Q2407338 Q3505942 Q2237796 Q1574052 Q368194 Q7044444 Q7979654 Q4841021 Q4997089 Q16978881 Q737029 Q1512171 Q1041144 Q3753713 Q1741329 Q1687615 Q1536003 Q1426154 Q3237252 Q3700232 Q128280 Q17038235 Q7299616 Q3524083 Q1322935 Q323976 Q2706131 Q880388 Q4009201 Q16620246 Q19878308 Q202585 Q7557563 Q1688866 Q722110 Q20723082 Q4413456 Q5280964 Q6546461 Q1714235 Q16987960 Q7099699 Q255363 Q2079912 Q1815691 Q7898567 Q6727982 Q7226016 Q7558226 Q3564055 Q3983150 Q3740130 Q3783896 Q7111635 Q26911487 Q21077 Q7998595 Q21279470 Q16995755 Q2377408 Q1238400 Q852900 Q3395828 Q1758109 Q1153070 Q18288957 Q304509 Q16594401 Q7079783 Q6954918 Q1173653 Q43327 Q3873357 Q612268 Q4835961 Q1308364 Q885833 Q1274618 Q6784070 Q222885 Q2626519 Q27860317 Q3640775 Q389284 Q770103 Q2421252 Q21282171 Q3853451 Q3394853 Q2684792 Q3330733 Q4952056 Q5158829 Q2067985 Q3055895 Q1742077 Q1983904 Q11890138 Q233829 Q939262 Q5036898 Q3503967 Q17001742 Q5647110 Q6749762 Q2497299 Q2887606 Q1921640 Q18636328 Q1853623 Q1139341 Q880408 Q1194456 Q7694459 Q2714369 Q1759336 Q1153032 Q17264593 Q7068342 Q7226103 Q1327994 Q4673122 Q3453655 Q2943360 Q838544 Q6271471 Q7134079 Q7397064 Q4765926 Q477213 Q5656232 Q1124061 Q1397901 Q213710 Q1476147 Q600179 Q5031935 Q3923944 Q5185537 Q1660305 Q7520698 Q1569586 Q3701506 Q2314043 Q2283665 Q1542119 Q16962224 Q1625680 Q2310883 Q220176 Q238095 Q2261249 Q1200105 Q7624182 Q315760 Q113376 Q2289028 Q1107834 Q4596920 Q3604580 Q7180586 Q3234914 Q277626 Q7113272 Q7621334 Q6666144 Q7507581 Q1375198 Q7355113 Q2723471 Q430070 Q16958120 Q3632455 Q1144907 Q8963256 Q20972119 Q16826953 Q17081442 Q2420109 Q2032079 Q7243094 Q700359 Q5315339 Q1258701 Q5384902 Q7865596 Q126039 Q14635573 Q2589723 Q3922861 Q1518413 Q7989547 Q3490457 Q183412 Q15401689 Q7562499 Q15141099 Q1190562 Q3877531 Q3328854 Q3853424 Q1971223 Q7562453 Q748710 Q240804 Q387539 Q7251106 Q1047366 Q2482872 Q17016459 Q6546190 Q6851073 Q3298975 Q372787 Q3634527 Q3882325 Q6942482 Q13218788 Q796316 Q3150119 Q7603488 Q3979392 Q837222 Q605512 Q770328 Q12040326 Q749232 Q319166 Q1630451 Q2273516 Q2299832 Q1182699 Q656752 Q4887811 Q16952013 Q483971 Q2085941 Q3177666 Q23087
(c(Q334453),P159,c(Q515)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P159
type Q334453
type Q515
action find_tuple_counts
relation P159
type Q334453
type Q56061
action count
action filter_multi_types
action find
entity Q330629
relation P159
type Q515
type Q56061
[ANSWER]
[{'concept': 'Q334453'}, 'P159', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:Q515 ) ( ontology:Q56061 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Q330629 property:P159 ?f . { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:Q515 ) ( ontology:Q56061 ) } } } } . FILTER ( ?n > ?m ) }
G-Stone Recordings Intakt Records Dick Bros Record Company Soli Deo Gloria Our Culture Records Alpha Pup Records Revealed Recordings Enigma Records Stones Throw Records Xemu Records New Red Archives Swan Song Records Epic Records Six Shooter Records Electrecord Death Row Records Monkeywrench Records Sony Music Entertainment Japan Tennman Records Columbia Records Broccoli Thrill Jockey J Records Artisan Records In the Red Records Suretone Records Zonamo ACT Music Toybox Records Constellation Records Bad Taste Moonshine Music Glassnote Records Slash Records JLe Management Tutl ABKCO Records Instinct Records Sub Pop Aggro Berlin Cherry Red Come Organisation Magic Circle Music Avispa Jolly Bennett Alliance Plasma Records ECM Records Candle Records Double Six Records Higher Octave 19 Recordings Albert Productions Marvelous Sony Masterworks Rough Trade Records Bad Boy Records Planet Mu Monstercat E1 Entertainment Distribution Vanguard Records Beverley's Victory Records Lyric Street Records Uprok Records Profile Records BBC Records Captain Oi! Records Cleveland International Records Grand Hustle Records NTT Publishing Atavistic Records Daptone Records Sun Records Frontiers Records Instant Live All About Records Blood and Fire Flow Music Red Records Artoffact Records Grosse Boîte Burning Shed Dough Related Productions Asian Man Records Psychopathic Records Black Jays Fantagio ANTI- JKP Numero Uno Armada Music City Centre Offices Takeover Entertainment Bliss Corporation Jet Records Young God Records Fan Death Records Guerilla Records Audiogram Machinery A&M Octone Records Hayat Production Chocolate City PIAS France Dischord Records CHI Records Fandango Fat Wreck Chords Chess Records Asthmatic Kitty Avex Taiwan Dynamic TopNotch Imani Entertainment Imputor? Gramofon Tokuma Japan Communications Zéro Musique Nitro Records My Major Company Factory Records Capitol Music Group Durium Records Tresor Universal Edition Season of Mist Iron Fist Records Southern Lord Records Linus Entertainment INgrooves Universal Music Latin Entertainment New Romance for Kids Jive Records Johann's Face Records The Island Def Jam Music Group OVO Sound Celluloid Records Amos Editio Alternative Tentacles Stockholm Records Tokuma Shoten Agogo Records Ed Banger Records Cherrytree Records Victor Talking Machine Company Rocky Road Records Candy Ass Records Paper Bag Records Unidisc Music Situation Two Shrapnel Records Drag City Saregama Virgin Classics Labrador Records Get Low Recordz X Production Alternative Distribution Alliance Verve Records Trisol Music Group Marriage Records Hypnos Sony Music Entertainment Shelflife Records I Am Other Salsoul Records Star Empire Entertainment Trojan Records Six Degrees Records Vocalion Records Sakara Records CMC International Brave Entertainment Slip-n-Slide Records Aquarius Records Spitfire Records Sumerian Records Virgin Records Lion Music Metalanguage Records ESL Music MP3 Disques Dutch East India Trading High Life Music Enhanced Music Peaceville Records Hefty Records Fat Possum Records MGM Distribution Endtime Productions Time Records Spinefarm Records Boltfish Recordings Dumb Drum Records DeSoto Records Gramy Records Greensleeves Records Piper Records Supraphon JMT Records Banksville Records Abbeywood Records Go-Kart Records The Fried Music Bella Union Silkheart Records Rocknroll Blitzkrieg Records Duran Music Entertainment Warner Bros. Records Drakkar Entertainment Q-dance Sugar Music Kung Fu Records Wall Recordings Carrot Top Records Lengua Armada Discos Pluto Records Brushfire Records Owl Studios Windham Hill Records The Baudelaire Label WTII Records Rise Above Records Heart of Gold Records Lionheart Music Group Polí5 UNFD Ora Recordings Oliver Sudden Productions BNA Records Mi7 Records Harmony ECA Records BYO Records DSP Media Microphone Records Asphodel Records Putumayo World Music Wati B Southern Records Rise Records Positron! Records CBS Records International Mo' Wax Lakeshore Records J. Tune Entertainment Gold Typhoon A Cappella Records Tricycle Records Run For Cover Records Posi-Tone Records Fania Records Roxy Recordings Eulogy Recordings X-Ray Dog Third Man Records Mack Avenue Records Metroplex Out of Line Music Labels Transmission Recordings TBD Records Quemasucabeza Big Hit Entertainment Tee Pee Records Indica Records Loose Music Arts & Crafts Productions Cope Records Young Money Entertainment Nettwerk Ecstatic Peace! Indies Records Intrepid Records Cedille Records Time Bomb Recordings Small Wonder Records Tzadik Records T-Palette Records New Lixus Entertainment AFM Records Wagram Music Hellcat Records Cargo Records Risque Disque Pony Canyon Secret City Records Capitol Records MASQ Nervous Records Rhino Entertainment GOOD Music Zunior AIX Records Cooking Vinyl Carpark Records Capricorn Records HIM International Music Vox Pop Emperor Norton Records States Rights Records Prosthetic Records Brand New Music S.M. Culture and Contents Label Woolim HITT Production Musical Freedom Fearless Records Bieler Bros. Records Lifeforce Records KW Music Group Melodiya Poorman Mayfield Music Group Hammondbeat Atmosphériques Deram Records Test Tube Records Red House Records T-Series OWSLA Delicious Vinyl Tim/Kerr Underground Operations Caroline Distribution Poptori Crisher Entertainment Slow Roast Records Naked Music Bonzai Records Enemy Records Pheromone Recordings Arena Rock Recording Company GNP Crescendo Record Co. Lo-Fidelity Records X5 Music Group Greyday Productions Universal Music Group Nashville Spinnin' Deep MediaPro Music Quarterstick Records Morr Music FILMguerrero Geffen Records Web Entertainment Big Vin Records Fuel 2000 Stax Records Magnatune Nonesuch Records NH Media Bla Bla Warp Suntrip Records Industrial Records Minos EMI Ill Will Records MapleCore Ltd. Alligator Records Trial & Error Records Bomp! Records Lewis Recordings Mouez Breiz Alert Records Shoreline Records Playground Music Scandinavia La Suite Records Mashit Artistdirect Play Loud! Productions The End Records Small Stone Records Metal Mind Productions Hib-Tone Prism Records Soyuz (company) Ano Kato Records Ocean Butterflies International Azione Artigianale Ruby Records Huayi Brothers Hed Kandi Interscope Records Kobalt Label Services Dare to Care Records Hassle Records K-tel Track Records Chiswick Records Psyche Industry Records Ata Tak Smile Records Zeus Century Media Records Scratchie Records Polydor Records Bozz Music RPM Records IRIS Distribution Homestead Records Welk Music Group Apegenine recordings SPRS PopLlama Records Barsuk Records A-Musik Immortal Records Tragic Hero Records B-Unique Records Adeline Records Cube Entertainment CP Records Beserkley Records Fueled By Ramen Fonit Cetra Indie Recordings KMP Holdings King Street Sounds Hansa Records West One Music Random Disc Records Hardwood Records Emergency Records Kemosabe Records Jetset Records Knockout Entertainment Bellaphon Records Superball Music Deathwish Inc. Ironworks Cocoon Recordings TS Entertainment Plan A Entertainment Aut Records Cetra Records JDC Records Takeover Roc Nation Good Life Recordings Karim Saban Capital Group Disney Music Group Nothing Records Mille Plateaux Nuclear Blast Flying Fish Records GLM Pizza of Death Records Narada Productions Deutsche Grammophon Equal Vision Records Arista Nashville Extraphone King Records Selfmade Records Hello Hispavox Hearts of Space Records Naïve Records American Recordings A.D.S.R. Musicwerks Cosmos Music Group Philips Classics Records Polar Music Anjunabeats Acid Jazz Records Paw Tracks Boner Records Blind Pig Records Mediaskare Records FT Records Chemikal Underground Ri-Fi All Saints Records Tombstone Records Corona Fuzzy Logic Recordings Paradiso G-Funk Entertainment Dischi Ricordi SideOneDummy Records The Inc. Records Def Jam Recordings Triple X Records Astralwerks Warner Music Canada A&G Modes Last Gang Records G7 Welcoming Committee Records Tooth & Nail Records Vale Music Panton Records Chandos Records Mokum Records Wounded Bird Records No Masters Weewerk Badman Recording Co. Bully Records Instant Records Asphalt Tango Records ROIR BME Recordings Frontier Records Kill Rock Stars Low Spirit Philips Records Rawkus Records Levy-yhtiö D.V. More Record ATO Records Modern Records Razor & Tie Thick Records Genuin Raster-Noton Taste Media Black Mark Productions Vedette Records Valery Records Freedom Records RCA Records Soleilmoon Recordings Scarlet Records İstanbul Plak Universal Music France Republic Records Dirtnap Records Lightning Records Justin Time Records Ché Trading Orange Record Label Starship Entertainment Dine Alone Records Red Bull Records Upper Class Recordings Madison Gate Records Polskie Nagrania Muza Solitary Man Records Bonton Group Tempi Duri Records Moonwalk Records Headphone Dust Out of This Spark Rotterdam Airlines Warner Music Group Wide Hive Records Open Records Kold Sweat Records Skye Records Domino Recording Company Candlelight Records Polystar Saddle Creek Records DFA Records Record Kicks MCA Inc. Raimoon Edizioni Musicali Og Music NON Records Alfa Matrix Motown Nature Sounds Moonfog Productions BMG Music Canada Fantasy Records Blue Note Records EGREM Mass mvmnt 2 Tone Records Diskoton Y V The Label Black Widow Records Aftermath Entertainment Bertelsmann Music Group Thinner Oxingale Records Meazzi Edizioni Discografiche Neutral Records Mid-Town Grand Royal Boy Better Know Concord Bicycle Music Pelham Power Productions Equator Records King Records Grunt Records Ratas Music Group 430 West Records Timeless Records Captains of Industry Sunset Alliance Records 960 Music Group Hand Drawn Dracula Manimal Vinyl FMR Records Bassivity Music Merge Records Nimfa Sound Touch and Go Records Creation Records Shitkatapult Roc Nation Teenage USA Recordings Red Girl Records Revelation Records Roc-A-Fella Records Best Before Records Nude Records PolyEast Records Matador Records Acer Records Ruthless Records Cavity Search Records Earache Records Zonophone Paradax Records Sacred Bones Records Anjunadeep Megaforce Records Hardly Art Concord Records Cleopatra Records Apple Records Voiceprint Records D-Noy Muzik Candix Records Propaganda Records Criminal IQ Records Imperial Records Simple Life Records Hyperion Records Dangerhouse Records Sony Wonder TVT Records United Artists Records Spartan Records A Different Drum Spinnin' Records Zooland Records 4AD Ralph Records J Storm Striving For Togetherness Records Studio !K7 Innova Recordings Man's Ruin Records Cold Meat Industry 2-Tone Entertainment Acme Records Phantom Records Guy Cloutier Communications A&M Records Ovation Records Strange Attractors Audio House Locust Music Sick Room Records Europa Rocket Girl Interscope Geffen A&M Lookout! Records Ninth Street Opus Baby Records Kranky GOR Discos Lusafrica Beat the World Records Minty Fresh Keltia Musique Toast Records Primary Wave Music PolyGram Dunk Yer Funk Records Kalan Müzik Erased Tapes Records URBNET Records Beggars Banquet Records Tactus Records Fat Cat Records Projekt Records SteepleChase Records Westpark Music Sonic Belligeranza EMI Integrity Media Sony Music Australia Magma VP Records No Sleep Records ATP Recordings Mea Sound Rap-a-Lot Records Sony Classical Records Snapper Music Mute Records Hollywood Records Prosto Records Cash Money Records Universal Records Odd Child Recordings Light in the Attic Records Mile End Records EMI Latin Deathlike Silence Productions Baratos Afins On-U Sound Records Musica Studios Virgin EMI Records BMG Rights Management Indianola Records State Records T.V.O.R. Teste Vuote Ossa Rotte Candid Records Maybach Music Group Aniplex Naga Productions Hands Productions City Slang Hospital Records Amaru Entertainment Mushroom Records Definitive Jux Rykodisc WaterTower Music Black Country Rock Media CJ E&M Music and Live Lioness Records Work Group Ministry of Sound
727
action greater
action union
action find_tuple_counts
relation headquarters location
type division
type city
action find_tuple_counts
relation headquarters location
type division
type administrative territorial entity
action count
action filter_multi_types
action find
entity Sony Music Entertainment
relation headquarters location
type city
type administrative territorial entity
[{'concept': 'division'}, 'headquarters location', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Sony_Music_Entertainment property:headquarters_location ?f . { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?n > ?m ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P355
Q334453 Q43229
USER
Which organizations have max number of divisions as their subsidiary ?
(c(Q43229),P355,c(Q334453))
action argmax
action find_tuple_counts
relation P355
type Q43229
type Q334453
[{'concept': 'Q43229'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?q ) { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?v ) WHERE { ?u property:P355 ?d . ?u rdf:type ontology:Q43229 . ?d rdf:type ontology:Q334453 } GROUP BY ?u } } . { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?r ) WHERE { ?k property:P355 ?a . ?k rdf:type ontology:Q43229 . ?a rdf:type ontology:Q334453 } GROUP BY ?k } . FILTER ( ?r = ?q ) }
action argmax
action find_tuple_counts
relation subsidiary
type organization
type division
[{'concept': 'organization'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?q ) { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?v ) WHERE { ?u property:subsidiary ?d . ?u rdf:type ontology:organization . ?d rdf:type ontology:division } GROUP BY ?u } } . { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?r ) WHERE { ?k property:subsidiary ?a . ?k rdf:type ontology:organization . ?a rdf:type ontology:division } GROUP BY ?k } . FILTER ( ?r = ?q ) }
[]
division organization
Q41187 Q10854462 Q621231
SYSTEM
Sony, CJ E&M, Apple Corps
Q338920 Q1813833 Q6056696 Q7305816 Q41187 Q7937458 Q15514231 Q621231 Q218038 Q10854462 Q806252
(c(Q43229),P355,c(Q334453))
action argmax
action find_tuple_counts
relation P355
type Q43229
type Q334453
[ANSWERS] have max number of divisions as their subsidiary
[{'concept': 'Q43229'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?q ) { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?v ) WHERE { ?u property:P355 ?d . ?u rdf:type ontology:Q43229 . ?d rdf:type ontology:Q334453 } GROUP BY ?u } } . { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?r ) WHERE { ?k property:P355 ?a . ?k rdf:type ontology:Q43229 . ?a rdf:type ontology:Q334453 } GROUP BY ?k } . FILTER ( ?r = ?q ) }
Access Industries Eagle Rock Entertainment Interscope Communications Redeye Distribution Sony Viva Entertainment Esun Holdings Apple Corps RCA CJ E&M Bandai Visual
Sony, CJ E&M and Apple Corps have max number of divisions as their subsidiary
Sony CJ E&M Apple Corps
action argmax
action find_tuple_counts
relation subsidiary
type organization
type division
[{'concept': 'organization'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?q ) { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?v ) WHERE { ?u property:subsidiary ?d . ?u rdf:type ontology:organization . ?d rdf:type ontology:division } GROUP BY ?u } } . { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?r ) WHERE { ?k property:subsidiary ?a . ?k rdf:type ontology:organization . ?a rdf:type ontology:division } GROUP BY ?k } . FILTER ( ?r = ?q ) }
[]