incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tommaso Teofili (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLEREZZA-415) RDF/JSON Parser can not parse triples with blank node objects when the blank node does not appear as subject.
Date Tue, 08 Nov 2011 14:23:58 GMT

     [ https://issues.apache.org/jira/browse/CLEREZZA-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tommaso Teofili updated CLEREZZA-415:
-------------------------------------

    Fix Version/s: 0.2-incubating
    
> RDF/JSON Parser can not parse triples with blank node objects when the blank node does
not appear as subject.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-415
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-415
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Daniel Spicar
>            Assignee: Hasan
>            Priority: Minor
>             Fix For: 0.2-incubating
>
>
> Triples of the form (N-Triples syntax):
> <http://example.org/res> <http://example.org/prop> _:a .
> can not be parsed. Error message:
> java.lang.IllegalArgumentException: Invalid object: null
> 	at org.apache.clerezza.rdf.core.impl.TripleImpl.<init>(TripleImpl.java:50)
> 	at org.apache.clerezza.rdf.rdfjson.parser.RdfJsonParsingProvider.addValuesToGraph(RdfJsonParsingProvider.java:130)
> While such triples may not be very interesting semantically, they are nevertheless valid
RDF.
> If there is a triple of the form (the blank node appears as the subject)
> _:a <http://example.org/prop2> "Hello" .
> in the graph the parsing succeeds. 

--
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

        

Mime
View raw message