Hi,
To begin, thanks for building d2rq server, it's a great and useful product.
I though encountered a little problem.
I use D2RQ for "rdfise" a mysql based thesaurus into a skos model.
So I would like to define a conceptScheme in top of the rdf thesaurus.
Something like :
<skos:ConceptScheme rdf:about="http:/example.com/thesaurus">
<dc:title>The SWAD-Europe Example Thesaurus</dc:title>
<dc:description>An example thesaurus to illustrate the use of
the
SKOS-Core schema.</dc:description>
<dc:creator>A J Miles</dc:creator>
</skos:ConceptScheme>
(example take from [1])
As I read here http://www4.wiwiss.fu-berlin.de/bizer/D2RQ/spec:
"A d2rq:ClassMap usually produces many resources. Sometimes it is
desirable to have a class map that only produces a single resource with
fixed, static identity. In that case, one can use the d2rq:constantValue
property to name the single instance."
I think that is what I need.
So I define
map:Throot a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:class skos:ConceptScheme;
(1)
d2rq:constantValue "http://example.com/thesaurus/0.1/";
.
But I have the error :
"d2rq:ClassMap map:Throot needs a column/pattern/bNodeID specification (E0)"
I try to add in (1) to the clause :
d2rq:uriPattern "http://gasoil.edf.fr/thesaurus/0.1/";
But it's throw the error :
d2rq:ClassMap map:Throot can't have both d2rq:uriPattern and
d2rq:constantValue (E0
And when add in (1) the clause :
d2rq:bNodeIdColumns "entree.cle";
Take the same class of error
d2rq:ClassMap map:Throot can't have both d2rq:bNodeIdColumns and
d2rq:constantValue
Any input will be much appreciated.
Thanks
++
[1] : http://www.w3.org/2001/sw/Europe/reports/thes/1.0/guide/20040504/#3.1
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
d2rq-map-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel