[occi-wg] another OCCI RDF prototype
Roger Menday
roger.menday at uk.fujitsu.com
Wed Nov 11 15:31:41 CST 2009
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.
More information about the occi-wg
mailing list