This section includes a series of exercises designed to familiarize the reader with SPARQL query writing and VIVO ontology exploration.

Sommaire


Prerequisites

To use Vivo's SPARQL query editor, you need to de se connecter au VIVO de l'ETV as an administrator and to access the Vivo's SPARQL page

A few exercises


ActionComments
1

Login Vivo from dev-uqam as administrator and go to the SPARQL query editing page of vivo-i18n-dev.uqam.ca

The access code is given to you during the training.

Adresse :

http://vivo-i18n.dev.uqam.ca:8080/vivo/admin/sparqlquery (public vivo)

http://localhost:8080/vivo/admin/sparqlquery (your local authority)


2Write a SPARQL query that identifies the name of the associate professor at the following IRIt http://vivo-i18n.dev.uqam.ca:8080/vivo/individual/n7537


describe <http://vivo-i18n.dev.uqam.ca:8080/vivo/individual/n7537>


3Who is the collaborator of http://vivo-i18n.dev.uqam.ca:8080/vivo/individual/n7537


PREFIX vivo:     <http://vivoweb.org/ontology/core#>
PREFIX rdfs:     <http://www.w3.org/2000/01/rdf-schema#>
select ?nomCol
where {
    <http://vivo-i18n.dev.uqam.ca:8080/vivo/individual/n7537> vivo:hasCollaborator ?col .
    ?col rdfs:label ?nomCol .
}


4List the name the research areas of http://vivo-i18n.dev.uqam.ca:8080/vivo/individual/n7537


PREFIX vivo:     <http://vivoweb.org/ontology/core#>
PREFIX rdfs:     <http://www.w3.org/2000/01/rdf-schema#>
select ?NomRA
where {
    <http://vivo-i18n.dev.uqam.ca:8080/vivo/individual/n7537> vivo:hasResearchArea ?RA .
    ?RA rdfs:label ?NomRA .
}