You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Daniel Spicar (JIRA)" <ji...@apache.org> on 2011/02/03 15:29:29 UTC

[jira] Created: (CLEREZZA-415) RDF/JSON Parser can not parse triples with blank node objects when the blank node does not appear as subject.

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
            Priority: Minor


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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CLEREZZA-415) RDF/JSON Parser can not parse triples with blank node objects when the blank node does not appear as subject.

Posted by "Tommaso Teofili (Updated) (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] Assigned: (CLEREZZA-415) RDF/JSON Parser can not parse triples with blank node objects when the blank node does not appear as subject.

Posted by "Hasan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hasan reassigned CLEREZZA-415:
------------------------------

    Assignee: Hasan

> 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
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (CLEREZZA-415) RDF/JSON Parser can not parse triples with blank node objects when the blank node does not appear as subject.

Posted by "Hasan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hasan resolved CLEREZZA-415.
----------------------------

    Resolution: Fixed

> 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
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira