You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2014/03/26 09:14:23 UTC
[jira] [Resolved] (STANBOL-1301) Entityhub Sesame Model returns
Sesame BNodes as Entityhub Reference
[ https://issues.apache.org/jira/browse/STANBOL-1301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rupert Westenthaler resolved STANBOL-1301.
------------------------------------------
Resolution: Fixed
fixed with http://svn.apache.org/r1581735 in 0.12.1 and http://svn.apache.org/r1581736 in the trunk
> Entityhub Sesame Model returns Sesame BNodes as Entityhub Reference
> -------------------------------------------------------------------
>
> Key: STANBOL-1301
> URL: https://issues.apache.org/jira/browse/STANBOL-1301
> Project: Stanbol
> Issue Type: Bug
> Components: Entityhub
> Affects Versions: 0.12.0
> Reporter: Rupert Westenthaler
> Assignee: Rupert Westenthaler
> Fix For: 0.12.1
>
>
> The SesameModel for the Entithub converts Sesame BNodes as 'o.a.s.entityhub.sesame.model.RdfBNode' instances. As RdfBNode implements the Entityhub 'Reference' interface Sesame BNodes are in fact represented like URIs.
> This can create problems when serializing Entityhub Representations in RDF by as BNodes are serialized as URIs like in the following Example
> {code}
> <http://example.org/mySkos#Concept123>
> a <http://www.w3.org/2004/02/skos/core#Concept>;
> <http://purl.org/dc/elements/1.1/identifier> "123" ;
> <http://www.w3.org/2004/02/skos/core#prefLabel> "Concept123"@en;
> <http://www.w3.org/2004/02/skos/core#scopeNote>
> <5d8580be71044a88bcfe9852d1e9cfb6node17c4j452vx19576> ,
> <5d8580be71044a88bcfe9852d1e9cfb6node17c4j452vx19634> .
> {code}
> In this example scopeNode values do use a BNode to represent the nary relation to the Note, the creator of the Note, the date of creation ...
> However the BNode is serialized as URI because the Sesame Model reports it as an Reference (a RdfBNode).
> To avoid this the Sesame Model should be changed to simple ignore BNodes.
--
This message was sent by Atlassian JIRA
(v6.2#6252)