marklogic-rdf4j | Support for MarkLogic exposed inthe rdf4j idiom | Data Manipulation library

 by   marklogic Java Version: 1.2.2 License: Non-SPDX

kandi X-RAY | marklogic-rdf4j Summary

kandi X-RAY | marklogic-rdf4j Summary

marklogic-rdf4j is a Java library typically used in Utilities, Data Manipulation applications. marklogic-rdf4j has no bugs, it has no vulnerabilities, it has build file available and it has low support. However marklogic-rdf4j has a Non-SPDX License. You can download it from GitHub, Maven.

The markLogic-rdf4j API is a RDF4J Repository implementation exposing MarkLogic semantic features.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              marklogic-rdf4j has a low active ecosystem.
              It has 6 star(s) with 2 fork(s). There are 22 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 4 open issues and 17 have been closed. On average issues are closed in 40 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of marklogic-rdf4j is 1.2.2

            kandi-Quality Quality

              marklogic-rdf4j has 0 bugs and 0 code smells.

            kandi-Security Security

              marklogic-rdf4j has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              marklogic-rdf4j code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              marklogic-rdf4j has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              marklogic-rdf4j releases are available to install and integrate.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 12280 lines of code, 692 functions and 65 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed marklogic-rdf4j and discovered the below as its top functions. This is intended to give you an instant insight into marklogic-rdf4j implemented functionality, and help decide if they suit your requirements.
            • Entry point
            • Returns number of triples in given contexts
            • Executes an update query
            • Executes a SPARQL query with an InputStreamHandle
            • Main entry point
            • Start timer task
            • Load triples from database
            • Exports the resource to the model
            • Parse the configuration
            • Package - private for testing
            • Loads the properties file and initializes them
            • Entry point to the example
            • Create a Repository object
            • Check to see if the cache should be flushed
            • Flushes the triples to the server
            • Flush triples to the server
            • Entry point for testing
            • Lazily initialize internal structures
            Get all kandi verified functions for this library.

            marklogic-rdf4j Key Features

            No Key Features are available at this moment for marklogic-rdf4j.

            marklogic-rdf4j Examples and Code Snippets

            marklogic-rdf4j v1.2.2,Usage,Quick Start
            Javadot img1Lines of Code : 8dot img1License : Non-SPDX (NOASSERTION)
            copy iconCopy
            dependencies {
                compile group: 'com.marklogic', name: 'marklogic-rdf4j', version: '1.2.2'
            }
            
            
                com.marklogic
                marklogic-rdf4j
                1.2.2
            
              
            marklogic-rdf4j v1.2.2,Build and Use from develop branch
            Javadot img2Lines of Code : 8dot img2License : Non-SPDX (NOASSERTION)
            copy iconCopy
            mvn -Dmaven.test.skip=true -Dmaven.javadoc.skip=true deploy
            
                compile('com.marklogic:marklogic-client-api:4.1.2') 
            
            
            gradle marklogic-rdf4j:mlDeploy
            
            gradle marklogic-rdf4j:test
            
            gradle marklogic-rdf4j:install
            
            
            gradle build -x test
              
            Javadocs
            Javadot img3Lines of Code : 2dot img3License : Non-SPDX (NOASSERTION)
            copy iconCopy
            gradle marklogic-rdf4j:javadoc
            
              

            Community Discussions

            QUESTION

            MarkLogic: Constrain SPARQL query scope by triple-range-query constraint
            Asked 2019-Sep-20 at 07:26

            I would like to evaluate a SPARQL query against a limited document scope, which is based on a triple range query. Only embedded triples contained by documents which match a specific triple pattern should be part of the SPARQL evaluation scope. I'm using the Java SDK (via marklogic-rdf4j) to evaluate the SPARQL query. We're only using embedded/unmanaged triples.

            I'm aware of the possibility to attach a structured query definition to a SPARQL query (by calling MarkLogicQuery::setConstrainingQueryDefinition), but the structured query syntax does not support triple-range-query constraints.

            Is there any way to apply one or more triple-range-query constraints in a structured query definition? Or are there better alternatives?

            ...

            ANSWER

            Answered 2019-Sep-20 at 07:26

            Support for triple-range-query in structured queries has been requested before. I added your case to the ticket.

            In the mean time you might get away with using a custom constraint. Me and a colleague put this together:

            https://github.com/patrickmcelwee/triple-range-constraint/blob/master/triple-range-constraint.xqy

            HTH!

            Source https://stackoverflow.com/questions/58004795

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install marklogic-rdf4j

            Ensure MarkLogic 9.0-8 or greater is installed and running. To use marklogic-rdf4j applications you will need access to a running MarkLogic server.
            The markLogic-rdf4j API is available via Maven Central.
            This section describes how to build and test marklogic-rdf4j API from develop branch. marklogic-rdf4j depends on MarkLogic Java API Client v4.1.2 and should pull down this version from maven central.
            Clone or download MarkLogic Java API client develop branch.
            Build and deploy Java API client to local maven repo.
            Edit marklogic-RDF4J/build.gradle to use that build
            Clone or download marklogic-rdf4j master branch.
            Review marklogic-rdf4j/gradle.properties which defines test deployment settings.
            Run gradle target that provisions MarkLogic with everything required (database,REST server,etc.).

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link