Simple Question (Direct)
Simple Question
Q7379235
P19
Q56061
USER
Which administrative territory was Rumen Shankulov born at ?
(Q7379235,P19,c(Q56061))
action filter_type
action find
entity Q7379235
relation P19
type Q56061
['Q7379235', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q7379235 property:P19 ?l }
Rumen Shankulov
action filter_type
action find
entity Rumen Shankulov
relation place of birth
type administrative territorial entity
['Rumen Shankulov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Rumen_Shankulov property:place_of_birth ?l }
[]
administrative territorial entity
Q405236
SYSTEM
Belene
Q405236
(Q7379235,P19,c(Q56061))
action filter_type
action find
entity Q7379235
relation P19
type Q56061
Rumen Shankulov was born in [ANSWER]
['Q7379235', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q7379235 property:P19 ?l }
Belene
Rumen Shankulov was born in Belene
Belene
action filter_type
action find
entity Rumen Shankulov
relation place of birth
type administrative territorial entity
['Rumen Shankulov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Rumen_Shankulov property:place_of_birth ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q405236
P17
Q15617994
USER
Which administrative territory is that administrative territory situated in ?
(Q405236,P17,c(Q15617994))
action filter_type
action find
entity Q405236
relation P17
type Q15617994
['Q405236', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q405236 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Belene
action filter_type
action find
entity Belene
relation country
type designation for an administrative territorial entity
['Belene', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Belene property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q219
SYSTEM
Bulgaria
Q219
(Q405236,P17,c(Q15617994))
action filter_type
action find
entity Q405236
relation P17
type Q15617994
That administrative territory is situated in [ANSWER]
['Q405236', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q405236 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Bulgaria
That administrative territory is situated in Bulgaria
Bulgaria
action filter_type
action find
entity Belene
relation country
type designation for an administrative territorial entity
['Belene', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Belene property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q219
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories are known to have diplomatic connections with Bulgaria ?
(c(Q15617994),P530,Q219) (c(Q1048835),P530,Q219)
action count
action union
action filter_type
action find_reverse
entity Q219
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q219
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', 'Q219'] [{'concept': 'Q1048835'}, 'P530', 'Q219']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
Bulgaria
action count
action union
action filter_type
action find_reverse
entity Bulgaria
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Bulgaria
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Bulgaria'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Bulgaria']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q rdf:type ?l . VALUES ( ?l ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
4
Q408 Q38 Q230 Q183
(c(Q15617994),P530,Q219) (c(Q1048835),P530,Q219)
action count
action union
action filter_type
action find_reverse
entity Q219
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q219
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q219'] [{'concept': 'Q1048835'}, 'P530', 'Q219']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
Australia Italy Georgia Germany
4
action count
action union
action filter_type
action find_reverse
entity Bulgaria
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Bulgaria
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Bulgaria'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Bulgaria']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q rdf:type ?l . VALUES ( ?l ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q817
P840
Q15617994 Q2342494 Q15416
USER
How many administrative territories are greater number of collectables and television programs set in than Kuwait ?
(c(Q2342494)|c(Q15416),P840,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q817
relation P840
type Q2342494
type Q15416
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ?w . VALUES ( ?w ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:P840 resource:Q817 . { { ?k rdf:type ontology:Q2342494 } UNION { ?k rdf:type ontology:Q15416 } } } } . FILTER ( ?n > ?l ) }
Kuwait
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Kuwait
relation narrative location
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ?w . VALUES ( ?w ) { ( ontology:collectable ) ( ontology:television_program ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:narrative_location resource:Kuwait . { { ?k rdf:type ontology:collectable } UNION { ?k rdf:type ontology:television_program } } } } . FILTER ( ?n > ?l ) }
[]
designation for an administrative territorial entity collectable television program
SYSTEM
80
Q805 Q801 Q20837 Q668 Q414 Q3278 Q142 Q55 Q1948 Q145 Q148 Q265 Q712 Q711 Q717 Q252 Q399 Q258 Q1979 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q858 Q822 Q241 Q1974 Q490398 Q33 Q30 Q36 Q39 Q38 Q58477 Q739 Q423 Q424 Q733 Q854 Q819 Q340628 Q230 Q20 Q1045 Q1044 Q1041 Q27 Q29 Q1027 Q2009 Q843 Q2007 Q511806 Q227 Q163966 Q223 Q96 Q17 Q191 Q963 Q298 Q750 Q213 Q218 Q219 Q20571 Q1210 Q1005 Q683 Q874 Q79 Q678 Q1952 Q869
(c(Q2342494)|c(Q15416),P840,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q817
relation P840
type Q2342494
type Q15416
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ?w . VALUES ( ?w ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:P840 resource:Q817 . { { ?k rdf:type ontology:Q2342494 } UNION { ?k rdf:type ontology:Q15416 } } } } . FILTER ( ?n > ?l ) }
Yemen Israel Fanø India Argentina Charente-Maritime France Netherlands Manitoba United Kingdom People's Republic of China Uzbekistan Fiji Mongolia Venezuela Indonesia Armenia South Africa Prince Edward Island Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Syria Lebanon Cuba British Columbia Peenemünde Finland United States of America Poland Switzerland Italy Capua Colombia North Korea Cambodia Paraguay Sri Lanka Laos Aggius Georgia Norway Somalia Sierra Leone Senegal Ireland Spain Mauritius Yukon Pakistan Northwest Territories North Slope Borough Azerbaijan Mitte Greenland Mexico Japan Estonia Botswana Chile Bolivia Czech Republic Romania Bulgaria Spoleto Lombardy Gambia Samoa Turkmenistan Egypt Tonga Nova Scotia Thailand
80
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Kuwait
relation narrative location
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ?w . VALUES ( ?w ) { ( ontology:collectable ) ( ontology:television_program ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:narrative_location resource:Kuwait . { { ?k rdf:type ontology:collectable } UNION { ?k rdf:type ontology:television_program } } } } . FILTER ( ?n > ?l ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q219
P495
Q15416 Q5159627
USER
How many television programs and confections are Bulgaria a country of origin of ?
(c(Q15416),P495,Q219) (c(Q5159627),P495,Q219)
action count
action union
action filter_type
action find_reverse
entity Q219
relation P495
type Q15416
action filter_type
action find_reverse
entity Q219
relation P495
type Q5159627
[{'concept': 'Q15416'}, 'P495', 'Q219'] [{'concept': 'Q5159627'}, 'P495', 'Q219']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { VALUES ( ?o ) { ( ontology:Q15416 ) ( ontology:Q5159627 ) } . ?b rdf:type ?o }
Bulgaria
action count
action union
action filter_type
action find_reverse
entity Bulgaria
relation country of origin
type television program
action filter_type
action find_reverse
entity Bulgaria
relation country of origin
type confection
[{'concept': 'television program'}, 'country of origin', 'Bulgaria'] [{'concept': 'confection'}, 'country of origin', 'Bulgaria']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { VALUES ( ?o ) { ( ontology:television_program ) ( ontology:confection ) } . ?b rdf:type ?o }
[]
television program confection
SYSTEM
7 television programs and 1 confections
Q11025986 Q17097825 Q5645693 Q482643 Q5036767 Q12291428 Q3441148 Q5521946
(c(Q15416),P495,Q219) (c(Q5159627),P495,Q219)
action count
action union
action filter_type
action find_reverse
entity Q219
relation P495
type Q15416
action filter_type
action find_reverse
entity Q219
relation P495
type Q5159627
[ANSWER]
[{'concept': 'Q15416'}, 'P495', 'Q219'] [{'concept': 'Q5159627'}, 'P495', 'Q219']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { VALUES ( ?o ) { ( ontology:Q15416 ) ( ontology:Q5159627 ) } . ?b rdf:type ?o }
Pod Prikritie Sofia Residents in Excess X Factor (Bulgarian TV series) Every Kilometer Captain Petko Voivode Priklucheniata na edin Arlekin Glass Home Garash cake
7 television programs and 1 confections
action count
action union
action filter_type
action find_reverse
entity Bulgaria
relation country of origin
type television program
action filter_type
action find_reverse
entity Bulgaria
relation country of origin
type confection
[{'concept': 'television program'}, 'country of origin', 'Bulgaria'] [{'concept': 'confection'}, 'country of origin', 'Bulgaria']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { VALUES ( ?o ) { ( ontology:television_program ) ( ontology:confection ) } . ?b rdf:type ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q219
P85
Q484692
USER
Which is the national anthem of that administrative territory ?
action filter_type
action find
entity Q219
relation P85
type Q484692
SELECT DISTINCT ?c WHERE { resource:Q219 property:P85 ?c . ?c rdf:type ontology:Q484692 }
Bulgaria
action filter_type
action find
entity Bulgaria
relation anthem
type hymn
SELECT DISTINCT ?c WHERE { resource:Bulgaria property:anthem ?c . ?c rdf:type ontology:hymn }
[]
hymn
Q182115
SYSTEM
Mila Rodino
Q182115
action filter_type
action find
entity Q219
relation P85
type Q484692
The national anthem of that administrative territory is the [ANSWER]
SELECT DISTINCT ?c WHERE { resource:Q219 property:P85 ?c . ?c rdf:type ontology:Q484692 }
Mila Rodino
The national anthem of that administrative territory is the Mila Rodino
Mila Rodino
action filter_type
action find
entity Bulgaria
relation anthem
type hymn
SELECT DISTINCT ?c WHERE { resource:Bulgaria property:anthem ?c . ?c rdf:type ontology:hymn }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q182115
P800
Q502895
USER
Which person has that hymn as a notable work ?
(c(Q502895),P800,Q182115)
action filter_type
action find_reverse
entity Q182115
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q182115']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P800 resource:Q182115 }
Mila Rodino
action filter_type
action find_reverse
entity Mila Rodino
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Mila Rodino']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:notable_work resource:Mila_Rodino }
[]
common name
Q721642
SYSTEM
Tsvetan Radoslavov
Q721642
(c(Q502895),P800,Q182115)
action filter_type
action find_reverse
entity Q182115
relation P800
type Q502895
[ANSWER] has that hymn as a notable work
[{'concept': 'Q502895'}, 'P800', 'Q182115']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P800 resource:Q182115 }
Tsvetan Radoslavov
Tsvetan Radoslavov has that hymn as a notable work
Tsvetan Radoslavov
action filter_type
action find_reverse
entity Mila Rodino
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Mila Rodino']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:notable_work resource:Mila_Rodino }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q721642
P676
Q484692
USER
Which hymn has its lyrics written by that person ?
(c(Q484692),P676,Q721642)
action filter_type
action find_reverse
entity Q721642
relation P676
type Q484692
[{'concept': 'Q484692'}, 'P676', 'Q721642']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q484692 . ?y property:P676 resource:Q721642 }
Tsvetan Radoslavov
action filter_type
action find_reverse
entity Tsvetan Radoslavov
relation lyrics by
type hymn
[{'concept': 'hymn'}, 'lyrics by', 'Tsvetan Radoslavov']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:hymn . ?y property:lyrics_by resource:Tsvetan_Radoslavov }
[]
hymn
Q182115
SYSTEM
Mila Rodino
Q182115
(c(Q484692),P676,Q721642)
action filter_type
action find_reverse
entity Q721642
relation P676
type Q484692
[ANSWER] has its lyrics written by that person
[{'concept': 'Q484692'}, 'P676', 'Q721642']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q484692 . ?y property:P676 resource:Q721642 }
Mila Rodino
Mila Rodino has its lyrics written by that person
Mila Rodino
action filter_type
action find_reverse
entity Tsvetan Radoslavov
relation lyrics by
type hymn
[{'concept': 'hymn'}, 'lyrics by', 'Tsvetan Radoslavov']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:hymn . ?y property:lyrics_by resource:Tsvetan_Radoslavov }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q721642
P21
Q290
USER
Which sex does that person belong to ?
(Q182115,P21,c(Q290))
action filter_type
action find
entity Q721642
relation P21
type Q290
['Q182115', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q721642 property:P21 ?t . ?t rdf:type ontology:Q290 }
Tsvetan Radoslavov
action filter_type
action find
entity Tsvetan Radoslavov
relation gender
type sex
['Mila Rodino', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Tsvetan_Radoslavov property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q182115,P21,c(Q290))
action filter_type
action find
entity Q721642
relation P21
type Q290
That person belongs to [ANSWER]
['Q182115', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q721642 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Tsvetan Radoslavov
relation gender
type sex
['Mila Rodino', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Tsvetan_Radoslavov property:gender ?t . ?t rdf:type ontology:sex }
[]