• Aucun résultat trouvé

RDF Schema Rendering

N/A
N/A
Protected

Academic year: 2022

Partager "RDF Schema Rendering"

Copied!
1
0
0

Texte intégral

(1)

RDF Schema Rendering

Ishai Biran, ishaibiran@yahoo.com

Abstract. This article and the attached code present a convenient tool for presenting RDF Schema XSL on the browser, using a combination of XSLT and JavaScript.

Keywords: Semantic Web, XSLT, RDF Schema.

1 Introduction

An RDF Schema file contains the definitions of all tags and associated properties that can be used in an RDF file that is built with that schema.

The way RDF Schema files are structured, every <rdf:Property> contains

<rdfs:domain> and <rdfs:range> elements which point to each of the <rdfs:Class>

elements that contain that property.

This structure is inconvenient for the user, who wishes to see each <rdfs:Class> and all its associated properties together.

The purpose of this script is to display each <rdfs:Class> together with its domain and range properties.

2 Explanation of the Code

For each class, property, domain or range element in the RDF Schema XML, the XSLT builds a <span> element in the output HTML. The span contains all the necessary attributes for that element.

Upon completion, the HTML page is displayed. At that time, the onload JavaScript method gets control. The JavaScript builds a table for each class category and for the properties. Each property is added as a row in the properties table, and also marked among the domains or the ranges of the class it is associated with.

The code can easily be expanded to support additional tags.

The result is a clear table that displays all RDF elements and the properties of each one of them.

The code and sample RDF schema files are attached.

Références

Documents relatifs

We have shown that the truth maintenance algorithm using dependencies between statements performs quite well on medium-sized data sets, and our goal of improving removal

Hence probability measures that are even and log-concave with respect to the Gaussian measure, in particular restrictions of the Gaussian measure to symmetric convex bodies, satisfy

It may be asked, therefore, for which normed Kôthe spaces we have the above-mentioned triangle equality for positive singular bounded linear functionals.. We return to

A multilevel preconditioner based on the abstract framework of the auxiliary space method, is developed for the mortar method for the nonconforming P 1 finite element or the

We prove an a priori error estimate for the hp-version of the boundary element method with hypersingular operators on piecewise plane open or closed surfaces.. The underlying meshes

Relying on a hybrid formulation which gives rise to a saddle point problem, residual error indicators are proposed for two formulations of the model problem: in the first

Abstract — We investigate a parabolic problem from the point of view of stability and approximation properties of increasmg order mixed (in space) finite element methods

DORR, The approximation o f solutions of elliptic boundary-values problems via the p-version ofthe finite element method, SIAM J. BABUSKA,' The h-p version of the finite element