I am using d2rq.org to change my relational database data to RDF format, which i can write the result dump using http://d2rq.org/dump-rdf
and i did that, but the generated triples are as:
<http://www.bla.com/to#Media3348> <http://www.bla.com/to#hasGenre> <http://www.bla.com/to#Genre1> .
however, I prefer to have prefixed-entities, not full-length URIs.
I am extracting the data using:
map:Genre a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:class to:Genre;
d2rq:uriPattern "http://www.bla.com/to#Genre@@M3.GENRE.GENRE_ID@@";
.
and even if I change the mapping file to
d2rq:uriPattern "to:Genre@@M3.GENRE.GENRE_ID@@";
the result is:
<to:Genre1>
they always include the < >