1patrick stickler © 2004 nokia nokia semantic web server patrick stickler forum nokia web services...
TRANSCRIPT
1 Patrick Stickler © 2004 Nokia
Nokia Semantic Web Server
Patrick SticklerForum Nokia Web ServicesNokia Technology Platforms
http://sw.nokia.com
2 Patrick Stickler © 2004 Nokia
Serving the Nokia Developer Community
http://www.forum.nokia.com
3 Patrick Stickler © 2004 Nokia
Semantic Web Extensions to HTTP
MGETReturn a concise bounded description of the resource denoted by the request URI.
MGET http://example.com/foo HTTP/1.1
MPUT
Add the statements contained in a concise bounded description of the resource, provided as input, to the (possibly empty) body of knowledge maintained about the resource denoted by the request URI.
MPUT http://example.com/foo HTTP/1.1
MDELETE
Remove the statements contained in a concise bounded description of the resource, provided as input, from the existing knowledge maintained about the resource denoted by the request URI. If no description is provided as input, remove all statements asserted about the specified resource.
MDELETE http://example.com/foo HTTP/1.1
http://sw.nokia.com/uriqa/URIQA.html
4 Patrick Stickler © 2004 Nokia
Concise Bounded Resource Description
That body of knowledge known by a particular authority about a named resource which does not include any explicit knowledge about any other named resource.
In RDF, a concise bounded description of a resource is a collection of RDF statements, explicitly asserted and/or inferred, comprised of the following:
1. All statements where the subject of the statement denotes the resource in question.
2. Recursively, for all statements included in the description thus far, for all anonymous node objects, all statements where the subject of the statement denotes anonymous resource in question.
3. Recursively, for all statements included in the description thus far, for all reifications of each statement, the concise bounded description of each reification.
http://sw.nokia.com/uriqa/URIQA.html
5 Patrick Stickler © 2004 Nokia
RDFQ: RDF Queries in RDF
Match and return the descriptions of all resources which have a dc:creator which is an ex:Person who has a ex:firstName of "John" and has an ex:age that is greater than 30:
[:target
[dc:creator
[a ex:Person;
ex:firstName "John";
ex:age
[:gt "30"^^xsd:integer]]]].
Match and return variable bindings for fn:title and fn:description for all resources having a fn:published date later than one week ago:
[:select ("title" "description");
:target
[fn:title
[:id "title"];
fn:description
[:id "description"];
fn:published
[:gt :one-week-ago]]].
http://sw.nokia.com/rdfq/RDFQ.html
6 Patrick Stickler © 2004 Nokia
http://sw.nokia.com/tools