taweb projet pyramide
DESCRIPTION
Technologies Avancées du WEB, projet final site Pyramide en utilisant de données en RDFTRANSCRIPT
Le site pour l’achat de livres
Massoud Diallo
Mimbela Medalith
SOMMAIRE
Projet Pyramide.Technologies utilisées.Ontologie.HTML5OPEN RDF – SESAMESPARQLRIFSILK
TAW
EB
2
Univ M
ontp 2 M2
PROJET PYRAMIDE
Créer un site pour l’achat des livres et Sacs en ligne, pour ce propos on a identifie les classes plus importants qu’on aura besoin pour un fonctionnalité basique.
TAW
EB
3
Univ M
ontp 2 M2
TECHNOLOGIES UTILISÉES
TAW
EB
4
Univ M
ontp 2 M2
Tomcat 6 OpenRDF 2.6
ONTOLOGIE
TAW
EB
5
Univ M
ontp 2 M2
Restrictions:<owl:Class rdf:ID="ComandeRest"> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource="#Contient" /> <owl:minCardinalityrdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:minCardinality> </owl:Restriction> </rdfs:subClassOf></owl:Class>
<owl:Class rdf:ID="AuteurRest"> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource="#apublier" /> <owl:minCardinalityrdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:minCardinality> </owl:Restriction> </rdfs:subClassOf></owl:Class>
HTML5
TAW
EB
6
Univ M
ontp 2 M2
<video id="video_with_controls" width="200" controls autobuffer> <source src="video/vpub.webm" type='video/webm; codecs="vp8, vorbis"' /> </video>
><input type="text" x-webkit-speech /></center><label><h2><font color=black> Tel : </label></td><td>
<input type="text" name="tel" title="N° tel à 10 chiffres sans espace" pattern="^0[1-689][0-9]{8}$" placeholder="0645971590"
required></td></tr>
OPEN RDF - SESAME
TAW
EB
7
Univ M
ontp 2 M2
SPARQL
TAW
EB
8
Univ M
ontp 2 M2
Montrer Livres et auteurs
PREFIX fn:<http://www.w3.org/2005/xpath-functions#>select ?domain ?range ?titre (fn:concat(?preNom , " " , ?nom ) as ?name) ?sousTitre ?prixInitial ?prixPromo ?stock ?genre ?editeur ?annee ?resume ?pays where { ?apublier rdf:domain ?domain .?apublier rdf:range ?range . ?livre livres:titre ?titre .?livre livres:ISBN ?ISBN . ?livre livres:sousTitre ?sousTitre . ?livre livres:prixInitial ?prixInitial . ?livre livres:prixPromo ?prixPromo . ?livre livres:stock ?stock . ?livre livres:genre ?genre . ?livre livres:editeur ?editeur . ?livre livres:annee ?annee . ?livre livres:resume ?resume . ?auteur livres:nom ?nom .?auteur livres:preNom ?preNom . ?auteur livres:ID ?ID .?auteur livres:pays ?pays .FILTER(?ISBN = ?range && ?ID = ?domain && ?pays="France") .
}
Insertion d’un Client
INSERT DATA{ <http://localhost/~mmimbelaestr/data/Monfret> livres:ID "0003" ;livres:nom "Monfret";livres:preNom "Sophie";livres:dateNaissance "18/07/1980";livres:pays "France";livres:ville "La Rochelle";livres:adresse "12, rue Vaux de Foletier 17000 La Rochelle";livres:adresseMail "[email protected]";livres:portable "0681943578" ;livres:telephoneFixe "047961235" ;livres:login "smonfret" ;livres:pass "smonfret" ; rdf:type <http://localhost/~mmimbelaestr/Ontologie#Client>
}
Insertion d’une Commande
INSERT DATA{ <http://localhost/~mmimbelaestr/data/comande002> livres:codeComande "com002" ;livres:dateComande "05/11/2011";livres:etatComande "recu";livres:dateEnvoie "05/11/2011";rdf:type <http://localhost/~mmimbelaestr/Ontologie#Commande> .<http://localhost/~mmimbelaestr/data/cont003> rdf:domain "com002";rdf:range "2-25-300888-5" ;rdf:range "2-07-036805-X" ;rdf:range "2-25-301254-8" ;rdf:type <http://localhost/~mmimbelaestr/#contient> }
RIF RDF
TAW
EB
9
Univ M
ontp 2 M2
SILK XML
Structure d’une fichier SILK XML:Prefixes.
DataSources.
TAW
EB
10
Univ M
ontp 2 M2
SILK XML
InterlinksLinkType.LinkageRule.Outputs.
TAW
EB
11
Univ M
ontp 2 M2
SILK
TAW
EB
12
Univ M
ontp 2 M2
DEMOMerci
TAW
EB
Univ M
ontp 2 M2
13