Rupert Westenthaler created STANBOL-676:
-------------------------------------------
Summary: ClerezzaYard create/update operation may store more data
as intended
Key: STANBOL-676
URL: https://issues.apache.org/jira/browse/STANBOL-676
Project: Stanbol
Issue Type: Bug
Affects Versions: entityhub-0.10.0-incubating
Reporter: Rupert Westenthaler
Assignee: Rupert Westenthaler
Multiple RdfRepresentation may share the same Graph. This is because it greatly
improves the performance when dealing with Result-Sets, retrieving results of
SPARQL construct queries or RDF data uploaded to the Entityhub.
However it also means that when creating/storing an RdfRepresentation to the
Clerezza yard one MUST NOT use
rdfRepresentation.getRdfGraph()
and store all contained triples. One needs to use
rdfRepresentation.getRdfGraph().filter(
rdfRepresentation.getNode(), null, null);
and than add all triples of the Iterator.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira