Simple Question (Direct)
Simple Question
Q3396165
P140
Q874405
USER
What is the religious affiliation of Domingo de Basavilbaso ?
(Q3396165,P140,c(Q874405))
action filter_type
action find
entity Q3396165
relation P140
type Q874405
['Q3396165', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?a WHERE { resource:Q3396165 property:P140 ?a . ?a rdf:type ontology:Q874405 }
Domingo de Basavilbaso
action filter_type
action find
entity Domingo de Basavilbaso
relation religion
type social group
['Domingo de Basavilbaso', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?a WHERE { resource:Domingo_de_Basavilbaso property:religion ?a . ?a rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q3396165,P140,c(Q874405))
action filter_type
action find
entity Q3396165
relation P140
type Q874405
The religious affiliation of Domingo de Basavilbaso is Roman [ANSWER]
['Q3396165', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?a WHERE { resource:Q3396165 property:P140 ?a . ?a rdf:type ontology:Q874405 }
Catholicism
The religious affiliation of Domingo de Basavilbaso is Roman Catholicism
Catholicism
action filter_type
action find
entity Domingo de Basavilbaso
relation religion
type social group
['Domingo de Basavilbaso', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?a WHERE { resource:Domingo_de_Basavilbaso property:religion ?a . ?a rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3396165
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Domingo de Basavilbaso ?
(Q3396165,P27,c(Q15617994))
action filter_type
action find
entity Q3396165
relation P27
type Q15617994
['Q3396165', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3396165 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Domingo de Basavilbaso
action filter_type
action find
entity Domingo de Basavilbaso
relation country of citizenship
type designation for an administrative territorial entity
['Domingo de Basavilbaso', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Domingo_de_Basavilbaso property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q414
SYSTEM
Spain, Argentina
Q29 Q414
(Q3396165,P27,c(Q15617994))
action filter_type
action find
entity Q3396165
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Domingo de Basavilbaso
['Q3396165', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3396165 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Spain Argentina
Spain and Argentina are the countries of citizenship of Domingo de Basavilbaso
Spain Argentina
action filter_type
action find
entity Domingo de Basavilbaso
relation country of citizenship
type designation for an administrative territorial entity
['Domingo de Basavilbaso', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Domingo_de_Basavilbaso property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3396165
P20
Q515
USER
Which city is the place of death of that person ?
(Q29,P20,c(Q515)) (Q414,P20,c(Q515))
action filter_type
action find
entity Q3396165
relation P20
type Q515
['Q29', 'P20', {'concept': 'Q515'}] ['Q414', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { resource:Q3396165 property:P20 ?g . ?g rdf:type ontology:Q515 }
Domingo de Basavilbaso
action filter_type
action find
entity Domingo de Basavilbaso
relation place of death
type city
['Spain', 'place of death', {'concept': 'city'}] ['Argentina', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { resource:Domingo_de_Basavilbaso property:place_of_death ?g . ?g rdf:type ontology:city }
[]
city
Q1486
SYSTEM
Buenos Aires
Q1486
(Q29,P20,c(Q515)) (Q414,P20,c(Q515))
action filter_type
action find
entity Q3396165
relation P20
type Q515
[ANSWER] is the place of death of that person
['Q29', 'P20', {'concept': 'Q515'}] ['Q414', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { resource:Q3396165 property:P20 ?g . ?g rdf:type ontology:Q515 }
Buenos Aires
Buenos Aires is the place of death of that person
Buenos Aires
action filter_type
action find
entity Domingo de Basavilbaso
relation place of death
type city
['Spain', 'place of death', {'concept': 'city'}] ['Argentina', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { resource:Domingo_de_Basavilbaso property:place_of_death ?g . ?g rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3396165
P19
Q1048835
USER
Which political territory is the place of birth of that person ?
(Q1486,P19,c(Q1048835))
action filter_type
action find
entity Q3396165
relation P19
type Q1048835
['Q1486', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q3396165 property:P19 ?j . ?j rdf:type ontology:Q1048835 }
Domingo de Basavilbaso
action filter_type
action find
entity Domingo de Basavilbaso
relation place of birth
type political territorial entity
['Buenos Aires', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Domingo_de_Basavilbaso property:place_of_birth ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q676903
SYSTEM
Laudio/Llodio
Q676903
(Q1486,P19,c(Q1048835))
action filter_type
action find
entity Q3396165
relation P19
type Q1048835
[ANSWER] is the place of birth of that person
['Q1486', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q3396165 property:P19 ?j . ?j rdf:type ontology:Q1048835 }
Laudio/Llodio
Laudio/Llodio is the place of birth of that person
Laudio/Llodio
action filter_type
action find
entity Domingo de Basavilbaso
relation place of birth
type political territorial entity
['Buenos Aires', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Domingo_de_Basavilbaso property:place_of_birth ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q676903
P1001
Q12737077
USER
Which occupation has jurisdiction over that political territory ?
(c(Q12737077),P1001,Q676903)
action filter_type
action find_reverse
entity Q676903
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q676903']
SELECT DISTINCT ?p WHERE { ?p property:P1001 resource:Q676903 . ?p rdf:type ontology:Q12737077 }
Laudio/Llodio
action filter_type
action find_reverse
entity Laudio/Llodio
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Laudio/Llodio']
SELECT DISTINCT ?p WHERE { ?p property:applies_to_jurisdiction resource:Laudio/Llodio . ?p rdf:type ontology:occupation }
[]
occupation
Q26699600
SYSTEM
mayor of Llodio
Q26699600
(c(Q12737077),P1001,Q676903)
action filter_type
action find_reverse
entity Q676903
relation P1001
type Q12737077
The [ANSWER] has jurisdiction over that political territory
[{'concept': 'Q12737077'}, 'P1001', 'Q676903']
SELECT DISTINCT ?p WHERE { ?p property:P1001 resource:Q676903 . ?p rdf:type ontology:Q12737077 }
mayor of Llodio
The mayor of Llodio has jurisdiction over that political territory
mayor of Llodio
action filter_type
action find_reverse
entity Laudio/Llodio
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Laudio/Llodio']
SELECT DISTINCT ?p WHERE { ?p property:applies_to_jurisdiction resource:Laudio/Llodio . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q676903
P47
Q1048835
USER
Which political territories do Laudio/Llodio share a border with ?
(c(Q1048835),P47,Q676903)
action filter_type
action find_reverse
entity Q676903
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q676903']
SELECT DISTINCT ?f WHERE { ?f property:P47 resource:Q676903 . ?f rdf:type ontology:Q1048835 }
Laudio/Llodio
action filter_type
action find_reverse
entity Laudio/Llodio
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Laudio/Llodio']
SELECT DISTINCT ?f WHERE { ?f property:shares_border_with resource:Laudio/Llodio . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q726664 Q1368772 Q670080
SYSTEM
Orozko, Ayala/Aiara, Arrankudiaga
Q971263 Q726664 Q1368782 Q1368772 Q670080
(c(Q1048835),P47,Q676903)
action filter_type
action find_reverse
entity Q676903
relation P47
type Q1048835
Laudio / Llodio share a border with [ANSWERS]
[{'concept': 'Q1048835'}, 'P47', 'Q676903']
SELECT DISTINCT ?f WHERE { ?f property:P47 resource:Q676903 . ?f rdf:type ontology:Q1048835 }
Arakaldo Orozko Okondo Ayala/Aiara Arrankudiaga
Laudio / Llodio share a border with Orozko, Ayala/Aiara and Arrankudiaga
Orozko Ayala/Aiara Arrankudiaga
action filter_type
action find_reverse
entity Laudio/Llodio
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Laudio/Llodio']
SELECT DISTINCT ?f WHERE { ?f property:shares_border_with resource:Laudio/Llodio . ?f rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q726664 Q1368772 Q670080
P47
Q1048835
USER
Which political territories share border with Orozko, Ayala/Aiara and Arrankudiaga ?
(c(Q1048835),P47,Q726664) (c(Q1048835),P47,Q1368772) (c(Q1048835),P47,Q670080)
action union
action filter_type
action find_reverse
entity Q726664
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q670080
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q1368772
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q726664'] [{'concept': 'Q1048835'}, 'P47', 'Q1368772'] [{'concept': 'Q1048835'}, 'P47', 'Q670080']
SELECT DISTINCT ?c WHERE { VALUES ( ?h ) { ( resource:Q726664 ) ( resource:Q670080 ) } . ?c property:P47 ?h }
Orozko Ayala/Aiara Arrankudiaga
action union
action filter_type
action find_reverse
entity Orozko
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Arrankudiaga
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Ayala/Aiara
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Orozko'] [{'concept': 'political territorial entity'}, 'shares border with', 'Ayala/Aiara'] [{'concept': 'political territorial entity'}, 'shares border with', 'Arrankudiaga']
SELECT DISTINCT ?c WHERE { VALUES ( ?h ) { ( resource:Orozko ) ( resource:Arrankudiaga ) } . ?c property:shares_border_with ?h }
[]
political territorial entity
Q1614774 Q1368772 Q594280
SYSTEM
Valle de Mena, Ayala/Aiara, Zeberio
Q971263 Q1242330 Q169332 Q676903 Q1368772 Q481760 Q228613 Q670080 Q1228114 Q594280 Q1614774 Q1368782 Q676903 Q481760 Q1643574 Q225662 Q1228097 Q726664 Q971263 Q1368782 Q676903 Q1228035 Q726664 Q283607 Q594280 Q596305 Q927978
(c(Q1048835),P47,Q726664) (c(Q1048835),P47,Q1368772) (c(Q1048835),P47,Q670080)
action union
action filter_type
action find_reverse
entity Q726664
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q670080
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q1368772
relation P47
type Q1048835
[ANSWERS] share border with Orozko, Ayala/Aiara and Arrankudiaga
[{'concept': 'Q1048835'}, 'P47', 'Q726664'] [{'concept': 'Q1048835'}, 'P47', 'Q1368772'] [{'concept': 'Q1048835'}, 'P47', 'Q670080']
SELECT DISTINCT ?c WHERE { VALUES ( ?h ) { ( resource:Q726664 ) ( resource:Q670080 ) } . ?c property:P47 ?h }
Arakaldo Artea Zeanuri Laudio/Llodio Ayala/Aiara Amurrio Zuia Arrankudiaga Areatza Zeberio Valle de Mena Okondo Laudio/Llodio Amurrio Junta de Villalba de Losa Orduña-Urduña Gordexola Orozko Arakaldo Okondo Laudio/Llodio Ugao-Miraballes Orozko Arrigorriaga Zeberio Güeñes Alonsotegi
Valle de Mena, Ayala/Aiara and Zeberio share border with Orozko, Ayala/Aiara and Arrankudiaga
Valle de Mena Ayala/Aiara Zeberio
action union
action filter_type
action find_reverse
entity Orozko
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Arrankudiaga
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Ayala/Aiara
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Orozko'] [{'concept': 'political territorial entity'}, 'shares border with', 'Ayala/Aiara'] [{'concept': 'political territorial entity'}, 'shares border with', 'Arrankudiaga']
SELECT DISTINCT ?c WHERE { VALUES ( ?h ) { ( resource:Orozko ) ( resource:Arrankudiaga ) } . ?c property:shares_border_with ?h }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1614774 Q1368772 Q594280
P19
Q502895
USER
Which people were born at those political territories ?
(c(Q502895),P19,Q1614774) (c(Q502895),P19,Q1368772) (c(Q502895),P19,Q594280)
action filter_type
action find_reverse
entity prev_answer
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1614774'] [{'concept': 'Q502895'}, 'P19', 'Q1368772'] [{'concept': 'Q502895'}, 'P19', 'Q594280']
SELECT DISTINCT ?c WHERE { ?c property:P19 ?n . ?c rdf:type ontology:Q502895 . VALUES ( ?n ) { ( resource:Q971263 ) ( resource:Q1242330 ) ( resource:Q169332 ) } }
Valle de Mena Ayala/Aiara Zeberio
action filter_type
action find_reverse
entity prev_answer
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Valle de Mena'] [{'concept': 'common name'}, 'place of birth', 'Ayala/Aiara'] [{'concept': 'common name'}, 'place of birth', 'Zeberio']
SELECT DISTINCT ?c WHERE { ?c property:place_of_birth ?n . ?c rdf:type ontology:common_name . VALUES ( ?n ) { ( resource:Arakaldo ) ( resource:Artea ) ( resource:Zeanuri ) } }
[]
common name
Q7859554 Q536258 Q20492086
SYSTEM
Txema Añibarro, Iñaki Isasi, Urtzi Iriondo
Q3956348 Q536258 Q20492086 Q7859554
(c(Q502895),P19,Q1614774) (c(Q502895),P19,Q1368772) (c(Q502895),P19,Q594280)
action filter_type
action find_reverse
entity prev_answer
relation P19
type Q502895
[ANSWERS] were born at those political territories
[{'concept': 'Q502895'}, 'P19', 'Q1614774'] [{'concept': 'Q502895'}, 'P19', 'Q1368772'] [{'concept': 'Q502895'}, 'P19', 'Q594280']
SELECT DISTINCT ?c WHERE { ?c property:P19 ?n . ?c rdf:type ontology:Q502895 . VALUES ( ?n ) { ( resource:Q971263 ) ( resource:Q1242330 ) ( resource:Q169332 ) } }
Sergio de Novales y Sainz de Baranda Iñaki Isasi Urtzi Iriondo Txema Añibarro
Txema Añibarro, Iñaki Isasi and Urtzi Iriondo were born at those political territories
Txema Añibarro Iñaki Isasi Urtzi Iriondo
action filter_type
action find_reverse
entity prev_answer
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Valle de Mena'] [{'concept': 'common name'}, 'place of birth', 'Ayala/Aiara'] [{'concept': 'common name'}, 'place of birth', 'Zeberio']
SELECT DISTINCT ?c WHERE { ?c property:place_of_birth ?n . ?c rdf:type ontology:common_name . VALUES ( ?n ) { ( resource:Arakaldo ) ( resource:Artea ) ( resource:Zeanuri ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1368772
P17
Q15617994
USER
Which administrative territory is Ayala/Aiara a part of ?
(Q1368772,P17,c(Q15617994))
action filter_type
action find
entity Q1368772
relation P17
type Q15617994
['Q1368772', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q1368772 property:P17 ?a }
Ayala/Aiara
action filter_type
action find
entity Ayala/Aiara
relation country
type designation for an administrative territorial entity
['Ayala/Aiara', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ayala/Aiara property:country ?a }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1368772,P17,c(Q15617994))
action filter_type
action find
entity Q1368772
relation P17
type Q15617994
[ANSWER] is Ayala/Aiara a part of
['Q1368772', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q1368772 property:P17 ?a }
Spain
Spain is Ayala/Aiara a part of
Spain
action filter_type
action find
entity Ayala/Aiara
relation country
type designation for an administrative territorial entity
['Ayala/Aiara', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ayala/Aiara property:country ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P1313
Q12737077
USER
Which occupation is fulfilled by that administrative territory ?
(Q29,P1313,c(Q12737077))
action filter_type
action find
entity Q29
relation P1313
type Q12737077
['Q29', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q29 property:P1313 ?m . ?m rdf:type ontology:Q12737077 }
Spain
action filter_type
action find
entity Spain
relation office held by head of government
type occupation
['Spain', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Spain property:office_held_by_head_of_government ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q844587
SYSTEM
Prime Minister of Spain
Q844587
(Q29,P1313,c(Q12737077))
action filter_type
action find
entity Q29
relation P1313
type Q12737077
The [ANSWER] is fulfilled by that administrative territory
['Q29', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q29 property:P1313 ?m . ?m rdf:type ontology:Q12737077 }
Prime Minister of Spain
The Prime Minister of Spain is fulfilled by that administrative territory
Prime Minister of Spain
action filter_type
action find
entity Spain
relation office held by head of government
type occupation
['Spain', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Spain property:office_held_by_head_of_government ?m . ?m rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P127
Q1048835 Q41176 Q83620
USER
How many political territories do atmost 20 buildings and thoroughfares belong to ?
(c(Q41176)|c(Q83620),P127,c(Q1048835))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q41176
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q83620
value 20
[[{'concept': 'Q41176'}, {'concept': 'Q83620'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?o WHERE { ?g rdf:type ?i . VALUES ( ?i ) { ( ontology:Q41176 ) ( ontology:Q83620 ) } } GROUP BY ?o } . FILTER ( ?l <= 20 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type building
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type thoroughfare
value 20
[[{'concept': 'building'}, {'concept': 'thoroughfare'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?o WHERE { ?g rdf:type ?i . VALUES ( ?i ) { ( ontology:building ) ( ontology:thoroughfare ) } } GROUP BY ?o } . FILTER ( ?l <= 20 ) }
[]
political territorial entity building thoroughfare
SYSTEM
66
Q192536 Q170322 Q1648590 Q318314 Q3741 Q20937 Q2321093 Q5691 Q183 Q490638 Q6040 Q126514 Q211091 Q6053 Q192387 Q133083 Q217838 Q74881 Q8543 Q6041 Q2379199 Q6139 Q8178 Q6339 Q7379734 Q1823 Q8551 Q13786 Q5783 Q741765 Q193317 Q35 Q191091 Q2947 Q13862 Q276176 Q1135166 Q46070 Q211106 Q202174 Q54902 Q192697 Q190930 Q192702 Q2175 Q849584 Q2271 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q40 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q207111 Q16 Q206926 Q5756
(c(Q41176)|c(Q83620),P127,c(Q1048835))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q41176
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q83620
value 20
[ANSWER]
[[{'concept': 'Q41176'}, {'concept': 'Q83620'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?o WHERE { ?g rdf:type ?i . VALUES ( ?i ) { ( ontology:Q41176 ) ( ontology:Q83620 ) } } GROUP BY ?o } . FILTER ( ?l <= 20 ) }
Zlín Region Qingdao Manises Ipatinga Special Region of Yogyakarta Gyeonggi Province Chorrillos South Karelia Germany Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Londrina Gauteng Stirling Dalian Germersheim Wolfenbüttel politics of Edinburgh Havelland Karlsruhe Erzgebirgskreis Aachen Aceh Südliche Weinstraße Cebu Andalusia San Fernando Pardubice Region Denmark Karlovy Vary Region Dithmarschen Negros Occidental Volta Redonda Greater London Authority Plzeň Region Moray Argyll and Bute Fuenlabrada South Moravian Region Vysočina Region Ústí nad Labem Region Riau Province Jaraguá do Sul South Sumatra Potsdam-Mittelmark Sestao Flemish Region Orkney Islands California Republic Walloon Region Austria Flemish Community Helmstedt Peine Flemish Region Rastatt Bermuda Australia Olomouc Region North Lanarkshire Canada North Ayrshire Community of Madrid
66
action count
action atmost
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type building
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type thoroughfare
value 20
[[{'concept': 'building'}, {'concept': 'thoroughfare'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?o WHERE { ?g rdf:type ?i . VALUES ( ?i ) { ( ontology:building ) ( ontology:thoroughfare ) } } GROUP BY ?o } . FILTER ( ?l <= 20 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P437
Q82799
USER
What is the name that was distributed via Spain ?
(c(Q82799),P437,Q29)
action filter_type
action find_reverse
entity Q29
relation P437
type Q82799
[{'concept': 'Q82799'}, 'P437', 'Q29']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . ?p property:P437 resource:Q29 }
Spain
action filter_type
action find_reverse
entity Spain
relation distribution
type name
[{'concept': 'name'}, 'distribution', 'Spain']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . ?p property:distribution resource:Spain }
[]
name
Q19891513
SYSTEM
Fonseca
Q19891513
(c(Q82799),P437,Q29)
action filter_type
action find_reverse
entity Q29
relation P437
type Q82799
The name that was distributed via Spain is [ANSWER]
[{'concept': 'Q82799'}, 'P437', 'Q29']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . ?p property:P437 resource:Q29 }
Fonseca
The name that was distributed via Spain is Fonseca
Fonseca
action filter_type
action find_reverse
entity Spain
relation distribution
type name
[{'concept': 'name'}, 'distribution', 'Spain']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . ?p property:distribution resource:Spain }
[]