[OpenID] cryptographics web of trust

Peter Williams pwilliams at rapattoni.com
Mon Aug 27 19:06:07 UTC 2007


Henry

 

The third-party  FOAF library I'm using (SemWeb) offers a GraphMatch
method, to query the FOAF triples. This is an alternative to using
SPARQL queries. GraphMath queries can themselves be specified in N3 (see
below), and presumably thus be represented and used in the same manner
as all the other bits of FOAF metadata. 

 

I want to replace my current use of API code with stored queries. For
trivial lookup queries, like (a) find openid given card URI, (b) find
organizational affiliate given foaf:openid, (c) find service given ...
...I'm hoping its sufficient to leverage these non-SPARQL queries. I can
imagine using a full-power SPARQL query on the card to initially locate
a resource RDF document with these latter queries in the GraphMatch
vocabulary, and then apply GraphMatch given my user-agent has the wits
to process them.

 

Sound a reasonable tack?

 

Is there  an IANA alternatives best practices for RDF queries, much like
you exploited alternatives for negotiating which RDF presentation layer
protocol/format to use when communicating a card? Does the awol schema
support denoting alternative representation of RDF queries,
specifically, as SPARQL or such as GraphMatch?

 

------------

 

Excerpt from SemWeb documentation: 

 

"The first query method is the GraphMatch method using my own "RSquery"
query format, which is actually just plain RDF (think RDF-squared query
because it's an RDF query over RDF data). A simple RSquary query is just
a graph to be matched against the target data model, here in N3 format:

 

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

@prefix foaf: <http://xmlns.com/foaf/0.1/> .

@prefix bill: <tag:govshare.info,2005:rdf/usbill/> .

 

?bill rdf:type bill:SenateBill .

?bill bill:congress "108" .

?bill bill:number "1024" .

 

?bill bill:cosponsor ?person .

?person foaf:name ?name ."

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-general/attachments/20070827/dd72c41c/attachment-0002.htm>


More information about the general mailing list