Recherche sémantique d’information – SPARQL

Site choisi : Université Paul Sabatier – Toulouse 3 (RKB Explorer)

L’objectif de ce site est le référencement d’ouvrages, organisés dans la structure suivante :

    Référence du livre

  • Titre
  • Date de publication
    • Calendrier
    • Année
  • Auteur
    • Personne
    • Nom
  • Publieur
    • Maison de publication
    • Titre

Et les autres caractéristiques sont importées depuis http://www.aktors.org/ontology

Adresses du site :
Sparql endpoint : http://datahub.io/dataset/rkb-explorer-irit/resource/20e782eb-c07b-4016-850c-a7e850c8b37c
XML Sitemap : http://datahub.io/dataset/rkb-explorer-irit/resource/b52af0ab-1c9b-4e2c-a148-8e078e333299
voiD file : http://datahub.io/dataset/rkb-explorer-irit/resource/05b714a5-2792-4f66-a82e-7c4450592aa7
Données RDF : http://datahub.io/dataset/rkb-explorer-irit/resource/8b3f670d-908e-4cf9-95f3-65492c63979a

On a téléchargé le fichier *.rdf que nous avons uploadé dans le serveur fuseki (avec l’outil situé à l’adresse localhost:3030/sparql.tpl, d’ou nous effectuons les requetes suivantes :

Description de la requête Requête SPARQL Résultat
La référence du livre qui a comme titre “Selected Papers of Logic in AI” prefix akt: <http://www.aktors.org/ontology/portal#>
select * where {
?reference akt:has-title ‘Selected Papers of Logic in AI’.
}
<http://irit.rkbexplorer.com/id/book-5d1bf3c0fead18f481c8e0dbe393246c>
Les titres des livres prefix akt: <http://www.aktors.org/ontology/portal#>
select ?title where {
?reference akt:has-title ?title.
}
| « Trajectoires optimales a poussee continue » |
| « Object-Oriented Decision Support System » |
| « Systme de Maintenance Aronautique Coopratif ; projet SCAMA » |
| « Fuzzy PERT in series-prallel graphs » |
| « Electric Transfer Optimization for Mars Sample Return mission »
le nombre des livres prefix akt: <http://www.aktors.org/ontology/portal#>
prefix support: <http://www.aktors.org/ontology/support#>
select count(?title) where {
?reference akt:has-title ?title.
}order by ?title
——-
| .1 |
=======
| 705 |
——-
La référence du livre qui a comme titre “Selected Papers of Logic in AI” select * where {
?reference akt:has-title ‘Selected Papers of Logic in AI’.
}
<http://irit.rkbexplorer.com/id/book-5d1bf3c0fead18f481c8e0dbe393246c>
Les noms des auteurs triés par un ordre alphabétique prefix akt: <http://www.aktors.org/ontology/portal#>
select Distinct * where {
?reference akt:full-name ?author.
} order by ?author
————————————–
| author |
======================================
| « 2000 Rpc » |
| « A Bill » |
| « A Diaz de Ilarraza » |
| « A Yonezawa » |
| « A Zapico » |
| « Abdelatif El Faker » |
| « Abdelaziz Kriouile » |
| « Abdelaziz M’zoughi » |
| « Abdelkader Hameurlain » |
| « Abdelmalek Benzekri » |
| « Abeldjalil Ouahabi » |
| « Ahmed Louri » |
| « Akinori Yonezawa »
les titres des livres rédigés par “Rgis Privat” prefix akt: <http://www.aktors.org/ontology/portal#>
select ?title ?author where {
?reference akt:has-title ?title.
?reference akt:has-author ?a.
?a akt:full-name ?author.
FILTER regex(?author , « Rgis Privat »)
}
| « Conception de systmes multimodaux de consultation de serveurs d’informations par et pour les personnes ges » | « Rgis Privat » |
| « Serveurs multimodaux destins aux personnes ges : objectifs et programmes de recherche » | « Rgis Privat » |
| « Interrogation multimodale de consultation de serveurs d’informations – Application aux personnes ages » | « Rgis Privat » |
Les auteurs du livre « Ordonnancement temps rel – Cours et exercices corrigs” prefix akt: <http://www.aktors.org/ontology/portal#>
prefix support: <http://www.aktors.org/ontology/support#>
select ?title ?author where {
?reference akt:has-title ?title.
?reference akt:has-author ?a.
?a akt:full-name ?author.
FILTER regex(?title , « Ordonnancement temps rel – Cours et exercices corrigs »)
}
——————————————————————————-
| title | author |
===============================================================================
| « Ordonnancement temps rel – Cours et exercices corrigs » | « Francis Cottet » |
| « Ordonnancement temps rel – Cours et exercices corrigs » | « Jolle Delacroix » |
| « Ordonnancement temps rel – Cours et exercices corrigs » | « Kaiser Claude » |
| « Ordonnancement temps rel – Cours et exercices corrigs » | « Zoubir Mammeri » |
——————————————————————————-
Les livres publiés par la maison d’édition “Narosa” prefix akt: <http://www.aktors.org/ontology/portal#>
select ?title ?House where {
?reference akt:has-title ?title.
?reference akt:published-by ?pub.
?pub akt:has-title ?House.
FILTER regex(?House , « Narosa »)
}
———————————————————–
| title | House |
===========================================================
| « Conceptual lexical semantics – a Tutorial. » | « Narosa » |
———————————————————–
La liste des livres qui ont un nombre de page < 19 prefix akt: <http://www.aktors.org/ontology/portal#>
select ?title where {
?reference akt:has-title ?title.
?reference akt:has-volume ?volume.
FILTER (?volume < ’19’)
}
—————————————————————————————————————————————————————-
| title |
================================================================================================================================================================
| « Hybridizing Nested Dissection and Halo Approximate Minimum Degree for Efficient Sparse Matrix Ordering » |
| « Hand kinematics during reaching and grasping in the macaque monkey » |
| « Belief dynamics in cooperative dialogues » |
| « Multifrontal parallel distributed symmetric and unsymmetric solvers » |
| « Relating decision under uncertainty and multicriteria decision making models » |
| « Ambiguous Shape from Shading with Critical Points » |
| « A Mixed Decision Method for Duration Calculus »
liste des livres publié par “Francis Cottet” en 2000 prefix akt: <http://www.aktors.org/ontology/portal#>
prefix support: <http://www.aktors.org/ontology/support#>
select ?title ?author where {
?reference akt:has-title ?title.
?reference akt:has-date <http://www.aktors.org/ontology/date#2000>.
?reference akt:has-author ?a.
?a akt:full-name ?author.
FILTER regex(?author , « Francis Cottet »)
}
——————————————————————————
| title | author |
==============================================================================
| « Ordonnancement temps rel – Cours et exercices corrigs » | « Francis Cottet » |
| « Ordonnancement temps rel : Ordonnancement rparti » | « Francis Cottet » |
——————————————————————————
suppression des livres rédigés par “Rgis Privat” prefix akt: <http://www.aktors.org/ontology/portal#>
delete {?reference ?d ?k} where {
?reference akt:has-title ?title.
?reference akt:has-author ?a.
?a akt:full-name ?author.
FILTER regex(?author , « Rgis Privat »)
}
Success
Update succeeded
Renommer l’article « Selected Papers of Logic in AI » en « IEEE Selected Papers » prefix akt: <http://www.aktors.org/ontology/portal#>
DELETE { ?livre akt:has-title « Selected Papers of Logic in AI » }
INSERT { ?livre akt:has-title « IEEE Selected Papers » }
WHERE
{
?livre akt:has-title « Selected Papers of Logic in AI »
}
Success
Update succeeded
remplacer le nom de l’auteur “Luis Farias Del Cerro” par “Jrgen Dix” dans tous les articles/livres. prefix akt: <http://www.aktors.org/ontology/portal#>
DELETE { ?livre akt:full-name « Luis Farias Del Cerro » }
INSERT { ?livre akt:full-name « Jrgen Dix » }
WHERE
{
?livre akt:full-name « Jrgen Dix »
}
Success
Update succeeded
Supprimer tous les livres dans la base prefix akt: <http://www.aktors.org/ontology/portal#>
delete where{?a ?b ?c}
Success
Update succeeded

Thibault RIVE
Houssem Eddine SEDDIK
Mohamed SDIRI
Etienne LAPLANE

Ce contenu a été publié dans Web Sémantique, avec comme mot(s)-clé(s) , , . Vous pouvez le mettre en favoris avec ce permalien.

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *