[occi-wg] another OCCI RDF prototype
Edmonds, AndrewX
andrewx.edmonds at intel.com
Wed Nov 11 16:34:45 CST 2009
Cool stuff Roger!
For those wondering, the search form can be accessed here:
http://fujocci.appspot.com/iamsecret/search
Andy
-----Original Message-----
From: Roger Menday [mailto:roger.menday at uk.fujitsu.com]
Sent: 11 November 2009 21:32
To: occi-wg
Cc: Edmonds, AndrewX; Sam Johnston
Subject: another OCCI RDF prototype
hi all,
Seems a good time to publicise a very basic OCCI / RDF prototype put
together a while back.
http://fujocci.appspot.com/iamsecret/
As well as clicking through, you can also query your cloud from the
SPARQL endpoint (click on 'search'). The following sample query should
list all the compute resources.
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX occi: <http://www.ogf.org/occi#>
SELECT ?c
WHERE {
?c rdf:type occi:compute
}
it is possible to filter in the query, for example, to only return the
live ones, etc.
The following
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX occi: <http://www.ogf.org/occi#>
SELECT ?s ?p ?o
WHERE {
?s ?p ?o
}
should return *all* the triples.
Quality pretty rough right now - for example, the states collection
*should* change according to what it makes sense to offer - it
doesn't. The other thing is that is it currently not possible to
request the straight RDF representation. Both did work at some point ;(
regards,
Roger
Roger Menday (PhD)
<roger.menday at uk.fujitsu.com>
Senior Researcher, Fujitsu Laboratories of Europe Limited
Hayes Park Central, Hayes End Road, Hayes, Middlesex, UB4 8FE, U.K.
Tel: +44 (0) 208 606 4534
______________________________________________________________________
Fujitsu Laboratories of Europe Limited
Hayes Park Central, Hayes End Road, Hayes, Middlesex, UB4 8FE
Registered No. 4153469
This e-mail and any attachments are for the sole use of addressee(s) and
may contain information which is privileged and confidential. Unauthorised
use or copying for disclosure is strictly prohibited. The fact that this
e-mail has been scanned by Trendmicro Interscan and McAfee Groupshield does
not guarantee that it has not been intercepted or amended nor that it is
virus-free.
-------------------------------------------------------------
Intel Ireland Limited (Branch)
Collinstown Industrial Park, Leixlip, County Kildare, Ireland
Registered Number: E902934
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
More information about the occi-wg
mailing list