[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] fenfire/docs/pegboard/swamp_rdf_api--tjl peg.rst
From: |
Matti Katila |
Subject: |
[Gzz-commits] fenfire/docs/pegboard/swamp_rdf_api--tjl peg.rst |
Date: |
Tue, 08 Apr 2003 08:03:02 -0400 |
CVSROOT: /cvsroot/fenfire
Module name: fenfire
Changes by: Matti Katila <address@hidden> 03/04/08 08:03:02
Modified files:
docs/pegboard/swamp_rdf_api--tjl: peg.rst
Log message:
some discussion.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/docs/pegboard/swamp_rdf_api--tjl/peg.rst.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
Patches:
Index: fenfire/docs/pegboard/swamp_rdf_api--tjl/peg.rst
diff -u fenfire/docs/pegboard/swamp_rdf_api--tjl/peg.rst:1.4
fenfire/docs/pegboard/swamp_rdf_api--tjl/peg.rst:1.5
--- fenfire/docs/pegboard/swamp_rdf_api--tjl/peg.rst:1.4 Mon Apr 7
06:53:54 2003
+++ fenfire/docs/pegboard/swamp_rdf_api--tjl/peg.rst Tue Apr 8 08:03:02 2003
@@ -3,8 +3,8 @@
=============================================================
:Author: Tuomas J. Lukka
-:Last-Modified: $Date: 2003/04/07 10:53:54 $
-:Revision: $Revision: 1.4 $
+:Last-Modified: $Date: 2003/04/08 12:03:02 $
+:Revision: $Revision: 1.5 $
:Status: Current
This document outlines the main issues in the Jena api
@@ -116,8 +116,17 @@
The resource mapper
-------------------
+::
+
+ by mudyc: What's the meaning of Resource Mapper?
+ tjl: Resource Mapper is used in special cases, i.e.,
+ too different rdf spaces is diffed.
+ Now we can map the single resource between them.
+ mudyc: So it has nothing to do with Literals?
+ tjl: No.
+
The global resource mapper (has to be global since resources are
model-agnostic)
-is simple: The name must be short because it's so widely used.
+is simple: The name must be short because it's so widely used. ::
public class RMap {
public static Object toModel(String res);
@@ -145,7 +154,7 @@
The ShortRDF class shows what a mess the query functions can easily become.
To avoid this, we'll drop the semantics (subject,predicate,object) for now
-and name all methods according to a general scheme.
+and name all methods according to a general scheme. ::
public interface ConstFirstOrderModel {
public Object find1_11X(Object subject, Object predicate);
@@ -209,7 +218,7 @@
------------------------
For debugging and possibly cool code hacks, the following error gives
-enough information to understand what was not unique.
+enough information to understand what was not unique. ::
public class NotUniqueError extends Error {
public final Object subject;