Your SlideShare is downloading. ×
Consultas sparql examen
Consultas sparql examen
Consultas sparql examen
Consultas sparql examen
Consultas sparql examen
Consultas sparql examen
Consultas sparql examen
Consultas sparql examen
Consultas sparql examen
Consultas sparql examen
Consultas sparql examen
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Consultas sparql examen

1,942

Published on

Se detallan consultas sparql basadas en el repositorio DBPEDIA. Por Mercy Jimenez

Se detallan consultas sparql basadas en el repositorio DBPEDIA. Por Mercy Jimenez

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,942
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
43
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. ESCUELA DE CIENCIAS DE LA COMPUTACIÓN Sistemas Basadas en el Conocimiento CONSULTAS SPARQL REPOSITORIO DBPEDIA Mercy Elizabeth Jiménez Sistemas Basados en el Conocimiento
  • 2. SELECT * WHERE{ <http://dbpedia.org/resource/Tetris> <http://dbpedia.org/property/genre> ?Genero. <http://dbpedia.org/resource/Tetris> <http://dbpedia.org/property/designer> ?autor.<http://dbpedia.org/resource/Tetris> <http://dbpedia.org/property/reference> ?referencia } LIMIT 5
  • 3. SELECT * WHERE{ <http://dbpedia.org/resource/World_of_Warcraft> <http://dbpedia.org/property/designer> ?autor. <http://dbpedia.org/resource/World_of_Warcraft> <http://dbpedia.org/property/headline> ?juego. <http://dbpedia.org/resource/World_of_Warcraft> <http://dbpedia.org/property/requirements> ?requerimientos. <http://dbpedia.org/resource/World_of_Warcraft> <http://dbpedia.org/property/platforms> ?plataforma. } LIMIT 3
  • 4. SELECT * WHERE{{ <http://dbpedia.org/resource/Spain> <http://dbpedia.org/property/capital> ?pais} UNION{ <http://dbpedia.org/resource/Spain> <http://dbpedia.org/property/currency> ?moneda. <http://dbpedia.org/resource/Spain> <http://dbpedia.org/property/leaderName> ?presidente }
  • 5. Artista de música pop select * where{{ <http://dbpedia.org/resource/Like_a_Virgin> <http://dbpedia.org/property/name> ?nombre_cancion. <http://dbpedia.org/resource/Like_a_Virgin> <http://dbpedia.org/property/artist> ?Album. <http://dbpedia.org/resource/Like_a_Virgin> <http://dbpedia.org/property/genre> ?genero }
  • 6. Listar un Director de Japón SELECT* WHERE { <http://dbpedia.org/resource/Takashi_Miike> <http://dbpedia.org/property/name> ?director. <http://dbpedia.org/resource/Takashi_Miike> <http://dbpedia.org/property/occupation> ?ocupacion. <http://dbpedia.org/resource/Takashi_Miike> <http://dbpedia.org/property/birthplace> ?lugar_nacimiento }
  • 7. SELECT * WHERE { ?juegos_mobile rdf:type <http://dbpedia.org/class/yago/MobilePhoneGames> } LIMIT 10
  • 8. SELECT * WHERE { ?subject rdf:type <http://dbpedia.org/class/yago/CapitalsInEuro pe>. ?subject rdfs:label ?ciudad. ?subject rdfs:comment ?descripcion. FILTER (lang(?ciudad) = "en" && lang(?descripcion) = "en") } LIMIT 2
  • 9. SELECT ?property ?hasValue ?isValueOf WHERE { { <http://english.acts.ac.kr/> ?property ?hasValue } UNION { ?isValueOf ?property <http://english.acts.ac.kr/> } }
  • 10. select * where{ <http://dbpedia.org/resource/The_Beatles> <http://dbpedia.org/property/description> ?Carrera_Artistica }
  • 11. Referencias [1] http://dbpedia.org/sparql [2] http://wiki.dbpedia.org/Datasets

×