Simple Question (Direct)
Simple Question
Q5796463
P19
Q1048835
USER
Where was César del Villar y Villate born ?
(Q5796463,P19,c(Q1048835))
action filter_type
action find
entity Q5796463
relation P19
type Q1048835
['Q5796463', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q5796463 property:P19 ?d . ?d rdf:type ontology:Q1048835 }
César del Villar y Villate
action filter_type
action find
entity César del Villar y Villate
relation place of birth
type political territorial entity
['César del Villar y Villate', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:César_del_Villar_y_Villate property:place_of_birth ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q909707
SYSTEM
Sestao
Q909707
(Q5796463,P19,c(Q1048835))
action filter_type
action find
entity Q5796463
relation P19
type Q1048835
César del Villar y Villate was born en [ANSWER]
['Q5796463', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q5796463 property:P19 ?d . ?d rdf:type ontology:Q1048835 }
Sestao
César del Villar y Villate was born en Sestao
Sestao
action filter_type
action find
entity César del Villar y Villate
relation place of birth
type political territorial entity
['César del Villar y Villate', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:César_del_Villar_y_Villate property:place_of_birth ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5796463
P410
Q4189293
USER
Which is the title held by César del Villar y Villate ?
(Q5796463,P410,c(Q4189293))
action filter_type
action find
entity Q5796463
relation P410
type Q4189293
['Q5796463', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q4189293 . resource:Q5796463 property:P410 ?o }
César del Villar y Villate
action filter_type
action find
entity César del Villar y Villate
relation military rank
type title
['César del Villar y Villate', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:title . resource:César_del_Villar_y_Villate property:military_rank ?o }
[]
title
Q83460
SYSTEM
general officer
Q83460
(Q5796463,P410,c(Q4189293))
action filter_type
action find
entity Q5796463
relation P410
type Q4189293
[ANSWER] is the title held by César del Villar y Villate
['Q5796463', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q4189293 . resource:Q5796463 property:P410 ?o }
general officer
General officer is the title held by César del Villar y Villate
general officer
action filter_type
action find
entity César del Villar y Villate
relation military rank
type title
['César del Villar y Villate', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:title . resource:César_del_Villar_y_Villate property:military_rank ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q909707
P6
Q502895
USER
Which person does Sestao serve as the head of government for ?
(Q909707,P6,c(Q502895))
action filter_type
action find
entity Q909707
relation P6
type Q502895
['Q909707', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q909707 property:P6 ?j . ?j rdf:type ontology:Q502895 }
Sestao
action filter_type
action find
entity Sestao
relation head of government
type common name
['Sestao', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Sestao property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]
common name
Q14133473
SYSTEM
Josu Bergara López
Q14133473
(Q909707,P6,c(Q502895))
action filter_type
action find
entity Q909707
relation P6
type Q502895
[ANSWER] Sestao serves as the head of government
['Q909707', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q909707 property:P6 ?j . ?j rdf:type ontology:Q502895 }
Josu Bergara López
Josu Bergara López Sestao serves as the head of government
Josu Bergara López
action filter_type
action find
entity Sestao
relation head of government
type common name
['Sestao', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Sestao property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14133473
P1412
Q34770
USER
Which language can that person read ?
(Q14133473,P1412,c(Q34770))
action filter_type
action find
entity Q14133473
relation P1412
type Q34770
['Q14133473', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q14133473 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Josu Bergara López
action filter_type
action find
entity Josu Bergara López
relation languages spoken, written or signed
type language
['Josu Bergara López', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Josu_Bergara_López property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q14133473,P1412,c(Q34770))
action filter_type
action find
entity Q14133473
relation P1412
type Q34770
That person can read the [ANSWER]
['Q14133473', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q14133473 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Spanish
That person can read the Spanish
Spanish
action filter_type
action find
entity Josu Bergara López
relation languages spoken, written or signed
type language
['Josu Bergara López', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Josu_Bergara_López property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q9779 Q34770
USER
How many alphabets are utilized as the script for around 1 language ?
(c(Q34770),P282,c(Q9779))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:P282 ?t . ?t rdf:type ontology:Q9779 . ?b rdf:type ontology:Q34770 } GROUP BY ?t } }
action count
action approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:writing_system ?t . ?t rdf:type ontology:alphabet . ?b rdf:type ontology:language } GROUP BY ?t } }
[]
alphabet language
SYSTEM
14
Q164436 Q754989 Q792216 Q606972 Q187846 Q829464 Q13405127 Q550383 Q1937113 Q442244 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,c(Q9779))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
value 1
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:P282 ?t . ?t rdf:type ontology:Q9779 . ?b rdf:type ontology:Q34770 } GROUP BY ?t } }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Serbian Cyrillic alphabet Rusyn alphabet Italian alphabet futhark Early Cyrillic alphabet Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
14
action count
action approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:writing_system ?t . ?t rdf:type ontology:alphabet . ?b rdf:type ontology:language } GROUP BY ?t } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q909707
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Sestao ?
(Q909707,P1313,c(Q12737077))
action filter_type
action find
entity Q909707
relation P1313
type Q12737077
['Q909707', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q909707 property:P1313 ?e }
Sestao
action filter_type
action find
entity Sestao
relation office held by head of government
type occupation
['Sestao', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Sestao property:office_held_by_head_of_government ?e }
[]
occupation
Q26700951
SYSTEM
mayor of Sestao
Q26700951
(Q909707,P1313,c(Q12737077))
action filter_type
action find
entity Q909707
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Sestao
['Q909707', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q909707 property:P1313 ?e }
mayor of Sestao
The mayor of Sestao serves as the political office that is fulfilled by the head of the government of Sestao
mayor of Sestao
action filter_type
action find
entity Sestao
relation office held by head of government
type occupation
['Sestao', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Sestao property:office_held_by_head_of_government ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q909707
P1001
Q12737077
USER
Which occupation has jurisdiction over Sestao ?
(c(Q12737077),P1001,Q909707)
action filter_type
action find_reverse
entity Q909707
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q909707']
SELECT DISTINCT ?u WHERE { ?u property:P1001 resource:Q909707 . ?u rdf:type ontology:Q12737077 }
Sestao
action filter_type
action find_reverse
entity Sestao
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Sestao']
SELECT DISTINCT ?u WHERE { ?u property:applies_to_jurisdiction resource:Sestao . ?u rdf:type ontology:occupation }
[]
occupation
Q26700951
SYSTEM
mayor of Sestao
Q26700951
(c(Q12737077),P1001,Q909707)
action filter_type
action find_reverse
entity Q909707
relation P1001
type Q12737077
The [ANSWER] has jurisdiction over Sestao
[{'concept': 'Q12737077'}, 'P1001', 'Q909707']
SELECT DISTINCT ?u WHERE { ?u property:P1001 resource:Q909707 . ?u rdf:type ontology:Q12737077 }
mayor of Sestao
The mayor of Sestao has jurisdiction over Sestao
mayor of Sestao
action filter_type
action find_reverse
entity Sestao
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Sestao']
SELECT DISTINCT ?u WHERE { ?u property:applies_to_jurisdiction resource:Sestao . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q909707
P47
Q56061
USER
Which administrative territory has a shared border with Sestao ?
(Q909707,P47,c(Q56061))
action filter_type
action find
entity Q909707
relation P47
type Q56061
['Q909707', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q909707 property:P47 ?b . ?b rdf:type ontology:Q56061 }
Sestao
action filter_type
action find
entity Sestao
relation shares border with
type administrative territorial entity
['Sestao', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Sestao property:shares_border_with ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q548441
SYSTEM
Portugalete
Q548441
(Q909707,P47,c(Q56061))
action filter_type
action find
entity Q909707
relation P47
type Q56061
[ANSWER] has a shared border with Sestao
['Q909707', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q909707 property:P47 ?b . ?b rdf:type ontology:Q56061 }
Portugalete
Portugalete has a shared border with Sestao
Portugalete
action filter_type
action find
entity Sestao
relation shares border with
type administrative territorial entity
['Sestao', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Sestao property:shares_border_with ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q548441
P17
Q15617994
USER
Which administrative territory is that administrative territory present in ?
(Q548441,P17,c(Q15617994))
action filter_type
action find
entity Q548441
relation P17
type Q15617994
['Q548441', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q548441 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Portugalete
action filter_type
action find
entity Portugalete
relation country
type designation for an administrative territorial entity
['Portugalete', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Portugalete property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q548441,P17,c(Q15617994))
action filter_type
action find
entity Q548441
relation P17
type Q15617994
That administrative territory is in [ANSWER]
['Q548441', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q548441 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Spain
That administrative territory is in Spain
Spain
action filter_type
action find
entity Portugalete
relation country
type designation for an administrative territorial entity
['Portugalete', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Portugalete property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q548441
P20
Q502895
USER
Which people have that administrative territory as the location of death ?
(c(Q502895),P20,Q29)
action filter_type
action find_reverse
entity Q548441
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q29']
SELECT DISTINCT ?w WHERE { ?w property:P20 resource:Q548441 . ?w rdf:type ontology:Q502895 }
Portugalete
action filter_type
action find_reverse
entity Portugalete
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Spain']
SELECT DISTINCT ?w WHERE { ?w property:place_of_death resource:Portugalete . ?w rdf:type ontology:common_name }
[]
common name
Q3324820 Q8772341 Q5889254
SYSTEM
Eusebio Ríos, Eduardo López Albizu, Gumersindo Vicuña y Lazcano
Q8772341 Q12259835 Q3324820 Q17157154 Q5889254 Q5952683
(c(Q502895),P20,Q29)
action filter_type
action find_reverse
entity Q548441
relation P20
type Q502895
[ANSWERS] have that administrative territory as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q29']
SELECT DISTINCT ?w WHERE { ?w property:P20 resource:Q548441 . ?w rdf:type ontology:Q502895 }
Eduardo López Albizu Ismael Fidalgo Eusebio Ríos Ramón de Vicuña Gumersindo Vicuña y Lazcano Juan Tomás Gandarias
Eusebio Ríos, Eduardo López Albizu and Gumersindo Vicuña y Lazcano have that administrative territory as the location of death
Eusebio Ríos Eduardo López Albizu Gumersindo Vicuña y Lazcano
action filter_type
action find_reverse
entity Portugalete
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Spain']
SELECT DISTINCT ?w WHERE { ?w property:place_of_death resource:Portugalete . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3324820
P27
Q15617994
USER
Which administrative territory does Eusebio Ríos belong to ?
(Q3324820,P27,c(Q15617994))
action filter_type
action find
entity Q3324820
relation P27
type Q15617994
['Q3324820', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3324820 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Eusebio Ríos
action filter_type
action find
entity Eusebio Ríos
relation country of citizenship
type designation for an administrative territorial entity
['Eusebio Ríos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Eusebio_Ríos property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q3324820,P27,c(Q15617994))
action filter_type
action find
entity Q3324820
relation P27
type Q15617994
Eusebio Ríos belongs to [ANSWER]
['Q3324820', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3324820 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Spain
Eusebio Ríos belongs to Spain
Spain
action filter_type
action find
entity Eusebio Ríos
relation country of citizenship
type designation for an administrative territorial entity
['Eusebio Ríos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Eusebio_Ríos property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q8017345
Q15617994
USER
And how about William Ramsay?
(Q8017345,P27,c(Q15617994))
action filter_type
action find
entity Q8017345
relation P27
type Q15617994
['Q8017345', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q8017345 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
William Ramsay
action filter_type
action find
entity William Ramsay
relation country of citizenship
type designation for an administrative territorial entity
['William Ramsay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:William_Ramsay property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q8017345,P27,c(Q15617994))
action filter_type
action find
entity Q8017345
relation P27
type Q15617994
[ANSWER]
['Q8017345', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q8017345 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action find
entity William Ramsay
relation country of citizenship
type designation for an administrative territorial entity
['William Ramsay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:William_Ramsay property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]