Simple Question (Direct)
Simple Question
Q962128
P264
Q334453
USER
What is the record label of Johnny Preston ?
(Q962128,P264,c(Q334453))
action filter_type
action find
entity Q962128
relation P264
type Q334453
['Q962128', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q334453 . resource:Q962128 property:P264 ?w }
Johnny Preston
action filter_type
action find
entity Johnny Preston
relation record label
type division
['Johnny Preston', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:division . resource:Johnny_Preston property:record_label ?w }
[]
division
Q165745
SYSTEM
Mercury Records
Q165745
(Q962128,P264,c(Q334453))
action filter_type
action find
entity Q962128
relation P264
type Q334453
The record label of Johnny Preston is the [ANSWER]
['Q962128', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q334453 . resource:Q962128 property:P264 ?w }
Mercury Records
The record label of Johnny Preston is the Mercury Records
Mercury Records
action filter_type
action find
entity Johnny Preston
relation record label
type division
['Johnny Preston', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:division . resource:Johnny_Preston property:record_label ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q962128
P175
Q2031291
USER
Which release gave the performance of that person ?
(c(Q2031291),P175,Q165745)
action filter_type
action find_reverse
entity Q962128
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q165745']
SELECT DISTINCT ?k WHERE { ?k property:P175 resource:Q962128 . ?k rdf:type ontology:Q2031291 }
Johnny Preston
action filter_type
action find_reverse
entity Johnny Preston
relation performer
type release
[{'concept': 'release'}, 'performer', 'Mercury Records']
SELECT DISTINCT ?k WHERE { ?k property:performer resource:Johnny_Preston . ?k rdf:type ontology:release }
[]
release
Q1630775
SYSTEM
Running Bear
Q1630775
(c(Q2031291),P175,Q165745)
action filter_type
action find_reverse
entity Q962128
relation P175
type Q2031291
The running Bear gave the performance of that person
[{'concept': 'Q2031291'}, 'P175', 'Q165745']
SELECT DISTINCT ?k WHERE { ?k property:P175 resource:Q962128 . ?k rdf:type ontology:Q2031291 }
Running Bear
The running Bear gave the performance of that person
Running Bear
action filter_type
action find_reverse
entity Johnny Preston
relation performer
type release
[{'concept': 'release'}, 'performer', 'Mercury Records']
SELECT DISTINCT ?k WHERE { ?k property:performer resource:Johnny_Preston . ?k rdf:type ontology:release }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q17211910
P749
Q334453 Q1269299 Q334453
USER
How many divisions are owned by greater number of divisions or business organizations than Sistus Records ?
(c(Q334453),P749,c(Q334453)|c(Q1269299))
action count
action greater
action union
action find_tuple_counts
relation P749
type Q334453
type Q334453
action find_tuple_counts
relation P749
type Q334453
type Q1269299
action count
action filter_multi_types
action find
entity Q17211910
relation P749
type Q334453
type Q1269299
[{'concept': 'Q334453'}, 'P749', [{'concept': 'Q334453'}, {'concept': 'Q1269299'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) ?d WHERE { VALUES ( ?f ) { ( ontology:Q334453 ) ( ontology:Q1269299 ) } . ?x rdf:type ?f } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:Q17211910 property:P749 ?g . { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:Q334453 ) ( ontology:Q1269299 ) } } } } . FILTER ( ?b > ?e ) }
Sistus Records
action count
action greater
action union
action find_tuple_counts
relation parent organization
type division
type division
action find_tuple_counts
relation parent organization
type division
type type of business entity
action count
action filter_multi_types
action find
entity Sistus Records
relation parent organization
type division
type type of business entity
[{'concept': 'division'}, 'parent organization', [{'concept': 'division'}, {'concept': 'type of business entity'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) ?d WHERE { VALUES ( ?f ) { ( ontology:division ) ( ontology:type_of_business_entity ) } . ?x rdf:type ?f } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:Sistus_Records property:parent_organization ?g . { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:division ) ( ontology:type_of_business_entity ) } } } } . FILTER ( ?b > ?e ) }
[]
division type of business entity division
SYSTEM
2
Q13636506 Q3868643
(c(Q334453),P749,c(Q334453)|c(Q1269299))
action count
action greater
action union
action find_tuple_counts
relation P749
type Q334453
type Q334453
action find_tuple_counts
relation P749
type Q334453
type Q1269299
action count
action filter_multi_types
action find
entity Q17211910
relation P749
type Q334453
type Q1269299
[ANSWER]
[{'concept': 'Q334453'}, 'P749', [{'concept': 'Q334453'}, {'concept': 'Q1269299'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) ?d WHERE { VALUES ( ?f ) { ( ontology:Q334453 ) ( ontology:Q1269299 ) } . ?x rdf:type ?f } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:Q17211910 property:P749 ?g . { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:Q334453 ) ( ontology:Q1269299 ) } } } } . FILTER ( ?b > ?e ) }
Flashback Records Musical Freedom
2
action count
action greater
action union
action find_tuple_counts
relation parent organization
type division
type division
action find_tuple_counts
relation parent organization
type division
type type of business entity
action count
action filter_multi_types
action find
entity Sistus Records
relation parent organization
type division
type type of business entity
[{'concept': 'division'}, 'parent organization', [{'concept': 'division'}, {'concept': 'type of business entity'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) ?d WHERE { VALUES ( ?f ) { ( ontology:division ) ( ontology:type_of_business_entity ) } . ?x rdf:type ?f } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:Sistus_Records property:parent_organization ?g . { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:division ) ( ontology:type_of_business_entity ) } } } } . FILTER ( ?b > ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q11190585
P749
Q334453 Q1269299 Q334453
USER
And also tell me about Avex Ideak?
(c(Q334453),P749,c(Q334453)|c(Q1269299))
action count
action greater
action union
action find_tuple_counts
relation P749
type Q334453
type Q334453
action find_tuple_counts
relation P749
type Q334453
type Q1269299
action count
action filter_multi_types
action find
entity Q11190585
relation P749
type Q334453
type Q1269299
[{'concept': 'Q334453'}, 'P749', [{'concept': 'Q334453'}, {'concept': 'Q1269299'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?k ) WHERE { { ?j property:P749 ?h . ?j rdf:type ontology:Q334453 . ?h rdf:type ontology:Q334453 } UNION { ?j rdf:type ontology:Q334453 . ?h rdf:type ontology:Q1269299 . ?j property:P749 ?h } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { { ?t rdf:type ontology:Q334453 } UNION { ?t rdf:type ontology:Q1269299 } } . resource:Q11190585 property:P749 ?t } } . FILTER ( ?k > ?g ) }
Avex Ideak
action count
action greater
action union
action find_tuple_counts
relation parent organization
type division
type division
action find_tuple_counts
relation parent organization
type division
type type of business entity
action count
action filter_multi_types
action find
entity Avex Ideak
relation parent organization
type division
type type of business entity
[{'concept': 'division'}, 'parent organization', [{'concept': 'division'}, {'concept': 'type of business entity'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?k ) WHERE { { ?j property:parent_organization ?h . ?j rdf:type ontology:division . ?h rdf:type ontology:division } UNION { ?j rdf:type ontology:division . ?h rdf:type ontology:type_of_business_entity . ?j property:parent_organization ?h } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { { ?t rdf:type ontology:division } UNION { ?t rdf:type ontology:type_of_business_entity } } . resource:Avex_Ideak property:parent_organization ?t } } . FILTER ( ?k > ?g ) }
[]
division type of business entity division
SYSTEM
2
Q13636506 Q3868643
(c(Q334453),P749,c(Q334453)|c(Q1269299))
action count
action greater
action union
action find_tuple_counts
relation P749
type Q334453
type Q334453
action find_tuple_counts
relation P749
type Q334453
type Q1269299
action count
action filter_multi_types
action find
entity Q11190585
relation P749
type Q334453
type Q1269299
[ANSWER]
[{'concept': 'Q334453'}, 'P749', [{'concept': 'Q334453'}, {'concept': 'Q1269299'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?k ) WHERE { { ?j property:P749 ?h . ?j rdf:type ontology:Q334453 . ?h rdf:type ontology:Q334453 } UNION { ?j rdf:type ontology:Q334453 . ?h rdf:type ontology:Q1269299 . ?j property:P749 ?h } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { { ?t rdf:type ontology:Q334453 } UNION { ?t rdf:type ontology:Q1269299 } } . resource:Q11190585 property:P749 ?t } } . FILTER ( ?k > ?g ) }
Flashback Records Musical Freedom
2
action count
action greater
action union
action find_tuple_counts
relation parent organization
type division
type division
action find_tuple_counts
relation parent organization
type division
type type of business entity
action count
action filter_multi_types
action find
entity Avex Ideak
relation parent organization
type division
type type of business entity
[{'concept': 'division'}, 'parent organization', [{'concept': 'division'}, {'concept': 'type of business entity'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?k ) WHERE { { ?j property:parent_organization ?h . ?j rdf:type ontology:division . ?h rdf:type ontology:division } UNION { ?j rdf:type ontology:division . ?h rdf:type ontology:type_of_business_entity . ?j property:parent_organization ?h } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { { ?t rdf:type ontology:division } UNION { ?t rdf:type ontology:type_of_business_entity } } . resource:Avex_Ideak property:parent_organization ?t } } . FILTER ( ?k > ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q165745
P740
Q56061
USER
Where was Mercury Records formed ?
(Q165745,P740,c(Q56061))
action filter_type
action find
entity Q165745
relation P740
type Q56061
['Q165745', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q165745 property:P740 ?b }
Mercury Records
action filter_type
action find
entity Mercury Records
relation location of formation
type administrative territorial entity
['Mercury Records', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Mercury_Records property:location_of_formation ?b }
[]
administrative territorial entity
Q1297
SYSTEM
Chicago
Q1297
(Q165745,P740,c(Q56061))
action filter_type
action find
entity Q165745
relation P740
type Q56061
Mercury Records was formed in [ANSWER]
['Q165745', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q165745 property:P740 ?b }
Chicago
Mercury Records was formed in Chicago
Chicago
action filter_type
action find
entity Mercury Records
relation location of formation
type administrative territorial entity
['Mercury Records', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Mercury_Records property:location_of_formation ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q165745
P17
Q15617994
USER
Which administrative territory does Mercury Records belong to ?
(Q165745,P17,c(Q15617994))
action filter_type
action find
entity Q165745
relation P17
type Q15617994
['Q165745', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q165745 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Mercury Records
action filter_type
action find
entity Mercury Records
relation country
type designation for an administrative territorial entity
['Mercury Records', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Mercury_Records property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q165745,P17,c(Q15617994))
action filter_type
action find
entity Q165745
relation P17
type Q15617994
Mercury Records belongs to [ANSWER]
['Q165745', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q165745 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
United States of America
Mercury Records belongs to United States of America
United States of America
action filter_type
action find
entity Mercury Records
relation country
type designation for an administrative territorial entity
['Mercury Records', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Mercury_Records property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q5401518 Q5540932
P6
Q502895
USER
Does that administrative territory have Kaarlo Johannes Valle and George I Šubić of Bribir as its head of government ?
(Q30,P6,Q5401518) (Q30,P6,Q5540932)
action is_in
entity Q30
action intersection
action find_reverse
entity Q5401518
relation P6
action find_reverse
entity Q5540932
relation P6
['Q30', 'P6', 'Q5401518'] ['Q30', 'P6', 'Q5540932']
ASK WHERE { resource:Q30 property:P6 resource:Q5540932 . resource:Q30 property:P6 resource:Q5401518 }
United States of America Kaarlo Johannes Valle George I Šubić of Bribir
action is_in
entity United States of America
action intersection
action find_reverse
entity Kaarlo Johannes Valle
relation head of government
action find_reverse
entity George I Šubić of Bribir
relation head of government
['United States of America', 'head of government', 'Kaarlo Johannes Valle'] ['United States of America', 'head of government', 'George I Šubić of Bribir']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:George_I_Šubić_of_Bribir . resource:United_States_of_America property:head_of_government resource:Kaarlo_Johannes_Valle }
[]
common name
SYSTEM
NO
(Q30,P6,Q5401518) (Q30,P6,Q5540932)
action is_in
entity Q30
action intersection
action find_reverse
entity Q5401518
relation P6
action find_reverse
entity Q5540932
relation P6
[ANSWER]
['Q30', 'P6', 'Q5401518'] ['Q30', 'P6', 'Q5540932']
ASK WHERE { resource:Q30 property:P6 resource:Q5540932 . resource:Q30 property:P6 resource:Q5401518 }
No
action is_in
entity United States of America
action intersection
action find_reverse
entity Kaarlo Johannes Valle
relation head of government
action find_reverse
entity George I Šubić of Bribir
relation head of government
['United States of America', 'head of government', 'Kaarlo Johannes Valle'] ['United States of America', 'head of government', 'George I Šubić of Bribir']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:George_I_Šubić_of_Bribir . resource:United_States_of_America property:head_of_government resource:Kaarlo_Johannes_Valle }
[]