[ 
https://issues.apache.org/jira/browse/ANY23-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13253204#comment-13253204
 ] 

Paolo Castagna commented on ANY23-19:
-------------------------------------

mvn dependency:tree gives a better picture for the current dependencies.

{code}
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ any23-core ---
[INFO] org.apache.any23:any23-core:jar:0.7.0-incubating-SNAPSHOT
...
[INFO] +- net.sourceforge.nekohtml:nekohtml:jar:1.9.14:compile
[INFO] |  \- xerces:xercesImpl:jar:2.9.1:compile
[INFO] |     \- xml-apis:xml-apis:jar:1.3.04:compile
...
[INFO] +- org.openrdf.sesame:sesame-model:jar:2.6.1:compile
[INFO] |  \- org.openrdf.sesame:sesame-util:jar:2.6.1:compile
[INFO] +- org.openrdf.sesame:sesame-rio-api:jar:2.6.1:compile
[INFO] +- org.openrdf.sesame:sesame-rio-turtle:jar:2.6.1:compile
[INFO] +- org.openrdf.sesame:sesame-rio-rdfxml:jar:2.6.1:compile
[INFO] +- org.openrdf.sesame:sesame-rio-ntriples:jar:2.6.1:compile
[INFO] +- org.openrdf.sesame:sesame-rio-trix:jar:2.6.1:compile
[INFO] +- org.openrdf.sesame:sesame-repository-sail:jar:2.6.1:compile
[INFO] |  +- org.openrdf.sesame:sesame-sail-api:jar:2.6.1:compile
[INFO] |  +- org.openrdf.sesame:sesame-queryparser-api:jar:2.6.1:compile
[INFO] |  +- org.openrdf.sesame:sesame-queryalgebra-model:jar:2.6.1:compile
[INFO] |  \- org.openrdf.sesame:sesame-query:jar:2.6.1:compile
[INFO] +- org.openrdf.sesame:sesame-sail-memory:jar:2.6.1:compile
[INFO] |  +- org.openrdf.sesame:sesame-sail-inferencer:jar:2.6.1:compile
[INFO] |  |  \- org.openrdf.sesame:sesame-queryparser-serql:jar:2.6.1:runtime
[INFO] |  \- org.openrdf.sesame:sesame-queryalgebra-evaluation:jar:2.6.1:compile
[INFO] |     \- org.openrdf.sesame:sesame-repository-sparql:jar:2.6.1:compile
[INFO] |        +- org.openrdf.sesame:sesame-http-client:jar:2.6.1:compile
[INFO] |        |  +- org.openrdf.sesame:sesame-http-protocol:jar:2.6.1:compile
[INFO] |        |  \- 
org.openrdf.sesame:sesame-queryresultio-api:jar:2.6.1:compile
[INFO] |        \- 
org.openrdf.sesame:sesame-queryresultio-sparqlxml:jar:2.6.1:compile
[INFO] +- org.openrdf.sesame:sesame-repository-api:jar:2.6.1:compile
[INFO] +- info.aduna.commons:aduna-commons-xml:jar:2.7.0:compile
[INFO] +- info.aduna.commons:aduna-commons-text:jar:2.7.0:compile
[INFO] +- info.aduna.commons:aduna-commons-net:jar:2.7.0:compile
[INFO] +- info.aduna.commons:aduna-commons-lang:jar:2.9.0:compile
[INFO] +- info.aduna.commons:aduna-commons-iteration:jar:2.10.0:compile
[INFO] +- info.aduna.commons:aduna-commons-io:jar:2.10.0:compile
[INFO] +- info.aduna.commons:aduna-commons-concurrent:jar:2.7.0:compile
...
{code}

Note that xerces:xercesImpl is already included transitively via NekoHTML.

In any case, I changed this issue to a "Wish" and decreased its priority to 
Minor.
Developers can implement the 
[TripleHandler|http://incubator.apache.org/any23/xref/org/apache/any23/writer/TripleHandler.html]
 interface and store the RDF produced by Any23 where they need to.

                
> Abstract away any specific RDF APIs
> -----------------------------------
>
>                 Key: ANY23-19
>                 URL: https://issues.apache.org/jira/browse/ANY23-19
>             Project: Apache Any23
>          Issue Type: Wish
>    Affects Versions: 0.7.0
>            Reporter: Paolo Castagna
>            Priority: Minor
>             Fix For: 0.8.0
>
>
> Any23 currently uses Sesame to work with or parse RDF. Specifically Any23 
> uses these classes from org.openrdf.* packages:
> org.openrdf.model.BNode
> org.openrdf.model.datatypes.XMLDatatypeUtil
> org.openrdf.model.impl.LiteralImpl
> org.openrdf.model.impl.URIImpl
> org.openrdf.model.impl.ValueFactoryImpl
> org.openrdf.model.Literal
> org.openrdf.model.Resource
> org.openrdf.model.Statement
> org.openrdf.model.URI
> org.openrdf.model.Value
> org.openrdf.model.ValueFactory
> org.openrdf.model.vocabulary.OWL
> org.openrdf.model.vocabulary.RDF
> org.openrdf.model.vocabulary.RDFS
> org.openrdf.model.vocabulary.XMLSchema
> org.openrdf.repository.RepositoryConnection
> org.openrdf.repository.RepositoryException
> org.openrdf.repository.RepositoryResult
> org.openrdf.repository.sail.SailRepository
> org.openrdf.rio.helpers.RDFParserBase
> org.openrdf.rio.ntriples.NTriplesParser
> org.openrdf.rio.ntriples.NTriplesUtil
> org.openrdf.rio.ntriples.NTriplesWriter
> org.openrdf.rio.ParseErrorListener
> org.openrdf.rio.ParseLocationListener
> org.openrdf.rio.RDFFormat
> org.openrdf.rio.RDFHandler
> org.openrdf.rio.RDFHandlerException
> org.openrdf.rio.RDFParseException
> org.openrdf.rio.RDFParser
> org.openrdf.rio.rdfxml.RDFXMLParser
> org.openrdf.rio.rdfxml.RDFXMLWriter
> org.openrdf.rio.turtle.TurtleWriter
> org.openrdf.sail.memory.MemoryStore
> org.openrdf.sail.Sail
> org.openrdf.sail.SailException
> Would it be possible to abstract away any specific RDF APIs to allow Any23 
> users to chose between, say: Apache Clerezza [1], Apache Jena [2], Sesame [3] 
> and/or others?
> An example of small RDF distiller which does this is java-rdfa [4]. Maybe a 
> similar agnostic (but easy to integrate) approach is possible for Any23. 
> Although, java-rdfa does not need to parse RDF content itself. 
>  [1] http://incubator.apache.org/clerezza/
>  [2] http://incubator.apache.org/jena/
>  [3] http://www.openrdf.org/
>  [4] https://github.com/shellac/java-rdfa

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

        

Reply via email to