Utilisateur:Hugo G. Fernandez/Exercices

De ESCR
Aller à la navigation Aller à la recherche

Exercices de la session 30/09/2020

Exercice 1 : Triplets RDF :

  • <Ultimate Instrument> <about> <Raman Evolution>
  • <Raman Evolution> <latitude> 48.7623
  • <Raman Evolution> <longitude> 2.27359
  • <Raman Evolution> <item> <Spectroscopie Raman>
  • <Raman Evolution> <pilot process> <.Li>
  • <.Li> <bday> 30/05/1977
  • <.Li> <email> li@u-psud.fr
  • <.Li> <fullname> 李


Exercice 2 : écrire des littéraux :

  • "<A plain litteral>"@en^^xds:string
  • "<Bonjour>"@fr^^xds:string
  • "<13>"^^xds:integer
  • "<true>"^^xds:boolean
  • "<3>"^^xds:integer
  • "<4.2>"^^xds:decimal
  • "<2011-05-30>"^^xds:date
  • "<2011-05-30T12:00:00+02:00>"^^xds:dateTime


Exercice 3 : écrire un graphe en turtle :

PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX daap: <http://daap.eu/wiki/>
PREFIX daapProp: <http://daap.eu/wiki/Property:>
PREFIX daapUser: <http://daap.eu/wiki/User:>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX dcterms: <http://purl.org/dc/terms/>

<http://daap.eu/wiki/Lip(Sys)2/RamanEvolution_Spectrometer> geo:lat 48.7623 ;
                                                            geo:long 2.27359 ;
                                                            rdfs:label "RamanEvolution" ;
                                                            rdf:type daap:Device ;
                                                            daapProp:item wd:Q70906 ;
                                                            daapProp:pilotProcess daapUser:Li .
daapUser:Li vcard:bday "1977-05-30"^^xsd:date ;
            vcard:fn "李"@zh ;
            vcard:fn "Li"@en ;
            vcard:email "li@u-psud.fr" .
<https://youtu.be/LppehHsKxL4> dcterms:subject <http://daap.eu/wiki/Lip(Sys)2/RamanEvolution_Spectrometer> .


Exercices de la session 07/10/2020