Grupo de Facebook DBpedia en español
Notify Twitter

This page (revision-22) was last changed on 05-Nov-2018 18:08 by Mariano Rico

This page was created on 05-Nov-2018 18:06 by Mariano Rico

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
22 05-Nov-2018 18:08 12 KB Mariano Rico to previous
21 05-Nov-2018 18:06 12 KB Mariano Rico to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 90 removed 2 lines
!!Q#24 Which mountain is the highest after the Annapurna?
"¿Qué montaña es la más alta después del Annapurna?
At line 93 removed 30 lines
Cambiar res por esres no es suficiente. Hay que cambiar dbo:elevation por edbp:elevación para quedar así:
{{{
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX esdbp: <http://es.dbpedia.org/property/>
PREFIX esres: <http://es.dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri WHERE {
esres:Annapurna esdbp:elevación ?elevation .
?uri rdf:type dbo:Mountain .
?uri esdbp:elevación ?otherelevation .
FILTER (?otherelevation < ?elevation) .
}ORDER BY DESC(?otherelevation) LIMIT 1
}}}
que da por resultado __http://es.dbpedia.org/resource/Broad_Peak__
Si en lugar de quedarnos con el primero vemos los 5 primeros obtendríamos esto:
|enDbpedia|otherlevation
|http://dbpedia.org/resource/Gasherbrum_I|8080.0
|http://dbpedia.org/resource/Broad_Peak|8051.0
|http://dbpedia.org/resource/Gasherbrum_II|8035.0
|http://dbpedia.org/resource/Shishapangma|8013.0
|http://dbpedia.org/resource/Gyachung_Kang|7952.0
|esDBpedia|otherlevation
|http://es.dbpedia.org/resource/Broad_Peak|"8047"^^<http://www.w3.org/2001/XMLSchema#int>
|http://es.dbpedia.org/resource/Gyachung_Kang|"7952"^^<http://www.w3.org/2001/XMLSchema#int>
|http://es.dbpedia.org/resource/Gasherbrum_IV|"7925"^^<http://www.w3.org/2001/XMLSchema#int>
|http://es.dbpedia.org/resource/Collado_Sur|"7906"^^<http://www.w3.org/2001/XMLSchema#int>
|http://es.dbpedia.org/resource/Distaghil_Sar|"7885"^^<http://www.w3.org/2001/XMLSchema#int>