Simple Question (Direct)
Simple Question
Q23469945
P702
Q863908
USER
What is the gene that encodes ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553 ?
(Q23469945,P702,c(Q863908))
action filter_type
action find
entity Q23469945
relation P702
type Q863908
['Q23469945', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?d WHERE { resource:Q23469945 property:P702 ?d . ?d rdf:type ontology:Q863908 }
ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553
action filter_type
action find
entity ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553
relation encoded by
type nucleic acid sequence
['ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?d WHERE { resource:ATP-dependent_Clp_protease,_proteolytic_subunit_ClpP____CT1553 property:encoded_by ?d . ?d rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q24085823
SYSTEM
ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553
Q24085823
(Q23469945,P702,c(Q863908))
action filter_type
action find
entity Q23469945
relation P702
type Q863908
The gene that encodes ATP-dependent Clp protease , proteolytic subunit ClpP CT 1553 is codes ATP-dependent Clp protease, proteolytic subunit ClpP CT1553
['Q23469945', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?d WHERE { resource:Q23469945 property:P702 ?d . ?d rdf:type ontology:Q863908 }
ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553
The gene that encodes ATP-dependent Clp protease , proteolytic subunit ClpP CT 1553 is codes ATP-dependent Clp protease, proteolytic subunit ClpP CT1553
ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553
action filter_type
action find
entity ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553
relation encoded by
type nucleic acid sequence
['ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?d WHERE { resource:ATP-dependent_Clp_protease,_proteolytic_subunit_ClpP____CT1553 property:encoded_by ?d . ?d rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23469945
P688
Q863908
USER
What is the nucleic acid sequence that is encoded by ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553 ?
(c(Q863908),P688,Q23469945)
action filter_type
action find_reverse
entity Q23469945
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q23469945']
SELECT DISTINCT ?v WHERE { ?v property:P688 resource:Q23469945 . ?v rdf:type ontology:Q863908 }
ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553
action filter_type
action find_reverse
entity ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553']
SELECT DISTINCT ?v WHERE { ?v property:encodes resource:ATP-dependent_Clp_protease,_proteolytic_subunit_ClpP____CT1553 . ?v rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q24085823
SYSTEM
ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553
Q24085823
(c(Q863908),P688,Q23469945)
action filter_type
action find_reverse
entity Q23469945
relation P688
type Q863908
The nucleic acid sequence that is encoded by ATP-dependent Clp protease , proteolytic subunit ClpP CT 1553 is by ATP-dependent Clp protease, proteolytic subunit ClpP CT1553
[{'concept': 'Q863908'}, 'P688', 'Q23469945']
SELECT DISTINCT ?v WHERE { ?v property:P688 resource:Q23469945 . ?v rdf:type ontology:Q863908 }
ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553
The nucleic acid sequence that is encoded by ATP-dependent Clp protease , proteolytic subunit ClpP CT 1553 is by ATP-dependent Clp protease, proteolytic subunit ClpP CT1553
ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553
action filter_type
action find_reverse
entity ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553']
SELECT DISTINCT ?v WHERE { ?v property:encodes resource:ATP-dependent_Clp_protease,_proteolytic_subunit_ClpP____CT1553 . ?v rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23469945
P703
Q16521
USER
Which taxon is that nutrient found in ?
(Q24085823,P703,c(Q16521))
action filter_type
action find
entity Q23469945
relation P703
type Q16521
['Q24085823', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?a WHERE { resource:Q23469945 property:P703 ?a . ?a rdf:type ontology:Q16521 }
ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553
action filter_type
action find
entity ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553
relation found in taxon
type taxon
['ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?a WHERE { resource:ATP-dependent_Clp_protease,_proteolytic_subunit_ClpP____CT1553 property:found_in_taxon ?a . ?a rdf:type ontology:taxon }
[]
taxon
Q21397889
SYSTEM
Chlorobium tepidum TLS
Q21397889
(Q24085823,P703,c(Q16521))
action filter_type
action find
entity Q23469945
relation P703
type Q16521
That nutrient is found in [ANSWER]
['Q24085823', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?a WHERE { resource:Q23469945 property:P703 ?a . ?a rdf:type ontology:Q16521 }
Chlorobium tepidum TLS
That nutrient is found in Chlorobium tepidum TLS
Chlorobium tepidum TLS
action filter_type
action find
entity ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553
relation found in taxon
type taxon
['ATP-dependent Clp protease, proteolytic subunit ClpP    CT1553', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?a WHERE { resource:ATP-dependent_Clp_protease,_proteolytic_subunit_ClpP____CT1553 property:found_in_taxon ?a . ?a rdf:type ontology:taxon }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q637134
P180
Q16521 Q14660
USER
How many flags depict approximately the same number of taxons as flag of British Columbia ?
(c(Q14660),P180,c(Q16521))
action count
action approx
action find_tuple_counts
relation P180
type Q14660
type Q16521
action count
action filter_type
action find
entity Q637134
relation P180
type Q14660
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?s ) WHERE { ?t property:P180 ?j . ?t rdf:type ontology:Q14660 . ?j rdf:type ontology:Q16521 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ontology:Q14660 . resource:Q637134 property:P180 ?g } } . FILTER ( ?s = ?m ) }
flag of British Columbia
action count
action approx
action find_tuple_counts
relation depicts
type flag
type taxon
action count
action filter_type
action find
entity flag of British Columbia
relation depicts
type flag
[{'concept': 'flag'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?s ) WHERE { ?t property:depicts ?j . ?t rdf:type ontology:flag . ?j rdf:type ontology:taxon } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ontology:flag . resource:flag_of_British_Columbia property:depicts ?g } } . FILTER ( ?s = ?m ) }
[]
taxon flag
SYSTEM
76
Q270377 Q159872 Q83392 Q1165949 Q235829 Q168935 Q128480 Q42537 Q1426561 Q1074327 Q135034 Q134521 Q484249 Q127179 Q601976 Q252995 Q207518 Q156564 Q163832 Q160260 Q169192 Q124020 Q60149 Q162999 Q48409 Q130458 Q336328 Q105643 Q392167 Q24577771 Q81952 Q104351 Q124329 Q43175 Q127296 Q912854 Q162789 Q79874 Q512175 Q328895 Q130774 Q82194 Q188477 Q41673 Q134874 Q1426630 Q2062018 Q34599 Q673117 Q82236 Q81526 Q167119 Q128347 Q4633 Q83278 Q188609 Q162033 Q1122078 Q102977 Q520966 Q131147 Q202189 Q604735 Q301628 Q637134 Q79198 Q429900 Q165641 Q80110 Q47214 Q632491 Q165230 Q1064042 Q81676 Q182514 Q1426379
(c(Q14660),P180,c(Q16521))
action count
action approx
action find_tuple_counts
relation P180
type Q14660
type Q16521
action count
action filter_type
action find
entity Q637134
relation P180
type Q14660
[ANSWER]
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?s ) WHERE { ?t property:P180 ?j . ?t rdf:type ontology:Q14660 . ?j rdf:type ontology:Q16521 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ontology:Q14660 . resource:Q637134 property:P180 ?g } } . FILTER ( ?s = ?m ) }
Flag of Tokelau Flag of Cameroon Flag of Algeria Flag of Ontario flag of Guam Flag of Malaysia flag of Israel flag of the United States of America Flag of the Northwest Territories flag of Tasmania Flag of Antigua and Barbuda Flag of Bhutan Flag of Mozambique flag of Bangladesh Flag of Nova Scotia flag of the Australian Capital Territory flag of Northern Cyprus flag of Alaska Flag of Serbia flag of New Zealand flag of Belize flag of Switzerland Flag of Denmark Flag of Cambodia flag of Albania flag of Egypt Flag of Christmas Island Flag of Tuvalu flag of Quebec flag of the People's Republic of Benin flag of Turkey Flag of Barbados Flag of Angola Flag of Japan Flag of South Korea flag of South Australia Flag of Tunisia flag of Afghanistan Flag of Manitoba Flag of the Cocos (Keeling) Islands flag of Argentina flag of Brazil flag of Samoa flag of India Flag of Bolivia Flag of Nunavut flag of Yukon Flag of Libya Flag of Indiana Flag of Azerbaijan flag of Andorra Flag of the Republic of Macedonia Flag of Pakistan Flag of Cyprus flag of the United Kingdom Flag of Palau flag of Bosnia and Herzegovina Flag of Alberta Flag of Mauritania Flag of Rhode Island Flag of the People's Republic of China Flag of Niue Flag of Sint Maarten Flag of Mississippi flag of British Columbia Flag of Vatican City Flag of Saba flag of Kyrgyzstan flag of Canada flag of the Russian Soviet Federative Socialist Republic Flag of Arizona flag of the Soviet Union flag of New South Wales flag of Australia Flag of Fiji Flag of Amsterdam
76
action count
action approx
action find_tuple_counts
relation depicts
type flag
type taxon
action count
action filter_type
action find
entity flag of British Columbia
relation depicts
type flag
[{'concept': 'flag'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?s ) WHERE { ?t property:depicts ?j . ?t rdf:type ontology:flag . ?j rdf:type ontology:taxon } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ontology:flag . resource:flag_of_British_Columbia property:depicts ?g } } . FILTER ( ?s = ?m ) }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q27145818
Q16521
USER
And what about The Holy Family in a garland of flowers?
(Q27145818,P180,c(Q16521))
action count
action filter_type
action find
entity Q27145818
relation P180
type Q16521
['Q27145818', 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Q27145818 property:P180 ?q . ?q rdf:type ontology:Q16521 }
The Holy Family in a garland of flowers
action count
action filter_type
action find
entity The Holy Family in a garland of flowers
relation depicts
type taxon
['The Holy Family in a garland of flowers', 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:The_Holy_Family_in_a_garland_of_flowers property:depicts ?q . ?q rdf:type ontology:taxon }
[]
taxon
SYSTEM
12
(Q27145818,P180,c(Q16521))
action count
action filter_type
action find
entity Q27145818
relation P180
type Q16521
[ANSWER]
['Q27145818', 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Q27145818 property:P180 ?q . ?q rdf:type ontology:Q16521 }
12
action count
action filter_type
action find
entity The Holy Family in a garland of flowers
relation depicts
type taxon
['The Holy Family in a garland of flowers', 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:The_Holy_Family_in_a_garland_of_flowers property:depicts ?q . ?q rdf:type ontology:taxon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27145818
P186
Q16686022
USER
Which natural physical object is used to craft The Holy Family in a garland of flowers ?
(Q27145818,P186,c(Q16686022))
action filter_type
action find
entity Q27145818
relation P186
type Q16686022
['Q27145818', 'P186', {'concept': 'Q16686022'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q16686022 . resource:Q27145818 property:P186 ?p }
The Holy Family in a garland of flowers
action filter_type
action find
entity The Holy Family in a garland of flowers
relation material used
type natural physical object
['The Holy Family in a garland of flowers', 'material used', {'concept': 'natural physical object'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:natural_physical_object . resource:The_Holy_Family_in_a_garland_of_flowers property:material_used ?p }
[]
natural physical object
Q287
SYSTEM
wood
Q287
(Q27145818,P186,c(Q16686022))
action filter_type
action find
entity Q27145818
relation P186
type Q16686022
The [ANSWER] is used to craft The Holy Family in a garland of flowers
['Q27145818', 'P186', {'concept': 'Q16686022'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q16686022 . resource:Q27145818 property:P186 ?p }
wood
The wood is used to craft The Holy Family in a garland of flowers
wood
action filter_type
action find
entity The Holy Family in a garland of flowers
relation material used
type natural physical object
['The Holy Family in a garland of flowers', 'material used', {'concept': 'natural physical object'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:natural_physical_object . resource:The_Holy_Family_in_a_garland_of_flowers property:material_used ?p }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q873639
Q16686022
USER
And how about Winter landscape with skaters and bird trap?
(Q873639,P186,c(Q16686022))
action filter_type
action find
entity Q873639
relation P186
type Q16686022
['Q873639', 'P186', {'concept': 'Q16686022'}]
SELECT DISTINCT ?t WHERE { resource:Q873639 property:P186 ?t . ?t rdf:type ontology:Q16686022 }
Winter landscape with skaters and bird trap
action filter_type
action find
entity Winter landscape with skaters and bird trap
relation material used
type natural physical object
['Winter landscape with skaters and bird trap', 'material used', {'concept': 'natural physical object'}]
SELECT DISTINCT ?t WHERE { resource:Winter_landscape_with_skaters_and_bird_trap property:material_used ?t . ?t rdf:type ontology:natural_physical_object }
[]
natural physical object
Q287
SYSTEM
wood
Q287
(Q873639,P186,c(Q16686022))
action filter_type
action find
entity Q873639
relation P186
type Q16686022
[ANSWER]
['Q873639', 'P186', {'concept': 'Q16686022'}]
SELECT DISTINCT ?t WHERE { resource:Q873639 property:P186 ?t . ?t rdf:type ontology:Q16686022 }
wood
wood
action filter_type
action find
entity Winter landscape with skaters and bird trap
relation material used
type natural physical object
['Winter landscape with skaters and bird trap', 'material used', {'concept': 'natural physical object'}]
SELECT DISTINCT ?t WHERE { resource:Winter_landscape_with_skaters_and_bird_trap property:material_used ?t . ?t rdf:type ontology:natural_physical_object }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q287
P407
Q2031291
USER
Which releases are created in language that natural physical object ?
(c(Q2031291),P407,Q287)
action filter_type
action find_reverse
entity Q287
relation P407
type Q2031291
[{'concept': 'Q2031291'}, 'P407', 'Q287']
SELECT DISTINCT ?l WHERE { ?l property:P407 resource:Q287 . ?l rdf:type ontology:Q2031291 }
wood
action filter_type
action find_reverse
entity wood
relation language of work or name
type release
[{'concept': 'release'}, 'language of work or name', 'wood']
SELECT DISTINCT ?l WHERE { ?l property:language_of_work_or_name resource:wood . ?l rdf:type ontology:release }
[]
release
Q11221189 Q11222815
SYSTEM
Virtual Rabbit, Hosono House
Q11221189 Q11222815
(c(Q2031291),P407,Q287)
action filter_type
action find_reverse
entity Q287
relation P407
type Q2031291
[ANSWERS] are created in language that natural physical object
[{'concept': 'Q2031291'}, 'P407', 'Q287']
SELECT DISTINCT ?l WHERE { ?l property:P407 resource:Q287 . ?l rdf:type ontology:Q2031291 }
Virtual Rabbit Hosono House
Virtual Rabbit and Hosono House are created in language that natural physical object
Virtual Rabbit Hosono House
action filter_type
action find_reverse
entity wood
relation language of work or name
type release
[{'concept': 'release'}, 'language of work or name', 'wood']
SELECT DISTINCT ?l WHERE { ?l property:language_of_work_or_name resource:wood . ?l rdf:type ontology:release }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11221189
P264
Q334453
USER
Who sponsored the recoding of that release ?
(Q11221189,P264,c(Q334453))
action filter_type
action find
entity Q11221189
relation P264
type Q334453
['Q11221189', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?d WHERE { resource:Q11221189 property:P264 ?d . ?d rdf:type ontology:Q334453 }
Virtual Rabbit
action filter_type
action find
entity Virtual Rabbit
relation record label
type division
['Virtual Rabbit', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?d WHERE { resource:Virtual_Rabbit property:record_label ?d . ?d rdf:type ontology:division }
[]
division
Clarification for simple ques.
Q11222815
SYSTEM
Did you mean Hosono House ?
Q11221189 Q11222815
(Q11221189,P264,c(Q334453)) (Q11222815,P264,c(Q334453))
[ANSWER]
['Q11221189', 'P264', {'concept': 'Q334453'}] ['Q11222815', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?d WHERE { resource:Q11221189 property:P264 ?d . ?d rdf:type ontology:Q334453 }
Virtual Rabbit Hosono House
Did you mean Hosono House ?
Hosono House
['Virtual Rabbit', 'record label', {'concept': 'division'}] ['Hosono House', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?d WHERE { resource:Virtual_Rabbit property:record_label ?d . ?d rdf:type ontology:division }
[]
Simple Question (Coreferenced)
USER
No, I meant Virtual Rabbit. Could you tell me the answer for that?
(Q11221189,P264,c(Q334453))
Q11221189
['Q11221189', 'P264', {'concept': 'Q334453'}]
['Virtual Rabbit', 'record label', {'concept': 'division'}]
[]
Q155152 Q1205595
SYSTEM
Polydor Records, NBCUniversal Entertainment Japan
Q155152 Q1205595
(Q11221189,P264,c(Q334453))
action filter_type
action find
entity Q11221189
relation P264
type Q334453
[ANSWERS] sponsored the recoding of that release
['Q11221189', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?d WHERE { resource:Q11221189 property:P264 ?d . ?d rdf:type ontology:Q334453 }
Polydor Records NBCUniversal Entertainment Japan
Polydor Records and NBCUniversal Entertainment Japan sponsored the recoding of that release
Polydor Records NBCUniversal Entertainment Japan
action filter_type
action find
entity Virtual Rabbit
relation record label
type division
['Virtual Rabbit', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?d WHERE { resource:Virtual_Rabbit property:record_label ?d . ?d rdf:type ontology:division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5291815
P264
Q2031291
USER
Have Don't Marry Her been sponsored by those divisions for their recording ?
(Q5291815,P264,Q155152) (Q5291815,P264,Q1205595)
action is_in
entity prev_answer
action find
entity Q5291815
relation P264
['Q5291815', 'P264', 'Q155152'] ['Q5291815', 'P264', 'Q1205595']
ASK WHERE { VALUES ( ?s ) { ( resource:Q155152 ) ( resource:Q1205595 ) } . resource:Q5291815 property:P264 ?s }
Don't Marry Her
action is_in
entity prev_answer
action find
entity Don't Marry Her
relation record label
["Don't Marry Her", 'record label', 'Polydor Records'] ["Don't Marry Her", 'record label', 'NBCUniversal Entertainment Japan']
ASK WHERE { VALUES ( ?s ) { ( resource:Polydor_Records ) ( resource:NBCUniversal_Entertainment_Japan ) } . resource:Don't_Marry_Her property:record_label ?s }
[]
release
SYSTEM
NO
(Q5291815,P264,Q155152) (Q5291815,P264,Q1205595)
action is_in
entity prev_answer
action find
entity Q5291815
relation P264
[ANSWER]
['Q5291815', 'P264', 'Q155152'] ['Q5291815', 'P264', 'Q1205595']
ASK WHERE { VALUES ( ?s ) { ( resource:Q155152 ) ( resource:Q1205595 ) } . resource:Q5291815 property:P264 ?s }
No
action is_in
entity prev_answer
action find
entity Don't Marry Her
relation record label
["Don't Marry Her", 'record label', 'Polydor Records'] ["Don't Marry Her", 'record label', 'NBCUniversal Entertainment Japan']
ASK WHERE { VALUES ( ?s ) { ( resource:Polydor_Records ) ( resource:NBCUniversal_Entertainment_Japan ) } . resource:Don't_Marry_Her property:record_label ?s }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P749
Q334453 Q4830453 Q334453
USER
Which divisions are owned by max number of divisions and business enterprises ?
(c(Q334453),P749,c(Q334453)|c(Q4830453))
action argmax
action union
action find_tuple_counts
relation P749
type Q334453
type Q334453
action find_tuple_counts
relation P749
type Q334453
type Q4830453
[{'concept': 'Q334453'}, 'P749', [{'concept': 'Q334453'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?o ) { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:Q334453 ) ( ontology:Q4830453 ) } } GROUP BY ?j } } . { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?a ) WHERE { VALUES ( ?m ) { ( ontology:Q334453 ) ( ontology:Q4830453 ) } . ?t rdf:type ?m } GROUP BY ?d } . FILTER ( ?a = ?o ) }
action argmax
action union
action find_tuple_counts
relation parent organization
type division
type division
action find_tuple_counts
relation parent organization
type division
type business enterprise
[{'concept': 'division'}, 'parent organization', [{'concept': 'division'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?o ) { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:division ) ( ontology:business_enterprise ) } } GROUP BY ?j } } . { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?a ) WHERE { VALUES ( ?m ) { ( ontology:division ) ( ontology:business_enterprise ) } . ?t rdf:type ?m } GROUP BY ?d } . FILTER ( ?a = ?o ) }
[]
division business enterprise division
Q3868643
SYSTEM
Musical Freedom
Q3868643
(c(Q334453),P749,c(Q334453)|c(Q4830453))
action argmax
action union
action find_tuple_counts
relation P749
type Q334453
type Q334453
action find_tuple_counts
relation P749
type Q334453
type Q4830453
[ANSWER] is owned by max number of divisions and business enterprises
[{'concept': 'Q334453'}, 'P749', [{'concept': 'Q334453'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?o ) { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:Q334453 ) ( ontology:Q4830453 ) } } GROUP BY ?j } } . { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?a ) WHERE { VALUES ( ?m ) { ( ontology:Q334453 ) ( ontology:Q4830453 ) } . ?t rdf:type ?m } GROUP BY ?d } . FILTER ( ?a = ?o ) }
Musical Freedom
Musical Freedom is owned by max number of divisions and business enterprises
Musical Freedom
action argmax
action union
action find_tuple_counts
relation parent organization
type division
type division
action find_tuple_counts
relation parent organization
type division
type business enterprise
[{'concept': 'division'}, 'parent organization', [{'concept': 'division'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?o ) { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:division ) ( ontology:business_enterprise ) } } GROUP BY ?j } } . { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?a ) WHERE { VALUES ( ?m ) { ( ontology:division ) ( ontology:business_enterprise ) } . ?t rdf:type ?m } GROUP BY ?d } . FILTER ( ?a = ?o ) }
[]