Simple Question (Direct)
Simple Question
Q11928081
P27
Q15617994
USER
Which administrative territory is Joaquim Castellarnau i Balcells a civilian of ?
(Q11928081,P27,c(Q15617994))
action filter_type
action find
entity Q11928081
relation P27
type Q15617994
['Q11928081', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q11928081 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Joaquim Castellarnau i Balcells
action filter_type
action find
entity Joaquim Castellarnau i Balcells
relation country of citizenship
type designation for an administrative territorial entity
['Joaquim Castellarnau i Balcells', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Joaquim_Castellarnau_i_Balcells property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q11928081,P27,c(Q15617994))
action filter_type
action find
entity Q11928081
relation P27
type Q15617994
[ANSWER] is Joaquim Castellarnau i Balcells a civilian of
['Q11928081', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q11928081 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Spain
Spain is Joaquim Castellarnau i Balcells a civilian of
Spain
action filter_type
action find
entity Joaquim Castellarnau i Balcells
relation country of citizenship
type designation for an administrative territorial entity
['Joaquim Castellarnau i Balcells', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Joaquim_Castellarnau_i_Balcells property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P35
Q502895
USER
Which people are the heads of state of that administrative territory ?
(Q29,P35,c(Q502895))
action filter_type
action find
entity Q29
relation P35
type Q502895
['Q29', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q29 property:P35 ?t . ?t rdf:type ontology:Q502895 }
Spain
action filter_type
action find
entity Spain
relation head of state
type common name
['Spain', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Spain property:head_of_state ?t . ?t rdf:type ontology:common_name }
[]
common name
Q191045 Q19943
SYSTEM
Felipe VI, Juan Carlos I
Q191045 Q19943
(Q29,P35,c(Q502895))
action filter_type
action find
entity Q29
relation P35
type Q502895
[ANSWERS] are the heads of state of that administrative territory
['Q29', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q29 property:P35 ?t . ?t rdf:type ontology:Q502895 }
Felipe VI Juan Carlos I
Felipe VI and Juan Carlos I are the heads of state of that administrative territory
Felipe VI Juan Carlos I
action filter_type
action find
entity Spain
relation head of state
type common name
['Spain', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Spain property:head_of_state ?t . ?t rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7228356
P35
Q15617994
USER
Are those people the head of state of Pontotoc County School District ?
(Q7228356,P35,Q191045) (Q7228356,P35,Q19943)
action is_in
entity prev_answer
action find
entity Q7228356
relation P35
['Q7228356', 'P35', 'Q191045'] ['Q7228356', 'P35', 'Q19943']
ASK WHERE { VALUES ( ?j ) { ( resource:Q191045 ) ( resource:Q19943 ) } . resource:Q7228356 property:P35 ?j }
Pontotoc County School District
action is_in
entity prev_answer
action find
entity Pontotoc County School District
relation head of state
['Pontotoc County School District', 'head of state', 'Felipe VI'] ['Pontotoc County School District', 'head of state', 'Juan Carlos I']
ASK WHERE { VALUES ( ?j ) { ( resource:Felipe_VI ) ( resource:Juan_Carlos_I ) } . resource:Pontotoc_County_School_District property:head_of_state ?j }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7228356,P35,Q191045) (Q7228356,P35,Q19943)
action is_in
entity prev_answer
action find
entity Q7228356
relation P35
[ANSWER]
['Q7228356', 'P35', 'Q191045'] ['Q7228356', 'P35', 'Q19943']
ASK WHERE { VALUES ( ?j ) { ( resource:Q191045 ) ( resource:Q19943 ) } . resource:Q7228356 property:P35 ?j }
No
action is_in
entity prev_answer
action find
entity Pontotoc County School District
relation head of state
['Pontotoc County School District', 'head of state', 'Felipe VI'] ['Pontotoc County School District', 'head of state', 'Juan Carlos I']
ASK WHERE { VALUES ( ?j ) { ( resource:Felipe_VI ) ( resource:Juan_Carlos_I ) } . resource:Pontotoc_County_School_District property:head_of_state ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19943
P7
Q502895
USER
Who are siblings of Juan Carlos I ?
(c(Q502895),P7,Q19943)
action filter_type
action find_reverse
entity Q19943
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q19943']
SELECT DISTINCT ?b WHERE { ?b property:P7 resource:Q19943 . ?b rdf:type ontology:Q502895 }
Juan Carlos I
action filter_type
action find_reverse
entity Juan Carlos I
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Juan Carlos I']
SELECT DISTINCT ?b WHERE { ?b property:brother resource:Juan_Carlos_I . ?b rdf:type ontology:common_name }
[]
common name
Q237165 Q240580 Q704310
SYSTEM
Infanta Margarita, Duchess of Soria, Infanta Pilar, Duchess of Badajoz, Infante Alfonso of Spain
Q237165 Q240580 Q704310
(c(Q502895),P7,Q19943)
action filter_type
action find_reverse
entity Q19943
relation P7
type Q502895
Siblings of Juan Carlos I are [ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q19943']
SELECT DISTINCT ?b WHERE { ?b property:P7 resource:Q19943 . ?b rdf:type ontology:Q502895 }
Infanta Margarita, Duchess of Soria Infanta Pilar, Duchess of Badajoz Infante Alfonso of Spain
Siblings of Juan Carlos I are Infanta Margarita, Duchess of Soria, Infanta Pilar, Duchess of Badajoz and Infante Alfonso of Spain
Infanta Margarita, Duchess of Soria Infanta Pilar, Duchess of Badajoz Infante Alfonso of Spain
action filter_type
action find_reverse
entity Juan Carlos I
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Juan Carlos I']
SELECT DISTINCT ?b WHERE { ?b property:brother resource:Juan_Carlos_I . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q237165 Q240580 Q704310
P40
Q502895
USER
Who have those ones as an offspring ?
(c(Q502895),P40,Q237165) (c(Q502895),P40,Q240580) (c(Q502895),P40,Q704310)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q237165'] [{'concept': 'Q502895'}, 'P40', 'Q240580'] [{'concept': 'Q502895'}, 'P40', 'Q704310']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . VALUES ( ?p ) { ( resource:Q237165 ) ( resource:Q240580 ) ( resource:Q704310 ) } . ?k property:P40 ?p }
Infanta Margarita, Duchess of Soria Infanta Pilar, Duchess of Badajoz Infante Alfonso of Spain
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Infanta Margarita, Duchess of Soria'] [{'concept': 'common name'}, 'child', 'Infanta Pilar, Duchess of Badajoz'] [{'concept': 'common name'}, 'child', 'Infante Alfonso of Spain']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . VALUES ( ?p ) { ( resource:Infanta_Margarita,_Duchess_of_Soria ) ( resource:Infanta_Pilar,_Duchess_of_Badajoz ) ( resource:Infante_Alfonso_of_Spain ) } . ?k property:child ?p }
[]
common name
Q313857 Q313857 Q313857
SYSTEM
Infante Juan, Count of Barcelona
Q313857 Q235128 Q313857 Q235128 Q313857 Q235128
(c(Q502895),P40,Q237165) (c(Q502895),P40,Q240580) (c(Q502895),P40,Q704310)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWERS], [ANSWERS] and [ANSWERS] have those ones as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q237165'] [{'concept': 'Q502895'}, 'P40', 'Q240580'] [{'concept': 'Q502895'}, 'P40', 'Q704310']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . VALUES ( ?p ) { ( resource:Q237165 ) ( resource:Q240580 ) ( resource:Q704310 ) } . ?k property:P40 ?p }
Infante Juan, Count of Barcelona Princess María de las Mercedes of Bourbon-Two Sicilies Infante Juan, Count of Barcelona Princess María de las Mercedes of Bourbon-Two Sicilies Infante Juan, Count of Barcelona Princess María de las Mercedes of Bourbon-Two Sicilies
Infante Juan, Count of Barcelona, Infante Juan, Count of Barcelona and Infante Juan, Count of Barcelona have those ones as an offspring
Infante Juan, Count of Barcelona Infante Juan, Count of Barcelona Infante Juan, Count of Barcelona
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Infanta Margarita, Duchess of Soria'] [{'concept': 'common name'}, 'child', 'Infanta Pilar, Duchess of Badajoz'] [{'concept': 'common name'}, 'child', 'Infante Alfonso of Spain']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . VALUES ( ?p ) { ( resource:Infanta_Margarita,_Duchess_of_Soria ) ( resource:Infanta_Pilar,_Duchess_of_Badajoz ) ( resource:Infante_Alfonso_of_Spain ) } . ?k property:child ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q191045
P166
Q618779
USER
Which awards were Felipe VI awarded with ?
(Q191045,P166,c(Q618779))
action filter_type
action find
entity Q191045
relation P166
type Q618779
['Q191045', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?n WHERE { resource:Q191045 property:P166 ?n . ?n rdf:type ontology:Q618779 }
Felipe VI
action filter_type
action find
entity Felipe VI
relation award received
type award
['Felipe VI', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?n WHERE { resource:Felipe_VI property:award_received ?n . ?n rdf:type ontology:award }
[]
award
Q94345 Q950604
SYSTEM
Order of St. Olav, Order of the Star of Romania
Q94345 Q950604
(Q191045,P166,c(Q618779))
action filter_type
action find
entity Q191045
relation P166
type Q618779
The [ANSWERS] were Felipe VI awarded with
['Q191045', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?n WHERE { resource:Q191045 property:P166 ?n . ?n rdf:type ontology:Q618779 }
Order of St. Olav Order of the Star of Romania
The Order of St. Olav and Order of the Star of Romania were Felipe VI awarded with
Order of St. Olav Order of the Star of Romania
action filter_type
action find
entity Felipe VI
relation award received
type award
['Felipe VI', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?n WHERE { resource:Felipe_VI property:award_received ?n . ?n rdf:type ontology:award }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q191045
Q2003221
USER
And which chivalric order?
(Q191045,P166,c(Q2003221))
action filter_type
action find
entity Q191045
relation P166
type Q2003221
['Q191045', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?q WHERE { resource:Q191045 property:P166 ?q . ?q rdf:type ontology:Q2003221 }
Felipe VI
action filter_type
action find
entity Felipe VI
relation award received
type chivalric order
['Felipe VI', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?q WHERE { resource:Felipe_VI property:award_received ?q . ?q rdf:type ontology:chivalric_order }
[]
chivalric order
Q15117228
SYSTEM
Knight of the Order of the Golden Fleece
Q15117228
(Q191045,P166,c(Q2003221))
action filter_type
action find
entity Q191045
relation P166
type Q2003221
[ANSWER]
['Q191045', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?q WHERE { resource:Q191045 property:P166 ?q . ?q rdf:type ontology:Q2003221 }
Knight of the Order of the Golden Fleece
Knight of the Order of the Golden Fleece
action filter_type
action find
entity Felipe VI
relation award received
type chivalric order
['Felipe VI', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?q WHERE { resource:Felipe_VI property:award_received ?q . ?q rdf:type ontology:chivalric_order }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P166
Q2003221 Q502895
USER
Which chivalric orders were won by around the same number of people as that chivalric order ?
(c(Q502895),P166,c(Q2003221))
action approx
action find_reverse_tuple_counts
relation P166
type Q2003221
type Q502895
action count
action filter_type
action find
entity Q15117228
relation P166
type Q2003221
[{'concept': 'Q502895'}, 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?q ) WHERE { ?h rdf:type ontology:Q2003221 . ?x rdf:type ontology:Q502895 . ?x property:P166 ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Q15117228 property:P166 ?l . ?l rdf:type ontology:Q2003221 } } . FILTER ( ?q = ?s ) }
action approx
action find_reverse_tuple_counts
relation award received
type chivalric order
type common name
action count
action filter_type
action find
entity Knight of the Order of the Golden Fleece
relation award received
type chivalric order
[{'concept': 'common name'}, 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?q ) WHERE { ?h rdf:type ontology:chivalric_order . ?x rdf:type ontology:common_name . ?x property:award_received ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Knight_of_the_Order_of_the_Golden_Fleece property:award_received ?l . ?l rdf:type ontology:chivalric_order } } . FILTER ( ?q = ?s ) }
[]
chivalric order common name
Q12177451 Q20826514 Q12177471
SYSTEM
Knight Grand Cross of the Order of the Bath, Knight of the Royal Guelphic Order, Dame Commander of the Order of the Bath
Q11599352 Q15093536 Q12177451 Q11598688 Q20826514 Q12177471 Q12201434 Q12177415 Q12177413 Q12198181 Q11609173 Q11598948 Q15117228 Q12201378 Q12201445 Q918601 Q12177470 Q12177467 Q16943677 Q12177423 Q12177420 Q12198093 Q12177424
(c(Q502895),P166,c(Q2003221))
action approx
action find_reverse_tuple_counts
relation P166
type Q2003221
type Q502895
action count
action filter_type
action find
entity Q15117228
relation P166
type Q2003221
[ANSWERS] were won by around the same number of people as that chivalric order
[{'concept': 'Q502895'}, 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?q ) WHERE { ?h rdf:type ontology:Q2003221 . ?x rdf:type ontology:Q502895 . ?x property:P166 ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Q15117228 property:P166 ?l . ?l rdf:type ontology:Q2003221 } } . FILTER ( ?q = ?s ) }
chevalier de l'ordre du Saint-Esprit Knight of St. Patrick Knight Grand Cross of the Order of the Bath officier de l'ordre du Saint-Esprit Knight of the Royal Guelphic Order Dame Commander of the Order of the Bath Dame Commander of the Order of the British Empire Knight Commander of the Order of St Michael and St George Companion of the Order of St Michael and St George Knight of the Garter Knight in the order of Saint-Michel Commander of the Order of the Holy Spirit Knight of the Order of the Golden Fleece Knight Grand Cross of the Order of the British Empire Knight Commander of the Order of the British Empire British Empire Medal Knight Commander of the Order of the Bath Dame Grand Cross of the Order of the Bath Dame Grand Cross of the Order of the British Empire Knight Grand Cross of the Order of St Michael and St George Dame Commander of the Order of St Michael and St George Lady of the Garter Dame Grand Cross of the Order of St Michael and St George
Knight Grand Cross of the Order of the Bath, Knight of the Royal Guelphic Order and Dame Commander of the Order of the Bath were won by around the same number of people as that chivalric order
Knight Grand Cross of the Order of the Bath Knight of the Royal Guelphic Order Dame Commander of the Order of the Bath
action approx
action find_reverse_tuple_counts
relation award received
type chivalric order
type common name
action count
action filter_type
action find
entity Knight of the Order of the Golden Fleece
relation award received
type chivalric order
[{'concept': 'common name'}, 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?q ) WHERE { ?h rdf:type ontology:chivalric_order . ?x rdf:type ontology:common_name . ?x property:award_received ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Knight_of_the_Order_of_the_Golden_Fleece property:award_received ?l . ?l rdf:type ontology:chivalric_order } } . FILTER ( ?q = ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P162
Q838948
USER
Which work of art has been developed by Spain ?
(c(Q838948),P162,Q29)
action filter_type
action find_reverse
entity Q29
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q29']
SELECT DISTINCT ?f WHERE { ?f property:P162 resource:Q29 . ?f rdf:type ontology:Q838948 }
Spain
action filter_type
action find_reverse
entity Spain
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Spain']
SELECT DISTINCT ?f WHERE { ?f property:producer resource:Spain . ?f rdf:type ontology:work_of_art }
[]
work of art
Q2933446
SYSTEM
Calabuch
Q2933446
(c(Q838948),P162,Q29)
action filter_type
action find_reverse
entity Q29
relation P162
type Q838948
[ANSWER] has been developed by Spain
[{'concept': 'Q838948'}, 'P162', 'Q29']
SELECT DISTINCT ?f WHERE { ?f property:P162 resource:Q29 . ?f rdf:type ontology:Q838948 }
Calabuch
Calabuch has been developed by Spain
Calabuch
action filter_type
action find_reverse
entity Spain
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Spain']
SELECT DISTINCT ?f WHERE { ?f property:producer resource:Spain . ?f rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2933446
P364
Q34770
USER
Which language was used originally for the creation of that work of art ?
(Q2933446,P364,c(Q34770))
action filter_type
action find
entity Q2933446
relation P364
type Q34770
['Q2933446', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . resource:Q2933446 property:P364 ?j }
Calabuch
action filter_type
action find
entity Calabuch
relation original language of work
type language
['Calabuch', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . resource:Calabuch property:original_language_of_work ?j }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q2933446,P364,c(Q34770))
action filter_type
action find
entity Q2933446
relation P364
type Q34770
[ANSWER] was used originally for the creation of that work of art
['Q2933446', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . resource:Q2933446 property:P364 ?j }
Spanish
Spanish was used originally for the creation of that work of art
Spanish
action filter_type
action find
entity Calabuch
relation original language of work
type language
['Calabuch', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . resource:Calabuch property:original_language_of_work ?j }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P37
Q34770 Q1048835
USER
How many political territories designates approximately 1 language as their official language ?
(c(Q1048835),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q1048835
type Q34770
value 1
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?c ) WHERE { ?j property:P37 ?f . ?j rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q34770 } GROUP BY ?j } }
action count
action approx
action find_tuple_counts
relation official language
type political territorial entity
type language
value 1
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?c ) WHERE { ?j property:official_language ?f . ?j rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:language } GROUP BY ?j } }
[]
language political territorial entity
SYSTEM
40
Q127167 Q193714 Q691 Q686790 Q785 Q769 Q763 Q917883 Q35086 Q766 Q9676 Q1054923 Q52626 Q5720 Q664 Q13353 Q37362 Q1771153 Q5705 Q13786 Q16 Q5785 Q624511 Q15601 Q1628531 Q649612 Q685 Q778 Q25228 Q4474 Q408 Q1631311 Q1444150 Q9648 Q643919 Q1644430 Q23635 Q781 Q1907203 Q1769772
(c(Q1048835),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q1048835
type Q34770
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?c ) WHERE { ?j property:P37 ?f . ?j rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q34770 } GROUP BY ?j } }
Western Cape Mandatory Palestine Papua New Guinea Mediona Jersey Grenada Saint Kitts and Nevis Molina de Segura South Georgia and the South Sandwich Islands Jamaica Isle of Man British Hong Kong Formentera Valencian Country New Zealand Montserrat Akrotiri and Dhekelia Albuixech Catalonia Cebu Canada Cayman Islands Aracena Corbera de Llobregat Quintanar de la Orden Coca, Segovia Solomon Islands The Bahamas Anguilla Ortuella Australia Cuéllar Alboloduy Falkland Islands Torfaen County Borough Monreal del Campo Bermuda Antigua and Barbuda San Miguel del Arroyo Bierge
40
action count
action approx
action find_tuple_counts
relation official language
type political territorial entity
type language
value 1
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?c ) WHERE { ?j property:official_language ?f . ?j rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:language } GROUP BY ?j } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q191045
P19
Q56061
USER
How many administrative territories are the places of birth of Felipe VI ?
(Q191045,P19,c(Q56061))
action count
action filter_type
action find
entity Q191045
relation P19
type Q56061
['Q191045', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { resource:Q191045 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Felipe VI
action count
action filter_type
action find
entity Felipe VI
relation place of birth
type administrative territorial entity
['Felipe VI', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { resource:Felipe_VI property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q2807
(Q191045,P19,c(Q56061))
action count
action filter_type
action find
entity Q191045
relation P19
type Q56061
[ANSWER]
['Q191045', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { resource:Q191045 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Madrid
1
action count
action filter_type
action find
entity Felipe VI
relation place of birth
type administrative territorial entity
['Felipe VI', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { resource:Felipe_VI property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1029463
P19
Q56061
USER
And also tell me about Meinhard von Zallinger?
(Q1029463,P19,c(Q56061))
action count
action filter_type
action find
entity Q1029463
relation P19
type Q56061
['Q1029463', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { ?z rdf:type ontology:Q56061 . resource:Q1029463 property:P19 ?z }
Meinhard von Zallinger
action count
action filter_type
action find
entity Meinhard von Zallinger
relation place of birth
type administrative territorial entity
['Meinhard von Zallinger', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Meinhard_von_Zallinger property:place_of_birth ?z }
[]
administrative territorial entity
SYSTEM
1
Q1741
(Q1029463,P19,c(Q56061))
action count
action filter_type
action find
entity Q1029463
relation P19
type Q56061
[ANSWER]
['Q1029463', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { ?z rdf:type ontology:Q56061 . resource:Q1029463 property:P19 ?z }
Vienna
1
action count
action filter_type
action find
entity Meinhard von Zallinger
relation place of birth
type administrative territorial entity
['Meinhard von Zallinger', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Meinhard_von_Zallinger property:place_of_birth ?z }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q17180709
Q56061
USER
And also tell me about Xenofon Koutsioumpas?
(Q17180709,P19,c(Q56061))
action count
action filter_type
action find
entity Q17180709
relation P19
type Q56061
['Q17180709', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { resource:Q17180709 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Xenofon Koutsioumpas
action count
action filter_type
action find
entity Xenofon Koutsioumpas
relation place of birth
type administrative territorial entity
['Xenofon Koutsioumpas', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { resource:Xenofon_Koutsioumpas property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q17180709,P19,c(Q56061))
action count
action filter_type
action find
entity Q17180709
relation P19
type Q56061
[ANSWER]
['Q17180709', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { resource:Q17180709 property:P19 ?i . ?i rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Xenofon Koutsioumpas
relation place of birth
type administrative territorial entity
['Xenofon Koutsioumpas', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { resource:Xenofon_Koutsioumpas property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]