[{TableOfContents title='Contenido'}]
!!Q#41 Give me all soccer clubs in Spain.
!DBpedia SPARQL Query
{{{
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbp: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri WHERE {
?uri rdf:type dbo:SoccerClub .
{ ?uri dbo:ground res:Spain . } UNION
{ ?uri dbp:ground ?ground .
FILTER (regex(?ground,'Spain'))
}
}
}}}
con 1569 uris a clubes de futbol españoles
![Iconos/ico30_tic_no.png]esDbpedia SPARQL Query
"Dame todos los clubes de fútbol españoles"
----
!!Q#42 What are the official languages of the Philippines?
!DBpedia SPARQL Query
{{{
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri WHERE {
res:Philippines dbo:officialLanguage ?uri .
}
}}}
con resultado __http://dbpedia.org/resource/Filipino_language__
![Iconos/ico30_tic_no.png]esDbpedia SPARQL Query
"¿Cuáles son los idiomas oficiales en Filipinas?
----
!!Q#43 Who is the mayor of New York City?
!DBpedia SPARQL Query
{{{
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT ?uri WHERE {
res:New_York_City dbo:leaderName ?uri .
}
}}}
con resultado: __http://dbpedia.org/resource/Michael_Bloomberg__
![Iconos/ico30_tic_no.png]esDbpedia SPARQL Query
"¿Quién es el alcalde de Nueva York?"
----
!!Q#44 Who designed the Brooklyn Bridge?
!DBpedia SPARQL Query
{{{
PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbp: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri WHERE {
res:Brooklyn_Bridge dbp:designer ?uri .
}
}}}
con resultado
|http://dbpedia.org/resource/John_A._Roebling
|http://dbpedia.org/resource/John_Augustus_Roebling
![Iconos/ico30_tic_no.png]esDbpedia SPARQL Query
"¿Quién diseño el puente de Brooklyn?
----
!!Q#45 Which telecommunications organizations are located in Belgium?
!DBpedia SPARQL Query
{{{
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbp: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri WHERE {
?uri rdf:type dbo:Organisation .
{ ?uri dbp:industry res:Telecommunications . } UNION
{ ?uri dbp:industry ?industry .
FILTER (regex(?industry, 'Telecommunication')) .
}
{ ?uri dbo:location res:Belgium. } UNION
{ ?uri dbp:location res:Belgium. } UNION
{ ?uri dbp:locationCountry 'Belgium'@en . }
}
}}}
con resultado:
|http://dbpedia.org/resource/Voxbone
|http://dbpedia.org/resource/Society_for_Worldwide_Interbank_Financial_Telecommunication
|http://dbpedia.org/resource/Telenet_(Belgium)
|http://dbpedia.org/resource/Broadnet_Holdings_BV
|http://dbpedia.org/resource/Belgacom
|http://dbpedia.org/resource/Mobistar
|http://dbpedia.org/resource/Simyo
|http://dbpedia.org/resource/Aldi_Talk
|http://dbpedia.org/resource/LycaMobile
![Iconos/ico30_tic_no.png]esDbpedia SPARQL Query
"¿Qué organizaciones de telecomunicación se encuentran en Bélgica?"
----
!!Q#46 Is Frank Herbert still alive?
!DBpedia SPARQL Query
{{{
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
ASK WHERE {
OPTIONAL { res:Frank_Herbert dbo:deathDate ?date . } FILTER (!BOUND(?date))
}
}}}
que tiene por resultado: __false__
![Iconos/ico30_tic_no.png]esDbpedia SPARQL Query
"¿Sigue vivo Frank Herbert?
----
!!Q#47 What is the highest place of Karakoram?
!DBpedia SPARQL Query
{{{
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri WHERE {
res:Karakoram dbo:highestPlace ?uri .
}
}}}
con respuesta __http://dbpedia.org/resource/K2__
![Iconos/ico30_tic_no.png]esDbpedia SPARQL Query
"¿Cuál es el sitio más elevado del Karakorum?"
(Nota: He traducido Karakoram como Karakorum)
----
!!Q#48 Give me the homepage of Forbes
!DBpedia SPARQL Query
{{{
PREFIX yago: <http://dbpedia.org/class/yago/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
SELECT DISTINCT ?string WHERE {
res:Forbes foaf:homepage ?string .
}
}}}
con respuesta __http://www.forbes.com__
![Iconos/ico30_tic_no.png]esDbpedia SPARQL Query
"Dame la homepage de Forbes"
----
!!Q#49 Give me all companies in the advertising industry
!DBpedia SPARQL Query
{{{
PREFIX dbp: <http://dbpedia.org/property/>
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri WHERE {
?uri rdf:type dbo:Company .
?uri dbp:industry ?industry .
FILTER regex(?industry,'advertising','i') .
}
}}}
que da como respuesta una lista de 289 uris
![Iconos/ico30_tic_yes.png]esDbpedia SPARQL Query
"Dame todas la empresas de la industria de la publicidad"
----
!!Q#50 What did Bruce Carver die from?
!DBpedia SPARQL Query
{{{
PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE {
res:Bruce_Carver dbo:deathCause ?uri .
}
}}}
con respuesta __http://dbpedia.org/resource/Cancer__
![Iconos/ico30_tic_no.png]esDbpedia SPARQL Query
"¿De qué murió Bruce Carver?"
----