- From: Henry Story <henry.story@bblfish.net>
- Date: Mon, 29 Aug 2005 14:37:45 +0200
- To: users@bloged.dev.java.net
- Cc: "Pete (UK) Kirkham" <pete.kirkham@baesystems.com>, semanticweb@sun.com, SWIG <semantic-web@w3.org>, Danny Ayers <danny.ayers@gmail.com>, thiemann@blue-age.de, oberle@aifb.uni-karlsruhe.de, aeb@aifb.uni-karlsruhe.de, dev@xam.de
I have just found a paper [1] that is exactly along the lines of what
I am investigating,
by the rdfreactor group [2]. We are clearly very much thinking along
the same lines. They
even mention that they want to use Java 5 annotations for the next
version! I am CCing them.
Looks like all we need to agree on are the annotations to use. Then
we could interchange
each other's framework. I wonder what mechanism we can use to create
a good standard for
these annotations that everyone will be happy to use?
I have updated my blog [3] with references to their work, and other
work in the same area.
Henry Story
[1] http://xam.de/2005/05/rdfreactor.pdf
[2] http://rdfreactor.ontoware.org/
[3] http://blogs.sun.com/roller/page/bblfish?
entry=java_annotations_the_semantic_web
On 27 Aug 2005, at 12:55, Henry Story wrote:
> Eureka! I have it!
>
> How does one annotate combined inverse functional properties?
>
> Simple like this :
>
> @RDF(FoafPerson.BASE + "Person")
> interface FoafPerson {
> String BASE = "http://xmlns.com/foaf/0.1/";
>
> @RDF(BASE+"weblog") void addWeblog(URI uri);
> @RDF(BASE+"weblog") Collection<URI> getWeblogs();
>
> @RDF(BASE+"surname")
> @functional String getSurname();
> @RDF(BASE+"surname") void setSurname(String surname);
>
> @RDF(BASE+"firstName") String getFirstName();
> @RDF(BASE+"firstName") void setFirstName(String firstName);
>
>
> @RDF(BASE+"name") String[] getName()
> @RDF(BASE+"name") @inverseFunctional
> void setName(@RDF(BASE+"fistName") String
> firstName,
> @RDF(BASE+"surname") String
> surname);
>
> @RDF(BASE+"mbox")
> @inverseFunctional void addMbox(URI mbox);
> @RDF(BASE+"mbox") Collection<URI> getAllMbox();
>
> }
>
> (sorry to the foaf group for slightly distorting their ontology)
> So what does the above say? (Remember we are imagining that we live
> in a world where people
> are uniquely identified by their first name, second name combination).
> [snip]
Received on Monday, 29 August 2005 12:38:10 UTC