Simple Question (Direct)
Simple Question
Q1676061
P937
Q56061
USER
What is the location where Robert W. Everett worked ?
(Q1676061,P937,c(Q56061))
action filter_type
action find
entity Q1676061
relation P937
type Q56061
['Q1676061', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q1676061 property:P937 ?o }
Robert W. Everett
action filter_type
action find
entity Robert W. Everett
relation work location
type administrative territorial entity
['Robert W. Everett', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Robert_W._Everett property:work_location ?o }
[]
administrative territorial entity
Q23556
SYSTEM
Atlanta
Q23556
(Q1676061,P937,c(Q56061))
action filter_type
action find
entity Q1676061
relation P937
type Q56061
The location Robert W. Everett worked is in [ANSWER]
['Q1676061', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q1676061 property:P937 ?o }
Atlanta
The location Robert W. Everett worked is in Atlanta
Atlanta
action filter_type
action find
entity Robert W. Everett
relation work location
type administrative territorial entity
['Robert W. Everett', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Robert_W._Everett property:work_location ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23556
P276
Q215380
USER
What is situated at that administrative territory ?
(c(Q215380),P276,Q23556)
action filter_type
action find_reverse
entity Q23556
relation P276
type Q215380
[{'concept': 'Q215380'}, 'P276', 'Q23556']
SELECT DISTINCT ?b WHERE { ?b property:P276 resource:Q23556 . ?b rdf:type ontology:Q215380 }
Atlanta
action filter_type
action find_reverse
entity Atlanta
relation location
type band
[{'concept': 'band'}, 'location', 'Atlanta']
SELECT DISTINCT ?b WHERE { ?b property:location resource:Atlanta . ?b rdf:type ontology:band }
[]
band
Q312706
SYSTEM
Magnapop
Q312706
(c(Q215380),P276,Q23556)
action filter_type
action find_reverse
entity Q23556
relation P276
type Q215380
[ANSWER] is situated at that administrative territory
[{'concept': 'Q215380'}, 'P276', 'Q23556']
SELECT DISTINCT ?b WHERE { ?b property:P276 resource:Q23556 . ?b rdf:type ontology:Q215380 }
Magnapop
Magnapop is situated at that administrative territory
Magnapop
action filter_type
action find_reverse
entity Atlanta
relation location
type band
[{'concept': 'band'}, 'location', 'Atlanta']
SELECT DISTINCT ?b WHERE { ?b property:location resource:Atlanta . ?b rdf:type ontology:band }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P740
Q515 Q215380
USER
Which cities are the locations of formation of around 1 band ?
(c(Q215380),P740,c(Q515))
action approx
action find_reverse_tuple_counts
relation P740
type Q515
type Q215380
value 1
[{'concept': 'Q215380'}, 'P740', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?a ) WHERE { ?e rdf:type ontology:Q515 . ?c rdf:type ontology:Q215380 . ?c property:P740 ?e } GROUP BY ?e } }
action approx
action find_reverse_tuple_counts
relation location of formation
type city
type band
value 1
[{'concept': 'band'}, 'location of formation', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?a ) WHERE { ?e rdf:type ontology:city . ?c rdf:type ontology:band . ?c property:location_of_formation ?e } GROUP BY ?e } }
[]
city band
Q1773 Q1794 Q2079
SYSTEM
Riga, Frankfurt, Leipzig
Q1794 Q34217 Q646755 Q17042 Q2865 Q1773 Q3955 Q2079 Q1362 Q485176 Q18575 Q2135 Q43196 Q1533 Q23768
(c(Q215380),P740,c(Q515))
action approx
action find_reverse_tuple_counts
relation P740
type Q515
type Q215380
value 1
[ANSWERS] the locations of formation of around 1 band
[{'concept': 'Q215380'}, 'P740', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?a ) WHERE { ?e rdf:type ontology:Q515 . ?c rdf:type ontology:Q215380 . ?c property:P740 ?e } GROUP BY ?e } }
Frankfurt Oxford Tateyama Oakland Kassel Riga Weimar Leipzig Islamabad Pasadena Tucson Winnipeg Cincinnati Caracas Las Vegas
Riga, Frankfurt and Leipzig the locations of formation of around 1 band
Riga Frankfurt Leipzig
action approx
action find_reverse_tuple_counts
relation location of formation
type city
type band
value 1
[{'concept': 'band'}, 'location of formation', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?a ) WHERE { ?e rdf:type ontology:city . ?c rdf:type ontology:band . ?c property:location_of_formation ?e } GROUP BY ?e } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q312706 Q364170
P495
Q15617994
USER
How many administrative territories are the origin of Magnapop or Future Crew ?
(Q312706,P495,c(Q15617994)) (Q364170,P495,c(Q15617994))
action count
action union
action filter_type
action find
entity Q312706
relation P495
type Q15617994
action filter_type
action find
entity Q364170
relation P495
type Q15617994
['Q312706', 'P495', {'concept': 'Q15617994'}] ['Q364170', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { VALUES ( ?r ) { ( resource:Q312706 ) ( resource:Q364170 ) } . ?r property:P495 ?m }
Magnapop Future Crew
action count
action union
action filter_type
action find
entity Magnapop
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Future Crew
relation country of origin
type designation for an administrative territorial entity
['Magnapop', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Future Crew', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { VALUES ( ?r ) { ( resource:Magnapop ) ( resource:Future_Crew ) } . ?r property:country_of_origin ?m }
[]
designation for an administrative territorial entity
SYSTEM
2
Q33 Q30
(Q312706,P495,c(Q15617994)) (Q364170,P495,c(Q15617994))
action count
action union
action filter_type
action find
entity Q312706
relation P495
type Q15617994
action filter_type
action find
entity Q364170
relation P495
type Q15617994
[ANSWER]
['Q312706', 'P495', {'concept': 'Q15617994'}] ['Q364170', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { VALUES ( ?r ) { ( resource:Q312706 ) ( resource:Q364170 ) } . ?r property:P495 ?m }
Finland United States of America
2
action count
action union
action filter_type
action find
entity Magnapop
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Future Crew
relation country of origin
type designation for an administrative territorial entity
['Magnapop', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Future Crew', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { VALUES ( ?r ) { ( resource:Magnapop ) ( resource:Future_Crew ) } . ?r property:country_of_origin ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1794
P127
Q43229 Q1076486
USER
How many organizations or sports venues are owned by Frankfurt ?
(c(Q43229),P127,Q1794) (c(Q1076486),P127,Q1794)
action count
action union
action filter_type
action find_reverse
entity Q1794
relation P127
type Q43229
action filter_type
action find_reverse
entity Q1794
relation P127
type Q1076486
[{'concept': 'Q43229'}, 'P127', 'Q1794'] [{'concept': 'Q1076486'}, 'P127', 'Q1794']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:Q43229 ) ( ontology:Q1076486 ) } }
Frankfurt
action count
action union
action filter_type
action find_reverse
entity Frankfurt
relation owned by
type organization
action filter_type
action find_reverse
entity Frankfurt
relation owned by
type sports venue
[{'concept': 'organization'}, 'owned by', 'Frankfurt'] [{'concept': 'sports venue'}, 'owned by', 'Frankfurt']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:organization ) ( ontology:sports_venue ) } }
[]
organization sports venue
SYSTEM
2
Q1885661 Q157273
(c(Q43229),P127,Q1794) (c(Q1076486),P127,Q1794)
action count
action union
action filter_type
action find_reverse
entity Q1794
relation P127
type Q43229
action filter_type
action find_reverse
entity Q1794
relation P127
type Q1076486
[ANSWER]
[{'concept': 'Q43229'}, 'P127', 'Q1794'] [{'concept': 'Q1076486'}, 'P127', 'Q1794']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:Q43229 ) ( ontology:Q1076486 ) } }
Mainova Commerzbank-Arena
2
action count
action union
action filter_type
action find_reverse
entity Frankfurt
relation owned by
type organization
action filter_type
action find_reverse
entity Frankfurt
relation owned by
type sports venue
[{'concept': 'organization'}, 'owned by', 'Frankfurt'] [{'concept': 'sports venue'}, 'owned by', 'Frankfurt']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:organization ) ( ontology:sports_venue ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q312706
P175
Q2031291
USER
Which releases presented Magnapop ?
(c(Q2031291),P175,Q312706)
action filter_type
action find_reverse
entity Q312706
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q312706']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2031291 . ?r property:P175 resource:Q312706 }
Magnapop
action filter_type
action find_reverse
entity Magnapop
relation performer
type release
[{'concept': 'release'}, 'performer', 'Magnapop']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:release . ?r property:performer resource:Magnapop }
[]
release
Q7375861 Q6926363 Q6731281
SYSTEM
Rubbing Doesn't Help, Mouthfeel, Magnapop
Q7096439 Q6926363 Q6820397 Q7785704 Q7375861 Q7542159 Q6731281 Q6505366
(c(Q2031291),P175,Q312706)
action filter_type
action find_reverse
entity Q312706
relation P175
type Q2031291
[ANSWERS] presented Magnapop
[{'concept': 'Q2031291'}, 'P175', 'Q312706']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2031291 . ?r property:P175 resource:Q312706 }
Open the Door Mouthfeel Merry This Family Rubbing Doesn't Help Slowly, Slowly Magnapop Lay It Down
Rubbing Doesn't Help, Mouthfeel and Magnapop presented Magnapop
Rubbing Doesn't Help Mouthfeel Magnapop
action filter_type
action find_reverse
entity Magnapop
relation performer
type release
[{'concept': 'release'}, 'performer', 'Magnapop']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:release . ?r property:performer resource:Magnapop }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7375861
P264
Q334453
USER
Who sponsored the recoding of that release ?
(Q7375861,P264,c(Q334453))
action filter_type
action find
entity Q7375861
relation P264
type Q334453
['Q7375861', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?h WHERE { resource:Q7375861 property:P264 ?h . ?h rdf:type ontology:Q334453 }
Rubbing Doesn't Help
action filter_type
action find
entity Rubbing Doesn't Help
relation record label
type division
["Rubbing Doesn't Help", 'record label', {'concept': 'division'}]
SELECT DISTINCT ?h WHERE { resource:Rubbing_Doesn't_Help property:record_label ?h . ?h rdf:type ontology:division }
[]
division
Clarification for simple ques.
Q6731281
SYSTEM
Did you mean Magnapop ?
Q7375861 Q6926363 Q6731281
(Q7375861,P264,c(Q334453)) (Q6926363,P264,c(Q334453)) (Q6731281,P264,c(Q334453))
[ANSWER]
['Q7375861', 'P264', {'concept': 'Q334453'}] ['Q6926363', 'P264', {'concept': 'Q334453'}] ['Q6731281', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?h WHERE { resource:Q7375861 property:P264 ?h . ?h rdf:type ontology:Q334453 }
Rubbing Doesn't Help Mouthfeel Magnapop
Did you mean Magnapop ?
Magnapop
["Rubbing Doesn't Help", 'record label', {'concept': 'division'}] ['Mouthfeel', 'record label', {'concept': 'division'}] ['Magnapop', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?h WHERE { resource:Rubbing_Doesn't_Help property:record_label ?h . ?h rdf:type ontology:division }
[]
Simple Question (Coreferenced)
USER
No, I meant Rubbing Doesn't Help. Could you tell me the answer for that?
(Q7375861,P264,c(Q334453))
Q7375861
['Q7375861', 'P264', {'concept': 'Q334453'}]
["Rubbing Doesn't Help", 'record label', {'concept': 'division'}]
[]
Q522618 Q1973834
SYSTEM
Priority Records, Play It Again Sam
Q522618 Q1973834
(Q7375861,P264,c(Q334453))
action filter_type
action find
entity Q7375861
relation P264
type Q334453
Priority Records and play It Again Sam sponsored the recoding of that release
['Q7375861', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?h WHERE { resource:Q7375861 property:P264 ?h . ?h rdf:type ontology:Q334453 }
Priority Records Play It Again Sam
Priority Records and play It Again Sam sponsored the recoding of that release
Priority Records Play It Again Sam
action filter_type
action find
entity Rubbing Doesn't Help
relation record label
type division
["Rubbing Doesn't Help", 'record label', {'concept': 'division'}]
SELECT DISTINCT ?h WHERE { resource:Rubbing_Doesn't_Help property:record_label ?h . ?h rdf:type ontology:division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q312706
P264
Q215380
USER
Do Magnapop have those divisions as their record brand ?
(Q312706,P264,Q522618) (Q312706,P264,Q1973834)
action is_in
entity prev_answer
action find
entity Q312706
relation P264
['Q312706', 'P264', 'Q522618'] ['Q312706', 'P264', 'Q1973834']
ASK WHERE { VALUES ( ?b ) { ( resource:Q522618 ) ( resource:Q1973834 ) } . resource:Q312706 property:P264 ?b }
Magnapop
action is_in
entity prev_answer
action find
entity Magnapop
relation record label
['Magnapop', 'record label', 'Priority Records'] ['Magnapop', 'record label', 'Play It Again Sam']
ASK WHERE { VALUES ( ?b ) { ( resource:Priority_Records ) ( resource:Play_It_Again_Sam ) } . resource:Magnapop property:record_label ?b }
[]
band
SYSTEM
YES
(Q312706,P264,Q522618) (Q312706,P264,Q1973834)
action is_in
entity prev_answer
action find
entity Q312706
relation P264
[ANSWER]
['Q312706', 'P264', 'Q522618'] ['Q312706', 'P264', 'Q1973834']
ASK WHERE { VALUES ( ?b ) { ( resource:Q522618 ) ( resource:Q1973834 ) } . resource:Q312706 property:P264 ?b }
Yes
action is_in
entity prev_answer
action find
entity Magnapop
relation record label
['Magnapop', 'record label', 'Priority Records'] ['Magnapop', 'record label', 'Play It Again Sam']
ASK WHERE { VALUES ( ?b ) { ( resource:Priority_Records ) ( resource:Play_It_Again_Sam ) } . resource:Magnapop property:record_label ?b }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q5531670
P355
Q334453 Q4830453
USER
How many business enterprises are greater number of divisions the subsidiary of than General Aircraft Corporation ?
(c(Q4830453),P355,c(Q334453))
action count
action greater
action find_tuple_counts
relation P355
type Q4830453
type Q334453
action count
action filter_type
action find
entity Q5531670
relation P355
type Q334453
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?v ) WHERE { ?k property:P355 ?o . ?k rdf:type ontology:Q4830453 . ?o rdf:type ontology:Q334453 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:Q5531670 property:P355 ?l . ?l rdf:type ontology:Q334453 } } . FILTER ( ?v > ?h ) }
General Aircraft Corporation
action count
action greater
action find_tuple_counts
relation subsidiary
type business enterprise
type division
action count
action filter_type
action find
entity General Aircraft Corporation
relation subsidiary
type division
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?v ) WHERE { ?k property:subsidiary ?o . ?k rdf:type ontology:business_enterprise . ?o rdf:type ontology:division } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:General_Aircraft_Corporation property:subsidiary ?l . ?l rdf:type ontology:division } } . FILTER ( ?v > ?h ) }
[]
division business enterprise
SYSTEM
3
Q10954015 Q23638508 Q43380
(c(Q4830453),P355,c(Q334453))
action count
action greater
action find_tuple_counts
relation P355
type Q4830453
type Q334453
action count
action filter_type
action find
entity Q5531670
relation P355
type Q334453
[ANSWER]
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?v ) WHERE { ?k property:P355 ?o . ?k rdf:type ontology:Q4830453 . ?o rdf:type ontology:Q334453 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:Q5531670 property:P355 ?l . ?l rdf:type ontology:Q334453 } } . FILTER ( ?v > ?h ) }
Fuji Media Holdings ArtPeople Holding CBS
3
action count
action greater
action find_tuple_counts
relation subsidiary
type business enterprise
type division
action count
action filter_type
action find
entity General Aircraft Corporation
relation subsidiary
type division
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?v ) WHERE { ?k property:subsidiary ?o . ?k rdf:type ontology:business_enterprise . ?o rdf:type ontology:division } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:General_Aircraft_Corporation property:subsidiary ?l . ?l rdf:type ontology:division } } . FILTER ( ?v > ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q151378
P355
Q334453 Q4830453
USER
And also tell me about BVR Busverkehr Rheinland?
(c(Q4830453),P355,c(Q334453))
action count
action greater
action find_tuple_counts
relation P355
type Q4830453
type Q334453
action count
action filter_type
action find
entity Q151378
relation P355
type Q334453
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?v ) WHERE { ?f property:P355 ?g . ?f rdf:type ontology:Q4830453 . ?g rdf:type ontology:Q334453 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q151378 property:P355 ?y . ?y rdf:type ontology:Q334453 } } . FILTER ( ?v > ?u ) }
BVR Busverkehr Rheinland
action count
action greater
action find_tuple_counts
relation subsidiary
type business enterprise
type division
action count
action filter_type
action find
entity BVR Busverkehr Rheinland
relation subsidiary
type division
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?v ) WHERE { ?f property:subsidiary ?g . ?f rdf:type ontology:business_enterprise . ?g rdf:type ontology:division } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:BVR_Busverkehr_Rheinland property:subsidiary ?y . ?y rdf:type ontology:division } } . FILTER ( ?v > ?u ) }
[]
division business enterprise
SYSTEM
3
Q10954015 Q23638508 Q43380
(c(Q4830453),P355,c(Q334453))
action count
action greater
action find_tuple_counts
relation P355
type Q4830453
type Q334453
action count
action filter_type
action find
entity Q151378
relation P355
type Q334453
[ANSWER]
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?v ) WHERE { ?f property:P355 ?g . ?f rdf:type ontology:Q4830453 . ?g rdf:type ontology:Q334453 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q151378 property:P355 ?y . ?y rdf:type ontology:Q334453 } } . FILTER ( ?v > ?u ) }
Fuji Media Holdings ArtPeople Holding CBS
3
action count
action greater
action find_tuple_counts
relation subsidiary
type business enterprise
type division
action count
action filter_type
action find
entity BVR Busverkehr Rheinland
relation subsidiary
type division
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?v ) WHERE { ?f property:subsidiary ?g . ?f rdf:type ontology:business_enterprise . ?g rdf:type ontology:division } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:BVR_Busverkehr_Rheinland property:subsidiary ?y . ?y rdf:type ontology:division } } . FILTER ( ?v > ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7362372
P17
Q15617994
USER
Which administrative territory is Kulovesi a part of ?
(Q7362372,P17,c(Q15617994))
action filter_type
action find
entity Q7362372
relation P17
type Q15617994
['Q7362372', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q7362372 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Kulovesi
action filter_type
action find
entity Kulovesi
relation country
type designation for an administrative territorial entity
['Kulovesi', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Kulovesi property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q7362372,P17,c(Q15617994))
action filter_type
action find
entity Q7362372
relation P17
type Q15617994
The [ANSWER] is Kulovesi a part of
['Q7362372', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q7362372 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Finland
The Finland is Kulovesi a part of
Finland
action filter_type
action find
entity Kulovesi
relation country
type designation for an administrative territorial entity
['Kulovesi', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Kulovesi property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P36
Q56061
USER
How many administrative territories are the capitals of that administrative territory ?
(Q33,P36,c(Q56061))
action count
action filter_type
action find
entity Q33
relation P36
type Q56061
['Q33', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q33 property:P36 ?y . ?y rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity Finland
relation capital
type administrative territorial entity
['Finland', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Finland property:capital ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1757
(Q33,P36,c(Q56061))
action count
action filter_type
action find
entity Q33
relation P36
type Q56061
[ANSWER]
['Q33', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q33 property:P36 ?y . ?y rdf:type ontology:Q56061 }
Helsinki
1
action count
action filter_type
action find
entity Finland
relation capital
type administrative territorial entity
['Finland', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Finland property:capital ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]