pax_global_header00006660000000000000000000000064145221275210014513gustar00rootroot0000000000000052 comment=01c3086a2bba620bf74ac6440797275cb41cbe86 jsonld-java-0.13.6/000077500000000000000000000000001452212752100140125ustar00rootroot00000000000000jsonld-java-0.13.6/.gitignore000077500000000000000000000001551452212752100160060ustar00rootroot00000000000000.classpath .project .settings target/ .svn/ *.iml .idea *~ pom.xml.versionsBackup dependency-reduced-pom.xml jsonld-java-0.13.6/.travis.yml000066400000000000000000000003171452212752100161240ustar00rootroot00000000000000language: java jdk: - openjdk8 - openjdk11 notifications: email: false after_success: - mvn clean test jacoco:report coveralls:report arch: - amd64 - ppc64le cache: directories: - $HOME/.m2 jsonld-java-0.13.6/LICENCE000066400000000000000000000030751452212752100150040ustar00rootroot00000000000000Copyright (c) 2012, Deutsche Forschungszentrum für Künstliche Intelligenz GmbH Copyright (c) 2012-2017, JSONLD-Java contributors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. jsonld-java-0.13.6/README.md000066400000000000000000000704521452212752100153010ustar00rootroot00000000000000**JSONLD-Java is looking for a maintainer** JSONLD-JAVA =========== This is a Java implementation of the [JSON-LD 1.0 specification](https://www.w3.org/TR/2014/REC-json-ld-20140116/) and the [JSON-LD-API 1.0 specification](https://www.w3.org/TR/2014/REC-json-ld-api-20140116/). [![Build Status](https://travis-ci.org/jsonld-java/jsonld-java.svg?branch=master)](https://travis-ci.org/jsonld-java/jsonld-java) [![Coverage Status](https://coveralls.io/repos/jsonld-java/jsonld-java/badge.svg?branch=master)](https://coveralls.io/r/jsonld-java/jsonld-java?branch=master) USAGE ===== From Maven ---------- com.github.jsonld-java jsonld-java 0.13.5 Code example ------------ ```java // Open a valid json(-ld) input file InputStream inputStream = new FileInputStream("input.json"); // Read the file into an Object (The type of this object will be a List, Map, String, Boolean, // Number or null depending on the root object in the file). Object jsonObject = JsonUtils.fromInputStream(inputStream); // Create a context JSON map containing prefixes and definitions Map context = new HashMap(); // Customise context... // Create an instance of JsonLdOptions with the standard JSON-LD options JsonLdOptions options = new JsonLdOptions(); // Customise options... // Call whichever JSONLD function you want! (e.g. compact) Object compact = JsonLdProcessor.compact(jsonObject, context, options); // Print out the result (or don't, it's your call!) System.out.println(JsonUtils.toPrettyString(compact)); ``` Processor options ----------------- The Options specified by the [JSON-LD API Specification](https://json-ld.org/spec/latest/json-ld-api/#the-jsonldoptions-type) are accessible via the `com.github.jsonldjava.core.JsonLdOptions` class, and each `JsonLdProcessor.*` function has an optional input to take an instance of this class. Controlling network traffic --------------------------- Parsing JSON-LD will normally follow any external `@context` declarations. Loading these contexts from the network may in some cases not be desirable, or might require additional proxy configuration or authentication. JSONLD-Java uses the [Apache HTTPComponents Client](https://hc.apache.org/httpcomponents-client-ga/index.html) for these network connections, based on the [SystemDefaultHttpClient](http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/SystemDefaultHttpClient.html) which reads standard Java properties like `http.proxyHost`. The default HTTP Client is wrapped with a [CachingHttpClient](https://hc.apache.org/httpcomponents-client-ga/httpclient-cache/apidocs/org/apache/http/impl/client/cache/CachingHttpClient.html) to provide a small memory-based cache (1000 objects, max 128 kB each) of regularly accessed contexts. ### Loading contexts from classpath Your application might be parsing JSONLD documents which always use the same external `@context` IRIs. Although the default HTTP cache (see above) will avoid repeated downloading of the same contexts, your application would still initially be vulnerable to network connectivity. To bypass this issue, and even facilitate parsing of such documents in an offline state, it is possible to provide a 'warmed' cache populated from the classpath, e.g. loaded from a JAR. In your application, simply add a resource `jarcache.json` to the root of your classpath together with the JSON-LD contexts to embed. (Note that you might have to recursively embed any nested contexts). The syntax of `jarcache.json` is best explained by example: ```javascript [ { "Content-Location": "http://www.example.com/context", "X-Classpath": "contexts/example.jsonld", "Content-Type": "application/ld+json" }, { "Content-Location": "http://data.example.net/other", "X-Classpath": "contexts/other.jsonld", "Content-Type": "application/ld+json" } ] ``` (See also [core/src/test/resources/jarcache.json](core/src/test/resources/jarcache.json)). This will mean that any JSON-LD document trying to import the `@context` `http://www.example.com/context` will instead be given `contexts/example.jsonld` loaded as a classpath resource. The `X-Classpath` location is an IRI reference resolved relative to the location of the `jarcache.json` - so if you have multiple JARs with a `jarcache.json` each, then the `X-Classpath` will be resolved within the corresponding JAR (minimizing any conflicts). Additional HTTP headers (such as `Content-Type` above) can be included, although these are generally ignored by JSONLD-Java. Unless overridden in `jarcache.json`, this `Cache-Control` header is automatically injected together with the current `Date`, meaning that the resource loaded from the JAR will effectively never expire (the real HTTP server will never be consulted by the Apache HTTP client): ``` Date: Wed, 19 Mar 2014 13:25:08 GMT Cache-Control: max-age=2147483647 ``` The mechanism for loading `jarcache.json` relies on [Thread.currentThread().getContextClassLoader()](http://docs.oracle.com/javase/7/docs/api/java/lang/Thread.html#getContextClassLoader%28%29) to locate resources from the classpath - if you are running on a command line, within a framework (e.g. OSGi) or Servlet container (e.g. Tomcat) this should normally be set correctly. If not, try: ```java ClassLoader oldContextCL = Thread.currentThread().getContextClassLoader(); try { Thread.currentThread().setContextClassLoader(getClass().getClassLoader()); JsonLdProcessor.expand(input); // or any other JsonLd operation } finally { // Restore, in case the current thread was doing something else // with the context classloader before calling our method Thread.currentThread().setContextClassLoader(oldContextCL); } ``` To disable all remote document fetching, when using the default DocumentLoader, set the following Java System Property to "true" using: ```java System.setProperty("com.github.jsonldjava.disallowRemoteContextLoading", "true"); ``` You can also use the constant provided in DocumentLoader for the same purpose: ```java System.setProperty(DocumentLoader.DISALLOW_REMOTE_CONTEXT_LOADING, "true"); ``` Note that if you override DocumentLoader you should also support this setting for consistency and security. ### Loading contexts from a string Your application might be parsing JSONLD documents which reference external `@context` IRIs that are not available as file URIs on the classpath. In this case, the `jarcache.json` approach will not work. Instead you can inject the literal context file strings through the `JsonLdOptions` object, as follows: ```java // Inject a context document into the options as a literal string DocumentLoader dl = new DocumentLoader(); JsonLdOptions options = new JsonLdOptions(); // ... the contents of "contexts/example.jsonld" String jsonContext = "{ \"@context\": { ... } }"; dl.addInjectedDoc("http://www.example.com/context", jsonContext); options.setDocumentLoader(dl); InputStream inputStream = new FileInputStream("input.json"); Object jsonObject = JsonUtils.fromInputStream(inputStream); Map context = new HashMap(); Object compact = JsonLdProcessor.compact(jsonObject, context, options); System.out.println(JsonUtils.toPrettyString(compact)); ``` ### Customizing the Apache HttpClient To customize the HTTP behaviour (e.g. to disable the cache or provide [authentication credentials)](https://hc.apache.org/httpcomponents-client-ga/tutorial/html/authentication.html), you may want to create and configure your own `CloseableHttpClient` instance, which can be passed to a `DocumentLoader` instance using `setHttpClient()`. This document loader can then be inserted into `JsonLdOptions` using `setDocumentLoader()` and passed as an argument to `JsonLdProcessor` arguments. Example of inserting a credential provider (e.g. to load a `@context` protected by HTTP Basic Auth): ```java Object input = JsonUtils.fromInputStream(..); DocumentLoader documentLoader = new DocumentLoader(); CredentialsProvider credsProvider = new BasicCredentialsProvider(); credsProvider.setCredentials( new AuthScope("localhost", 443), new UsernamePasswordCredentials("username", "password")); CacheConfig cacheConfig = CacheConfig.custom().setMaxCacheEntries(1000) .setMaxObjectSize(1024 * 128).build(); CloseableHttpClient httpClient = CachingHttpClientBuilder .create() // allow caching .setCacheConfig(cacheConfig) // Wrap the local JarCacheStorage around a BasicHttpCacheStorage .setHttpCacheStorage( new JarCacheStorage(null, cacheConfig, new BasicHttpCacheStorage( cacheConfig))).... // Add in the credentials provider .setDefaultCredentialsProvider(credsProvider); // When you are finished setting the properties, call build .build(); documentLoader.setHttpClient(httpClient); JsonLdOptions options = new JsonLdOptions(); options.setDocumentLoader(documentLoader); // .. and any other options Object rdf = JsonLdProcessor.toRDF(input, options); ``` PLAYGROUND ---------- The [jsonld-java-tools](https://github.com/jsonld-java/jsonld-java-tools) repository contains a simple application which provides command line access to JSON-LD functions ### Initial clone and setup ```bash git clone git@github.com:jsonld-java/jsonld-java-tools.git chmod +x ./jsonldplayground ``` ### Usage run the following to get usage details: ```bash ./jsonldplayground --help ``` For Developers -------------- ### Compiling & Packaging `jsonld-java` uses maven to compile. From the base `jsonld-java` module run `mvn clean install` to install the jar into your local maven repository. ### Running tests ```bash mvn test ``` or ```bash mvn test -pl core ``` to run only core package tests ### Code style The JSONLD-Java project uses custom Eclipse formatting and cleanup style guides to ensure that Pull Requests are fairly simple to merge. These guides can be found in the /conf directory and can be installed in Eclipse using "Properties>Java Code Style>Formatter", followed by "Properties>Java Code Style>Clean Up" for each of the modules making up the JSONLD-Java project. If you don't use Eclipse, then don't worry, your pull requests can be cleaned up by a repository maintainer prior to merging, but it makes the initial check easier if the modified code uses the conventions. ### Submitting Pull Requests Once you have made a change to fix a bug or add a new feature, you should commit and push the change to your fork. Then, you can open a pull request to merge your change into the master branch of the main repository. Implementation Reports for JSONLD-Java conformance with JSONLD-1.0 ================================================================== The Implementation Reports documenting the conformance of JSONLD-Java with JSONLD-1.0 are available at: https://github.com/jsonld-java/jsonld-java/tree/master/core/reports ### Regenerating Implementation Report Implementation Reports conforming to the [JSON-LD Implementation Report](http://json-ld.org/test-suite/reports/#instructions-for-submitting-implementation-reports) document can be regenerated using the following command: ```bash mvn test -pl core -Dtest=JsonLdProcessorTest -Dreport.format= ``` Current possible values for `` include JSON-LD (`application/ld+json` or `jsonld`), NQuads (`text/plain`, `nquads`, `ntriples`, `nq` or `nt`) and Turtle (`text/turtle`, `turtle` or `ttl`). `*` can be used to generate reports in all available formats. Integration of JSONLD-Java with other Java packages =================================================== This is the base package for JSONLD-Java. Integration with other Java packages are done in separate repositories. Existing integrations --------------------- * [Eclipse RDF4J](https://github.com/eclipse/rdf4j) * [Apache Jena](https://github.com/apache/jena/) * [RDF2GO](https://github.com/jsonld-java/jsonld-java-rdf2go) * [Apache Clerezza](https://github.com/jsonld-java/jsonld-java-clerezza) Creating an integration module ------------------------------ ### Create a repository for your module Create a GitHub repository for your module under your user account, or have a JSONLD-Java maintainer create one in the jsonld-java organisation. Create maven module ------------------- ### Create pom.xml for your module Here is the basic outline for what your module's pom.xml should look like ```xml com.github.jsonld-java jsonld-java-parent 0.13.5 4.0.0 jsonld-java-{your module} 0.13.5-SNAPSHOT JSONLD Java :: {your module name} JSON-LD Java integration module for {RDF Library your module integrates} jar {YOU} {YOUR EMAIL ADDRESS} ${project.groupId} jsonld-java ${project.version} jar compile ${project.groupId} jsonld-java ${project.version} test-jar test junit junit test org.slf4j slf4j-jdk14 test ``` Make sure you edit the following: * `project/artifactId` : set this to `jsonld-java-{module id}`, where `{module id}` usually represents the RDF library you're integrating (e.g. `jsonld-java-jena`) * `project/name` : set this to `JSONLD Java :: {Module Name}`, wher `{module name}` is usually the name of the RDF library you're integrating. * `project/description` * `project/developers/developer/...` : Give youself credit by filling in the developer field. At least put your `` in ([see here for all available options](http://maven.apache.org/pom.html#Developers)). * `project/dependencies/...` : remember to add any dependencies your project needs ### Import into your favorite editor For Example: Follow the first few steps in the section above to import the whole `jsonld-java` project or only your new module into eclipse. Create RDFParser Implementation ------------------------------- The interface `com.github.jsonldjava.core.RDFParser` is used to parse RDF from the library into the JSONLD-Java internal RDF format. See the documentation in [`RDFParser.java`](../core/src/main/java/com/github/jsonldjava/core/RDFParser.java) for details on how to implement this interface. Create TripleCallback Implementation ------------------------------------ The interface `com.github.jsonldjava.core.JSONLDTripleCallback` is used to generate a representation of the JSON-LD input in the RDF library. See the documentation in [`JSONLDTripleCallback.java`](../core/src/main/java/com/github/jsonldjava/core/JSONLDTripleCallback.java) for details on how to implement this interface. Using your Implementations -------------------------- ### RDFParser A JSONLD RDF parser is a class that can parse your frameworks' RDF model and generate JSON-LD. There are two ways to use your `RDFParser` implementation. Register your parser with the `JSONLD` class and set `options.format` when you call `fromRDF` ```java JSONLD.registerRDFParser("format/identifier", new YourRDFParser()); Object jsonld = JSONLD.fromRDF(yourInput, new Options("") {{ format = "format/identifier" }}); ``` or pass an instance of your `RDFParser` into the `fromRDF` function ```java Object jsonld = JSONLD.fromRDF(yourInput, new YourRDFParser()); ``` ### JSONLDTripleCallback A JSONLD triple callback is a class that can populate your framework's RDF model from JSON-LD - being called for each triple (technically quad). Pass an instance of your `TripleCallback` to `JSONLD.toRDF` ```java Object yourOutput = JSONLD.toRDF(jsonld, new YourTripleCallback()); ``` Integrate with your framework ----------------------------- Your framework might have its own system of readers and writers, where you should register JSON-LD as a supported format. Remember that here the "parse" direction is opposite of above, a 'reader' may be a class that can parse JSON-LD and populate an RDF Graph. Write Tests ----------- It's helpful to have a test or two for your implementations to make sure they work and continue to work with future versions. Write README.md --------------- Write a `README.md` file with instrutions on how to use your module. Submit your module ------------------ Once you've `commit`ted your code, and `push`ed it into your github fork you can issue a [Pull Request](https://help.github.com/articles/using-pull-requests) so that we can add a reference to your module in this README file. Alternatively, we can also host your repository in the jsonld-java organisation to give it more visibility. CHANGELOG ========= ### 2023-11-06 * Release 0.13.6 * Bump Jackson-databind version to latest for security update ### 2023-11-03 * Release 0.13.5 * Bump Jackson and Guava versions to latest for security updates ### 2021-12-13 * Release 0.13.4 * Switch test logging from log4j to logback (Patch by @ansell) * Improve Travis CI build Performance (Patch by @YunLemon) ### 2021-03-06 * Release 0.13.3 * Fix @type when subject and object are the same (Reported by @barthanssens, Patch by @umbreak) * Ignore @base if remote context is not relative (Reported by @whikloj, Patch by @dr0i) * Fix throwing recursive context inclusion (Patch by @umbreak) ### 2020-09-24 * Release 0.13.2 * Fix Guava dependency shading (Reported by @ggrasso) * Fix @context issues when using a remote context (Patch by @umbreak) * Deprecate Context.serialize (Patch by @umbreak) ### 2020-09-09 * Release 0.13.1 * Fix java.net.URI resolution (Reported by @ebremer and @afs, Patch by @dr0i) * Shade Guava failureaccess module (Patch by @peacekeeper) * Don't minimize Guava class shading (Patch by @elahrvivaz) * Follow link headers to @context files (Patch by @dr0i and @fsteeg) ### 2019-11-28 * Release 0.13.0 * Bump Jackson versions to latest for security updates (Patch by @afs) * Do not canonicalise XSD Decimal typed values (Patch by @jhg023) * Bump dependency and plugin versions ### 2019-08-03 * Release 0.12.5 * Bump Jackson versions to latest for security updates (Patches by @afs) * IRI resolution fixes (Patch by @fsteeg) ### 2019-04-20 * Release 0.12.4 * Bump Jackson version to 2.9.8 * Add a regression test for a past framing bug * Throw error on empty key * Add regression tests for workarounds to Text/URL dual definitions * Persist JsonLdOptions through normalize/toRDF ### 2018-11-24 * Release 0.12.3 * Fix NaN/Inf/-Inf raw value types on conversion to RDF * Added fix for wrong rdf:type to @type conversion (Path by @umbreak) * Open up Context.getTypeMapping and Context.getLanguageMapping for reuse ### 2018-11-03 * W3c json ld syntax 34 allow container set on aliased type (Patch by @dr0i) * Release 0.12.2 ### 2018-09-05 * handle omit graph flag (Patch by @eroux) * Release 0.12.1 * Make pruneBlankNodeIdentifiers false by default in 1.0 mode and always true in 1.1 mode (Patch by @eroux) * Fix issue with blank node identifier pruning when @id is aliased (Patch by @eroux) * Allow wildcard {} for @id in framing (Patch by @eroux) ### 2018-07-07 * Fix tests setup for schema.org with HttpURLConnection that break because of the inability of HttpURLConnection to redirect from HTTP to HTTPS ### 2018-04-08 * Release 0.12.0 * Encapsulate RemoteDocument and make it immutable ### 2018-04-03 * Fix performance issue caused by not caching schema.org and others that use ``Cache-Control: private`` (Patch by @HansBrende) * Cache classpath scans for jarcache.json to fix a similar performance issue * Add internal shaded dependency on Google Guava to use maintained soft and weak reference maps rather than adhoc versions * Make JsonLdError a RuntimeException to improve its use in closures * Bump minor version to 0.12 to reflect the API incompatibility caused by JsonLdError and protected field change and hiding in JarCacheStorage ### 2018-01-25 * Fix resource leak in JsonUtils.fromURL on unsuccessful requests (Patch by @plaplaige) ### 2017-11-15 * Ignore UTF BOM (Patch by @christopher-johnson) ### 2017-08-26 * Release 0.11.1 * Fix @embed:@always support (Patch by @dr0i) ### 2017-08-24 * Release 0.11.0 ### 2017-08-22 * Add implicit "flag only" subframe to fix incomplete list recursion (Patch by @christopher-johnson) * Support pruneBlankNodeIdentifiers framing option in 1.1 mode (Patch by @fsteeg and @eroux) * Support new @embed values (Patch by @eroux) ### 2017-07-11 * Add injection of contexts directly into DocumentLoader (Patch by @ryankenney) * Fix N-Quads content type (Patch by @NicolasRouquette) * Add JsonUtils.fromJsonParser (Patch by @dschulten) ### 2017-02-16 * Make literals compare consistently (Patch by @stain) * Release 0.10.0 ### 2017-01-09 * Propagate causes for JsonLdError instances where they were caused by other Exceptions * Remove schema.org hack as it appears to work again now... * Remove deprecated and unused APIs * Bump version to 0.10.0-SNAPSHOT per the removed/changed APIs ### 2016-12-23 * Release 0.9.0 * Fixes schema.org support that is broken with Apache HTTP Client but works with java.net.URL ### 2016-05-20 * Fix reported NPE in JsonLdApi.removeDependents ### 2016-05-18 * Release 0.8.3 * Fix @base in remote contexts corrupting the local context ### 2016-04-23 * Support @default inside of sets for framing ### 2016-02-29 * Fix ConcurrentModificationException in the implementation of the Framing API ### 2016-02-17 * Re-release version 0.8.2 with the refactoring work actually in it. 0.8.1 is identical in functionality to 0.8.0 * Release version 0.8.1 * Refactor JSONUtils and DocumentLoader to move most of the static logic into JSONUtils, and deprecate the DocumentLoader versions ### 2016-02-10 * Release version 0.8.0 ### 2015-11-19 * Replace deprecated HTTPClient code with the new builder pattern * Chain JarCacheStorage to any other HttpCacheStorage to simplify the way local caching is performed * Bump version to 0.8.0-SNAPSHOT as some interface method parameters changed, particularly, DocumentLoader.setHttpClient changed to require CloseableHttpClient that was introduced in HttpClient-4.3 ### 2015-11-16 * Bump dependencies to latest versions, particularly HTTPClient that is seeing more use on 4.5/4.4 than the 4.2 series that we have used so far * Performance improvements for serialisation to N-Quads by replacing string append and replace with StringBuilder * Support setting a system property, com.github.jsonldjava.disallowRemoteContextLoading, to "true" to disable remote context loading. ### 2015-09-30 * Release 0.7.0 ### 2015-09-27 * Move Tools, Clerezza and RDF2GO modules out to separate repositories. The Tools repository had a circular build dependency with Sesame, while the other modules are best located and managed in separate repositories ### 2015-08-25 * Remove Sesame-2.7 module in favour of sesame-rio-jsonld for Sesame-2.8 and 4.0 * Fix bug where parsing did not fail if content was present after the end of a full JSON top level element ### 2015-03-12 * Compact context arrays if they contain a single element during compaction * Bump to Sesame-2.7.15 ### 2015-03-01 * Use jopt-simple for the playground cli to simplify the coding and improve error messages * Allow RDF parsing and writing using all of the available Sesame Rio parsers through the playground cli * Make the httpclient dependency OSGi compliant ### 2014-12-31 * Fix locale sensitive serialisation of XSD double/decimal typed literals to always be Locale.US * Bump to Sesame-2.7.14 * Bump to Clerezza-0.14 ### 2014-11-14 * Fix identification of integer, boolean, and decimal in RDF-JSONLD with useNativeTypes * Release 0.5.1 ### 2014-10-29 * Add OSGi metadata to Jar files * Bump to Sesame-2.7.13 ### 2014-07-14 * Release version 0.5.0 * Fix Jackson parse exceptions being propagated through Sesame without wrapping as RDFParseExceptions ### 2014-07-02 * Fix use of Java-7 API so we are still Java-6 compatible * Ensure that Sesame RDFHandler endRDF and startRDF are called in SesameTripleCallback ### 2014-06-30 * Release version 0.4.2 * Bump to Sesame-2.7.12 * Remove Jena integration module, as it is now maintained by Jena team in their repository ### 2014-04-22 * Release version 0.4 * Bump to Sesame-2.7.11 * Bump to Jackson-2.3.3 * Bump to Jena-2.11.1 ### 2014-03-26 * Bump RDF2GO to version 5.0.0 ### 2014-03-24 * Allow loading remote @context from bundled JAR cache * Support JSON array in @context with toRDF * Avoid exception on @context with default @language and unmapped key ### 2014-02-24 * Javadoc some core classes, JsonLdProcessor, JsonLdApi, and JsonUtils * Rename some core classes for consistency, particularly JSONUtils to JsonUtils and JsonLdTripleCallback * Fix for a Context constructor that wasn't taking base into account ### 2014-02-20 * Fix JsonLdApi mapping options in framing algorithm (Thanks Scott Blomquist @sblom) ### 2014-02-06 * Release version 0.3 * Bump to Sesame-2.7.10 * Fix Jena module to use new API ### 2014-01-29 * Updated to final Recommendation * Namespaces supported by Sesame integration module * Initial implementation of remote document loading * Bump to Jackson-2.3.1 ### 2013-11-22 * updated jena writer ### 2013-11-07 * Integration packages renamed com.github.jsonldjava.sesame, com.github.jsonldjava.jena etc. (Issue #76) ### 2013-10-07 * Matched class names to Spec - Renamed `JSONLDException` to `JsonLdError` - Renamed `JSONLDProcessor` to `JsonLdApi` - Renamed `JSONLD` to `JsonLdProcessor` - Renamed `ActiveContext` to `Context` - Renamed `Options` to `JsonLdOptions` * All context related utility functions moved to be members of the `Context` class ### 2013-09-30 * Fixed JSON-LD to Jena to handle of BNodes ### 2013-09-02 * Add RDF2Go integration * Bump Sesame and Clerezza dependency versions ### 2013-06-18 * Bump to version 0.2 * Updated Turtle integration * Added Caching of contexts loaded from URI * Added source formatting eclipse config * Fixed up seasame integration package names * Replaced depreciated Jackson code ### 2013-05-19 * Added Turtle RDFParser and TripleCallback * Changed Maven groupIds to `com.github.jsonld-java` to match github domain. * Released version 0.1 ### 2013-05-16 * Updated core code to match [JSON-LD 1.0 Processing Algorithms and API / W3C Editor's Draft 14 May 2013](http://json-ld.org/spec/latest/json-ld-api/) * Deprecated JSONLDSerializer in favor of the RDFParser interface to better represent the purpose of the interface and better fit in with the updated core code. * Updated the JSONLDTripleCallback to better fit with the updated code. * Updated the Playground tool to support updated core code. ### 2013-05-07 * Changed base package names to com.github.jsonldjava * Reverted version to 0.1-SNAPSHOT to allow version incrementing pre 1.0 while allowing a 1.0 release when the json-ld spec is finalised. * Turned JSONLDTripleCallback into an interface. ### 2013-04-18 * Updated to Sesame 2.7.0, Jena 2.10.0, Jackson 2.1.4 * Fixing a character encoding issue in the JSONLDProcessorTests * Bumping to 1.0.1 to reflect dependency changes ### 2012-10-30 * Brought the implementation up to date with the reference implementation (minus the normalization stuff) * Changed entry point for the functions to the static functions in the JSONLD class * Changed the JSONLDSerializer to an abstract class, requiring the implementation of a "parse" function. The JSONLDSerializer is now passed to the JSONLD.fromRDF function. * Added JSONLDProcessingError class to handle errors more efficiently Considerations for 1.0 release / optimisations ========= * The `Context` class is a `Map` and many of the options are stored as values of the map. These could be made into variables, whice should speed things up a bit (the same with the termDefinitions variable inside the Context). * some sort of document loader interface (with a mockup for testing) is required jsonld-java-0.13.6/conf/000077500000000000000000000000001452212752100147375ustar00rootroot00000000000000jsonld-java-0.13.6/conf/eclipse-cleanup-style.xml000066400000000000000000000072551452212752100217010ustar00rootroot00000000000000 jsonld-java-0.13.6/conf/eclipse-formatter-settings.xml000066400000000000000000000742531452212752100227570ustar00rootroot00000000000000 jsonld-java-0.13.6/core/000077500000000000000000000000001452212752100147425ustar00rootroot00000000000000jsonld-java-0.13.6/core/pom.xml000077500000000000000000000103521452212752100162630ustar00rootroot00000000000000 jsonld-java-parent com.github.jsonld-java 0.13.6 4.0.0 jsonld-java JSONLD Java :: Core Json-LD core implementation bundle com.fasterxml.jackson.core jackson-core com.fasterxml.jackson.core jackson-databind org.apache.httpcomponents httpclient-osgi org.apache.httpcomponents httpcore-osgi org.slf4j slf4j-api org.slf4j jcl-over-slf4j commons-io commons-io com.google.guava guava junit junit test ch.qos.logback logback-classic test org.mockito mockito-core test org.apache.maven.plugins maven-shade-plugin com.google.guava:guava com.google.guava:failureaccess com.google.common com.github.jsonldjava.shaded.com.google.common com.google.thirdparty com.github.jsonldjava.shaded.com.google.thirdparty com.google.guava:guava META-INF/maven/** com.google.guava:failureaccess META-INF/maven/** package shade org.codehaus.mojo animal-sniffer-maven-plugin org.apache.felix maven-bundle-plugin true !com.google.common.*, org.slf4j.*; version="[1.0.0,2)", * org.apache.maven.plugins maven-jar-plugin org.jacoco jacoco-maven-plugin jsonld-java-0.13.6/core/reports/000077500000000000000000000000001452212752100164405ustar00rootroot00000000000000jsonld-java-0.13.6/core/reports/report.jsonld000077500000000000000000010322201452212752100211710ustar00rootroot00000000000000{ "@context" : { "@vocab" : "http://www.w3.org/ns/earl#", "foaf" : "http://xmlns.com/foaf/0.1/", "earl" : "http://www.w3.org/ns/earl#", "doap" : "http://usefulinc.com/ns/doap#", "dc" : "http://purl.org/dc/terms/", "xsd" : "http://www.w3.org/2001/XMLSchema#", "foaf:homepage" : { "@type" : "@id" }, "doap:homepage" : { "@type" : "@id" } }, "@graph" : [ { "@id" : "http://tristan.github.com/foaf#me", "@type" : [ "foaf:Person", "earl:Assertor" ], "foaf:name" : "Tristan King", "foaf:title" : "Implementor", "foaf:homepage" : "http://tristan.github.com" }, { "@id" : "https://github.com/jsonld-java/jsonld-java", "@type" : [ "doap:Project", "earl:TestSubject", "earl:Software" ], "doap:name" : "JSONLD-Java", "doap:homepage" : "https://github.com/jsonld-java/jsonld-java", "doap:description" : { "@value" : "An Implementation of the JSON-LD Specification for Java", "@language" : "en" }, "doap:programming-language" : "Java", "doap:developer" : [ { "@id" : "http://tristan.github.com/foaf#me" }, { "@id" : "https://github.com/ansell/foaf#me", "foaf:name" : "Peter Ansell", "foaf:title" : "Contributor" } ], "doap:title" : "JSONLD-Java", "dc:date" : { "@type" : "xsd:date", "@value" : "2013-05-16" }, "dc:creator" : { "@id" : "http://tristan.github.com/foaf#me" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0001" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0002" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0003" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0004" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0005" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0006" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0007" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0008" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0009" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0010" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0011" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0012" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0013" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0014" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0015" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0016" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0017" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0018" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0019" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0001" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0002" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0003" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0004" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0005" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0006" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0007" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0008" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0009" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0010" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0011" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0012" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0013" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0014" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0015" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0016" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0017" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0018" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0019" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0020" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0021" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0022" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0023" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0024" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0025" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0026" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0027" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0028" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0029" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0030" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0031" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0032" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0033" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0034" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0035" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0036" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0037" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0038" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0039" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0040" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0041" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0042" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0043" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:53+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0044" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0045" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0046" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0047" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0048" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0049" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0050" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0051" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0052" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0053" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0054" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0055" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0056" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0057" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0001" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0002" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0003" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0004" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0005" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0006" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0007" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0008" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0009" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0010" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0011" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0012" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0013" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0014" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0015" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0016" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0017" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0018" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0019" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0020" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0021" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0022" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0023" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0024" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0025" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0026" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0027" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0028" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0029" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0030" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0031" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0032" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0033" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0034" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0035" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0036" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0037" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0038" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0039" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0040" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0041" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0042" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0043" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0044" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0045" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0046" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0047" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0048" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0049" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0050" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0051" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0052" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0053" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0054" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0055" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0056" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0057" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0058" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0059" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0060" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0061" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0062" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0063" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0064" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0065" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0066" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0067" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0068" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0069" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0070" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0071" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0072" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0073" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0074" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0075" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0076" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0077" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0001" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0002" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0003" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0004" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0005" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0006" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0007" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0008" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0009" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0010" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0011" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0012" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0013" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0014" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0015" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0016" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0017" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0018" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0019" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0020" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0021" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0022" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0023" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0024" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0025" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0026" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0027" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0028" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0029" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0030" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0031" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0032" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0033" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0034" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0035" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0036" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0037" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0038" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0039" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0040" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0041" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0042" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0043" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0044" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0045" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0001" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0002" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0003" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0004" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:54+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0005" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0006" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0007" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0008" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0009" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0010" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0011" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0012" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0013" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0014" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0015" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0016" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0017" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0018" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0019" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0020" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0022" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0023" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0024" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0025" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0026" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0027" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0028" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0029" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0030" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0031" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0032" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0033" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0034" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0035" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0036" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0041" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0042" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0043" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0044" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0045" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0046" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0047" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0048" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0049" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0050" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0051" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0052" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0053" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0054" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0055" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0056" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0057" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0058" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0059" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0060" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0061" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0062" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0063" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0064" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0065" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0066" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0067" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0068" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0069" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0070" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0071" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0072" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0073" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0074" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0075" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0076" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0077" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0078" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0079" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0080" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0081" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0082" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0083" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0084" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0085" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0086" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0087" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0088" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0089" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0090" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0091" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0092" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0093" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0094" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0095" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0096" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0097" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0098" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0099" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0100" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0101" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0102" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0103" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0104" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0105" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0106" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0107" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0108" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0109" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0110" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0111" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0112" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0113" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0114" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0115" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0116" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0117" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0118" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0119" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0001" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0002" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0003" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0004" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0005" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0006" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0007" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0008" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0009" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0010" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0011" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0012" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0013" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0014" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0015" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0016" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0017" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0018" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0019" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0020" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0021" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0022" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0023" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0024" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0025" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0026" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0027" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0028" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0029" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0030" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0031" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0032" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0033" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0034" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0035" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0036" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0037" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0038" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0039" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0040" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0041" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0042" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0043" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0044" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0045" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0046" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0047" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0048" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0049" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0050" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0051" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0052" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0053" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0054" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0055" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0056" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0057" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0058" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0059" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0060" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0061" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0062" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0063" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0064" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0065" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0066" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0067" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0068" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0069" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0070" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0071" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0001" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0002" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0003" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0004" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0005" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0006" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0007" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0008" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0009" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0010" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0011" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0012" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0013" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0014" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0015" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0016" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0017" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0018" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0019" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0020" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0021" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0022" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0023" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0024" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0025" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0026" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0027" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0028" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0029" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0030" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0031" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0032" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0033" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0034" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0035" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0036" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0037" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0038" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:55+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0039" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0040" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0041" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0042" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0043" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0001" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0002" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0003" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0004" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0005" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0006" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0007" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0008" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0009" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0010" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0011" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0012" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0013" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0014" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0015" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0016" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0017" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0018" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0019" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0020" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } }, { "@type" : "earl:Assertion", "earl:assertedBy" : { "@id" : "http://tristan.github.com/foaf#me" }, "earl:subject" : { "@id" : "https://github.com/jsonld-java/jsonld-java" }, "earl:test" : { "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0021" }, "earl:result" : { "@type" : "earl:TestResult", "earl:outcome" : { "@id" : "earl:passed" }, "dc:date" : { "@value" : "2014-02-25T13:04:56+11:00", "@type" : "xsd:dateTime" } }, "earl:mode" : { "@id" : "earl:automatic" } } ] }jsonld-java-0.13.6/core/reports/report.nq000077500000000000000000013004001452212752100203140ustar00rootroot00000000000000 . . . "Tristan King" . "Implementor" . "Peter Ansell" . "Contributor" . . "2013-05-16"^^ . "An Implementation of the JSON-LD Specification for Java"@en . . . . "JSONLD-Java" . "Java" . "JSONLD-Java" . . . . _:b0 . _:b0 . _:b0 . _:b0 _:b1 . _:b0 . _:b0 . _:b1 "2014-02-25T13:04:53+11:00"^^ . _:b1 . _:b1 . _:b10 . _:b10 . _:b10 . _:b10 _:b11 . _:b10 . _:b10 . _:b100 . _:b100 . _:b100 . _:b100 _:b101 . _:b100 . _:b100 . _:b101 "2014-02-25T13:04:53+11:00"^^ . _:b101 . _:b101 . _:b102 . _:b102 . _:b102 . _:b102 _:b103 . _:b102 . _:b102 . _:b103 "2014-02-25T13:04:53+11:00"^^ . _:b103 . _:b103 . _:b104 . _:b104 . _:b104 . _:b104 _:b105 . _:b104 . _:b104 . _:b105 "2014-02-25T13:04:53+11:00"^^ . _:b105 . _:b105 . _:b106 . _:b106 . _:b106 . _:b106 _:b107 . _:b106 . _:b106 . _:b107 "2014-02-25T13:04:53+11:00"^^ . _:b107 . _:b107 . _:b108 . _:b108 . _:b108 . _:b108 _:b109 . _:b108 . _:b108 . _:b109 "2014-02-25T13:04:53+11:00"^^ . _:b109 . _:b109 . _:b11 "2014-02-25T13:04:53+11:00"^^ . _:b11 . _:b11 . _:b110 . _:b110 . _:b110 . _:b110 _:b111 . _:b110 . _:b110 . _:b111 "2014-02-25T13:04:53+11:00"^^ . _:b111 . _:b111 . _:b112 . _:b112 . _:b112 . _:b112 _:b113 . _:b112 . _:b112 . _:b113 "2014-02-25T13:04:53+11:00"^^ . _:b113 . _:b113 . _:b114 . _:b114 . _:b114 . _:b114 _:b115 . _:b114 . _:b114 . _:b115 "2014-02-25T13:04:53+11:00"^^ . _:b115 . _:b115 . _:b116 . _:b116 . _:b116 . _:b116 _:b117 . _:b116 . _:b116 . _:b117 "2014-02-25T13:04:53+11:00"^^ . _:b117 . _:b117 . _:b118 . _:b118 . _:b118 . _:b118 _:b119 . _:b118 . _:b118 . _:b119 "2014-02-25T13:04:53+11:00"^^ . _:b119 . _:b119 . _:b12 . _:b12 . _:b12 . _:b12 _:b13 . _:b12 . _:b12 . _:b120 . _:b120 . _:b120 . _:b120 _:b121 . _:b120 . _:b120 . _:b121 "2014-02-25T13:04:53+11:00"^^ . _:b121 . _:b121 . _:b122 . _:b122 . _:b122 . _:b122 _:b123 . _:b122 . _:b122 . _:b123 "2014-02-25T13:04:53+11:00"^^ . _:b123 . _:b123 . _:b124 . _:b124 . _:b124 . _:b124 _:b125 . _:b124 . _:b124 . _:b125 "2014-02-25T13:04:54+11:00"^^ . _:b125 . _:b125 . _:b126 . _:b126 . _:b126 . _:b126 _:b127 . _:b126 . _:b126 . _:b127 "2014-02-25T13:04:54+11:00"^^ . _:b127 . _:b127 . _:b128 . _:b128 . _:b128 . _:b128 _:b129 . _:b128 . _:b128 . _:b129 "2014-02-25T13:04:54+11:00"^^ . _:b129 . _:b129 . _:b13 "2014-02-25T13:04:53+11:00"^^ . _:b13 . _:b13 . _:b130 . _:b130 . _:b130 . _:b130 _:b131 . _:b130 . _:b130 . _:b131 "2014-02-25T13:04:54+11:00"^^ . _:b131 . _:b131 . _:b132 . _:b132 . _:b132 . _:b132 _:b133 . _:b132 . _:b132 . _:b133 "2014-02-25T13:04:54+11:00"^^ . _:b133 . _:b133 . _:b134 . _:b134 . _:b134 . _:b134 _:b135 . _:b134 . _:b134 . _:b135 "2014-02-25T13:04:54+11:00"^^ . _:b135 . _:b135 . _:b136 . _:b136 . _:b136 . _:b136 _:b137 . _:b136 . _:b136 . _:b137 "2014-02-25T13:04:54+11:00"^^ . _:b137 . _:b137 . _:b138 . _:b138 . _:b138 . _:b138 _:b139 . _:b138 . _:b138 . _:b139 "2014-02-25T13:04:54+11:00"^^ . _:b139 . _:b139 . _:b14 . _:b14 . _:b14 . _:b14 _:b15 . _:b14 . _:b14 . _:b140 . _:b140 . _:b140 . _:b140 _:b141 . _:b140 . _:b140 . _:b141 "2014-02-25T13:04:54+11:00"^^ . _:b141 . _:b141 . _:b142 . _:b142 . _:b142 . _:b142 _:b143 . _:b142 . _:b142 . _:b143 "2014-02-25T13:04:54+11:00"^^ . _:b143 . _:b143 . _:b144 . _:b144 . _:b144 . _:b144 _:b145 . _:b144 . _:b144 . _:b145 "2014-02-25T13:04:54+11:00"^^ . _:b145 . _:b145 . _:b146 . _:b146 . _:b146 . _:b146 _:b147 . _:b146 . _:b146 . _:b147 "2014-02-25T13:04:54+11:00"^^ . _:b147 . _:b147 . _:b148 . _:b148 . _:b148 . _:b148 _:b149 . _:b148 . _:b148 . _:b149 "2014-02-25T13:04:54+11:00"^^ . _:b149 . _:b149 . _:b15 "2014-02-25T13:04:53+11:00"^^ . _:b15 . _:b15 . _:b150 . _:b150 . _:b150 . _:b150 _:b151 . _:b150 . _:b150 . _:b151 "2014-02-25T13:04:54+11:00"^^ . _:b151 . _:b151 . _:b152 . _:b152 . _:b152 . _:b152 _:b153 . _:b152 . _:b152 . _:b153 "2014-02-25T13:04:54+11:00"^^ . _:b153 . _:b153 . _:b154 . _:b154 . _:b154 . _:b154 _:b155 . _:b154 . _:b154 . _:b155 "2014-02-25T13:04:54+11:00"^^ . _:b155 . _:b155 . _:b156 . _:b156 . _:b156 . _:b156 _:b157 . _:b156 . _:b156 . _:b157 "2014-02-25T13:04:54+11:00"^^ . _:b157 . _:b157 . _:b158 . _:b158 . _:b158 . _:b158 _:b159 . _:b158 . _:b158 . _:b159 "2014-02-25T13:04:54+11:00"^^ . _:b159 . _:b159 . _:b16 . _:b16 . _:b16 . _:b16 _:b17 . _:b16 . _:b16 . _:b160 . _:b160 . _:b160 . _:b160 _:b161 . _:b160 . _:b160 . _:b161 "2014-02-25T13:04:54+11:00"^^ . _:b161 . _:b161 . _:b162 . _:b162 . _:b162 . _:b162 _:b163 . _:b162 . _:b162 . _:b163 "2014-02-25T13:04:54+11:00"^^ . _:b163 . _:b163 . _:b164 . _:b164 . _:b164 . _:b164 _:b165 . _:b164 . _:b164 . _:b165 "2014-02-25T13:04:54+11:00"^^ . _:b165 . _:b165 . _:b166 . _:b166 . _:b166 . _:b166 _:b167 . _:b166 . _:b166 . _:b167 "2014-02-25T13:04:54+11:00"^^ . _:b167 . _:b167 . _:b168 . _:b168 . _:b168 . _:b168 _:b169 . _:b168 . _:b168 . _:b169 "2014-02-25T13:04:54+11:00"^^ . _:b169 . _:b169 . _:b17 "2014-02-25T13:04:53+11:00"^^ . _:b17 . _:b17 . _:b170 . _:b170 . _:b170 . _:b170 _:b171 . _:b170 . _:b170 . _:b171 "2014-02-25T13:04:54+11:00"^^ . _:b171 . _:b171 . _:b172 . _:b172 . _:b172 . _:b172 _:b173 . _:b172 . _:b172 . _:b173 "2014-02-25T13:04:54+11:00"^^ . _:b173 . _:b173 . _:b174 . _:b174 . _:b174 . _:b174 _:b175 . _:b174 . _:b174 . _:b175 "2014-02-25T13:04:54+11:00"^^ . _:b175 . _:b175 . _:b176 . _:b176 . _:b176 . _:b176 _:b177 . _:b176 . _:b176 . _:b177 "2014-02-25T13:04:54+11:00"^^ . _:b177 . _:b177 . _:b178 . _:b178 . _:b178 . _:b178 _:b179 . _:b178 . _:b178 . _:b179 "2014-02-25T13:04:54+11:00"^^ . _:b179 . _:b179 . _:b18 . _:b18 . _:b18 . _:b18 _:b19 . _:b18 . _:b18 . _:b180 . _:b180 . _:b180 . _:b180 _:b181 . _:b180 . _:b180 . _:b181 "2014-02-25T13:04:54+11:00"^^ . _:b181 . _:b181 . _:b182 . _:b182 . _:b182 . _:b182 _:b183 . _:b182 . _:b182 . _:b183 "2014-02-25T13:04:54+11:00"^^ . _:b183 . _:b183 . _:b184 . _:b184 . _:b184 . _:b184 _:b185 . _:b184 . _:b184 . _:b185 "2014-02-25T13:04:54+11:00"^^ . _:b185 . _:b185 . _:b186 . _:b186 . _:b186 . _:b186 _:b187 . _:b186 . _:b186 . _:b187 "2014-02-25T13:04:54+11:00"^^ . _:b187 . _:b187 . _:b188 . _:b188 . _:b188 . _:b188 _:b189 . _:b188 . _:b188 . _:b189 "2014-02-25T13:04:54+11:00"^^ . _:b189 . _:b189 . _:b19 "2014-02-25T13:04:53+11:00"^^ . _:b19 . _:b19 . _:b190 . _:b190 . _:b190 . _:b190 _:b191 . _:b190 . _:b190 . _:b191 "2014-02-25T13:04:54+11:00"^^ . _:b191 . _:b191 . _:b192 . _:b192 . _:b192 . _:b192 _:b193 . _:b192 . _:b192 . _:b193 "2014-02-25T13:04:54+11:00"^^ . _:b193 . _:b193 . _:b194 . _:b194 . _:b194 . _:b194 _:b195 . _:b194 . _:b194 . _:b195 "2014-02-25T13:04:54+11:00"^^ . _:b195 . _:b195 . _:b196 . _:b196 . _:b196 . _:b196 _:b197 . _:b196 . _:b196 . _:b197 "2014-02-25T13:04:54+11:00"^^ . _:b197 . _:b197 . _:b198 . _:b198 . _:b198 . _:b198 _:b199 . _:b198 . _:b198 . _:b199 "2014-02-25T13:04:54+11:00"^^ . _:b199 . _:b199 . _:b2 . _:b2 . _:b2 . _:b2 _:b3 . _:b2 . _:b2 . _:b20 . _:b20 . _:b20 . _:b20 _:b21 . _:b20 . _:b20 . _:b200 . _:b200 . _:b200 . _:b200 _:b201 . _:b200 . _:b200 . _:b201 "2014-02-25T13:04:54+11:00"^^ . _:b201 . _:b201 . _:b202 . _:b202 . _:b202 . _:b202 _:b203 . _:b202 . _:b202 . _:b203 "2014-02-25T13:04:54+11:00"^^ . _:b203 . _:b203 . _:b204 . _:b204 . _:b204 . _:b204 _:b205 . _:b204 . _:b204 . _:b205 "2014-02-25T13:04:54+11:00"^^ . _:b205 . _:b205 . _:b206 . _:b206 . _:b206 . _:b206 _:b207 . _:b206 . _:b206 . _:b207 "2014-02-25T13:04:54+11:00"^^ . _:b207 . _:b207 . _:b208 . _:b208 . _:b208 . _:b208 _:b209 . _:b208 . _:b208 . _:b209 "2014-02-25T13:04:54+11:00"^^ . _:b209 . _:b209 . _:b21 "2014-02-25T13:04:53+11:00"^^ . _:b21 . _:b21 . _:b210 . _:b210 . _:b210 . _:b210 _:b211 . _:b210 . _:b210 . _:b211 "2014-02-25T13:04:54+11:00"^^ . _:b211 . _:b211 . _:b212 . _:b212 . _:b212 . _:b212 _:b213 . _:b212 . _:b212 . _:b213 "2014-02-25T13:04:54+11:00"^^ . _:b213 . _:b213 . _:b214 . _:b214 . _:b214 . _:b214 _:b215 . _:b214 . _:b214 . _:b215 "2014-02-25T13:04:54+11:00"^^ . _:b215 . _:b215 . _:b216 . _:b216 . _:b216 . _:b216 _:b217 . _:b216 . _:b216 . _:b217 "2014-02-25T13:04:54+11:00"^^ . _:b217 . _:b217 . _:b218 . _:b218 . _:b218 . _:b218 _:b219 . _:b218 . _:b218 . _:b219 "2014-02-25T13:04:54+11:00"^^ . _:b219 . _:b219 . _:b22 . _:b22 . _:b22 . _:b22 _:b23 . _:b22 . _:b22 . _:b220 . _:b220 . _:b220 . _:b220 _:b221 . _:b220 . _:b220 . _:b221 "2014-02-25T13:04:54+11:00"^^ . _:b221 . _:b221 . _:b222 . _:b222 . _:b222 . _:b222 _:b223 . _:b222 . _:b222 . _:b223 "2014-02-25T13:04:54+11:00"^^ . _:b223 . _:b223 . _:b224 . _:b224 . _:b224 . _:b224 _:b225 . _:b224 . _:b224 . _:b225 "2014-02-25T13:04:54+11:00"^^ . _:b225 . _:b225 . _:b226 . _:b226 . _:b226 . _:b226 _:b227 . _:b226 . _:b226 . _:b227 "2014-02-25T13:04:54+11:00"^^ . _:b227 . _:b227 . _:b228 . _:b228 . _:b228 . _:b228 _:b229 . _:b228 . _:b228 . _:b229 "2014-02-25T13:04:54+11:00"^^ . _:b229 . _:b229 . _:b23 "2014-02-25T13:04:53+11:00"^^ . _:b23 . _:b23 . _:b230 . _:b230 . _:b230 . _:b230 _:b231 . _:b230 . _:b230 . _:b231 "2014-02-25T13:04:54+11:00"^^ . _:b231 . _:b231 . _:b232 . _:b232 . _:b232 . _:b232 _:b233 . _:b232 . _:b232 . _:b233 "2014-02-25T13:04:54+11:00"^^ . _:b233 . _:b233 . _:b234 . _:b234 . _:b234 . _:b234 _:b235 . _:b234 . _:b234 . _:b235 "2014-02-25T13:04:54+11:00"^^ . _:b235 . _:b235 . _:b236 . _:b236 . _:b236 . _:b236 _:b237 . _:b236 . _:b236 . _:b237 "2014-02-25T13:04:54+11:00"^^ . _:b237 . _:b237 . _:b238 . _:b238 . _:b238 . _:b238 _:b239 . _:b238 . _:b238 . _:b239 "2014-02-25T13:04:54+11:00"^^ . _:b239 . _:b239 . _:b24 . _:b24 . _:b24 . _:b24 _:b25 . _:b24 . _:b24 . _:b240 . _:b240 . _:b240 . _:b240 _:b241 . _:b240 . _:b240 . _:b241 "2014-02-25T13:04:54+11:00"^^ . _:b241 . _:b241 . _:b242 . _:b242 . _:b242 . _:b242 _:b243 . _:b242 . _:b242 . _:b243 "2014-02-25T13:04:54+11:00"^^ . _:b243 . _:b243 . _:b244 . _:b244 . _:b244 . _:b244 _:b245 . _:b244 . _:b244 . _:b245 "2014-02-25T13:04:54+11:00"^^ . _:b245 . _:b245 . _:b246 . _:b246 . _:b246 . _:b246 _:b247 . _:b246 . _:b246 . _:b247 "2014-02-25T13:04:54+11:00"^^ . _:b247 . _:b247 . _:b248 . _:b248 . _:b248 . _:b248 _:b249 . _:b248 . _:b248 . _:b249 "2014-02-25T13:04:54+11:00"^^ . _:b249 . _:b249 . _:b25 "2014-02-25T13:04:53+11:00"^^ . _:b25 . _:b25 . _:b250 . _:b250 . _:b250 . _:b250 _:b251 . _:b250 . _:b250 . _:b251 "2014-02-25T13:04:54+11:00"^^ . _:b251 . _:b251 . _:b252 . _:b252 . _:b252 . _:b252 _:b253 . _:b252 . _:b252 . _:b253 "2014-02-25T13:04:54+11:00"^^ . _:b253 . _:b253 . _:b254 . _:b254 . _:b254 . _:b254 _:b255 . _:b254 . _:b254 . _:b255 "2014-02-25T13:04:54+11:00"^^ . _:b255 . _:b255 . _:b256 . _:b256 . _:b256 . _:b256 _:b257 . _:b256 . _:b256 . _:b257 "2014-02-25T13:04:54+11:00"^^ . _:b257 . _:b257 . _:b258 . _:b258 . _:b258 . _:b258 _:b259 . _:b258 . _:b258 . _:b259 "2014-02-25T13:04:54+11:00"^^ . _:b259 . _:b259 . _:b26 . _:b26 . _:b26 . _:b26 _:b27 . _:b26 . _:b26 . _:b260 . _:b260 . _:b260 . _:b260 _:b261 . _:b260 . _:b260 . _:b261 "2014-02-25T13:04:54+11:00"^^ . _:b261 . _:b261 . _:b262 . _:b262 . _:b262 . _:b262 _:b263 . _:b262 . _:b262 . _:b263 "2014-02-25T13:04:54+11:00"^^ . _:b263 . _:b263 . _:b264 . _:b264 . _:b264 . _:b264 _:b265 . _:b264 . _:b264 . _:b265 "2014-02-25T13:04:54+11:00"^^ . _:b265 . _:b265 . _:b266 . _:b266 . _:b266 . _:b266 _:b267 . _:b266 . _:b266 . _:b267 "2014-02-25T13:04:54+11:00"^^ . _:b267 . _:b267 . _:b268 . _:b268 . _:b268 . _:b268 _:b269 . _:b268 . _:b268 . _:b269 "2014-02-25T13:04:54+11:00"^^ . _:b269 . _:b269 . _:b27 "2014-02-25T13:04:53+11:00"^^ . _:b27 . _:b27 . _:b270 . _:b270 . _:b270 . _:b270 _:b271 . _:b270 . _:b270 . _:b271 "2014-02-25T13:04:54+11:00"^^ . _:b271 . _:b271 . _:b272 . _:b272 . _:b272 . _:b272 _:b273 . _:b272 . _:b272 . _:b273 "2014-02-25T13:04:54+11:00"^^ . _:b273 . _:b273 . _:b274 . _:b274 . _:b274 . _:b274 _:b275 . _:b274 . _:b274 . _:b275 "2014-02-25T13:04:54+11:00"^^ . _:b275 . _:b275 . _:b276 . _:b276 . _:b276 . _:b276 _:b277 . _:b276 . _:b276 . _:b277 "2014-02-25T13:04:54+11:00"^^ . _:b277 . _:b277 . _:b278 . _:b278 . _:b278 . _:b278 _:b279 . _:b278 . _:b278 . _:b279 "2014-02-25T13:04:54+11:00"^^ . _:b279 . _:b279 . _:b28 . _:b28 . _:b28 . _:b28 _:b29 . _:b28 . _:b28 . _:b280 . _:b280 . _:b280 . _:b280 _:b281 . _:b280 . _:b280 . _:b281 "2014-02-25T13:04:54+11:00"^^ . _:b281 . _:b281 . _:b282 . _:b282 . _:b282 . _:b282 _:b283 . _:b282 . _:b282 . _:b283 "2014-02-25T13:04:54+11:00"^^ . _:b283 . _:b283 . _:b284 . _:b284 . _:b284 . _:b284 _:b285 . _:b284 . _:b284 . _:b285 "2014-02-25T13:04:54+11:00"^^ . _:b285 . _:b285 . _:b286 . _:b286 . _:b286 . _:b286 _:b287 . _:b286 . _:b286 . _:b287 "2014-02-25T13:04:54+11:00"^^ . _:b287 . _:b287 . _:b288 . _:b288 . _:b288 . _:b288 _:b289 . _:b288 . _:b288 . _:b289 "2014-02-25T13:04:54+11:00"^^ . _:b289 . _:b289 . _:b29 "2014-02-25T13:04:53+11:00"^^ . _:b29 . _:b29 . _:b290 . _:b290 . _:b290 . _:b290 _:b291 . _:b290 . _:b290 . _:b291 "2014-02-25T13:04:54+11:00"^^ . _:b291 . _:b291 . _:b292 . _:b292 . _:b292 . _:b292 _:b293 . _:b292 . _:b292 . _:b293 "2014-02-25T13:04:54+11:00"^^ . _:b293 . _:b293 . _:b294 . _:b294 . _:b294 . _:b294 _:b295 . _:b294 . _:b294 . _:b295 "2014-02-25T13:04:54+11:00"^^ . _:b295 . _:b295 . _:b296 . _:b296 . _:b296 . _:b296 _:b297 . _:b296 . _:b296 . _:b297 "2014-02-25T13:04:54+11:00"^^ . _:b297 . _:b297 . _:b298 . _:b298 . _:b298 . _:b298 _:b299 . _:b298 . _:b298 . _:b299 "2014-02-25T13:04:54+11:00"^^ . _:b299 . _:b299 . _:b3 "2014-02-25T13:04:53+11:00"^^ . _:b3 . _:b3 . _:b30 . _:b30 . _:b30 . _:b30 _:b31 . _:b30 . _:b30 . _:b300 . _:b300 . _:b300 . _:b300 _:b301 . _:b300 . _:b300 . _:b301 "2014-02-25T13:04:54+11:00"^^ . _:b301 . _:b301 . _:b302 . _:b302 . _:b302 . _:b302 _:b303 . _:b302 . _:b302 . _:b303 "2014-02-25T13:04:54+11:00"^^ . _:b303 . _:b303 . _:b304 . _:b304 . _:b304 . _:b304 _:b305 . _:b304 . _:b304 . _:b305 "2014-02-25T13:04:54+11:00"^^ . _:b305 . _:b305 . _:b306 . _:b306 . _:b306 . _:b306 _:b307 . _:b306 . _:b306 . _:b307 "2014-02-25T13:04:54+11:00"^^ . _:b307 . _:b307 . _:b308 . _:b308 . _:b308 . _:b308 _:b309 . _:b308 . _:b308 . _:b309 "2014-02-25T13:04:54+11:00"^^ . _:b309 . _:b309 . _:b31 "2014-02-25T13:04:53+11:00"^^ . _:b31 . _:b31 . _:b310 . _:b310 . _:b310 . _:b310 _:b311 . _:b310 . _:b310 . _:b311 "2014-02-25T13:04:54+11:00"^^ . _:b311 . _:b311 . _:b312 . _:b312 . _:b312 . _:b312 _:b313 . _:b312 . _:b312 . _:b313 "2014-02-25T13:04:54+11:00"^^ . _:b313 . _:b313 . _:b314 . _:b314 . _:b314 . _:b314 _:b315 . _:b314 . _:b314 . _:b315 "2014-02-25T13:04:54+11:00"^^ . _:b315 . _:b315 . _:b316 . _:b316 . _:b316 . _:b316 _:b317 . _:b316 . _:b316 . _:b317 "2014-02-25T13:04:54+11:00"^^ . _:b317 . _:b317 . _:b318 . _:b318 . _:b318 . _:b318 _:b319 . _:b318 . _:b318 . _:b319 "2014-02-25T13:04:54+11:00"^^ . _:b319 . _:b319 . _:b32 . _:b32 . _:b32 . _:b32 _:b33 . _:b32 . _:b32 . _:b320 . _:b320 . _:b320 . _:b320 _:b321 . _:b320 . _:b320 . _:b321 "2014-02-25T13:04:54+11:00"^^ . _:b321 . _:b321 . _:b322 . _:b322 . _:b322 . _:b322 _:b323 . _:b322 . _:b322 . _:b323 "2014-02-25T13:04:54+11:00"^^ . _:b323 . _:b323 . _:b324 . _:b324 . _:b324 . _:b324 _:b325 . _:b324 . _:b324 . _:b325 "2014-02-25T13:04:54+11:00"^^ . _:b325 . _:b325 . _:b326 . _:b326 . _:b326 . _:b326 _:b327 . _:b326 . _:b326 . _:b327 "2014-02-25T13:04:54+11:00"^^ . _:b327 . _:b327 . _:b328 . _:b328 . _:b328 . _:b328 _:b329 . _:b328 . _:b328 . _:b329 "2014-02-25T13:04:54+11:00"^^ . _:b329 . _:b329 . _:b33 "2014-02-25T13:04:53+11:00"^^ . _:b33 . _:b33 . _:b330 . _:b330 . _:b330 . _:b330 _:b331 . _:b330 . _:b330 . _:b331 "2014-02-25T13:04:54+11:00"^^ . _:b331 . _:b331 . _:b332 . _:b332 . _:b332 . _:b332 _:b333 . _:b332 . _:b332 . _:b333 "2014-02-25T13:04:54+11:00"^^ . _:b333 . _:b333 . _:b334 . _:b334 . _:b334 . _:b334 _:b335 . _:b334 . _:b334 . _:b335 "2014-02-25T13:04:54+11:00"^^ . _:b335 . _:b335 . _:b336 . _:b336 . _:b336 . _:b336 _:b337 . _:b336 . _:b336 . _:b337 "2014-02-25T13:04:54+11:00"^^ . _:b337 . _:b337 . _:b338 . _:b338 . _:b338 . _:b338 _:b339 . _:b338 . _:b338 . _:b339 "2014-02-25T13:04:54+11:00"^^ . _:b339 . _:b339 . _:b34 . _:b34 . _:b34 . _:b34 _:b35 . _:b34 . _:b34 . _:b340 . _:b340 . _:b340 . _:b340 _:b341 . _:b340 . _:b340 . _:b341 "2014-02-25T13:04:54+11:00"^^ . _:b341 . _:b341 . _:b342 . _:b342 . _:b342 . _:b342 _:b343 . _:b342 . _:b342 . _:b343 "2014-02-25T13:04:54+11:00"^^ . _:b343 . _:b343 . _:b344 . _:b344 . _:b344 . _:b344 _:b345 . _:b344 . _:b344 . _:b345 "2014-02-25T13:04:54+11:00"^^ . _:b345 . _:b345 . _:b346 . _:b346 . _:b346 . _:b346 _:b347 . _:b346 . _:b346 . _:b347 "2014-02-25T13:04:54+11:00"^^ . _:b347 . _:b347 . _:b348 . _:b348 . _:b348 . _:b348 _:b349 . _:b348 . _:b348 . _:b349 "2014-02-25T13:04:54+11:00"^^ . _:b349 . _:b349 . _:b35 "2014-02-25T13:04:53+11:00"^^ . _:b35 . _:b35 . _:b350 . _:b350 . _:b350 . _:b350 _:b351 . _:b350 . _:b350 . _:b351 "2014-02-25T13:04:54+11:00"^^ . _:b351 . _:b351 . _:b352 . _:b352 . _:b352 . _:b352 _:b353 . _:b352 . _:b352 . _:b353 "2014-02-25T13:04:54+11:00"^^ . _:b353 . _:b353 . _:b354 . _:b354 . _:b354 . _:b354 _:b355 . _:b354 . _:b354 . _:b355 "2014-02-25T13:04:54+11:00"^^ . _:b355 . _:b355 . _:b356 . _:b356 . _:b356 . _:b356 _:b357 . _:b356 . _:b356 . _:b357 "2014-02-25T13:04:54+11:00"^^ . _:b357 . _:b357 . _:b358 . _:b358 . _:b358 . _:b358 _:b359 . _:b358 . _:b358 . _:b359 "2014-02-25T13:04:54+11:00"^^ . _:b359 . _:b359 . _:b36 . _:b36 . _:b36 . _:b36 _:b37 . _:b36 . _:b36 . _:b360 . _:b360 . _:b360 . _:b360 _:b361 . _:b360 . _:b360 . _:b361 "2014-02-25T13:04:54+11:00"^^ . _:b361 . _:b361 . _:b362 . _:b362 . _:b362 . _:b362 _:b363 . _:b362 . _:b362 . _:b363 "2014-02-25T13:04:54+11:00"^^ . _:b363 . _:b363 . _:b364 . _:b364 . _:b364 . _:b364 _:b365 . _:b364 . _:b364 . _:b365 "2014-02-25T13:04:54+11:00"^^ . _:b365 . _:b365 . _:b366 . _:b366 . _:b366 . _:b366 _:b367 . _:b366 . _:b366 . _:b367 "2014-02-25T13:04:54+11:00"^^ . _:b367 . _:b367 . _:b368 . _:b368 . _:b368 . _:b368 _:b369 . _:b368 . _:b368 . _:b369 "2014-02-25T13:04:54+11:00"^^ . _:b369 . _:b369 . _:b37 "2014-02-25T13:04:53+11:00"^^ . _:b37 . _:b37 . _:b370 . _:b370 . _:b370 . _:b370 _:b371 . _:b370 . _:b370 . _:b371 "2014-02-25T13:04:54+11:00"^^ . _:b371 . _:b371 . _:b372 . _:b372 . _:b372 . _:b372 _:b373 . _:b372 . _:b372 . _:b373 "2014-02-25T13:04:54+11:00"^^ . _:b373 . _:b373 . _:b374 . _:b374 . _:b374 . _:b374 _:b375 . _:b374 . _:b374 . _:b375 "2014-02-25T13:04:54+11:00"^^ . _:b375 . _:b375 . _:b376 . _:b376 . _:b376 . _:b376 _:b377 . _:b376 . _:b376 . _:b377 "2014-02-25T13:04:54+11:00"^^ . _:b377 . _:b377 . _:b378 . _:b378 . _:b378 . _:b378 _:b379 . _:b378 . _:b378 . _:b379 "2014-02-25T13:04:54+11:00"^^ . _:b379 . _:b379 . _:b38 . _:b38 . _:b38 . _:b38 _:b39 . _:b38 . _:b38 . _:b380 . _:b380 . _:b380 . _:b380 _:b381 . _:b380 . _:b380 . _:b381 "2014-02-25T13:04:54+11:00"^^ . _:b381 . _:b381 . _:b382 . _:b382 . _:b382 . _:b382 _:b383 . _:b382 . _:b382 . _:b383 "2014-02-25T13:04:54+11:00"^^ . _:b383 . _:b383 . _:b384 . _:b384 . _:b384 . _:b384 _:b385 . _:b384 . _:b384 . _:b385 "2014-02-25T13:04:54+11:00"^^ . _:b385 . _:b385 . _:b386 . _:b386 . _:b386 . _:b386 _:b387 . _:b386 . _:b386 . _:b387 "2014-02-25T13:04:54+11:00"^^ . _:b387 . _:b387 . _:b388 . _:b388 . _:b388 . _:b388 _:b389 . _:b388 . _:b388 . _:b389 "2014-02-25T13:04:54+11:00"^^ . _:b389 . _:b389 . _:b39 "2014-02-25T13:04:53+11:00"^^ . _:b39 . _:b39 . _:b390 . _:b390 . _:b390 . _:b390 _:b391 . _:b390 . _:b390 . _:b391 "2014-02-25T13:04:54+11:00"^^ . _:b391 . _:b391 . _:b392 . _:b392 . _:b392 . _:b392 _:b393 . _:b392 . _:b392 . _:b393 "2014-02-25T13:04:54+11:00"^^ . _:b393 . _:b393 . _:b394 . _:b394 . _:b394 . _:b394 _:b395 . _:b394 . _:b394 . _:b395 "2014-02-25T13:04:54+11:00"^^ . _:b395 . _:b395 . _:b396 . _:b396 . _:b396 . _:b396 _:b397 . _:b396 . _:b396 . _:b397 "2014-02-25T13:04:54+11:00"^^ . _:b397 . _:b397 . _:b398 . _:b398 . _:b398 . _:b398 _:b399 . _:b398 . _:b398 . _:b399 "2014-02-25T13:04:54+11:00"^^ . _:b399 . _:b399 . _:b4 . _:b4 . _:b4 . _:b4 _:b5 . _:b4 . _:b4 . _:b40 . _:b40 . _:b40 . _:b40 _:b41 . _:b40 . _:b40 . _:b400 . _:b400 . _:b400 . _:b400 _:b401 . _:b400 . _:b400 . _:b401 "2014-02-25T13:04:54+11:00"^^ . _:b401 . _:b401 . _:b402 . _:b402 . _:b402 . _:b402 _:b403 . _:b402 . _:b402 . _:b403 "2014-02-25T13:04:54+11:00"^^ . _:b403 . _:b403 . _:b404 . _:b404 . _:b404 . _:b404 _:b405 . _:b404 . _:b404 . _:b405 "2014-02-25T13:04:55+11:00"^^ . _:b405 . _:b405 . _:b406 . _:b406 . _:b406 . _:b406 _:b407 . _:b406 . _:b406 . _:b407 "2014-02-25T13:04:55+11:00"^^ . _:b407 . _:b407 . _:b408 . _:b408 . _:b408 . _:b408 _:b409 . _:b408 . _:b408 . _:b409 "2014-02-25T13:04:55+11:00"^^ . _:b409 . _:b409 . _:b41 "2014-02-25T13:04:53+11:00"^^ . _:b41 . _:b41 . _:b410 . _:b410 . _:b410 . _:b410 _:b411 . _:b410 . _:b410 . _:b411 "2014-02-25T13:04:55+11:00"^^ . _:b411 . _:b411 . _:b412 . _:b412 . _:b412 . _:b412 _:b413 . _:b412 . _:b412 . _:b413 "2014-02-25T13:04:55+11:00"^^ . _:b413 . _:b413 . _:b414 . _:b414 . _:b414 . _:b414 _:b415 . _:b414 . _:b414 . _:b415 "2014-02-25T13:04:55+11:00"^^ . _:b415 . _:b415 . _:b416 . _:b416 . _:b416 . _:b416 _:b417 . _:b416 . _:b416 . _:b417 "2014-02-25T13:04:55+11:00"^^ . _:b417 . _:b417 . _:b418 . _:b418 . _:b418 . _:b418 _:b419 . _:b418 . _:b418 . _:b419 "2014-02-25T13:04:55+11:00"^^ . _:b419 . _:b419 . _:b42 . _:b42 . _:b42 . _:b42 _:b43 . _:b42 . _:b42 . _:b420 . _:b420 . _:b420 . _:b420 _:b421 . _:b420 . _:b420 . _:b421 "2014-02-25T13:04:55+11:00"^^ . _:b421 . _:b421 . _:b422 . _:b422 . _:b422 . _:b422 _:b423 . _:b422 . _:b422 . _:b423 "2014-02-25T13:04:55+11:00"^^ . _:b423 . _:b423 . _:b424 . _:b424 . _:b424 . _:b424 _:b425 . _:b424 . _:b424 . _:b425 "2014-02-25T13:04:55+11:00"^^ . _:b425 . _:b425 . _:b426 . _:b426 . _:b426 . _:b426 _:b427 . _:b426 . _:b426 . _:b427 "2014-02-25T13:04:55+11:00"^^ . _:b427 . _:b427 . _:b428 . _:b428 . _:b428 . _:b428 _:b429 . _:b428 . _:b428 . _:b429 "2014-02-25T13:04:55+11:00"^^ . _:b429 . _:b429 . _:b43 "2014-02-25T13:04:53+11:00"^^ . _:b43 . _:b43 . _:b430 . _:b430 . _:b430 . _:b430 _:b431 . _:b430 . _:b430 . _:b431 "2014-02-25T13:04:55+11:00"^^ . _:b431 . _:b431 . _:b432 . _:b432 . _:b432 . _:b432 _:b433 . _:b432 . _:b432 . _:b433 "2014-02-25T13:04:55+11:00"^^ . _:b433 . _:b433 . _:b434 . _:b434 . _:b434 . _:b434 _:b435 . _:b434 . _:b434 . _:b435 "2014-02-25T13:04:55+11:00"^^ . _:b435 . _:b435 . _:b436 . _:b436 . _:b436 . _:b436 _:b437 . _:b436 . _:b436 . _:b437 "2014-02-25T13:04:55+11:00"^^ . _:b437 . _:b437 . _:b438 . _:b438 . _:b438 . _:b438 _:b439 . _:b438 . _:b438 . _:b439 "2014-02-25T13:04:55+11:00"^^ . _:b439 . _:b439 . _:b44 . _:b44 . _:b44 . _:b44 _:b45 . _:b44 . _:b44 . _:b440 . _:b440 . _:b440 . _:b440 _:b441 . _:b440 . _:b440 . _:b441 "2014-02-25T13:04:55+11:00"^^ . _:b441 . _:b441 . _:b442 . _:b442 . _:b442 . _:b442 _:b443 . _:b442 . _:b442 . _:b443 "2014-02-25T13:04:55+11:00"^^ . _:b443 . _:b443 . _:b444 . _:b444 . _:b444 . _:b444 _:b445 . _:b444 . _:b444 . _:b445 "2014-02-25T13:04:55+11:00"^^ . _:b445 . _:b445 . _:b446 . _:b446 . _:b446 . _:b446 _:b447 . _:b446 . _:b446 . _:b447 "2014-02-25T13:04:55+11:00"^^ . _:b447 . _:b447 . _:b448 . _:b448 . _:b448 . _:b448 _:b449 . _:b448 . _:b448 . _:b449 "2014-02-25T13:04:55+11:00"^^ . _:b449 . _:b449 . _:b45 "2014-02-25T13:04:53+11:00"^^ . _:b45 . _:b45 . _:b450 . _:b450 . _:b450 . _:b450 _:b451 . _:b450 . _:b450 . _:b451 "2014-02-25T13:04:55+11:00"^^ . _:b451 . _:b451 . _:b452 . _:b452 . _:b452 . _:b452 _:b453 . _:b452 . _:b452 . _:b453 "2014-02-25T13:04:55+11:00"^^ . _:b453 . _:b453 . _:b454 . _:b454 . _:b454 . _:b454 _:b455 . _:b454 . _:b454 . _:b455 "2014-02-25T13:04:55+11:00"^^ . _:b455 . _:b455 . _:b456 . _:b456 . _:b456 . _:b456 _:b457 . _:b456 . _:b456 . _:b457 "2014-02-25T13:04:55+11:00"^^ . _:b457 . _:b457 . _:b458 . _:b458 . _:b458 . _:b458 _:b459 . _:b458 . _:b458 . _:b459 "2014-02-25T13:04:55+11:00"^^ . _:b459 . _:b459 . _:b46 . _:b46 . _:b46 . _:b46 _:b47 . _:b46 . _:b46 . _:b460 . _:b460 . _:b460 . _:b460 _:b461 . _:b460 . _:b460 . _:b461 "2014-02-25T13:04:55+11:00"^^ . _:b461 . _:b461 . _:b462 . _:b462 . _:b462 . _:b462 _:b463 . _:b462 . _:b462 . _:b463 "2014-02-25T13:04:55+11:00"^^ . _:b463 . _:b463 . _:b464 . _:b464 . _:b464 . _:b464 _:b465 . _:b464 . _:b464 . _:b465 "2014-02-25T13:04:55+11:00"^^ . _:b465 . _:b465 . _:b466 . _:b466 . _:b466 . _:b466 _:b467 . _:b466 . _:b466 . _:b467 "2014-02-25T13:04:55+11:00"^^ . _:b467 . _:b467 . _:b468 . _:b468 . _:b468 . _:b468 _:b469 . _:b468 . _:b468 . _:b469 "2014-02-25T13:04:55+11:00"^^ . _:b469 . _:b469 . _:b47 "2014-02-25T13:04:53+11:00"^^ . _:b47 . _:b47 . _:b470 . _:b470 . _:b470 . _:b470 _:b471 . _:b470 . _:b470 . _:b471 "2014-02-25T13:04:55+11:00"^^ . _:b471 . _:b471 . _:b472 . _:b472 . _:b472 . _:b472 _:b473 . _:b472 . _:b472 . _:b473 "2014-02-25T13:04:55+11:00"^^ . _:b473 . _:b473 . _:b474 . _:b474 . _:b474 . _:b474 _:b475 . _:b474 . _:b474 . _:b475 "2014-02-25T13:04:55+11:00"^^ . _:b475 . _:b475 . _:b476 . _:b476 . _:b476 . _:b476 _:b477 . _:b476 . _:b476 . _:b477 "2014-02-25T13:04:55+11:00"^^ . _:b477 . _:b477 . _:b478 . _:b478 . _:b478 . _:b478 _:b479 . _:b478 . _:b478 . _:b479 "2014-02-25T13:04:55+11:00"^^ . _:b479 . _:b479 . _:b48 . _:b48 . _:b48 . _:b48 _:b49 . _:b48 . _:b48 . _:b480 . _:b480 . _:b480 . _:b480 _:b481 . _:b480 . _:b480 . _:b481 "2014-02-25T13:04:55+11:00"^^ . _:b481 . _:b481 . _:b482 . _:b482 . _:b482 . _:b482 _:b483 . _:b482 . _:b482 . _:b483 "2014-02-25T13:04:55+11:00"^^ . _:b483 . _:b483 . _:b484 . _:b484 . _:b484 . _:b484 _:b485 . _:b484 . _:b484 . _:b485 "2014-02-25T13:04:55+11:00"^^ . _:b485 . _:b485 . _:b486 . _:b486 . _:b486 . _:b486 _:b487 . _:b486 . _:b486 . _:b487 "2014-02-25T13:04:55+11:00"^^ . _:b487 . _:b487 . _:b488 . _:b488 . _:b488 . _:b488 _:b489 . _:b488 . _:b488 . _:b489 "2014-02-25T13:04:55+11:00"^^ . _:b489 . _:b489 . _:b49 "2014-02-25T13:04:53+11:00"^^ . _:b49 . _:b49 . _:b490 . _:b490 . _:b490 . _:b490 _:b491 . _:b490 . _:b490 . _:b491 "2014-02-25T13:04:55+11:00"^^ . _:b491 . _:b491 . _:b492 . _:b492 . _:b492 . _:b492 _:b493 . _:b492 . _:b492 . _:b493 "2014-02-25T13:04:55+11:00"^^ . _:b493 . _:b493 . _:b494 . _:b494 . _:b494 . _:b494 _:b495 . _:b494 . _:b494 . _:b495 "2014-02-25T13:04:55+11:00"^^ . _:b495 . _:b495 . _:b496 . _:b496 . _:b496 . _:b496 _:b497 . _:b496 . _:b496 . _:b497 "2014-02-25T13:04:55+11:00"^^ . _:b497 . _:b497 . _:b498 . _:b498 . _:b498 . _:b498 _:b499 . _:b498 . _:b498 . _:b499 "2014-02-25T13:04:55+11:00"^^ . _:b499 . _:b499 . _:b5 "2014-02-25T13:04:53+11:00"^^ . _:b5 . _:b5 . _:b50 . _:b50 . _:b50 . _:b50 _:b51 . _:b50 . _:b50 . _:b500 . _:b500 . _:b500 . _:b500 _:b501 . _:b500 . _:b500 . _:b501 "2014-02-25T13:04:55+11:00"^^ . _:b501 . _:b501 . _:b502 . _:b502 . _:b502 . _:b502 _:b503 . _:b502 . _:b502 . _:b503 "2014-02-25T13:04:55+11:00"^^ . _:b503 . _:b503 . _:b504 . _:b504 . _:b504 . _:b504 _:b505 . _:b504 . _:b504 . _:b505 "2014-02-25T13:04:55+11:00"^^ . _:b505 . _:b505 . _:b506 . _:b506 . _:b506 . _:b506 _:b507 . _:b506 . _:b506 . _:b507 "2014-02-25T13:04:55+11:00"^^ . _:b507 . _:b507 . _:b508 . _:b508 . _:b508 . _:b508 _:b509 . _:b508 . _:b508 . _:b509 "2014-02-25T13:04:55+11:00"^^ . _:b509 . _:b509 . _:b51 "2014-02-25T13:04:53+11:00"^^ . _:b51 . _:b51 . _:b510 . _:b510 . _:b510 . _:b510 _:b511 . _:b510 . _:b510 . _:b511 "2014-02-25T13:04:55+11:00"^^ . _:b511 . _:b511 . _:b512 . _:b512 . _:b512 . _:b512 _:b513 . _:b512 . _:b512 . _:b513 "2014-02-25T13:04:55+11:00"^^ . _:b513 . _:b513 . _:b514 . _:b514 . _:b514 . _:b514 _:b515 . _:b514 . _:b514 . _:b515 "2014-02-25T13:04:55+11:00"^^ . _:b515 . _:b515 . _:b516 . _:b516 . _:b516 . _:b516 _:b517 . _:b516 . _:b516 . _:b517 "2014-02-25T13:04:55+11:00"^^ . _:b517 . _:b517 . _:b518 . _:b518 . _:b518 . _:b518 _:b519 . _:b518 . _:b518 . _:b519 "2014-02-25T13:04:55+11:00"^^ . _:b519 . _:b519 . _:b52 . _:b52 . _:b52 . _:b52 _:b53 . _:b52 . _:b52 . _:b520 . _:b520 . _:b520 . _:b520 _:b521 . _:b520 . _:b520 . _:b521 "2014-02-25T13:04:55+11:00"^^ . _:b521 . _:b521 . _:b522 . _:b522 . _:b522 . _:b522 _:b523 . _:b522 . _:b522 . _:b523 "2014-02-25T13:04:55+11:00"^^ . _:b523 . _:b523 . _:b524 . _:b524 . _:b524 . _:b524 _:b525 . _:b524 . _:b524 . _:b525 "2014-02-25T13:04:55+11:00"^^ . _:b525 . _:b525 . _:b526 . _:b526 . _:b526 . _:b526 _:b527 . _:b526 . _:b526 . _:b527 "2014-02-25T13:04:55+11:00"^^ . _:b527 . _:b527 . _:b528 . _:b528 . _:b528 . _:b528 _:b529 . _:b528 . _:b528 . _:b529 "2014-02-25T13:04:55+11:00"^^ . _:b529 . _:b529 . _:b53 "2014-02-25T13:04:53+11:00"^^ . _:b53 . _:b53 . _:b530 . _:b530 . _:b530 . _:b530 _:b531 . _:b530 . _:b530 . _:b531 "2014-02-25T13:04:55+11:00"^^ . _:b531 . _:b531 . _:b532 . _:b532 . _:b532 . _:b532 _:b533 . _:b532 . _:b532 . _:b533 "2014-02-25T13:04:55+11:00"^^ . _:b533 . _:b533 . _:b534 . _:b534 . _:b534 . _:b534 _:b535 . _:b534 . _:b534 . _:b535 "2014-02-25T13:04:55+11:00"^^ . _:b535 . _:b535 . _:b536 . _:b536 . _:b536 . _:b536 _:b537 . _:b536 . _:b536 . _:b537 "2014-02-25T13:04:55+11:00"^^ . _:b537 . _:b537 . _:b538 . _:b538 . _:b538 . _:b538 _:b539 . _:b538 . _:b538 . _:b539 "2014-02-25T13:04:55+11:00"^^ . _:b539 . _:b539 . _:b54 . _:b54 . _:b54 . _:b54 _:b55 . _:b54 . _:b54 . _:b540 . _:b540 . _:b540 . _:b540 _:b541 . _:b540 . _:b540 . _:b541 "2014-02-25T13:04:55+11:00"^^ . _:b541 . _:b541 . _:b542 . _:b542 . _:b542 . _:b542 _:b543 . _:b542 . _:b542 . _:b543 "2014-02-25T13:04:55+11:00"^^ . _:b543 . _:b543 . _:b544 . _:b544 . _:b544 . _:b544 _:b545 . _:b544 . _:b544 . _:b545 "2014-02-25T13:04:55+11:00"^^ . _:b545 . _:b545 . _:b546 . _:b546 . _:b546 . _:b546 _:b547 . _:b546 . _:b546 . _:b547 "2014-02-25T13:04:55+11:00"^^ . _:b547 . _:b547 . _:b548 . _:b548 . _:b548 . _:b548 _:b549 . _:b548 . _:b548 . _:b549 "2014-02-25T13:04:55+11:00"^^ . _:b549 . _:b549 . _:b55 "2014-02-25T13:04:53+11:00"^^ . _:b55 . _:b55 . _:b550 . _:b550 . _:b550 . _:b550 _:b551 . _:b550 . _:b550 . _:b551 "2014-02-25T13:04:55+11:00"^^ . _:b551 . _:b551 . _:b552 . _:b552 . _:b552 . _:b552 _:b553 . _:b552 . _:b552 . _:b553 "2014-02-25T13:04:55+11:00"^^ . _:b553 . _:b553 . _:b554 . _:b554 . _:b554 . _:b554 _:b555 . _:b554 . _:b554 . _:b555 "2014-02-25T13:04:55+11:00"^^ . _:b555 . _:b555 . _:b556 . _:b556 . _:b556 . _:b556 _:b557 . _:b556 . _:b556 . _:b557 "2014-02-25T13:04:55+11:00"^^ . _:b557 . _:b557 . _:b558 . _:b558 . _:b558 . _:b558 _:b559 . _:b558 . _:b558 . _:b559 "2014-02-25T13:04:55+11:00"^^ . _:b559 . _:b559 . _:b56 . _:b56 . _:b56 . _:b56 _:b57 . _:b56 . _:b56 . _:b560 . _:b560 . _:b560 . _:b560 _:b561 . _:b560 . _:b560 . _:b561 "2014-02-25T13:04:55+11:00"^^ . _:b561 . _:b561 . _:b562 . _:b562 . _:b562 . _:b562 _:b563 . _:b562 . _:b562 . _:b563 "2014-02-25T13:04:55+11:00"^^ . _:b563 . _:b563 . _:b564 . _:b564 . _:b564 . _:b564 _:b565 . _:b564 . _:b564 . _:b565 "2014-02-25T13:04:55+11:00"^^ . _:b565 . _:b565 . _:b566 . _:b566 . _:b566 . _:b566 _:b567 . _:b566 . _:b566 . _:b567 "2014-02-25T13:04:55+11:00"^^ . _:b567 . _:b567 . _:b568 . _:b568 . _:b568 . _:b568 _:b569 . _:b568 . _:b568 . _:b569 "2014-02-25T13:04:55+11:00"^^ . _:b569 . _:b569 . _:b57 "2014-02-25T13:04:53+11:00"^^ . _:b57 . _:b57 . _:b570 . _:b570 . _:b570 . _:b570 _:b571 . _:b570 . _:b570 . _:b571 "2014-02-25T13:04:55+11:00"^^ . _:b571 . _:b571 . _:b572 . _:b572 . _:b572 . _:b572 _:b573 . _:b572 . _:b572 . _:b573 "2014-02-25T13:04:55+11:00"^^ . _:b573 . _:b573 . _:b574 . _:b574 . _:b574 . _:b574 _:b575 . _:b574 . _:b574 . _:b575 "2014-02-25T13:04:55+11:00"^^ . _:b575 . _:b575 . _:b576 . _:b576 . _:b576 . _:b576 _:b577 . _:b576 . _:b576 . _:b577 "2014-02-25T13:04:55+11:00"^^ . _:b577 . _:b577 . _:b578 . _:b578 . _:b578 . _:b578 _:b579 . _:b578 . _:b578 . _:b579 "2014-02-25T13:04:55+11:00"^^ . _:b579 . _:b579 . _:b58 . _:b58 . _:b58 . _:b58 _:b59 . _:b58 . _:b58 . _:b580 . _:b580 . _:b580 . _:b580 _:b581 . _:b580 . _:b580 . _:b581 "2014-02-25T13:04:55+11:00"^^ . _:b581 . _:b581 . _:b582 . _:b582 . _:b582 . _:b582 _:b583 . _:b582 . _:b582 . _:b583 "2014-02-25T13:04:55+11:00"^^ . _:b583 . _:b583 . _:b584 . _:b584 . _:b584 . _:b584 _:b585 . _:b584 . _:b584 . _:b585 "2014-02-25T13:04:55+11:00"^^ . _:b585 . _:b585 . _:b586 . _:b586 . _:b586 . _:b586 _:b587 . _:b586 . _:b586 . _:b587 "2014-02-25T13:04:55+11:00"^^ . _:b587 . _:b587 . _:b588 . _:b588 . _:b588 . _:b588 _:b589 . _:b588 . _:b588 . _:b589 "2014-02-25T13:04:55+11:00"^^ . _:b589 . _:b589 . _:b59 "2014-02-25T13:04:53+11:00"^^ . _:b59 . _:b59 . _:b590 . _:b590 . _:b590 . _:b590 _:b591 . _:b590 . _:b590 . _:b591 "2014-02-25T13:04:55+11:00"^^ . _:b591 . _:b591 . _:b592 . _:b592 . _:b592 . _:b592 _:b593 . _:b592 . _:b592 . _:b593 "2014-02-25T13:04:55+11:00"^^ . _:b593 . _:b593 . _:b594 . _:b594 . _:b594 . _:b594 _:b595 . _:b594 . _:b594 . _:b595 "2014-02-25T13:04:55+11:00"^^ . _:b595 . _:b595 . _:b596 . _:b596 . _:b596 . _:b596 _:b597 . _:b596 . _:b596 . _:b597 "2014-02-25T13:04:55+11:00"^^ . _:b597 . _:b597 . _:b598 . _:b598 . _:b598 . _:b598 _:b599 . _:b598 . _:b598 . _:b599 "2014-02-25T13:04:55+11:00"^^ . _:b599 . _:b599 . _:b6 . _:b6 . _:b6 . _:b6 _:b7 . _:b6 . _:b6 . _:b60 . _:b60 . _:b60 . _:b60 _:b61 . _:b60 . _:b60 . _:b600 . _:b600 . _:b600 . _:b600 _:b601 . _:b600 . _:b600 . _:b601 "2014-02-25T13:04:55+11:00"^^ . _:b601 . _:b601 . _:b602 . _:b602 . _:b602 . _:b602 _:b603 . _:b602 . _:b602 . _:b603 "2014-02-25T13:04:55+11:00"^^ . _:b603 . _:b603 . _:b604 . _:b604 . _:b604 . _:b604 _:b605 . _:b604 . _:b604 . _:b605 "2014-02-25T13:04:55+11:00"^^ . _:b605 . _:b605 . _:b606 . _:b606 . _:b606 . _:b606 _:b607 . _:b606 . _:b606 . _:b607 "2014-02-25T13:04:55+11:00"^^ . _:b607 . _:b607 . _:b608 . _:b608 . _:b608 . _:b608 _:b609 . _:b608 . _:b608 . _:b609 "2014-02-25T13:04:55+11:00"^^ . _:b609 . _:b609 . _:b61 "2014-02-25T13:04:53+11:00"^^ . _:b61 . _:b61 . _:b610 . _:b610 . _:b610 . _:b610 _:b611 . _:b610 . _:b610 . _:b611 "2014-02-25T13:04:55+11:00"^^ . _:b611 . _:b611 . _:b612 . _:b612 . _:b612 . _:b612 _:b613 . _:b612 . _:b612 . _:b613 "2014-02-25T13:04:55+11:00"^^ . _:b613 . _:b613 . _:b614 . _:b614 . _:b614 . _:b614 _:b615 . _:b614 . _:b614 . _:b615 "2014-02-25T13:04:55+11:00"^^ . _:b615 . _:b615 . _:b616 . _:b616 . _:b616 . _:b616 _:b617 . _:b616 . _:b616 . _:b617 "2014-02-25T13:04:55+11:00"^^ . _:b617 . _:b617 . _:b618 . _:b618 . _:b618 . _:b618 _:b619 . _:b618 . _:b618 . _:b619 "2014-02-25T13:04:55+11:00"^^ . _:b619 . _:b619 . _:b62 . _:b62 . _:b62 . _:b62 _:b63 . _:b62 . _:b62 . _:b620 . _:b620 . _:b620 . _:b620 _:b621 . _:b620 . _:b620 . _:b621 "2014-02-25T13:04:55+11:00"^^ . _:b621 . _:b621 . _:b622 . _:b622 . _:b622 . _:b622 _:b623 . _:b622 . _:b622 . _:b623 "2014-02-25T13:04:55+11:00"^^ . _:b623 . _:b623 . _:b624 . _:b624 . _:b624 . _:b624 _:b625 . _:b624 . _:b624 . _:b625 "2014-02-25T13:04:55+11:00"^^ . _:b625 . _:b625 . _:b626 . _:b626 . _:b626 . _:b626 _:b627 . _:b626 . _:b626 . _:b627 "2014-02-25T13:04:55+11:00"^^ . _:b627 . _:b627 . _:b628 . _:b628 . _:b628 . _:b628 _:b629 . _:b628 . _:b628 . _:b629 "2014-02-25T13:04:55+11:00"^^ . _:b629 . _:b629 . _:b63 "2014-02-25T13:04:53+11:00"^^ . _:b63 . _:b63 . _:b630 . _:b630 . _:b630 . _:b630 _:b631 . _:b630 . _:b630 . _:b631 "2014-02-25T13:04:55+11:00"^^ . _:b631 . _:b631 . _:b632 . _:b632 . _:b632 . _:b632 _:b633 . _:b632 . _:b632 . _:b633 "2014-02-25T13:04:55+11:00"^^ . _:b633 . _:b633 . _:b634 . _:b634 . _:b634 . _:b634 _:b635 . _:b634 . _:b634 . _:b635 "2014-02-25T13:04:55+11:00"^^ . _:b635 . _:b635 . _:b636 . _:b636 . _:b636 . _:b636 _:b637 . _:b636 . _:b636 . _:b637 "2014-02-25T13:04:55+11:00"^^ . _:b637 . _:b637 . _:b638 . _:b638 . _:b638 . _:b638 _:b639 . _:b638 . _:b638 . _:b639 "2014-02-25T13:04:55+11:00"^^ . _:b639 . _:b639 . _:b64 . _:b64 . _:b64 . _:b64 _:b65 . _:b64 . _:b64 . _:b640 . _:b640 . _:b640 . _:b640 _:b641 . _:b640 . _:b640 . _:b641 "2014-02-25T13:04:55+11:00"^^ . _:b641 . _:b641 . _:b642 . _:b642 . _:b642 . _:b642 _:b643 . _:b642 . _:b642 . _:b643 "2014-02-25T13:04:55+11:00"^^ . _:b643 . _:b643 . _:b644 . _:b644 . _:b644 . _:b644 _:b645 . _:b644 . _:b644 . _:b645 "2014-02-25T13:04:55+11:00"^^ . _:b645 . _:b645 . _:b646 . _:b646 . _:b646 . _:b646 _:b647 . _:b646 . _:b646 . _:b647 "2014-02-25T13:04:55+11:00"^^ . _:b647 . _:b647 . _:b648 . _:b648 . _:b648 . _:b648 _:b649 . _:b648 . _:b648 . _:b649 "2014-02-25T13:04:55+11:00"^^ . _:b649 . _:b649 . _:b65 "2014-02-25T13:04:53+11:00"^^ . _:b65 . _:b65 . _:b650 . _:b650 . _:b650 . _:b650 _:b651 . _:b650 . _:b650 . _:b651 "2014-02-25T13:04:55+11:00"^^ . _:b651 . _:b651 . _:b652 . _:b652 . _:b652 . _:b652 _:b653 . _:b652 . _:b652 . _:b653 "2014-02-25T13:04:55+11:00"^^ . _:b653 . _:b653 . _:b654 . _:b654 . _:b654 . _:b654 _:b655 . _:b654 . _:b654 . _:b655 "2014-02-25T13:04:55+11:00"^^ . _:b655 . _:b655 . _:b656 . _:b656 . _:b656 . _:b656 _:b657 . _:b656 . _:b656 . _:b657 "2014-02-25T13:04:55+11:00"^^ . _:b657 . _:b657 . _:b658 . _:b658 . _:b658 . _:b658 _:b659 . _:b658 . _:b658 . _:b659 "2014-02-25T13:04:55+11:00"^^ . _:b659 . _:b659 . _:b66 . _:b66 . _:b66 . _:b66 _:b67 . _:b66 . _:b66 . _:b660 . _:b660 . _:b660 . _:b660 _:b661 . _:b660 . _:b660 . _:b661 "2014-02-25T13:04:55+11:00"^^ . _:b661 . _:b661 . _:b662 . _:b662 . _:b662 . _:b662 _:b663 . _:b662 . _:b662 . _:b663 "2014-02-25T13:04:55+11:00"^^ . _:b663 . _:b663 . _:b664 . _:b664 . _:b664 . _:b664 _:b665 . _:b664 . _:b664 . _:b665 "2014-02-25T13:04:55+11:00"^^ . _:b665 . _:b665 . _:b666 . _:b666 . _:b666 . _:b666 _:b667 . _:b666 . _:b666 . _:b667 "2014-02-25T13:04:55+11:00"^^ . _:b667 . _:b667 . _:b668 . _:b668 . _:b668 . _:b668 _:b669 . _:b668 . _:b668 . _:b669 "2014-02-25T13:04:55+11:00"^^ . _:b669 . _:b669 . _:b67 "2014-02-25T13:04:53+11:00"^^ . _:b67 . _:b67 . _:b670 . _:b670 . _:b670 . _:b670 _:b671 . _:b670 . _:b670 . _:b671 "2014-02-25T13:04:55+11:00"^^ . _:b671 . _:b671 . _:b672 . _:b672 . _:b672 . _:b672 _:b673 . _:b672 . _:b672 . _:b673 "2014-02-25T13:04:55+11:00"^^ . _:b673 . _:b673 . _:b674 . _:b674 . _:b674 . _:b674 _:b675 . _:b674 . _:b674 . _:b675 "2014-02-25T13:04:55+11:00"^^ . _:b675 . _:b675 . _:b676 . _:b676 . _:b676 . _:b676 _:b677 . _:b676 . _:b676 . _:b677 "2014-02-25T13:04:55+11:00"^^ . _:b677 . _:b677 . _:b678 . _:b678 . _:b678 . _:b678 _:b679 . _:b678 . _:b678 . _:b679 "2014-02-25T13:04:55+11:00"^^ . _:b679 . _:b679 . _:b68 . _:b68 . _:b68 . _:b68 _:b69 . _:b68 . _:b68 . _:b680 . _:b680 . _:b680 . _:b680 _:b681 . _:b680 . _:b680 . _:b681 "2014-02-25T13:04:55+11:00"^^ . _:b681 . _:b681 . _:b682 . _:b682 . _:b682 . _:b682 _:b683 . _:b682 . _:b682 . _:b683 "2014-02-25T13:04:55+11:00"^^ . _:b683 . _:b683 . _:b684 . _:b684 . _:b684 . _:b684 _:b685 . _:b684 . _:b684 . _:b685 "2014-02-25T13:04:55+11:00"^^ . _:b685 . _:b685 . _:b686 . _:b686 . _:b686 . _:b686 _:b687 . _:b686 . _:b686 . _:b687 "2014-02-25T13:04:55+11:00"^^ . _:b687 . _:b687 . _:b688 . _:b688 . _:b688 . _:b688 _:b689 . _:b688 . _:b688 . _:b689 "2014-02-25T13:04:55+11:00"^^ . _:b689 . _:b689 . _:b69 "2014-02-25T13:04:53+11:00"^^ . _:b69 . _:b69 . _:b690 . _:b690 . _:b690 . _:b690 _:b691 . _:b690 . _:b690 . _:b691 "2014-02-25T13:04:55+11:00"^^ . _:b691 . _:b691 . _:b692 . _:b692 . _:b692 . _:b692 _:b693 . _:b692 . _:b692 . _:b693 "2014-02-25T13:04:55+11:00"^^ . _:b693 . _:b693 . _:b694 . _:b694 . _:b694 . _:b694 _:b695 . _:b694 . _:b694 . _:b695 "2014-02-25T13:04:55+11:00"^^ . _:b695 . _:b695 . _:b696 . _:b696 . _:b696 . _:b696 _:b697 . _:b696 . _:b696 . _:b697 "2014-02-25T13:04:55+11:00"^^ . _:b697 . _:b697 . _:b698 . _:b698 . _:b698 . _:b698 _:b699 . _:b698 . _:b698 . _:b699 "2014-02-25T13:04:55+11:00"^^ . _:b699 . _:b699 . _:b7 "2014-02-25T13:04:53+11:00"^^ . _:b7 . _:b7 . _:b70 . _:b70 . _:b70 . _:b70 _:b71 . _:b70 . _:b70 . _:b700 . _:b700 . _:b700 . _:b700 _:b701 . _:b700 . _:b700 . _:b701 "2014-02-25T13:04:55+11:00"^^ . _:b701 . _:b701 . _:b702 . _:b702 . _:b702 . _:b702 _:b703 . _:b702 . _:b702 . _:b703 "2014-02-25T13:04:55+11:00"^^ . _:b703 . _:b703 . _:b704 . _:b704 . _:b704 . _:b704 _:b705 . _:b704 . _:b704 . _:b705 "2014-02-25T13:04:55+11:00"^^ . _:b705 . _:b705 . _:b706 . _:b706 . _:b706 . _:b706 _:b707 . _:b706 . _:b706 . _:b707 "2014-02-25T13:04:55+11:00"^^ . _:b707 . _:b707 . _:b708 . _:b708 . _:b708 . _:b708 _:b709 . _:b708 . _:b708 . _:b709 "2014-02-25T13:04:55+11:00"^^ . _:b709 . _:b709 . _:b71 "2014-02-25T13:04:53+11:00"^^ . _:b71 . _:b71 . _:b710 . _:b710 . _:b710 . _:b710 _:b711 . _:b710 . _:b710 . _:b711 "2014-02-25T13:04:55+11:00"^^ . _:b711 . _:b711 . _:b712 . _:b712 . _:b712 . _:b712 _:b713 . _:b712 . _:b712 . _:b713 "2014-02-25T13:04:55+11:00"^^ . _:b713 . _:b713 . _:b714 . _:b714 . _:b714 . _:b714 _:b715 . _:b714 . _:b714 . _:b715 "2014-02-25T13:04:55+11:00"^^ . _:b715 . _:b715 . _:b716 . _:b716 . _:b716 . _:b716 _:b717 . _:b716 . _:b716 . _:b717 "2014-02-25T13:04:55+11:00"^^ . _:b717 . _:b717 . _:b718 . _:b718 . _:b718 . _:b718 _:b719 . _:b718 . _:b718 . _:b719 "2014-02-25T13:04:55+11:00"^^ . _:b719 . _:b719 . _:b72 . _:b72 . _:b72 . _:b72 _:b73 . _:b72 . _:b72 . _:b720 . _:b720 . _:b720 . _:b720 _:b721 . _:b720 . _:b720 . _:b721 "2014-02-25T13:04:55+11:00"^^ . _:b721 . _:b721 . _:b722 . _:b722 . _:b722 . _:b722 _:b723 . _:b722 . _:b722 . _:b723 "2014-02-25T13:04:55+11:00"^^ . _:b723 . _:b723 . _:b724 . _:b724 . _:b724 . _:b724 _:b725 . _:b724 . _:b724 . _:b725 "2014-02-25T13:04:55+11:00"^^ . _:b725 . _:b725 . _:b726 . _:b726 . _:b726 . _:b726 _:b727 . _:b726 . _:b726 . _:b727 "2014-02-25T13:04:55+11:00"^^ . _:b727 . _:b727 . _:b728 . _:b728 . _:b728 . _:b728 _:b729 . _:b728 . _:b728 . _:b729 "2014-02-25T13:04:55+11:00"^^ . _:b729 . _:b729 . _:b73 "2014-02-25T13:04:53+11:00"^^ . _:b73 . _:b73 . _:b730 . _:b730 . _:b730 . _:b730 _:b731 . _:b730 . _:b730 . _:b731 "2014-02-25T13:04:55+11:00"^^ . _:b731 . _:b731 . _:b732 . _:b732 . _:b732 . _:b732 _:b733 . _:b732 . _:b732 . _:b733 "2014-02-25T13:04:55+11:00"^^ . _:b733 . _:b733 . _:b734 . _:b734 . _:b734 . _:b734 _:b735 . _:b734 . _:b734 . _:b735 "2014-02-25T13:04:55+11:00"^^ . _:b735 . _:b735 . _:b736 . _:b736 . _:b736 . _:b736 _:b737 . _:b736 . _:b736 . _:b737 "2014-02-25T13:04:55+11:00"^^ . _:b737 . _:b737 . _:b738 . _:b738 . _:b738 . _:b738 _:b739 . _:b738 . _:b738 . _:b739 "2014-02-25T13:04:55+11:00"^^ . _:b739 . _:b739 . _:b74 . _:b74 . _:b74 . _:b74 _:b75 . _:b74 . _:b74 . _:b740 . _:b740 . _:b740 . _:b740 _:b741 . _:b740 . _:b740 . _:b741 "2014-02-25T13:04:55+11:00"^^ . _:b741 . _:b741 . _:b742 . _:b742 . _:b742 . _:b742 _:b743 . _:b742 . _:b742 . _:b743 "2014-02-25T13:04:55+11:00"^^ . _:b743 . _:b743 . _:b744 . _:b744 . _:b744 . _:b744 _:b745 . _:b744 . _:b744 . _:b745 "2014-02-25T13:04:55+11:00"^^ . _:b745 . _:b745 . _:b746 . _:b746 . _:b746 . _:b746 _:b747 . _:b746 . _:b746 . _:b747 "2014-02-25T13:04:55+11:00"^^ . _:b747 . _:b747 . _:b748 . _:b748 . _:b748 . _:b748 _:b749 . _:b748 . _:b748 . _:b749 "2014-02-25T13:04:55+11:00"^^ . _:b749 . _:b749 . _:b75 "2014-02-25T13:04:53+11:00"^^ . _:b75 . _:b75 . _:b750 . _:b750 . _:b750 . _:b750 _:b751 . _:b750 . _:b750 . _:b751 "2014-02-25T13:04:55+11:00"^^ . _:b751 . _:b751 . _:b752 . _:b752 . _:b752 . _:b752 _:b753 . _:b752 . _:b752 . _:b753 "2014-02-25T13:04:55+11:00"^^ . _:b753 . _:b753 . _:b754 . _:b754 . _:b754 . _:b754 _:b755 . _:b754 . _:b754 . _:b755 "2014-02-25T13:04:55+11:00"^^ . _:b755 . _:b755 . _:b756 . _:b756 . _:b756 . _:b756 _:b757 . _:b756 . _:b756 . _:b757 "2014-02-25T13:04:55+11:00"^^ . _:b757 . _:b757 . _:b758 . _:b758 . _:b758 . _:b758 _:b759 . _:b758 . _:b758 . _:b759 "2014-02-25T13:04:55+11:00"^^ . _:b759 . _:b759 . _:b76 . _:b76 . _:b76 . _:b76 _:b77 . _:b76 . _:b76 . _:b760 . _:b760 . _:b760 . _:b760 _:b761 . _:b760 . _:b760 . _:b761 "2014-02-25T13:04:55+11:00"^^ . _:b761 . _:b761 . _:b762 . _:b762 . _:b762 . _:b762 _:b763 . _:b762 . _:b762 . _:b763 "2014-02-25T13:04:55+11:00"^^ . _:b763 . _:b763 . _:b764 . _:b764 . _:b764 . _:b764 _:b765 . _:b764 . _:b764 . _:b765 "2014-02-25T13:04:55+11:00"^^ . _:b765 . _:b765 . _:b766 . _:b766 . _:b766 . _:b766 _:b767 . _:b766 . _:b766 . _:b767 "2014-02-25T13:04:55+11:00"^^ . _:b767 . _:b767 . _:b768 . _:b768 . _:b768 . _:b768 _:b769 . _:b768 . _:b768 . _:b769 "2014-02-25T13:04:55+11:00"^^ . _:b769 . _:b769 . _:b77 "2014-02-25T13:04:53+11:00"^^ . _:b77 . _:b77 . _:b770 . _:b770 . _:b770 . _:b770 _:b771 . _:b770 . _:b770 . _:b771 "2014-02-25T13:04:55+11:00"^^ . _:b771 . _:b771 . _:b772 . _:b772 . _:b772 . _:b772 _:b773 . _:b772 . _:b772 . _:b773 "2014-02-25T13:04:55+11:00"^^ . _:b773 . _:b773 . _:b774 . _:b774 . _:b774 . _:b774 _:b775 . _:b774 . _:b774 . _:b775 "2014-02-25T13:04:55+11:00"^^ . _:b775 . _:b775 . _:b776 . _:b776 . _:b776 . _:b776 _:b777 . _:b776 . _:b776 . _:b777 "2014-02-25T13:04:55+11:00"^^ . _:b777 . _:b777 . _:b778 . _:b778 . _:b778 . _:b778 _:b779 . _:b778 . _:b778 . _:b779 "2014-02-25T13:04:55+11:00"^^ . _:b779 . _:b779 . _:b78 . _:b78 . _:b78 . _:b78 _:b79 . _:b78 . _:b78 . _:b780 . _:b780 . _:b780 . _:b780 _:b781 . _:b780 . _:b780 . _:b781 "2014-02-25T13:04:55+11:00"^^ . _:b781 . _:b781 . _:b782 . _:b782 . _:b782 . _:b782 _:b783 . _:b782 . _:b782 . _:b783 "2014-02-25T13:04:55+11:00"^^ . _:b783 . _:b783 . _:b784 . _:b784 . _:b784 . _:b784 _:b785 . _:b784 . _:b784 . _:b785 "2014-02-25T13:04:55+11:00"^^ . _:b785 . _:b785 . _:b786 . _:b786 . _:b786 . _:b786 _:b787 . _:b786 . _:b786 . _:b787 "2014-02-25T13:04:55+11:00"^^ . _:b787 . _:b787 . _:b788 . _:b788 . _:b788 . _:b788 _:b789 . _:b788 . _:b788 . _:b789 "2014-02-25T13:04:55+11:00"^^ . _:b789 . _:b789 . _:b79 "2014-02-25T13:04:53+11:00"^^ . _:b79 . _:b79 . _:b790 . _:b790 . _:b790 . _:b790 _:b791 . _:b790 . _:b790 . _:b791 "2014-02-25T13:04:55+11:00"^^ . _:b791 . _:b791 . _:b792 . _:b792 . _:b792 . _:b792 _:b793 . _:b792 . _:b792 . _:b793 "2014-02-25T13:04:55+11:00"^^ . _:b793 . _:b793 . _:b794 . _:b794 . _:b794 . _:b794 _:b795 . _:b794 . _:b794 . _:b795 "2014-02-25T13:04:55+11:00"^^ . _:b795 . _:b795 . _:b796 . _:b796 . _:b796 . _:b796 _:b797 . _:b796 . _:b796 . _:b797 "2014-02-25T13:04:55+11:00"^^ . _:b797 . _:b797 . _:b798 . _:b798 . _:b798 . _:b798 _:b799 . _:b798 . _:b798 . _:b799 "2014-02-25T13:04:55+11:00"^^ . _:b799 . _:b799 . _:b8 . _:b8 . _:b8 . _:b8 _:b9 . _:b8 . _:b8 . _:b80 . _:b80 . _:b80 . _:b80 _:b81 . _:b80 . _:b80 . _:b800 . _:b800 . _:b800 . _:b800 _:b801 . _:b800 . _:b800 . _:b801 "2014-02-25T13:04:55+11:00"^^ . _:b801 . _:b801 . _:b802 . _:b802 . _:b802 . _:b802 _:b803 . _:b802 . _:b802 . _:b803 "2014-02-25T13:04:55+11:00"^^ . _:b803 . _:b803 . _:b804 . _:b804 . _:b804 . _:b804 _:b805 . _:b804 . _:b804 . _:b805 "2014-02-25T13:04:55+11:00"^^ . _:b805 . _:b805 . _:b806 . _:b806 . _:b806 . _:b806 _:b807 . _:b806 . _:b806 . _:b807 "2014-02-25T13:04:55+11:00"^^ . _:b807 . _:b807 . _:b808 . _:b808 . _:b808 . _:b808 _:b809 . _:b808 . _:b808 . _:b809 "2014-02-25T13:04:55+11:00"^^ . _:b809 . _:b809 . _:b81 "2014-02-25T13:04:53+11:00"^^ . _:b81 . _:b81 . _:b810 . _:b810 . _:b810 . _:b810 _:b811 . _:b810 . _:b810 . _:b811 "2014-02-25T13:04:55+11:00"^^ . _:b811 . _:b811 . _:b812 . _:b812 . _:b812 . _:b812 _:b813 . _:b812 . _:b812 . _:b813 "2014-02-25T13:04:55+11:00"^^ . _:b813 . _:b813 . _:b814 . _:b814 . _:b814 . _:b814 _:b815 . _:b814 . _:b814 . _:b815 "2014-02-25T13:04:55+11:00"^^ . _:b815 . _:b815 . _:b816 . _:b816 . _:b816 . _:b816 _:b817 . _:b816 . _:b816 . _:b817 "2014-02-25T13:04:55+11:00"^^ . _:b817 . _:b817 . _:b818 . _:b818 . _:b818 . _:b818 _:b819 . _:b818 . _:b818 . _:b819 "2014-02-25T13:04:55+11:00"^^ . _:b819 . _:b819 . _:b82 . _:b82 . _:b82 . _:b82 _:b83 . _:b82 . _:b82 . _:b820 . _:b820 . _:b820 . _:b820 _:b821 . _:b820 . _:b820 . _:b821 "2014-02-25T13:04:55+11:00"^^ . _:b821 . _:b821 . _:b822 . _:b822 . _:b822 . _:b822 _:b823 . _:b822 . _:b822 . _:b823 "2014-02-25T13:04:55+11:00"^^ . _:b823 . _:b823 . _:b824 . _:b824 . _:b824 . _:b824 _:b825 . _:b824 . _:b824 . _:b825 "2014-02-25T13:04:55+11:00"^^ . _:b825 . _:b825 . _:b826 . _:b826 . _:b826 . _:b826 _:b827 . _:b826 . _:b826 . _:b827 "2014-02-25T13:04:55+11:00"^^ . _:b827 . _:b827 . _:b828 . _:b828 . _:b828 . _:b828 _:b829 . _:b828 . _:b828 . _:b829 "2014-02-25T13:04:55+11:00"^^ . _:b829 . _:b829 . _:b83 "2014-02-25T13:04:53+11:00"^^ . _:b83 . _:b83 . _:b830 . _:b830 . _:b830 . _:b830 _:b831 . _:b830 . _:b830 . _:b831 "2014-02-25T13:04:55+11:00"^^ . _:b831 . _:b831 . _:b832 . _:b832 . _:b832 . _:b832 _:b833 . _:b832 . _:b832 . _:b833 "2014-02-25T13:04:55+11:00"^^ . _:b833 . _:b833 . _:b834 . _:b834 . _:b834 . _:b834 _:b835 . _:b834 . _:b834 . _:b835 "2014-02-25T13:04:55+11:00"^^ . _:b835 . _:b835 . _:b836 . _:b836 . _:b836 . _:b836 _:b837 . _:b836 . _:b836 . _:b837 "2014-02-25T13:04:55+11:00"^^ . _:b837 . _:b837 . _:b838 . _:b838 . _:b838 . _:b838 _:b839 . _:b838 . _:b838 . _:b839 "2014-02-25T13:04:55+11:00"^^ . _:b839 . _:b839 . _:b84 . _:b84 . _:b84 . _:b84 _:b85 . _:b84 . _:b84 . _:b840 . _:b840 . _:b840 . _:b840 _:b841 . _:b840 . _:b840 . _:b841 "2014-02-25T13:04:55+11:00"^^ . _:b841 . _:b841 . _:b842 . _:b842 . _:b842 . _:b842 _:b843 . _:b842 . _:b842 . _:b843 "2014-02-25T13:04:56+11:00"^^ . _:b843 . _:b843 . _:b844 . _:b844 . _:b844 . _:b844 _:b845 . _:b844 . _:b844 . _:b845 "2014-02-25T13:04:56+11:00"^^ . _:b845 . _:b845 . _:b846 . _:b846 . _:b846 . _:b846 _:b847 . _:b846 . _:b846 . _:b847 "2014-02-25T13:04:56+11:00"^^ . _:b847 . _:b847 . _:b848 . _:b848 . _:b848 . _:b848 _:b849 . _:b848 . _:b848 . _:b849 "2014-02-25T13:04:56+11:00"^^ . _:b849 . _:b849 . _:b85 "2014-02-25T13:04:53+11:00"^^ . _:b85 . _:b85 . _:b850 . _:b850 . _:b850 . _:b850 _:b851 . _:b850 . _:b850 . _:b851 "2014-02-25T13:04:56+11:00"^^ . _:b851 . _:b851 . _:b852 . _:b852 . _:b852 . _:b852 _:b853 . _:b852 . _:b852 . _:b853 "2014-02-25T13:04:56+11:00"^^ . _:b853 . _:b853 . _:b854 . _:b854 . _:b854 . _:b854 _:b855 . _:b854 . _:b854 . _:b855 "2014-02-25T13:04:56+11:00"^^ . _:b855 . _:b855 . _:b856 . _:b856 . _:b856 . _:b856 _:b857 . _:b856 . _:b856 . _:b857 "2014-02-25T13:04:56+11:00"^^ . _:b857 . _:b857 . _:b858 . _:b858 . _:b858 . _:b858 _:b859 . _:b858 . _:b858 . _:b859 "2014-02-25T13:04:56+11:00"^^ . _:b859 . _:b859 . _:b86 . _:b86 . _:b86 . _:b86 _:b87 . _:b86 . _:b86 . _:b860 . _:b860 . _:b860 . _:b860 _:b861 . _:b860 . _:b860 . _:b861 "2014-02-25T13:04:56+11:00"^^ . _:b861 . _:b861 . _:b862 . _:b862 . _:b862 . _:b862 _:b863 . _:b862 . _:b862 . _:b863 "2014-02-25T13:04:56+11:00"^^ . _:b863 . _:b863 . _:b864 . _:b864 . _:b864 . _:b864 _:b865 . _:b864 . _:b864 . _:b865 "2014-02-25T13:04:56+11:00"^^ . _:b865 . _:b865 . _:b866 . _:b866 . _:b866 . _:b866 _:b867 . _:b866 . _:b866 . _:b867 "2014-02-25T13:04:56+11:00"^^ . _:b867 . _:b867 . _:b868 . _:b868 . _:b868 . _:b868 _:b869 . _:b868 . _:b868 . _:b869 "2014-02-25T13:04:56+11:00"^^ . _:b869 . _:b869 . _:b87 "2014-02-25T13:04:53+11:00"^^ . _:b87 . _:b87 . _:b870 . _:b870 . _:b870 . _:b870 _:b871 . _:b870 . _:b870 . _:b871 "2014-02-25T13:04:56+11:00"^^ . _:b871 . _:b871 . _:b872 . _:b872 . _:b872 . _:b872 _:b873 . _:b872 . _:b872 . _:b873 "2014-02-25T13:04:56+11:00"^^ . _:b873 . _:b873 . _:b874 . _:b874 . _:b874 . _:b874 _:b875 . _:b874 . _:b874 . _:b875 "2014-02-25T13:04:56+11:00"^^ . _:b875 . _:b875 . _:b876 . _:b876 . _:b876 . _:b876 _:b877 . _:b876 . _:b876 . _:b877 "2014-02-25T13:04:56+11:00"^^ . _:b877 . _:b877 . _:b878 . _:b878 . _:b878 . _:b878 _:b879 . _:b878 . _:b878 . _:b879 "2014-02-25T13:04:56+11:00"^^ . _:b879 . _:b879 . _:b88 . _:b88 . _:b88 . _:b88 _:b89 . _:b88 . _:b88 . _:b880 . _:b880 . _:b880 . _:b880 _:b881 . _:b880 . _:b880 . _:b881 "2014-02-25T13:04:56+11:00"^^ . _:b881 . _:b881 . _:b882 . _:b882 . _:b882 . _:b882 _:b883 . _:b882 . _:b882 . _:b883 "2014-02-25T13:04:56+11:00"^^ . _:b883 . _:b883 . _:b884 . _:b884 . _:b884 . _:b884 _:b885 . _:b884 . _:b884 . _:b885 "2014-02-25T13:04:56+11:00"^^ . _:b885 . _:b885 . _:b886 . _:b886 . _:b886 . _:b886 _:b887 . _:b886 . _:b886 . _:b887 "2014-02-25T13:04:56+11:00"^^ . _:b887 . _:b887 . _:b888 . _:b888 . _:b888 . _:b888 _:b889 . _:b888 . _:b888 . _:b889 "2014-02-25T13:04:56+11:00"^^ . _:b889 . _:b889 . _:b89 "2014-02-25T13:04:53+11:00"^^ . _:b89 . _:b89 . _:b890 . _:b890 . _:b890 . _:b890 _:b891 . _:b890 . _:b890 . _:b891 "2014-02-25T13:04:56+11:00"^^ . _:b891 . _:b891 . _:b892 . _:b892 . _:b892 . _:b892 _:b893 . _:b892 . _:b892 . _:b893 "2014-02-25T13:04:56+11:00"^^ . _:b893 . _:b893 . _:b9 "2014-02-25T13:04:53+11:00"^^ . _:b9 . _:b9 . _:b90 . _:b90 . _:b90 . _:b90 _:b91 . _:b90 . _:b90 . _:b91 "2014-02-25T13:04:53+11:00"^^ . _:b91 . _:b91 . _:b92 . _:b92 . _:b92 . _:b92 _:b93 . _:b92 . _:b92 . _:b93 "2014-02-25T13:04:53+11:00"^^ . _:b93 . _:b93 . _:b94 . _:b94 . _:b94 . _:b94 _:b95 . _:b94 . _:b94 . _:b95 "2014-02-25T13:04:53+11:00"^^ . _:b95 . _:b95 . _:b96 . _:b96 . _:b96 . _:b96 _:b97 . _:b96 . _:b96 . _:b97 "2014-02-25T13:04:53+11:00"^^ . _:b97 . _:b97 . _:b98 . _:b98 . _:b98 . _:b98 _:b99 . _:b98 . _:b98 . _:b99 "2014-02-25T13:04:53+11:00"^^ . _:b99 . _:b99 . jsonld-java-0.13.6/core/reports/report.ttl000077500000000000000000006570761452212752100205300ustar00rootroot00000000000000@prefix foaf: . @prefix earl: . @prefix doap: . @prefix dc: . @prefix xsd: . foaf:Person, earl:Assertor ; foaf:homepage ; foaf:name "Tristan King" ; foaf:title "Implementor" . doap:Project, earl:TestSubject, earl:Software ; dc:creator ; dc:date "2013-05-16"^^xsd:date ; doap:description "An Implementation of the JSON-LD Specification for Java"@en ; doap:developer , ; doap:homepage ; doap:name "JSONLD-Java" ; doap:programming-language "Java" ; doap:title "JSONLD-Java" . foaf:name "Peter Ansell" ; foaf:title "Contributor" . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . [ earl:Assertion ; earl:assertedBy ; earl:mode earl:automatic ; earl:result [ earl:TestResult ; dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; earl:outcome earl:passed ] ; earl:subject ; earl:test ] . jsonld-java-0.13.6/core/src/000077500000000000000000000000001452212752100155315ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/main/000077500000000000000000000000001452212752100164555ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/main/java/000077500000000000000000000000001452212752100173765ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/main/java/com/000077500000000000000000000000001452212752100201545ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/main/java/com/github/000077500000000000000000000000001452212752100214365ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/000077500000000000000000000000001452212752100235715ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/core/000077500000000000000000000000001452212752100245215ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/core/Context.java000066400000000000000000001367041452212752100270230ustar00rootroot00000000000000package com.github.jsonldjava.core; import static com.github.jsonldjava.core.JsonLdUtils.compareShortestLeast; import static com.github.jsonldjava.utils.Obj.newMap; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.regex.Pattern; import com.github.jsonldjava.core.JsonLdError.Error; import com.github.jsonldjava.utils.JsonLdUrl; import com.github.jsonldjava.utils.Obj; /** * A helper class which still stores all the values in a map but gives member * variables easily access certain keys * * @author tristan * */ public class Context extends LinkedHashMap { private static final long serialVersionUID = 2894534897574805571L; private static final Pattern URL_PATTERN = Pattern.compile("^https?://.*$", Pattern.CASE_INSENSITIVE); private JsonLdOptions options; private Map termDefinitions; public Map inverse = null; public Context() { this(new JsonLdOptions()); } public Context(JsonLdOptions opts) { super(); init(opts); } public Context(Map map, JsonLdOptions opts) { super(map); checkEmptyKey(map); init(opts); } public Context(Map map) { super(map); checkEmptyKey(map); init(new JsonLdOptions()); } public Context(Object context, JsonLdOptions opts) { // TODO: load remote context super(context instanceof Map ? (Map) context : null); init(opts); } private void init(JsonLdOptions options) { this.options = options; if (options.getBase() != null) { this.put(JsonLdConsts.BASE, options.getBase()); } this.termDefinitions = newMap(); } /** * Value Compaction Algorithm * * http://json-ld.org/spec/latest/json-ld-api/#value-compaction * * @param activeProperty * The Active Property * @param value * The value to compact * @return The compacted value */ public Object compactValue(String activeProperty, Map value) { // 1) int numberMembers = value.size(); // 2) if (value.containsKey(JsonLdConsts.INDEX) && JsonLdConsts.INDEX.equals(this.getContainer(activeProperty))) { numberMembers--; } // 3) if (numberMembers > 2) { return value; } // 4) final String typeMapping = getTypeMapping(activeProperty); final String languageMapping = getLanguageMapping(activeProperty); if (value.containsKey(JsonLdConsts.ID)) { // 4.1) if (numberMembers == 1 && JsonLdConsts.ID.equals(typeMapping)) { return compactIri((String) value.get(JsonLdConsts.ID)); } // 4.2) if (numberMembers == 1 && JsonLdConsts.VOCAB.equals(typeMapping)) { return compactIri((String) value.get(JsonLdConsts.ID), true); } // 4.3) return value; } final Object valueValue = value.get(JsonLdConsts.VALUE); // 5) if (value.containsKey(JsonLdConsts.TYPE) && Obj.equals(value.get(JsonLdConsts.TYPE), typeMapping)) { return valueValue; } // 6) if (value.containsKey(JsonLdConsts.LANGUAGE)) { // TODO: SPEC: doesn't specify to check default language as well if (Obj.equals(value.get(JsonLdConsts.LANGUAGE), languageMapping) || Obj .equals(value.get(JsonLdConsts.LANGUAGE), this.get(JsonLdConsts.LANGUAGE))) { return valueValue; } } // 7) if (numberMembers == 1 && (!(valueValue instanceof String) || !this.containsKey(JsonLdConsts.LANGUAGE) || (termDefinitions.containsKey(activeProperty) && getTermDefinition(activeProperty).containsKey(JsonLdConsts.LANGUAGE) && languageMapping == null))) { return valueValue; } // 8) return value; } /** * Context Processing Algorithm * * http://json-ld.org/spec/latest/json-ld-api/#context-processing-algorithms * * @param localContext * The Local Context object. * @param remoteContexts * The list of Strings denoting the remote Context URLs. * @return The parsed and merged Context. * @throws JsonLdError * If there is an error parsing the contexts. */ public Context parse(Object localContext, List remoteContexts) throws JsonLdError { if (remoteContexts == null) { remoteContexts = new ArrayList(); } return parse(localContext, remoteContexts, false); } /** * Helper method used to work around logic errors related to the recursive * nature of the JSONLD-API Context Processing Algorithm. * * @param localContext * The Local Context object. * @param remoteContexts * The list of Strings denoting the remote Context URLs. * @param parsingARemoteContext * True if localContext represents a remote context that has been * parsed and sent into this method and false otherwise. This * must be set to know whether to propagate the @code{@base} key * from the context to the result. * @return The parsed and merged Context. * @throws JsonLdError * If there is an error parsing the contexts. */ private Context parse(Object localContext, final List remoteContexts, boolean parsingARemoteContext) throws JsonLdError { // 1. Initialize result to the result of cloning active context. Context result = this.clone(); // TODO: clone? // 2) if (!(localContext instanceof List)) { final Object temp = localContext; localContext = new ArrayList(); ((List) localContext).add(temp); } // 3) for (final Object context : ((List) localContext)) { // 3.1) if (context == null) { result = new Context(this.options); continue; } else if (context instanceof Context) { result = ((Context) context).clone(); } // 3.2) else if (context instanceof String) { String uri = null; // @base is ignored when processing remote contexts, https://github.com/jsonld-java/jsonld-java/issues/304 if (!URL_PATTERN.matcher(context.toString()).matches()) { uri = (String) result.get(JsonLdConsts.BASE); } uri = JsonLdUrl.resolve(uri, (String) context); // 3.2.2 if (remoteContexts.contains(uri)) { throw new JsonLdError(Error.RECURSIVE_CONTEXT_INCLUSION, uri); } List nextRemoteContexts = new ArrayList<>(remoteContexts); nextRemoteContexts.add(uri); // 3.2.3: Dereference context final RemoteDocument rd = this.options.getDocumentLoader().loadDocument(uri); final Object remoteContext = rd.getDocument(); if (!(remoteContext instanceof Map) || !((Map) remoteContext) .containsKey(JsonLdConsts.CONTEXT)) { // If the dereferenced document has no top-level JSON object // with an @context member throw new JsonLdError(Error.INVALID_REMOTE_CONTEXT, context); } final Object tempContext = ((Map) remoteContext) .get(JsonLdConsts.CONTEXT); // 3.2.4 result = result.parse(tempContext, nextRemoteContexts, true); // 3.2.5 continue; } else if (!(context instanceof Map)) { // 3.3 throw new JsonLdError(Error.INVALID_LOCAL_CONTEXT, context); } checkEmptyKey((Map) context); // 3.4 if (!parsingARemoteContext && ((Map) context).containsKey(JsonLdConsts.BASE)) { // 3.4.1 final Object value = ((Map) context).get(JsonLdConsts.BASE); // 3.4.2 if (value == null) { result.remove(JsonLdConsts.BASE); } else if (value instanceof String) { // 3.4.3 if (JsonLdUtils.isAbsoluteIri((String) value)) { result.put(JsonLdConsts.BASE, value); } else { // 3.4.4 final String baseUri = (String) result.get(JsonLdConsts.BASE); if (!JsonLdUtils.isAbsoluteIri(baseUri)) { throw new JsonLdError(Error.INVALID_BASE_IRI, baseUri); } result.put(JsonLdConsts.BASE, JsonLdUrl.resolve(baseUri, (String) value)); } } else { // 3.4.5 throw new JsonLdError(JsonLdError.Error.INVALID_BASE_IRI, "@base must be a string"); } } // 3.5 if (((Map) context).containsKey(JsonLdConsts.VOCAB)) { final Object value = ((Map) context).get(JsonLdConsts.VOCAB); if (value == null) { result.remove(JsonLdConsts.VOCAB); } else if (value instanceof String) { if (JsonLdUtils.isAbsoluteIri((String) value)) { result.put(JsonLdConsts.VOCAB, value); } else { throw new JsonLdError(Error.INVALID_VOCAB_MAPPING, "@value must be an absolute IRI"); } } else { throw new JsonLdError(Error.INVALID_VOCAB_MAPPING, "@vocab must be a string or null"); } } // 3.6 if (((Map) context).containsKey(JsonLdConsts.LANGUAGE)) { final Object value = ((Map) context).get(JsonLdConsts.LANGUAGE); if (value == null) { result.remove(JsonLdConsts.LANGUAGE); } else if (value instanceof String) { result.put(JsonLdConsts.LANGUAGE, ((String) value).toLowerCase()); } else { throw new JsonLdError(Error.INVALID_DEFAULT_LANGUAGE, value); } } // 3.7 final Map defined = new LinkedHashMap(); for (final String key : ((Map) context).keySet()) { if (JsonLdConsts.BASE.equals(key) || JsonLdConsts.VOCAB.equals(key) || JsonLdConsts.LANGUAGE.equals(key)) { continue; } result.createTermDefinition((Map) context, key, defined); } } return result; } private void checkEmptyKey(final Map map) { if (map.containsKey("")) { // the term MUST NOT be an empty string ("") // https://www.w3.org/TR/json-ld/#h3_terms throw new JsonLdError(Error.INVALID_TERM_DEFINITION, String.format("empty key for value '%s'", map.get(""))); } } public Context parse(Object localContext) throws JsonLdError { return this.parse(localContext, new ArrayList()); } /** * Create Term Definition Algorithm * * http://json-ld.org/spec/latest/json-ld-api/#create-term-definition * * @param context * @param defined * @throws JsonLdError */ private void createTermDefinition(Map context, String term, Map defined) throws JsonLdError { if (defined.containsKey(term)) { if (Boolean.TRUE.equals(defined.get(term))) { return; } throw new JsonLdError(Error.CYCLIC_IRI_MAPPING, term); } defined.put(term, false); if (JsonLdUtils.isKeyword(term) && !(options.getAllowContainerSetOnType() && JsonLdConsts.TYPE.equals(term) && !(context.get(term)).toString().contains(JsonLdConsts.ID))) { throw new JsonLdError(Error.KEYWORD_REDEFINITION, term); } this.termDefinitions.remove(term); Object value = context.get(term); if (value == null || (value instanceof Map && ((Map) value).containsKey(JsonLdConsts.ID) && ((Map) value).get(JsonLdConsts.ID) == null)) { this.termDefinitions.put(term, null); defined.put(term, true); return; } if (value instanceof String) { value = newMap(JsonLdConsts.ID, value); } if (!(value instanceof Map)) { throw new JsonLdError(Error.INVALID_TERM_DEFINITION, value); } // casting the value so it doesn't have to be done below everytime final Map val = (Map) value; // 9) create a new term definition final Map definition = newMap(); // 10) if (val.containsKey(JsonLdConsts.TYPE)) { if (!(val.get(JsonLdConsts.TYPE) instanceof String)) { throw new JsonLdError(Error.INVALID_TYPE_MAPPING, val.get(JsonLdConsts.TYPE)); } String type = (String) val.get(JsonLdConsts.TYPE); try { type = this.expandIri((String) val.get(JsonLdConsts.TYPE), false, true, context, defined); } catch (final JsonLdError error) { if (error.getType() != Error.INVALID_IRI_MAPPING) { throw error; } throw new JsonLdError(Error.INVALID_TYPE_MAPPING, type, error); } // TODO: fix check for absoluteIri (blank nodes shouldn't count, at // least not here!) if (JsonLdConsts.ID.equals(type) || JsonLdConsts.VOCAB.equals(type) || (!type.startsWith(JsonLdConsts.BLANK_NODE_PREFIX) && JsonLdUtils.isAbsoluteIri(type))) { definition.put(JsonLdConsts.TYPE, type); } else { throw new JsonLdError(Error.INVALID_TYPE_MAPPING, type); } } // 11) if (val.containsKey(JsonLdConsts.REVERSE)) { if (val.containsKey(JsonLdConsts.ID)) { throw new JsonLdError(Error.INVALID_REVERSE_PROPERTY, val); } if (!(val.get(JsonLdConsts.REVERSE) instanceof String)) { throw new JsonLdError(Error.INVALID_IRI_MAPPING, "Expected String for @reverse value. got " + (val.get(JsonLdConsts.REVERSE) == null ? "null" : val.get(JsonLdConsts.REVERSE).getClass())); } final String reverse = this.expandIri((String) val.get(JsonLdConsts.REVERSE), false, true, context, defined); if (!JsonLdUtils.isAbsoluteIri(reverse)) { throw new JsonLdError(Error.INVALID_IRI_MAPPING, "Non-absolute @reverse IRI: " + reverse); } definition.put(JsonLdConsts.ID, reverse); if (val.containsKey(JsonLdConsts.CONTAINER)) { final String container = (String) val.get(JsonLdConsts.CONTAINER); if (container == null || JsonLdConsts.SET.equals(container) || JsonLdConsts.INDEX.equals(container)) { definition.put(JsonLdConsts.CONTAINER, container); } else { throw new JsonLdError(Error.INVALID_REVERSE_PROPERTY, "reverse properties only support set- and index-containers"); } } definition.put(JsonLdConsts.REVERSE, true); this.termDefinitions.put(term, definition); defined.put(term, true); return; } // 12) definition.put(JsonLdConsts.REVERSE, false); // 13) if (val.get(JsonLdConsts.ID) != null && !term.equals(val.get(JsonLdConsts.ID))) { if (!(val.get(JsonLdConsts.ID) instanceof String)) { throw new JsonLdError(Error.INVALID_IRI_MAPPING, "expected value of @id to be a string"); } final String res = this.expandIri((String) val.get(JsonLdConsts.ID), false, true, context, defined); if (JsonLdUtils.isKeyword(res) || JsonLdUtils.isAbsoluteIri(res)) { if (JsonLdConsts.CONTEXT.equals(res)) { throw new JsonLdError(Error.INVALID_KEYWORD_ALIAS, "cannot alias @context"); } definition.put(JsonLdConsts.ID, res); } else { throw new JsonLdError(Error.INVALID_IRI_MAPPING, "resulting IRI mapping should be a keyword, absolute IRI or blank node"); } } // 14) else if (term.indexOf(":") >= 0) { final int colIndex = term.indexOf(":"); final String prefix = term.substring(0, colIndex); final String suffix = term.substring(colIndex + 1); if (context.containsKey(prefix)) { this.createTermDefinition(context, prefix, defined); } if (termDefinitions.containsKey(prefix)) { definition.put(JsonLdConsts.ID, ((Map) termDefinitions.get(prefix)).get(JsonLdConsts.ID) + suffix); } else { definition.put(JsonLdConsts.ID, term); } // 15) } else if (this.containsKey(JsonLdConsts.VOCAB)) { definition.put(JsonLdConsts.ID, this.get(JsonLdConsts.VOCAB) + term); } else if (!JsonLdConsts.TYPE.equals(term)) { throw new JsonLdError(Error.INVALID_IRI_MAPPING, "relative term definition without vocab mapping"); } // 16) if (val.containsKey(JsonLdConsts.CONTAINER)) { final String container = (String) val.get(JsonLdConsts.CONTAINER); if (!JsonLdConsts.LIST.equals(container) && !JsonLdConsts.SET.equals(container) && !JsonLdConsts.INDEX.equals(container) && !JsonLdConsts.LANGUAGE.equals(container)) { throw new JsonLdError(Error.INVALID_CONTAINER_MAPPING, "@container must be either @list, @set, @index, or @language"); } definition.put(JsonLdConsts.CONTAINER, container); if (JsonLdConsts.TYPE.equals(term)) { definition.put(JsonLdConsts.ID, "type"); } } // 17) if (val.containsKey(JsonLdConsts.LANGUAGE) && !val.containsKey(JsonLdConsts.TYPE)) { if (val.get(JsonLdConsts.LANGUAGE) == null || val.get(JsonLdConsts.LANGUAGE) instanceof String) { final String language = (String) val.get(JsonLdConsts.LANGUAGE); definition.put(JsonLdConsts.LANGUAGE, language != null ? language.toLowerCase() : null); } else { throw new JsonLdError(Error.INVALID_LANGUAGE_MAPPING, "@language must be a string or null"); } } // 18) this.termDefinitions.put(term, definition); defined.put(term, true); } /** * IRI Expansion Algorithm * * http://json-ld.org/spec/latest/json-ld-api/#iri-expansion * * @param value * @param relative * @param vocab * @param context * @param defined * @return * @throws JsonLdError */ String expandIri(String value, boolean relative, boolean vocab, Map context, Map defined) throws JsonLdError { // 1) if (value == null || JsonLdUtils.isKeyword(value)) { return value; } // 2) if (context != null && context.containsKey(value) && !Boolean.TRUE.equals(defined.get(value))) { this.createTermDefinition(context, value, defined); } // 3) if (vocab && this.termDefinitions.containsKey(value)) { final Map td = (Map) this.termDefinitions.get(value); if (td != null) { return (String) td.get(JsonLdConsts.ID); } else { return null; } } // 4) final int colIndex = value.indexOf(":"); if (colIndex >= 0) { // 4.1) final String prefix = value.substring(0, colIndex); final String suffix = value.substring(colIndex + 1); // 4.2) if ("_".equals(prefix) || suffix.startsWith("//")) { return value; } // 4.3) if (context != null && context.containsKey(prefix) && (!defined.containsKey(prefix) || defined.get(prefix) == false)) { this.createTermDefinition(context, prefix, defined); } // 4.4) if (this.termDefinitions.containsKey(prefix)) { return (String) ((Map) this.termDefinitions.get(prefix)) .get(JsonLdConsts.ID) + suffix; } // 4.5) return value; } // 5) if (vocab && this.containsKey(JsonLdConsts.VOCAB)) { return this.get(JsonLdConsts.VOCAB) + value; } // 6) else if (relative) { return JsonLdUrl.resolve((String) this.get(JsonLdConsts.BASE), value); } else if (context != null && JsonLdUtils.isRelativeIri(value)) { throw new JsonLdError(Error.INVALID_IRI_MAPPING, "not an absolute IRI: " + value); } // 7) return value; } /** * IRI Compaction Algorithm * * http://json-ld.org/spec/latest/json-ld-api/#iri-compaction * * Compacts an IRI or keyword into a term or prefix if it can be. If the IRI * has an associated value it may be passed. * * @param iri * the IRI to compact. * @param value * the value to check or null. * @param relativeToVocab * options for how to compact IRIs: vocab: true to split * after @vocab, false not to. * @param reverse * true if a reverse property is being compacted, false if not. * * @return the compacted term, prefix, keyword alias, or the original IRI. */ String compactIri(String iri, Object value, boolean relativeToVocab, boolean reverse) { // 1) if (iri == null) { return null; } // 2) if (relativeToVocab && getInverse().containsKey(iri)) { // 2.1) String defaultLanguage = (String) this.get(JsonLdConsts.LANGUAGE); if (defaultLanguage == null) { defaultLanguage = JsonLdConsts.NONE; } // 2.2) final List containers = new ArrayList(); // 2.3) String typeLanguage = JsonLdConsts.LANGUAGE; String typeLanguageValue = JsonLdConsts.NULL; // 2.4) if (value instanceof Map && ((Map) value).containsKey(JsonLdConsts.INDEX)) { containers.add(JsonLdConsts.INDEX); } // 2.5) if (reverse) { typeLanguage = JsonLdConsts.TYPE; typeLanguageValue = JsonLdConsts.REVERSE; containers.add(JsonLdConsts.SET); } // 2.6) else if (value instanceof Map && ((Map) value).containsKey(JsonLdConsts.LIST)) { // 2.6.1) if (!((Map) value).containsKey(JsonLdConsts.INDEX)) { containers.add(JsonLdConsts.LIST); } // 2.6.2) final List list = (List) ((Map) value) .get(JsonLdConsts.LIST); // 2.6.3) String commonLanguage = (list.size() == 0) ? defaultLanguage : null; String commonType = null; // 2.6.4) for (final Object item : list) { // 2.6.4.1) String itemLanguage = JsonLdConsts.NONE; String itemType = JsonLdConsts.NONE; // 2.6.4.2) if (JsonLdUtils.isValue(item)) { // 2.6.4.2.1) if (((Map) item).containsKey(JsonLdConsts.LANGUAGE)) { itemLanguage = (String) ((Map) item) .get(JsonLdConsts.LANGUAGE); } // 2.6.4.2.2) else if (((Map) item).containsKey(JsonLdConsts.TYPE)) { itemType = (String) ((Map) item).get(JsonLdConsts.TYPE); } // 2.6.4.2.3) else { itemLanguage = JsonLdConsts.NULL; } } // 2.6.4.3) else { itemType = JsonLdConsts.ID; } // 2.6.4.4) if (commonLanguage == null) { commonLanguage = itemLanguage; } // 2.6.4.5) else if (!commonLanguage.equals(itemLanguage) && JsonLdUtils.isValue(item)) { commonLanguage = JsonLdConsts.NONE; } // 2.6.4.6) if (commonType == null) { commonType = itemType; } // 2.6.4.7) else if (!commonType.equals(itemType)) { commonType = JsonLdConsts.NONE; } // 2.6.4.8) if (JsonLdConsts.NONE.equals(commonLanguage) && JsonLdConsts.NONE.equals(commonType)) { break; } } // 2.6.5) commonLanguage = (commonLanguage != null) ? commonLanguage : JsonLdConsts.NONE; // 2.6.6) commonType = (commonType != null) ? commonType : JsonLdConsts.NONE; // 2.6.7) if (!JsonLdConsts.NONE.equals(commonType)) { typeLanguage = JsonLdConsts.TYPE; typeLanguageValue = commonType; } // 2.6.8) else { typeLanguageValue = commonLanguage; } } // 2.7) else { // 2.7.1) if (value instanceof Map && ((Map) value).containsKey(JsonLdConsts.VALUE)) { // 2.7.1.1) if (((Map) value).containsKey(JsonLdConsts.LANGUAGE) && !((Map) value).containsKey(JsonLdConsts.INDEX)) { containers.add(JsonLdConsts.LANGUAGE); typeLanguageValue = (String) ((Map) value) .get(JsonLdConsts.LANGUAGE); } // 2.7.1.2) else if (((Map) value).containsKey(JsonLdConsts.TYPE)) { typeLanguage = JsonLdConsts.TYPE; typeLanguageValue = (String) ((Map) value) .get(JsonLdConsts.TYPE); } } // 2.7.2) else { typeLanguage = JsonLdConsts.TYPE; typeLanguageValue = JsonLdConsts.ID; } // 2.7.3) containers.add(JsonLdConsts.SET); } // 2.8) containers.add(JsonLdConsts.NONE); // 2.9) if (typeLanguageValue == null) { typeLanguageValue = JsonLdConsts.NULL; } // 2.10) final List preferredValues = new ArrayList(); // 2.11) if (JsonLdConsts.REVERSE.equals(typeLanguageValue)) { preferredValues.add(JsonLdConsts.REVERSE); } // 2.12) if ((JsonLdConsts.REVERSE.equals(typeLanguageValue) || JsonLdConsts.ID.equals(typeLanguageValue)) && (value instanceof Map) && ((Map) value).containsKey(JsonLdConsts.ID)) { // 2.12.1) final String result = this.compactIri( (String) ((Map) value).get(JsonLdConsts.ID), null, true, true); if (termDefinitions.containsKey(result) && ((Map) termDefinitions.get(result)) .containsKey(JsonLdConsts.ID) && ((Map) value).get(JsonLdConsts.ID) .equals(((Map) termDefinitions.get(result)) .get(JsonLdConsts.ID))) { preferredValues.add(JsonLdConsts.VOCAB); preferredValues.add(JsonLdConsts.ID); } // 2.12.2) else { preferredValues.add(JsonLdConsts.ID); preferredValues.add(JsonLdConsts.VOCAB); } } // 2.13) else { preferredValues.add(typeLanguageValue); } preferredValues.add(JsonLdConsts.NONE); // 2.14) final String term = selectTerm(iri, containers, typeLanguage, preferredValues); // 2.15) if (term != null) { return term; } } // 3) if (relativeToVocab && this.containsKey(JsonLdConsts.VOCAB)) { // determine if vocab is a prefix of the iri final String vocab = (String) this.get(JsonLdConsts.VOCAB); // 3.1) if (iri.indexOf(vocab) == 0 && !iri.equals(vocab)) { // use suffix as relative iri if it is not a term in the // active context final String suffix = iri.substring(vocab.length()); if (!termDefinitions.containsKey(suffix)) { return suffix; } } } // 4) String compactIRI = null; // 5) for (final String term : termDefinitions.keySet()) { final Map termDefinition = (Map) termDefinitions .get(term); // 5.1) if (term.contains(":")) { continue; } // 5.2) if (termDefinition == null || iri.equals(termDefinition.get(JsonLdConsts.ID)) || !iri.startsWith((String) termDefinition.get(JsonLdConsts.ID))) { continue; } // 5.3) final String candidate = term + ":" + iri.substring(((String) termDefinition.get(JsonLdConsts.ID)).length()); // 5.4) compactIRI = _iriCompactionStep5point4(iri, value, compactIRI, candidate, termDefinitions); } // 6) if (compactIRI != null) { return compactIRI; } // 7) if (!relativeToVocab) { return JsonLdUrl.removeBase(this.get(JsonLdConsts.BASE), iri); } // 8) return iri; } /* * This method is only visible for testing. */ public static String _iriCompactionStep5point4(String iri, Object value, String compactIRI, final String candidate, Map termDefinitions) { final boolean condition1 = (compactIRI == null || compareShortestLeast(candidate, compactIRI) < 0); final boolean condition2 = (!termDefinitions.containsKey(candidate) || (iri .equals(((Map) termDefinitions.get(candidate)).get(JsonLdConsts.ID)) && value == null)); if (condition1 && condition2) { compactIRI = candidate; } return compactIRI; } /** * Return a map of potential RDF prefixes based on the JSON-LD Term * Definitions in this context. *

* No guarantees of the prefixes are given, beyond that it will not contain * ":". * * @param onlyCommonPrefixes * If true, the result will not include "not so * useful" prefixes, such as "term1": "http://example.com/term1", * e.g. all IRIs will end with "/" or "#". If false, * all potential prefixes are returned. * * @return A map from prefix string to IRI string */ public Map getPrefixes(boolean onlyCommonPrefixes) { final Map prefixes = new LinkedHashMap(); for (final String term : termDefinitions.keySet()) { if (term.contains(":")) { continue; } final Map termDefinition = (Map) termDefinitions .get(term); if (termDefinition == null) { continue; } final String id = (String) termDefinition.get(JsonLdConsts.ID); if (id == null) { continue; } if (term.startsWith("@") || id.startsWith("@")) { continue; } if (!onlyCommonPrefixes || id.endsWith("/") || id.endsWith("#")) { prefixes.put(term, id); } } return prefixes; } String compactIri(String iri, boolean relativeToVocab) { return compactIri(iri, null, relativeToVocab, false); } String compactIri(String iri) { return compactIri(iri, null, false, false); } @Override public Context clone() { final Context rval = (Context) super.clone(); // TODO: is this shallow copy enough? probably not, but it passes all // the tests! rval.termDefinitions = new LinkedHashMap(this.termDefinitions); return rval; } /** * Inverse Context Creation * * http://json-ld.org/spec/latest/json-ld-api/#inverse-context-creation * * Generates an inverse context for use in the compaction algorithm, if not * already generated for the given active context. * * @return the inverse context. */ public Map getInverse() { // lazily create inverse if (inverse != null) { return inverse; } // 1) inverse = newMap(); // 2) String defaultLanguage = (String) this.get(JsonLdConsts.LANGUAGE); if (defaultLanguage == null) { defaultLanguage = JsonLdConsts.NONE; } // create term selections for each mapping in the context, ordererd by // shortest and then lexicographically least final List terms = new ArrayList(termDefinitions.keySet()); Collections.sort(terms, new Comparator() { @Override public int compare(String a, String b) { return compareShortestLeast(a, b); } }); for (final String term : terms) { final Map definition = (Map) termDefinitions.get(term); // 3.1) if (definition == null) { continue; } // 3.2) String container = (String) definition.get(JsonLdConsts.CONTAINER); if (container == null) { container = JsonLdConsts.NONE; } // 3.3) final String iri = (String) definition.get(JsonLdConsts.ID); // 3.4 + 3.5) Map containerMap = (Map) inverse.get(iri); if (containerMap == null) { containerMap = newMap(); inverse.put(iri, containerMap); } // 3.6 + 3.7) Map typeLanguageMap = (Map) containerMap.get(container); if (typeLanguageMap == null) { typeLanguageMap = newMap(); typeLanguageMap.put(JsonLdConsts.LANGUAGE, newMap()); typeLanguageMap.put(JsonLdConsts.TYPE, newMap()); containerMap.put(container, typeLanguageMap); } // 3.8) if (Boolean.TRUE.equals(definition.get(JsonLdConsts.REVERSE))) { final Map typeMap = (Map) typeLanguageMap .get(JsonLdConsts.TYPE); if (!typeMap.containsKey(JsonLdConsts.REVERSE)) { typeMap.put(JsonLdConsts.REVERSE, term); } // 3.9) } else if (definition.containsKey(JsonLdConsts.TYPE)) { final Map typeMap = (Map) typeLanguageMap .get(JsonLdConsts.TYPE); if (!typeMap.containsKey(definition.get(JsonLdConsts.TYPE))) { typeMap.put((String) definition.get(JsonLdConsts.TYPE), term); } // 3.10) } else if (definition.containsKey(JsonLdConsts.LANGUAGE)) { final Map languageMap = (Map) typeLanguageMap .get(JsonLdConsts.LANGUAGE); String language = (String) definition.get(JsonLdConsts.LANGUAGE); if (language == null) { language = JsonLdConsts.NULL; } if (!languageMap.containsKey(language)) { languageMap.put(language, term); } // 3.11) } else { // 3.11.1) final Map languageMap = (Map) typeLanguageMap .get(JsonLdConsts.LANGUAGE); // 3.11.2) if (!languageMap.containsKey(JsonLdConsts.LANGUAGE)) { languageMap.put(JsonLdConsts.LANGUAGE, term); } // 3.11.3) if (!languageMap.containsKey(JsonLdConsts.NONE)) { languageMap.put(JsonLdConsts.NONE, term); } // 3.11.4) final Map typeMap = (Map) typeLanguageMap .get(JsonLdConsts.TYPE); // 3.11.5) if (!typeMap.containsKey(JsonLdConsts.NONE)) { typeMap.put(JsonLdConsts.NONE, term); } } } // 4) return inverse; } /** * Term Selection * * http://json-ld.org/spec/latest/json-ld-api/#term-selection * * This algorithm, invoked via the IRI Compaction algorithm, makes use of an * active context's inverse context to find the term that is best used to * compact an IRI. Other information about a value associated with the IRI * is given, including which container mappings and which type mapping or * language mapping would be best used to express the value. * * @return the selected term. */ private String selectTerm(String iri, List containers, String typeLanguage, List preferredValues) { final Map inv = getInverse(); // 1) final Map containerMap = (Map) inv.get(iri); // 2) for (final String container : containers) { // 2.1) if (!containerMap.containsKey(container)) { continue; } // 2.2) final Map typeLanguageMap = (Map) containerMap .get(container); // 2.3) final Map valueMap = (Map) typeLanguageMap .get(typeLanguage); // 2.4 ) for (final String item : preferredValues) { // 2.4.1 if (!valueMap.containsKey(item)) { continue; } // 2.4.2 return (String) valueMap.get(item); } } // 3) return null; } /** * Retrieve container mapping. * * @param property * The Property to get a container mapping for. * @return The container mapping if any, else null */ public String getContainer(String property) { if (property == null) { return null; } if (JsonLdConsts.GRAPH.equals(property)) { return JsonLdConsts.SET; } if (!property.equals(JsonLdConsts.TYPE) && JsonLdUtils.isKeyword(property)) { return property; } final Map td = (Map) termDefinitions.get(property); if (td == null) { return null; } return (String) td.get(JsonLdConsts.CONTAINER); } public Boolean isReverseProperty(String property) { final Map td = (Map) termDefinitions.get(property); if (td == null) { return false; } final Object reverse = td.get(JsonLdConsts.REVERSE); return reverse != null && (Boolean) reverse; } public String getTypeMapping(String property) { final Map td = (Map) termDefinitions.get(property); if (td == null) { return null; } return (String) td.get(JsonLdConsts.TYPE); } public String getLanguageMapping(String property) { final Map td = (Map) termDefinitions.get(property); if (td == null) { return null; } return (String) td.get(JsonLdConsts.LANGUAGE); } Map getTermDefinition(String key) { return ((Map) termDefinitions.get(key)); } public Object expandValue(String activeProperty, Object value) throws JsonLdError { final Map rval = newMap(); final Map td = getTermDefinition(activeProperty); // 1) if (td != null && JsonLdConsts.ID.equals(td.get(JsonLdConsts.TYPE))) { // TODO: i'm pretty sure value should be a string if the @type is // @id rval.put(JsonLdConsts.ID, expandIri(value.toString(), true, false, null, null)); return rval; } // 2) if (td != null && JsonLdConsts.VOCAB.equals(td.get(JsonLdConsts.TYPE))) { // TODO: same as above rval.put(JsonLdConsts.ID, expandIri(value.toString(), true, true, null, null)); return rval; } // 3) rval.put(JsonLdConsts.VALUE, value); // 4) if (td != null && td.containsKey(JsonLdConsts.TYPE)) { rval.put(JsonLdConsts.TYPE, td.get(JsonLdConsts.TYPE)); } // 5) else if (value instanceof String) { // 5.1) if (td != null && td.containsKey(JsonLdConsts.LANGUAGE)) { final String lang = (String) td.get(JsonLdConsts.LANGUAGE); if (lang != null) { rval.put(JsonLdConsts.LANGUAGE, lang); } } // 5.2) else if (this.get(JsonLdConsts.LANGUAGE) != null) { rval.put(JsonLdConsts.LANGUAGE, this.get(JsonLdConsts.LANGUAGE)); } } return rval; } @Deprecated public Map serialize() { final Map ctx = newMap(); if (this.get(JsonLdConsts.BASE) != null && !this.get(JsonLdConsts.BASE).equals(options.getBase())) { ctx.put(JsonLdConsts.BASE, this.get(JsonLdConsts.BASE)); } if (this.get(JsonLdConsts.LANGUAGE) != null) { ctx.put(JsonLdConsts.LANGUAGE, this.get(JsonLdConsts.LANGUAGE)); } if (this.get(JsonLdConsts.VOCAB) != null) { ctx.put(JsonLdConsts.VOCAB, this.get(JsonLdConsts.VOCAB)); } for (final String term : termDefinitions.keySet()) { final Map definition = (Map) termDefinitions.get(term); if (definition.get(JsonLdConsts.LANGUAGE) == null && definition.get(JsonLdConsts.CONTAINER) == null && definition.get(JsonLdConsts.TYPE) == null && (definition.get(JsonLdConsts.REVERSE) == null || Boolean.FALSE.equals(definition.get(JsonLdConsts.REVERSE)))) { final String cid = this.compactIri((String) definition.get(JsonLdConsts.ID)); ctx.put(term, term.equals(cid) ? definition.get(JsonLdConsts.ID) : cid); } else { final Map defn = newMap(); final String cid = this.compactIri((String) definition.get(JsonLdConsts.ID)); final Boolean reverseProperty = Boolean.TRUE .equals(definition.get(JsonLdConsts.REVERSE)); if (!(term.equals(cid) && !reverseProperty)) { defn.put(reverseProperty ? JsonLdConsts.REVERSE : JsonLdConsts.ID, cid); } final String typeMapping = (String) definition.get(JsonLdConsts.TYPE); if (typeMapping != null) { defn.put(JsonLdConsts.TYPE, JsonLdUtils.isKeyword(typeMapping) ? typeMapping : compactIri(typeMapping, true)); } if (definition.get(JsonLdConsts.CONTAINER) != null) { defn.put(JsonLdConsts.CONTAINER, definition.get(JsonLdConsts.CONTAINER)); } final Object lang = definition.get(JsonLdConsts.LANGUAGE); if (definition.get(JsonLdConsts.LANGUAGE) != null) { defn.put(JsonLdConsts.LANGUAGE, Boolean.FALSE.equals(lang) ? null : lang); } ctx.put(term, defn); } } final Map rval = newMap(); if (!(ctx == null || ctx.isEmpty())) { rval.put(JsonLdConsts.CONTEXT, ctx); } return rval; } } jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/core/DocumentLoader.java000066400000000000000000000075051452212752100303000ustar00rootroot00000000000000package com.github.jsonldjava.core; import java.net.URL; import java.util.HashMap; import java.util.Map; import org.apache.http.impl.client.CloseableHttpClient; import com.github.jsonldjava.utils.JsonUtils; /** * Resolves URLs to {@link RemoteDocument}s. Subclass this class to change the * behaviour of loadDocument to suit your purposes. */ public class DocumentLoader { private final Map m_injectedDocs = new HashMap<>(); /** * Identifies a system property that can be set to "true" in order to * disallow remote context loading. */ public static final String DISALLOW_REMOTE_CONTEXT_LOADING = "com.github.jsonldjava.disallowRemoteContextLoading"; /** * Avoid resolving a document by instead using the given serialised * representation. * * @param url * The URL this document represents. * @param doc * The serialised document as a String * @return This object for fluent addition of other injected documents. * @throws JsonLdError * If loading of the document failed for any reason. */ public DocumentLoader addInjectedDoc(String url, String doc) throws JsonLdError { try { m_injectedDocs.put(url, JsonUtils.fromString(doc)); return this; } catch (final Exception e) { throw new JsonLdError(JsonLdError.Error.LOADING_INJECTED_CONTEXT_FAILED, url, e); } } /** * Loads the URL if possible, returning it as a RemoteDocument. * * @param url * The URL to load * @return The resolved URL as a RemoteDocument * @throws JsonLdError * If there are errors loading or remote context loading has * been disallowed. */ public RemoteDocument loadDocument(String url) throws JsonLdError { if (m_injectedDocs.containsKey(url)) { try { return new RemoteDocument(url, m_injectedDocs.get(url)); } catch (final Exception e) { throw new JsonLdError(JsonLdError.Error.LOADING_INJECTED_CONTEXT_FAILED, url, e); } } else { final String disallowRemote = System .getProperty(DocumentLoader.DISALLOW_REMOTE_CONTEXT_LOADING); if ("true".equalsIgnoreCase(disallowRemote)) { throw new JsonLdError(JsonLdError.Error.LOADING_REMOTE_CONTEXT_FAILED, "Remote context loading has been disallowed (url was " + url + ")"); } try { return new RemoteDocument(url, JsonUtils.fromURL(new URL(url), getHttpClient())); } catch (final Exception e) { throw new JsonLdError(JsonLdError.Error.LOADING_REMOTE_CONTEXT_FAILED, url, e); } } } private volatile CloseableHttpClient httpClient; /** * Get the {@link CloseableHttpClient} which will be used by this * DocumentLoader to resolve HTTP and HTTPS resources. * * @return The {@link CloseableHttpClient} which this DocumentLoader uses. */ public CloseableHttpClient getHttpClient() { CloseableHttpClient result = httpClient; if (result == null) { synchronized (DocumentLoader.class) { result = httpClient; if (result == null) { result = httpClient = JsonUtils.getDefaultHttpClient(); } } } return result; } /** * Call this method to override the default CloseableHttpClient provided by * JsonUtils.getDefaultHttpClient. * * @param nextHttpClient * The {@link CloseableHttpClient} to replace the default with. */ public void setHttpClient(CloseableHttpClient nextHttpClient) { httpClient = nextHttpClient; } } jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/core/JsonLdApi.java000066400000000000000000002755741452212752100272330ustar00rootroot00000000000000package com.github.jsonldjava.core; import static com.github.jsonldjava.core.JsonLdConsts.RDF_FIRST; import static com.github.jsonldjava.core.JsonLdConsts.RDF_LIST; import static com.github.jsonldjava.core.JsonLdConsts.RDF_NIL; import static com.github.jsonldjava.core.JsonLdConsts.RDF_REST; import static com.github.jsonldjava.core.JsonLdConsts.RDF_TYPE; import static com.github.jsonldjava.core.JsonLdUtils.isKeyword; import static com.github.jsonldjava.utils.Obj.newMap; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeMap; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.github.jsonldjava.core.JsonLdConsts.Embed; import com.github.jsonldjava.core.JsonLdError.Error; import com.github.jsonldjava.utils.Obj; /** * A container object to maintain state relating to JsonLdOptions and the * current Context, and push these into the relevant algorithms in * JsonLdProcessor as necessary. * * @author tristan */ public class JsonLdApi { private final Logger log = LoggerFactory.getLogger(this.getClass()); JsonLdOptions opts; Object value = null; Context context = null; /** * Constructs an empty JsonLdApi object using the default JsonLdOptions, and * without initialization. */ public JsonLdApi() { this(new JsonLdOptions("")); } /** * Constructs a JsonLdApi object using the given object as the initial * JSON-LD object, and the given JsonLdOptions. * * @param input * The initial JSON-LD object. * @param opts * The JsonLdOptions to use. * @throws JsonLdError * If there is an error initializing using the object and * options. */ public JsonLdApi(Object input, JsonLdOptions opts) throws JsonLdError { this(opts); initialize(input, null); } /** * Constructs a JsonLdApi object using the given object as the initial * JSON-LD object, the given context, and the given JsonLdOptions. * * @param input * The initial JSON-LD object. * @param context * The initial context. * @param opts * The JsonLdOptions to use. * @throws JsonLdError * If there is an error initializing using the object and * options. */ public JsonLdApi(Object input, Object context, JsonLdOptions opts) throws JsonLdError { this(opts); initialize(input, null); } /** * Constructs an empty JsonLdApi object using the given JsonLdOptions, and * without initialization.
* If the JsonLdOptions parameter is null, then the default options are * used. * * @param opts * The JsonLdOptions to use. */ public JsonLdApi(JsonLdOptions opts) { if (opts == null) { opts = new JsonLdOptions(""); } else { this.opts = opts; } } /** * Initializes this object by cloning the input object using * {@link JsonLdUtils#clone(Object)}, and by parsing the context using * {@link Context#parse(Object)}. * * @param input * The initial object, which is to be cloned and used in * operations. * @param context * The context object, which is to be parsed and used in * operations. * @throws JsonLdError * If there was an error cloning the object, or in parsing the * context. */ private void initialize(Object input, Object context) throws JsonLdError { if (input instanceof List || input instanceof Map) { this.value = JsonLdUtils.clone(input); } // TODO: string/IO input this.context = new Context(opts); if (context != null) { this.context = this.context.parse(context); } } /*** * ____ _ _ _ _ _ _ / ___|___ _ __ ___ _ __ __ _ ___| |_ / \ | | __ _ ___ _ * __(_) |_| |__ _ __ ___ | | / _ \| '_ ` _ \| '_ \ / _` |/ __| __| / _ \ | * |/ _` |/ _ \| '__| | __| '_ \| '_ ` _ \ | |__| (_) | | | | | | |_) | (_| * | (__| |_ / ___ \| | (_| | (_) | | | | |_| | | | | | | | | \____\___/|_| * |_| |_| .__/ \__,_|\___|\__| /_/ \_\_|\__, |\___/|_| |_|\__|_| |_|_| |_| * |_| |_| |___/ */ /** * Compaction Algorithm * * http://json-ld.org/spec/latest/json-ld-api/#compaction-algorithm * * @param activeCtx * The Active Context * @param activeProperty * The Active Property * @param element * The current element * @param compactArrays * True to compact arrays. * @return The compacted JSON-LD object. * @throws JsonLdError * If there was an error during compaction. */ public Object compact(Context activeCtx, String activeProperty, Object element, boolean compactArrays) throws JsonLdError { // 2) if (element instanceof List) { // 2.1) final List result = new ArrayList(); // 2.2) for (final Object item : (List) element) { // 2.2.1) final Object compactedItem = compact(activeCtx, activeProperty, item, compactArrays); // 2.2.2) if (compactedItem != null) { result.add(compactedItem); } } // 2.3) if (compactArrays && result.size() == 1 && activeCtx.getContainer(activeProperty) == null) { return result.get(0); } // 2.4) return result; } // 3) if (element instanceof Map) { // access helper final Map elem = (Map) element; // 4 if (elem.containsKey(JsonLdConsts.VALUE) || elem.containsKey(JsonLdConsts.ID)) { final Object compactedValue = activeCtx.compactValue(activeProperty, elem); if (!(compactedValue instanceof Map || compactedValue instanceof List)) { return compactedValue; } } // 5) final boolean insideReverse = (JsonLdConsts.REVERSE.equals(activeProperty)); // 6) final Map result = newMap(); // 7) final List keys = new ArrayList(elem.keySet()); Collections.sort(keys); for (final String expandedProperty : keys) { final Object expandedValue = elem.get(expandedProperty); // 7.1) if (JsonLdConsts.ID.equals(expandedProperty) || JsonLdConsts.TYPE.equals(expandedProperty)) { // TODO: Relabel these step numbers when spec changes // 7.1.3) final String alias = activeCtx.compactIri(expandedProperty, true); Object compactedValue; // 7.1.1) if (expandedValue instanceof String) { compactedValue = activeCtx.compactIri((String) expandedValue, JsonLdConsts.TYPE.equals(expandedProperty)); } // 7.1.2) else { final List types = new ArrayList(); // 7.1.2.2) for (final String expandedType : (List) expandedValue) { types.add(activeCtx.compactIri(expandedType, true)); } // 7.1.2.3) if (types.size() == 1// // see w3c/json-ld-syntax#74 && (!opts.getAllowContainerSetOnType() || !(activeCtx.getContainer(alias) != null && activeCtx .getContainer(alias).equals(JsonLdConsts.SET)))) { compactedValue = types.get(0); } else { compactedValue = types; } } // 7.1.4) result.put(alias, compactedValue); continue; // TODO: old add value code, see if it's still relevant? // addValue(rval, alias, compactedValue, // isArray(compactedValue) // && ((List) expandedValue).size() == 0); } // 7.2) if (JsonLdConsts.REVERSE.equals(expandedProperty)) { // 7.2.1) final Map compactedValue = (Map) compact( activeCtx, JsonLdConsts.REVERSE, expandedValue, compactArrays); // 7.2.2) // Note: Must create a new set to avoid modifying the set we // are iterating over for (final String property : new HashSet(compactedValue.keySet())) { final Object value = compactedValue.get(property); // 7.2.2.1) if (activeCtx.isReverseProperty(property)) { // 7.2.2.1.1) if ((JsonLdConsts.SET.equals(activeCtx.getContainer(property)) || !compactArrays) && !(value instanceof List)) { final List tmp = new ArrayList(); tmp.add(value); result.put(property, tmp); } // 7.2.2.1.2) if (!result.containsKey(property)) { result.put(property, value); } // 7.2.2.1.3) else { if (!(result.get(property) instanceof List)) { final List tmp = new ArrayList(); tmp.add(result.put(property, tmp)); } if (value instanceof List) { ((List) result.get(property)) .addAll((List) value); } else { ((List) result.get(property)).add(value); } } // 7.2.2.1.4) compactedValue.remove(property); } } // 7.2.3) if (!compactedValue.isEmpty()) { // 7.2.3.1) final String alias = activeCtx.compactIri(JsonLdConsts.REVERSE, true); // 7.2.3.2) result.put(alias, compactedValue); } // 7.2.4) continue; } // 7.3) if (JsonLdConsts.INDEX.equals(expandedProperty) && JsonLdConsts.INDEX.equals(activeCtx.getContainer(activeProperty))) { continue; } // 7.4) else if (JsonLdConsts.INDEX.equals(expandedProperty) || JsonLdConsts.VALUE.equals(expandedProperty) || JsonLdConsts.LANGUAGE.equals(expandedProperty)) { // 7.4.1) final String alias = activeCtx.compactIri(expandedProperty, true); // 7.4.2) result.put(alias, expandedValue); continue; } // NOTE: expanded value must be an array due to expansion // algorithm. // 7.5) if (((List) expandedValue).size() == 0) { // 7.5.1) final String itemActiveProperty = activeCtx.compactIri(expandedProperty, expandedValue, true, insideReverse); // 7.5.2) if (!result.containsKey(itemActiveProperty)) { result.put(itemActiveProperty, new ArrayList()); } else { final Object value = result.get(itemActiveProperty); if (!(value instanceof List)) { final List tmp = new ArrayList(); tmp.add(value); result.put(itemActiveProperty, tmp); } } } // 7.6) for (final Object expandedItem : (List) expandedValue) { // 7.6.1) final String itemActiveProperty = activeCtx.compactIri(expandedProperty, expandedItem, true, insideReverse); // 7.6.2) final String container = activeCtx.getContainer(itemActiveProperty); // get @list value if appropriate final boolean isList = (expandedItem instanceof Map && ((Map) expandedItem).containsKey(JsonLdConsts.LIST)); Object list = null; if (isList) { list = ((Map) expandedItem).get(JsonLdConsts.LIST); } // 7.6.3) Object compactedItem = compact(activeCtx, itemActiveProperty, isList ? list : expandedItem, compactArrays); // 7.6.4) if (isList) { // 7.6.4.1) if (!(compactedItem instanceof List)) { final List tmp = new ArrayList(); tmp.add(compactedItem); compactedItem = tmp; } // 7.6.4.2) if (!JsonLdConsts.LIST.equals(container)) { // 7.6.4.2.1) final Map wrapper = newMap(); // TODO: SPEC: no mention of vocab = true wrapper.put(activeCtx.compactIri(JsonLdConsts.LIST, true), compactedItem); compactedItem = wrapper; // 7.6.4.2.2) if (((Map) expandedItem) .containsKey(JsonLdConsts.INDEX)) { ((Map) compactedItem).put( // TODO: SPEC: no mention of vocab = // true activeCtx.compactIri(JsonLdConsts.INDEX, true), ((Map) expandedItem) .get(JsonLdConsts.INDEX)); } } // 7.6.4.3) else if (result.containsKey(itemActiveProperty)) { throw new JsonLdError(Error.COMPACTION_TO_LIST_OF_LISTS, "There cannot be two list objects associated with an active property that has a container mapping"); } } // 7.6.5) if (JsonLdConsts.LANGUAGE.equals(container) || JsonLdConsts.INDEX.equals(container)) { // 7.6.5.1) Map mapObject; if (result.containsKey(itemActiveProperty)) { mapObject = (Map) result.get(itemActiveProperty); } else { mapObject = newMap(); result.put(itemActiveProperty, mapObject); } // 7.6.5.2) if (JsonLdConsts.LANGUAGE.equals(container) && (compactedItem instanceof Map && ((Map) compactedItem) .containsKey(JsonLdConsts.VALUE))) { compactedItem = ((Map) compactedItem) .get(JsonLdConsts.VALUE); } // 7.6.5.3) final String mapKey = (String) ((Map) expandedItem) .get(container); // 7.6.5.4) if (!mapObject.containsKey(mapKey)) { mapObject.put(mapKey, compactedItem); } else { List tmp; if (!(mapObject.get(mapKey) instanceof List)) { tmp = new ArrayList(); tmp.add(mapObject.put(mapKey, tmp)); } else { tmp = (List) mapObject.get(mapKey); } tmp.add(compactedItem); } } // 7.6.6) else { // 7.6.6.1) final Boolean check = (!compactArrays || JsonLdConsts.SET.equals(container) || JsonLdConsts.LIST.equals(container) || JsonLdConsts.LIST.equals(expandedProperty) || JsonLdConsts.GRAPH.equals(expandedProperty)) && (!(compactedItem instanceof List)); if (check) { final List tmp = new ArrayList(); tmp.add(compactedItem); compactedItem = tmp; } // 7.6.6.2) if (!result.containsKey(itemActiveProperty)) { result.put(itemActiveProperty, compactedItem); } else { if (!(result.get(itemActiveProperty) instanceof List)) { final List tmp = new ArrayList(); tmp.add(result.put(itemActiveProperty, tmp)); } if (compactedItem instanceof List) { ((List) result.get(itemActiveProperty)) .addAll((List) compactedItem); } else { ((List) result.get(itemActiveProperty)).add(compactedItem); } } } } } // 8) return result; } // 2) return element; } /** * Compaction Algorithm * * http://json-ld.org/spec/latest/json-ld-api/#compaction-algorithm * * @param activeCtx * The Active Context * @param activeProperty * The Active Property * @param element * The current element * @return The compacted JSON-LD object. * @throws JsonLdError * If there was an error during compaction. */ public Object compact(Context activeCtx, String activeProperty, Object element) throws JsonLdError { return compact(activeCtx, activeProperty, element, JsonLdOptions.DEFAULT_COMPACT_ARRAYS); } /*** * _____ _ _ _ _ _ _ | ____|_ ___ __ __ _ _ __ __| | / \ | | __ _ ___ _ * __(_) |_| |__ _ __ ___ | _| \ \/ / '_ \ / _` | '_ \ / _` | / _ \ | |/ _` * |/ _ \| '__| | __| '_ \| '_ ` _ \ | |___ > <| |_) | (_| | | | | (_| | / * ___ \| | (_| | (_) | | | | |_| | | | | | | | | |_____/_/\_\ .__/ \__,_|_| * |_|\__,_| /_/ \_\_|\__, |\___/|_| |_|\__|_| |_|_| |_| |_| |_| |___/ */ /** * Expansion Algorithm * * http://json-ld.org/spec/latest/json-ld-api/#expansion-algorithm * * @param activeCtx * The Active Context * @param activeProperty * The Active Property * @param element * The current element * @return The expanded JSON-LD object. * @throws JsonLdError * If there was an error during expansion. */ public Object expand(Context activeCtx, String activeProperty, Object element) throws JsonLdError { final boolean frameExpansion = this.opts.getFrameExpansion(); // 1) if (element == null) { return null; } // 3) if (element instanceof List) { // 3.1) final List result = new ArrayList(); // 3.2) for (final Object item : (List) element) { // 3.2.1) final Object v = expand(activeCtx, activeProperty, item); // 3.2.2) if ((JsonLdConsts.LIST.equals(activeProperty) || JsonLdConsts.LIST.equals(activeCtx.getContainer(activeProperty))) && (v instanceof List || (v instanceof Map && ((Map) v).containsKey(JsonLdConsts.LIST)))) { throw new JsonLdError(Error.LIST_OF_LISTS, "lists of lists are not permitted."); } // 3.2.3) else if (v != null) { if (v instanceof List) { result.addAll((Collection) v); } else { result.add(v); } } } // 3.3) return result; } // 4) else if (element instanceof Map) { // access helper final Map elem = (Map) element; // 5) if (elem.containsKey(JsonLdConsts.CONTEXT)) { activeCtx = activeCtx.parse(elem.get(JsonLdConsts.CONTEXT)); } // 6) Map result = newMap(); // 7) final List keys = new ArrayList(elem.keySet()); Collections.sort(keys); for (final String key : keys) { final Object value = elem.get(key); // 7.1) if (key.equals(JsonLdConsts.CONTEXT)) { continue; } // 7.2) final String expandedProperty = activeCtx.expandIri(key, false, true, null, null); Object expandedValue = null; // 7.3) if (expandedProperty == null || (!expandedProperty.contains(":") && !isKeyword(expandedProperty))) { continue; } // 7.4) if (isKeyword(expandedProperty)) { // 7.4.1) if (JsonLdConsts.REVERSE.equals(activeProperty)) { throw new JsonLdError(Error.INVALID_REVERSE_PROPERTY_MAP, "a keyword cannot be used as a @reverse propery"); } // 7.4.2) if (result.containsKey(expandedProperty)) { throw new JsonLdError(Error.COLLIDING_KEYWORDS, expandedProperty + " already exists in result"); } // 7.4.3) if (JsonLdConsts.ID.equals(expandedProperty)) { if (value instanceof String) { expandedValue = activeCtx.expandIri((String) value, true, false, null, null); } else if (frameExpansion) { if (value instanceof Map) { if (((Map) value).size() != 0) { throw new JsonLdError(Error.INVALID_ID_VALUE, "@id value must be a an empty object for framing"); } expandedValue = value; } else if (value instanceof List) { expandedValue = new ArrayList(); for (final Object v : (List) value) { if (!(v instanceof String)) { throw new JsonLdError(Error.INVALID_ID_VALUE, "@id value must be a string, an array of strings or an empty dictionary"); } ((List) expandedValue).add(activeCtx .expandIri((String) v, true, true, null, null)); } } else { throw new JsonLdError(Error.INVALID_ID_VALUE, "value of @id must be a string, an array of strings or an empty dictionary"); } } else { throw new JsonLdError(Error.INVALID_ID_VALUE, "value of @id must be a string"); } } // 7.4.4) else if (JsonLdConsts.TYPE.equals(expandedProperty)) { if (value instanceof List) { expandedValue = new ArrayList(); for (final Object v : (List) value) { if (!(v instanceof String)) { throw new JsonLdError(Error.INVALID_TYPE_VALUE, "@type value must be a string or array of strings"); } ((List) expandedValue).add( activeCtx.expandIri((String) v, true, true, null, null)); } } else if (value instanceof String) { expandedValue = activeCtx.expandIri((String) value, true, true, null, null); } // TODO: SPEC: no mention of empty map check else if (frameExpansion && value instanceof Map) { if (!((Map) value).isEmpty()) { throw new JsonLdError(Error.INVALID_TYPE_VALUE, "@type value must be a an empty object for framing"); } expandedValue = value; } else { throw new JsonLdError(Error.INVALID_TYPE_VALUE, "@type value must be a string or array of strings"); } } // 7.4.5) else if (JsonLdConsts.GRAPH.equals(expandedProperty)) { expandedValue = expand(activeCtx, JsonLdConsts.GRAPH, value); } // 7.4.6) else if (JsonLdConsts.VALUE.equals(expandedProperty)) { if (value != null && (value instanceof Map || value instanceof List)) { throw new JsonLdError(Error.INVALID_VALUE_OBJECT_VALUE, "value of " + expandedProperty + " must be a scalar or null"); } expandedValue = value; if (expandedValue == null) { result.put(JsonLdConsts.VALUE, null); continue; } } // 7.4.7) else if (JsonLdConsts.LANGUAGE.equals(expandedProperty)) { if (!(value instanceof String)) { throw new JsonLdError(Error.INVALID_LANGUAGE_TAGGED_STRING, "Value of " + expandedProperty + " must be a string"); } expandedValue = ((String) value).toLowerCase(); } // 7.4.8) else if (JsonLdConsts.INDEX.equals(expandedProperty)) { if (!(value instanceof String)) { throw new JsonLdError(Error.INVALID_INDEX_VALUE, "Value of " + expandedProperty + " must be a string"); } expandedValue = value; } // 7.4.9) else if (JsonLdConsts.LIST.equals(expandedProperty)) { // 7.4.9.1) if (activeProperty == null || JsonLdConsts.GRAPH.equals(activeProperty)) { continue; } // 7.4.9.2) expandedValue = expand(activeCtx, activeProperty, value); // NOTE: step not in the spec yet if (!(expandedValue instanceof List)) { final List tmp = new ArrayList(); tmp.add(expandedValue); expandedValue = tmp; } // 7.4.9.3) for (final Object o : (List) expandedValue) { if (o instanceof Map && ((Map) o).containsKey(JsonLdConsts.LIST)) { throw new JsonLdError(Error.LIST_OF_LISTS, "A list may not contain another list"); } } } // 7.4.10) else if (JsonLdConsts.SET.equals(expandedProperty)) { expandedValue = expand(activeCtx, activeProperty, value); } // 7.4.11) else if (JsonLdConsts.REVERSE.equals(expandedProperty)) { if (!(value instanceof Map)) { throw new JsonLdError(Error.INVALID_REVERSE_VALUE, "@reverse value must be an object"); } // 7.4.11.1) expandedValue = expand(activeCtx, JsonLdConsts.REVERSE, value); // NOTE: algorithm assumes the result is a map // 7.4.11.2) if (((Map) expandedValue) .containsKey(JsonLdConsts.REVERSE)) { final Map reverse = (Map) ((Map) expandedValue) .get(JsonLdConsts.REVERSE); for (final String property : reverse.keySet()) { final Object item = reverse.get(property); // 7.4.11.2.1) if (!result.containsKey(property)) { result.put(property, new ArrayList()); } // 7.4.11.2.2) if (item instanceof List) { ((List) result.get(property)) .addAll((List) item); } else { ((List) result.get(property)).add(item); } } } // 7.4.11.3) if (((Map) expandedValue) .size() > (((Map) expandedValue) .containsKey(JsonLdConsts.REVERSE) ? 1 : 0)) { // 7.4.11.3.1) if (!result.containsKey(JsonLdConsts.REVERSE)) { result.put(JsonLdConsts.REVERSE, newMap()); } // 7.4.11.3.2) final Map reverseMap = (Map) result .get(JsonLdConsts.REVERSE); // 7.4.11.3.3) for (final String property : ((Map) expandedValue) .keySet()) { if (JsonLdConsts.REVERSE.equals(property)) { continue; } // 7.4.11.3.3.1) final List items = (List) ((Map) expandedValue) .get(property); for (final Object item : items) { // 7.4.11.3.3.1.1) if (item instanceof Map && (((Map) item) .containsKey(JsonLdConsts.VALUE) || ((Map) item) .containsKey(JsonLdConsts.LIST))) { throw new JsonLdError(Error.INVALID_REVERSE_PROPERTY_VALUE); } // 7.4.11.3.3.1.2) if (!reverseMap.containsKey(property)) { reverseMap.put(property, new ArrayList()); } // 7.4.11.3.3.1.3) ((List) reverseMap.get(property)).add(item); } } } // 7.4.11.4) continue; } // TODO: SPEC no mention of @explicit etc in spec else if (frameExpansion && (JsonLdConsts.EXPLICIT.equals(expandedProperty) || JsonLdConsts.DEFAULT.equals(expandedProperty) || JsonLdConsts.EMBED.equals(expandedProperty) || JsonLdConsts.REQUIRE_ALL.equals(expandedProperty) || JsonLdConsts.EMBED_CHILDREN.equals(expandedProperty) || JsonLdConsts.OMIT_DEFAULT.equals(expandedProperty))) { expandedValue = expand(activeCtx, expandedProperty, value); } // 7.4.12) if (expandedValue != null) { result.put(expandedProperty, expandedValue); } // 7.4.13) continue; } // 7.5 else if (JsonLdConsts.LANGUAGE.equals(activeCtx.getContainer(key)) && value instanceof Map) { // 7.5.1) expandedValue = new ArrayList(); // 7.5.2) for (final String language : ((Map) value).keySet()) { Object languageValue = ((Map) value).get(language); // 7.5.2.1) if (!(languageValue instanceof List)) { final Object tmp = languageValue; languageValue = new ArrayList(); ((List) languageValue).add(tmp); } // 7.5.2.2) for (final Object item : (List) languageValue) { // 7.5.2.2.1) if (!(item instanceof String)) { throw new JsonLdError(Error.INVALID_LANGUAGE_MAP_VALUE, "Expected " + item.toString() + " to be a string"); } // 7.5.2.2.2) final Map tmp = newMap(); tmp.put(JsonLdConsts.VALUE, item); tmp.put(JsonLdConsts.LANGUAGE, language.toLowerCase()); ((List) expandedValue).add(tmp); } } } // 7.6) else if (JsonLdConsts.INDEX.equals(activeCtx.getContainer(key)) && value instanceof Map) { // 7.6.1) expandedValue = new ArrayList(); // 7.6.2) final List indexKeys = new ArrayList( ((Map) value).keySet()); Collections.sort(indexKeys); for (final String index : indexKeys) { Object indexValue = ((Map) value).get(index); // 7.6.2.1) if (!(indexValue instanceof List)) { final Object tmp = indexValue; indexValue = new ArrayList(); ((List) indexValue).add(tmp); } // 7.6.2.2) indexValue = expand(activeCtx, key, indexValue); // 7.6.2.3) for (final Map item : (List>) indexValue) { // 7.6.2.3.1) if (!item.containsKey(JsonLdConsts.INDEX)) { item.put(JsonLdConsts.INDEX, index); } // 7.6.2.3.2) ((List) expandedValue).add(item); } } } // 7.7) else { expandedValue = expand(activeCtx, key, value); } // 7.8) if (expandedValue == null) { continue; } // 7.9) if (JsonLdConsts.LIST.equals(activeCtx.getContainer(key))) { if (!(expandedValue instanceof Map) || !((Map) expandedValue) .containsKey(JsonLdConsts.LIST)) { Object tmp = expandedValue; if (!(tmp instanceof List)) { tmp = new ArrayList(); ((List) tmp).add(expandedValue); } expandedValue = newMap(); ((Map) expandedValue).put(JsonLdConsts.LIST, tmp); } } // 7.10) if (activeCtx.isReverseProperty(key)) { // 7.10.1) if (!result.containsKey(JsonLdConsts.REVERSE)) { result.put(JsonLdConsts.REVERSE, newMap()); } // 7.10.2) final Map reverseMap = (Map) result .get(JsonLdConsts.REVERSE); // 7.10.3) if (!(expandedValue instanceof List)) { final Object tmp = expandedValue; expandedValue = new ArrayList(); ((List) expandedValue).add(tmp); } // 7.10.4) for (final Object item : (List) expandedValue) { // 7.10.4.1) if (item instanceof Map && (((Map) item) .containsKey(JsonLdConsts.VALUE) || ((Map) item).containsKey(JsonLdConsts.LIST))) { throw new JsonLdError(Error.INVALID_REVERSE_PROPERTY_VALUE); } // 7.10.4.2) if (!reverseMap.containsKey(expandedProperty)) { reverseMap.put(expandedProperty, new ArrayList()); } // 7.10.4.3) if (item instanceof List) { ((List) reverseMap.get(expandedProperty)) .addAll((List) item); } else { ((List) reverseMap.get(expandedProperty)).add(item); } } } // 7.11) else { // 7.11.1) if (!result.containsKey(expandedProperty)) { result.put(expandedProperty, new ArrayList()); } // 7.11.2) if (expandedValue instanceof List) { ((List) result.get(expandedProperty)) .addAll((List) expandedValue); } else { ((List) result.get(expandedProperty)).add(expandedValue); } } } // 8) if (result.containsKey(JsonLdConsts.VALUE)) { // 8.1) // TODO: is this method faster than just using containsKey for // each? final Set keySet = new HashSet<>(result.keySet()); keySet.remove(JsonLdConsts.VALUE); keySet.remove(JsonLdConsts.INDEX); final boolean langremoved = keySet.remove(JsonLdConsts.LANGUAGE); final boolean typeremoved = keySet.remove(JsonLdConsts.TYPE); if ((langremoved && typeremoved) || !keySet.isEmpty()) { throw new JsonLdError(Error.INVALID_VALUE_OBJECT, "value object has unknown keys"); } // 8.2) final Object rval = result.get(JsonLdConsts.VALUE); if (rval == null) { // nothing else is possible with result if we set it to // null, so simply return it return null; } // 8.3) if (!(rval instanceof String) && result.containsKey(JsonLdConsts.LANGUAGE)) { throw new JsonLdError(Error.INVALID_LANGUAGE_TAGGED_VALUE, "when @language is used, @value must be a string"); } // 8.4) else if (result.containsKey(JsonLdConsts.TYPE)) { // TODO: is this enough for "is an IRI" if (!(result.get(JsonLdConsts.TYPE) instanceof String) || ((String) result.get(JsonLdConsts.TYPE)).startsWith("_:") || !((String) result.get(JsonLdConsts.TYPE)).contains(":")) { throw new JsonLdError(Error.INVALID_TYPED_VALUE, "value of @type must be an IRI"); } } } // 9) else if (result.containsKey(JsonLdConsts.TYPE)) { final Object rtype = result.get(JsonLdConsts.TYPE); if (!(rtype instanceof List)) { final List tmp = new ArrayList(); tmp.add(rtype); result.put(JsonLdConsts.TYPE, tmp); } } // 10) else if (result.containsKey(JsonLdConsts.SET) || result.containsKey(JsonLdConsts.LIST)) { // 10.1) if (result.size() > (result.containsKey(JsonLdConsts.INDEX) ? 2 : 1)) { throw new JsonLdError(Error.INVALID_SET_OR_LIST_OBJECT, "@set or @list may only contain @index"); } // 10.2) if (result.containsKey(JsonLdConsts.SET)) { // result becomes an array here, thus the remaining checks // will never be true from here on // so simply return the value rather than have to make // result an object and cast it with every // other use in the function. return result.get(JsonLdConsts.SET); } } // 11) if (result.containsKey(JsonLdConsts.LANGUAGE) && result.size() == 1) { result = null; } // 12) if (activeProperty == null || JsonLdConsts.GRAPH.equals(activeProperty)) { // 12.1) if (result != null && (result.size() == 0 || result.containsKey(JsonLdConsts.VALUE) || result.containsKey(JsonLdConsts.LIST))) { result = null; } // 12.2) else if (result != null && !frameExpansion && result.containsKey(JsonLdConsts.ID) && result.size() == 1) { result = null; } } // 13) return result; } // 2) If element is a scalar else { // 2.1) if (activeProperty == null || JsonLdConsts.GRAPH.equals(activeProperty)) { return null; } return activeCtx.expandValue(activeProperty, element); } } /** * Expansion Algorithm * * http://json-ld.org/spec/latest/json-ld-api/#expansion-algorithm * * @param activeCtx * The Active Context * @param element * The current element * @return The expanded JSON-LD object. * @throws JsonLdError * If there was an error during expansion. */ public Object expand(Context activeCtx, Object element) throws JsonLdError { return expand(activeCtx, null, element); } /*** * _____ _ _ _ _ _ _ _ _ | ___| | __ _| |_| |_ ___ _ __ / \ | | __ _ ___ _ * __(_) |_| |__ _ __ ___ | |_ | |/ _` | __| __/ _ \ '_ \ / _ \ | |/ _` |/ _ * \| '__| | __| '_ \| '_ ` _ \ | _| | | (_| | |_| || __/ | | | / ___ \| | * (_| | (_) | | | | |_| | | | | | | | | |_| |_|\__,_|\__|\__\___|_| |_| /_/ * \_\_|\__, |\___/|_| |_|\__|_| |_|_| |_| |_| |___/ */ void generateNodeMap(Object element, Map nodeMap) throws JsonLdError { generateNodeMap(element, nodeMap, JsonLdConsts.DEFAULT, null, null, null); } void generateNodeMap(Object element, Map nodeMap, String activeGraph) throws JsonLdError { generateNodeMap(element, nodeMap, activeGraph, null, null, null); } void generateNodeMap(Object element, Map nodeMap, String activeGraph, Object activeSubject, String activeProperty, Map list) throws JsonLdError { // 1) if (element instanceof List) { // 1.1) for (final Object item : (List) element) { generateNodeMap(item, nodeMap, activeGraph, activeSubject, activeProperty, list); } return; } // for convenience final Map elem = (Map) element; // 2) if (!nodeMap.containsKey(activeGraph)) { nodeMap.put(activeGraph, newMap()); } final Map graph = (Map) nodeMap.get(activeGraph); Map node = (Map) (activeSubject == null ? null : graph.get(activeSubject)); // 3) if (elem.containsKey(JsonLdConsts.TYPE)) { // 3.1) List oldTypes; final List newTypes = new ArrayList(); if (elem.get(JsonLdConsts.TYPE) instanceof List) { oldTypes = (List) elem.get(JsonLdConsts.TYPE); } else { oldTypes = new ArrayList(4); oldTypes.add((String) elem.get(JsonLdConsts.TYPE)); } for (final String item : oldTypes) { if (item.startsWith("_:")) { newTypes.add(generateBlankNodeIdentifier(item)); } else { newTypes.add(item); } } if (elem.get(JsonLdConsts.TYPE) instanceof List) { elem.put(JsonLdConsts.TYPE, newTypes); } else { elem.put(JsonLdConsts.TYPE, newTypes.get(0)); } } // 4) if (elem.containsKey(JsonLdConsts.VALUE)) { // 4.1) if (list == null) { JsonLdUtils.mergeValue(node, activeProperty, elem); } // 4.2) else { JsonLdUtils.mergeValue(list, JsonLdConsts.LIST, elem); } } // 5) else if (elem.containsKey(JsonLdConsts.LIST)) { // 5.1) final Map result = newMap(JsonLdConsts.LIST, new ArrayList(4)); // 5.2) // for (final Object item : (List) elem.get("@list")) { // generateNodeMap(item, nodeMap, activeGraph, activeSubject, // activeProperty, result); // } generateNodeMap(elem.get(JsonLdConsts.LIST), nodeMap, activeGraph, activeSubject, activeProperty, result); // 5.3) JsonLdUtils.mergeValue(node, activeProperty, result); } // 6) else { // 6.1) String id = (String) elem.remove(JsonLdConsts.ID); if (id != null) { if (id.startsWith("_:")) { id = generateBlankNodeIdentifier(id); } } // 6.2) else { id = generateBlankNodeIdentifier(null); } // 6.3) if (!graph.containsKey(id)) { final Map tmp = newMap(JsonLdConsts.ID, id); graph.put(id, tmp); } // 6.4) TODO: SPEC this line is asked for by the spec, but it breaks // various tests // node = (Map) graph.get(id); // 6.5) if (activeSubject instanceof Map) { // 6.5.1) JsonLdUtils.mergeValue((Map) graph.get(id), activeProperty, activeSubject); } // 6.6) else if (activeProperty != null) { final Map reference = newMap(JsonLdConsts.ID, id); // 6.6.2) if (list == null) { // 6.6.2.1+2) JsonLdUtils.mergeValue(node, activeProperty, reference); } // 6.6.3) TODO: SPEC says to add ELEMENT to @list member, should // be REFERENCE else { JsonLdUtils.mergeValue(list, JsonLdConsts.LIST, reference); } } // TODO: SPEC this is removed in the spec now, but it's still needed // (see 6.4) node = (Map) graph.get(id); // 6.7) if (elem.containsKey(JsonLdConsts.TYPE)) { for (final Object type : (List) elem.remove(JsonLdConsts.TYPE)) { JsonLdUtils.mergeValue(node, JsonLdConsts.TYPE, type); } } // 6.8) if (elem.containsKey(JsonLdConsts.INDEX)) { final Object elemIndex = elem.remove(JsonLdConsts.INDEX); if (node.containsKey(JsonLdConsts.INDEX)) { if (!JsonLdUtils.deepCompare(node.get(JsonLdConsts.INDEX), elemIndex)) { throw new JsonLdError(Error.CONFLICTING_INDEXES); } } else { node.put(JsonLdConsts.INDEX, elemIndex); } } // 6.9) if (elem.containsKey(JsonLdConsts.REVERSE)) { // 6.9.1) final Map referencedNode = newMap(JsonLdConsts.ID, id); // 6.9.2+6.9.4) final Map reverseMap = (Map) elem .remove(JsonLdConsts.REVERSE); // 6.9.3) for (final String property : reverseMap.keySet()) { final List values = (List) reverseMap.get(property); // 6.9.3.1) for (final Object value : values) { // 6.9.3.1.1) generateNodeMap(value, nodeMap, activeGraph, referencedNode, property, null); } } } // 6.10) if (elem.containsKey(JsonLdConsts.GRAPH)) { generateNodeMap(elem.remove(JsonLdConsts.GRAPH), nodeMap, id, null, null, null); } // 6.11) final List keys = new ArrayList(elem.keySet()); Collections.sort(keys); for (String property : keys) { final Object value = elem.get(property); // 6.11.1) if (property.startsWith("_:")) { property = generateBlankNodeIdentifier(property); } // 6.11.2) if (!node.containsKey(property)) { node.put(property, new ArrayList(4)); } // 6.11.3) generateNodeMap(value, nodeMap, activeGraph, id, property, null); } } } /** * Blank Node identifier map specified in: * * http://www.w3.org/TR/json-ld-api/#generate-blank-node-identifier */ private final Map blankNodeIdentifierMap = new LinkedHashMap(); /** * Counter specified in: * * http://www.w3.org/TR/json-ld-api/#generate-blank-node-identifier */ private int blankNodeCounter = 0; /** * Generates a blank node identifier for the given key using the algorithm * specified in: * * http://www.w3.org/TR/json-ld-api/#generate-blank-node-identifier * * @param id * The id, or null to generate a fresh, unused, blank node * identifier. * @return A blank node identifier based on id if it was not null, or a * fresh, unused, blank node identifier if it was null. */ String generateBlankNodeIdentifier(String id) { if (id != null && blankNodeIdentifierMap.containsKey(id)) { return blankNodeIdentifierMap.get(id); } final String bnid = "_:b" + blankNodeCounter++; if (id != null) { blankNodeIdentifierMap.put(id, bnid); } return bnid; } /** * Generates a fresh, unused, blank node identifier using the algorithm * specified in: * * http://www.w3.org/TR/json-ld-api/#generate-blank-node-identifier * * @return A fresh, unused, blank node identifier. */ String generateBlankNodeIdentifier() { return generateBlankNodeIdentifier(null); } /*** * _____ _ _ _ _ _ _ | ___| __ __ _ _ __ ___ (_)_ __ __ _ / \ | | __ _ ___ _ * __(_) |_| |__ _ __ ___ | |_ | '__/ _` | '_ ` _ \| | '_ \ / _` | / _ \ | * |/ _` |/ _ \| '__| | __| '_ \| '_ ` _ \ | _|| | | (_| | | | | | | | | | | * (_| | / ___ \| | (_| | (_) | | | | |_| | | | | | | | | |_| |_| \__,_|_| * |_| |_|_|_| |_|\__, | /_/ \_\_|\__, |\___/|_| |_|\__|_| |_|_| |_| |_| * |___/ |___/ */ private class FramingContext { public Embed embed; public boolean explicit; public boolean omitDefault; public Map uniqueEmbeds; public LinkedList subjectStack; public boolean requireAll; public FramingContext() { embed = Embed.LAST; explicit = false; omitDefault = false; requireAll = false; uniqueEmbeds = new HashMap<>(); subjectStack = new LinkedList<>(); } public FramingContext(JsonLdOptions opts) { this(); if (opts.getEmbed() != null) { this.embed = opts.getEmbedVal(); } if (opts.getExplicit() != null) { this.explicit = opts.getExplicit(); } if (opts.getOmitDefault() != null) { this.omitDefault = opts.getOmitDefault(); } if (opts.getRequireAll() != null) { this.requireAll = opts.getRequireAll(); } } } private class EmbedNode { public Object parent = null; public String property = null; public EmbedNode(Object parent, String property) { this.parent = parent; this.property = property; } } private Map nodeMap; /** * Performs JSON-LD * framing. * * @param input * the expanded JSON-LD to frame. * @param frame * the expanded JSON-LD frame to use. * @return the framed output. * @throws JsonLdError * If the framing was not successful. */ public List frame(Object input, List frame) throws JsonLdError { // create framing state final FramingContext state = new FramingContext(this.opts); // use tree map so keys are sorted by default final Map nodes = new TreeMap(); generateNodeMap(input, nodes); this.nodeMap = (Map) nodes.get(JsonLdConsts.DEFAULT); final List framed = new ArrayList(); // NOTE: frame validation is done by the function not allowing anything // other than list to me passed // 1. // If frame is an array, set frame to the first member of the array, // which MUST be a valid frame. frame(state, this.nodeMap, (frame != null && frame.size() > 0 ? (Map) frame.get(0) : newMap()), framed, null); return framed; } private boolean createsCircularReference(String id, FramingContext state) { return state.subjectStack.contains(id); } /** * Frames subjects according to the given frame. * * @param state * the current framing state. * @param frame * the frame. * @param parent * the parent subject or top-level array. * @param property * the parent property, initialized to null. * @throws JsonLdError * If there was an error during framing. */ private void frame(FramingContext state, Map nodes, Map frame, Object parent, String property) throws JsonLdError { // https://json-ld.org/spec/latest/json-ld-framing/#framing-algorithm // 2. // Initialize flags embed, explicit, and requireAll from object embed // flag, // explicit inclusion flag, and require all flag in state overriding // from // any property values for @embed, @explicit, and @requireAll in frame. // TODO: handle @requireAll final Embed embed = getFrameEmbed(frame, state.embed); final Boolean explicitOn = getFrameFlag(frame, JsonLdConsts.EXPLICIT, state.explicit); final Boolean requireAll = getFrameFlag(frame, JsonLdConsts.REQUIRE_ALL, state.requireAll); final Map flags = newMap(); flags.put(JsonLdConsts.EXPLICIT, explicitOn); flags.put(JsonLdConsts.EMBED, embed); flags.put(JsonLdConsts.REQUIRE_ALL, requireAll); // 3. // Create a list of matched subjects by filtering subjects against frame // using the Frame Matching algorithm with state, subjects, frame, and // requireAll. final Map matches = filterNodes(state, nodes, frame, requireAll); final List ids = new ArrayList(matches.keySet()); Collections.sort(ids); // 4. // Set link the the value of link in state associated with graph name in // state, // creating a new empty dictionary, if necessary. final Map link = state.uniqueEmbeds; // 5. // For each id and associated node object node from the set of matched // subjects, ordered by id: for (final String id : ids) { final Map subject = (Map) matches.get(id); // 5.1 // Initialize output to a new dictionary with @id and id and add // output to link associated with id. final Map output = newMap(); output.put(JsonLdConsts.ID, id); // 5.2 // If embed is @link and id is in link, node already exists in // results. // Add the associated node object from link to parent and do not // perform // additional processing for this node. if (embed == Embed.LINK && state.uniqueEmbeds.containsKey(id)) { addFrameOutput(state, parent, property, state.uniqueEmbeds.get(id)); continue; } // Occurs only at top level, compartmentalize each top-level match if (property == null) { state.uniqueEmbeds = new HashMap<>(); } // 5.3 // Otherwise, if embed is @never or if a circular reference would be // created by an embed, // add output to parent and do not perform additional processing for // this node. if (embed == Embed.NEVER || createsCircularReference(id, state)) { addFrameOutput(state, parent, property, output); continue; } // 5.4 // Otherwise, if embed is @last, remove any existing embedded node // from parent associated // with graph name in state. Requires sorting of subjects. if (embed == Embed.LAST) { if (state.uniqueEmbeds.containsKey(id)) { removeEmbed(state, id); } state.uniqueEmbeds.put(id, new EmbedNode(parent, property)); } state.subjectStack.push(id); // 5.5 If embed is @last or @always // Skip 5.5.1 // 5.5.2 For each property and objects in node, ordered by property: final Map element = (Map) matches.get(id); List props = new ArrayList(element.keySet()); Collections.sort(props); for (final String prop : props) { // 5.5.2.1 If property is a keyword, add property and objects to // output. if (isKeyword(prop)) { output.put(prop, JsonLdUtils.clone(element.get(prop))); continue; } // 5.5.2.2 Otherwise, if property is not in frame, and explicit // is true, processors // MUST NOT add any values for property to output, and the // following steps are skipped. if (explicitOn && !frame.containsKey(prop)) { continue; } // add objects final List value = (List) element.get(prop); // 5.5.2.3 For each item in objects: for (final Object item : value) { if ((item instanceof Map) && ((Map) item).containsKey(JsonLdConsts.LIST)) { // add empty list final Map list = newMap(); list.put(JsonLdConsts.LIST, new ArrayList()); addFrameOutput(state, output, prop, list); // add list objects for (final Object listitem : (List) ((Map) item) .get(JsonLdConsts.LIST)) { // 5.5.2.3.1.1 recurse into subject reference if (JsonLdUtils.isNodeReference(listitem)) { final Map tmp = newMap(); final String itemid = (String) ((Map) listitem) .get(JsonLdConsts.ID); // TODO: nodes may need to be node_map, // which is global tmp.put(itemid, this.nodeMap.get(itemid)); Map subframe; if (frame.containsKey(prop)) { subframe = (Map) ((List) frame .get(prop)).get(0); } else { subframe = flags; } frame(state, tmp, subframe, list, JsonLdConsts.LIST); } else { // include other values automatcially (TODO: // may need JsonLdUtils.clone(n)) addFrameOutput(state, list, JsonLdConsts.LIST, listitem); } } } // recurse into subject reference else if (JsonLdUtils.isNodeReference(item)) { final Map tmp = newMap(); final String itemid = (String) ((Map) item) .get(JsonLdConsts.ID); // TODO: nodes may need to be node_map, which is // global tmp.put(itemid, this.nodeMap.get(itemid)); Map subframe; if (frame.containsKey(prop)) { subframe = (Map) ((List) frame.get(prop)) .get(0); } else { subframe = flags; } frame(state, tmp, subframe, output, prop); } else { // include other values automatically (TODO: may // need JsonLdUtils.clone(o)) addFrameOutput(state, output, prop, item); } } } // handle defaults props = new ArrayList(frame.keySet()); Collections.sort(props); for (final String prop : props) { // skip keywords if (isKeyword(prop)) { continue; } final List pf = (List) frame.get(prop); Map propertyFrame = pf.size() > 0 ? (Map) pf.get(0) : null; if (propertyFrame == null) { propertyFrame = newMap(); } final boolean omitDefaultOn = getFrameFlag(propertyFrame, JsonLdConsts.OMIT_DEFAULT, state.omitDefault); if (!omitDefaultOn && !output.containsKey(prop)) { Object def = "@null"; if (propertyFrame.containsKey(JsonLdConsts.DEFAULT)) { def = JsonLdUtils.clone(propertyFrame.get(JsonLdConsts.DEFAULT)); } if (!(def instanceof List)) { final List tmp = new ArrayList(); tmp.add(def); def = tmp; } final Map tmp1 = newMap(JsonLdConsts.PRESERVE, def); final List tmp2 = new ArrayList(); tmp2.add(tmp1); output.put(prop, tmp2); } } // add output to parent addFrameOutput(state, parent, property, output); state.subjectStack.pop(); } } private Object getFrameValue(Map frame, String name) { Object value = frame.get(name); if (value instanceof List) { if (((List) value).size() > 0) { value = ((List) value).get(0); } } if (value instanceof Map && ((Map) value).containsKey(JsonLdConsts.VALUE)) { value = ((Map) value).get(JsonLdConsts.VALUE); } return value; } private Boolean getFrameFlag(Map frame, String name, boolean thedefault) { final Object value = getFrameValue(frame, name); if (value instanceof Boolean) { return (Boolean) value; } return thedefault; } private Embed getFrameEmbed(Map frame, Embed thedefault) throws JsonLdError { final Object value = getFrameValue(frame, JsonLdConsts.EMBED); if (value == null) { return thedefault; } if (value instanceof Boolean) { return (Boolean) value ? Embed.LAST : Embed.NEVER; } if (value instanceof Embed) { return (Embed) value; } if (value instanceof String) { switch ((String) value) { case "@always": return Embed.ALWAYS; case "@never": return Embed.NEVER; case "@last": return Embed.LAST; case "@link": return Embed.LINK; default: throw new JsonLdError(JsonLdError.Error.INVALID_EMBED_VALUE); } } throw new JsonLdError(JsonLdError.Error.INVALID_EMBED_VALUE); } /** * Removes an existing embed. * * @param state * the current framing state. * @param id * the @id of the embed to remove. */ private static void removeEmbed(FramingContext state, String id) { // get existing embed final Map links = state.uniqueEmbeds; final EmbedNode embed = links.get(id); final Object parent = embed.parent; final String property = embed.property; // create reference to replace embed final Map node = newMap(JsonLdConsts.ID, id); // remove existing embed if (JsonLdUtils.isNode(parent)) { // replace subject with reference final List newvals = new ArrayList(); final List oldvals = (List) ((Map) parent) .get(property); for (final Object v : oldvals) { if (v instanceof Map && Obj.equals(((Map) v).get(JsonLdConsts.ID), id)) { newvals.add(node); } else { newvals.add(v); } } ((Map) parent).put(property, newvals); } // recursively remove dependent dangling embeds removeDependents(links, id); } private static void removeDependents(Map embeds, String id) { // get embed keys as a separate array to enable deleting keys in map for (final String id_dep : new HashSet(embeds.keySet())) { final EmbedNode e = embeds.get(id_dep); if (e == null || e.parent == null || !(e.parent instanceof Map)) { continue; } final String pid = (String) ((Map) e.parent).get(JsonLdConsts.ID); if (Obj.equals(id, pid)) { embeds.remove(id_dep); removeDependents(embeds, id_dep); } } } private Map filterNodes(FramingContext state, Map nodes, Map frame, boolean requireAll) throws JsonLdError { final Map rval = newMap(); for (final String id : nodes.keySet()) { final Map element = (Map) nodes.get(id); if (element != null && filterNode(state, element, frame, requireAll)) { rval.put(id, element); } } return rval; } private boolean filterNode(FramingContext state, Map node, Map frame, boolean requireAll) throws JsonLdError { final Object types = frame.get(JsonLdConsts.TYPE); final Object frameIds = frame.get(JsonLdConsts.ID); // https://json-ld.org/spec/latest/json-ld-framing/#frame-matching // // 1. Node matches if it has an @id property including any IRI or // blank node in the @id property in frame. if (frameIds != null) { if (frameIds instanceof String) { final Object nodeId = node.get(JsonLdConsts.ID); if (nodeId == null) { return false; } if (JsonLdUtils.deepCompare(nodeId, frameIds)) { return true; } } else if (frameIds instanceof LinkedHashMap && ((LinkedHashMap) frameIds).size() == 0) { if (node.containsKey(JsonLdConsts.ID)) { return true; } return false; } else if (!(frameIds instanceof List)) { throw new JsonLdError(Error.SYNTAX_ERROR, "frame @id must be an array"); } else { final Object nodeId = node.get(JsonLdConsts.ID); if (nodeId == null) { return false; } for (final Object j : (List) frameIds) { if (JsonLdUtils.deepCompare(nodeId, j)) { return true; } } } return false; } // 2. Node matches if frame has no non-keyword properties.TODO // 3. If requireAll is true, node matches if all non-keyword properties // (property) in frame match any of the following conditions. Or, if // requireAll is false, if any of the non-keyword properties (property) // in frame match any of the following conditions. For the values of // each // property from frame in node: // 3.1 If property is @type: if (types != null) { if (!(types instanceof List)) { throw new JsonLdError(Error.SYNTAX_ERROR, "frame @type must be an array"); } Object nodeTypes = node.get(JsonLdConsts.TYPE); if (nodeTypes == null) { nodeTypes = new ArrayList(); } else if (!(nodeTypes instanceof List)) { throw new JsonLdError(Error.SYNTAX_ERROR, "node @type must be an array"); } // 3.1.1 Property matches if the @type property in frame includes // any IRI in values. for (final Object i : (List) nodeTypes) { for (final Object j : (List) types) { if (JsonLdUtils.deepCompare(i, j)) { return true; } } } // TODO: 3.1.2 // 3.1.3 Otherwise, property matches if values is empty and the // @type property in frame is match none. if (((List) types).size() == 1 && ((List) types).get(0) instanceof Map && ((Map) ((List) types).get(0)).size() == 0) { return !((List) nodeTypes).isEmpty(); } // 3.1.4 Otherwise, property does not match. return false; } // 3.2 for (final String key : frame.keySet()) { if (!isKeyword(key) && !(node.containsKey(key))) { final Object frameObject = frame.get(key); if (frameObject instanceof ArrayList) { final ArrayList o = (ArrayList) frame.get(key); boolean _default = false; for (final Object oo : o) { if (oo instanceof Map) { if (((Map) oo).containsKey(JsonLdConsts.DEFAULT)) { _default = true; } } } if (_default) { continue; } } return false; } } return true; } /** * Adds framing output to the given parent. * * @param state * the current framing state. * @param parent * the parent to add to. * @param property * the parent property. * @param output * the output to add. */ private static void addFrameOutput(FramingContext state, Object parent, String property, Object output) { if (parent instanceof Map) { List prop = (List) ((Map) parent).get(property); if (prop == null) { prop = new ArrayList(); ((Map) parent).put(property, prop); } prop.add(output); } else { ((List) parent).add(output); } } /*** * ____ _ __ ____ ____ _____ _ _ _ _ _ / ___|___ _ ____ _____ _ __| |_ / _|_ * __ ___ _ __ ___ | _ \| _ \| ___| / \ | | __ _ ___ _ __(_) |_| |__ _ __ * ___ | | / _ \| '_ \ \ / / _ \ '__| __| | |_| '__/ _ \| '_ ` _ \ | |_) | | * | | |_ / _ \ | |/ _` |/ _ \| '__| | __| '_ \| '_ ` _ \ | |__| (_) | | | \ * V / __/ | | |_ | _| | | (_) | | | | | | | _ <| |_| | _| / ___ \| | (_| | * (_) | | | | |_| | | | | | | | | \____\___/|_| |_|\_/ \___|_| \__| |_| |_| * \___/|_| |_| |_| |_| \_\____/|_| /_/ \_\_|\__, |\___/|_| |_|\__|_| |_|_| * |_| |_| |___/ */ /** * Helper class for node usages * * @author tristan */ private class UsagesNode { public UsagesNode(NodeMapNode node, String property, Map value) { this.node = node; this.property = property; this.value = value; } public NodeMapNode node = null; public String property = null; public Map value = null; } private class Node { private final String predicate; private final RDFDataset.Node object; public Node(String predicate, RDFDataset.Node object) { this.predicate = predicate; this.object = object; } } private class NodeMapNode extends LinkedHashMap { public List usages = new ArrayList(4); public NodeMapNode(String id) { super(); this.put(JsonLdConsts.ID, id); } // helper fucntion for 4.3.3 public boolean isWellFormedListNode() { if (usages.size() != 1) { return false; } int keys = 0; if (containsKey(RDF_FIRST)) { keys++; if (!(get(RDF_FIRST) instanceof List && ((List) get(RDF_FIRST)).size() == 1)) { return false; } } if (containsKey(RDF_REST)) { keys++; if (!(get(RDF_REST) instanceof List && ((List) get(RDF_REST)).size() == 1)) { return false; } } if (containsKey(JsonLdConsts.TYPE)) { keys++; if (!(get(JsonLdConsts.TYPE) instanceof List && ((List) get(JsonLdConsts.TYPE)).size() == 1) && RDF_LIST.equals(((List) get(JsonLdConsts.TYPE)).get(0))) { return false; } } // TODO: SPEC: 4.3.3 has no mention of @id if (containsKey(JsonLdConsts.ID)) { keys++; } if (keys < size()) { return false; } return true; } // return this node without the usages variable public Map serialize() { return new LinkedHashMap(this); } } /** * Converts RDF statements into JSON-LD. * * @param dataset * the RDF statements. * @return A list of JSON-LD objects found in the given dataset. * @throws JsonLdError * If there was an error during conversion from RDF to JSON-LD. */ public List fromRDF(final RDFDataset dataset) throws JsonLdError { return fromRDF(dataset, false); } /** * Converts RDF statements into JSON-LD, presuming that there are no * duplicates in the dataset. * * @param dataset * the RDF statements. * @param noDuplicatesInDataset * True if there are no duplicates in the dataset and false * otherwise. * @return A list of JSON-LD objects found in the given dataset. * @throws JsonLdError * If there was an error during conversion from RDF to JSON-LD. */ public List fromRDF(final RDFDataset dataset, boolean noDuplicatesInDataset) throws JsonLdError { // 1) final Map defaultGraph = new LinkedHashMap(4); // 2) final Map> graphMap = new LinkedHashMap>( 4); graphMap.put(JsonLdConsts.DEFAULT, defaultGraph); // 3/3.1) for (final String name : dataset.graphNames()) { final List graph = dataset.getQuads(name); // 3.2+3.4) final Map nodeMap = graphMap.computeIfAbsent(name, k -> new LinkedHashMap()); // 3.3) if (!JsonLdConsts.DEFAULT.equals(name)) { // Existing entries in the default graph are not overwritten defaultGraph.computeIfAbsent(name, k -> new NodeMapNode(k)); } // 3.5) final Map> nodes = new HashMap<>(); for (final RDFDataset.Quad triple : graph) { final String subject = triple.getSubject().getValue(); final String predicate = triple.getPredicate().getValue(); final RDFDataset.Node object = triple.getObject(); nodes.computeIfAbsent(subject, k -> new ArrayList<>()) .add(new Node(predicate, object)); } for (final Map.Entry> nodeEntry : nodes.entrySet()) { final String subject = nodeEntry.getKey(); for (final Node n : nodeEntry.getValue()) { final String predicate = n.predicate; final RDFDataset.Node object = n.object; // 3.5.1+3.5.2) final NodeMapNode node = nodeMap.computeIfAbsent(subject, k -> new NodeMapNode(k)); // 3.5.3) if ((object.isIRI() || object.isBlankNode())) { nodeMap.computeIfAbsent(object.getValue(), k -> new NodeMapNode(k)); } // 3.5.4) if (RDF_TYPE.equals(predicate) && (object.isIRI() || object.isBlankNode()) && !opts.getUseRdfType() && (!nodes.containsKey(object.getValue()) || subject.equals(object.getValue()))) { JsonLdUtils.mergeValue(node, JsonLdConsts.TYPE, object.getValue()); continue; } // 3.5.5) final Map value = object.toObject(opts.getUseNativeTypes()); // 3.5.6+7) if (noDuplicatesInDataset) { JsonLdUtils.laxMergeValue(node, predicate, value); } else { JsonLdUtils.mergeValue(node, predicate, value); } // 3.5.8) if (object.isBlankNode() || object.isIRI()) { // 3.5.8.1-3) nodeMap.get(object.getValue()).usages .add(new UsagesNode(node, predicate, value)); } } } } // 4) for (final String name : graphMap.keySet()) { final Map graph = graphMap.get(name); // 4.1) if (!graph.containsKey(RDF_NIL)) { continue; } // 4.2) final NodeMapNode nil = graph.get(RDF_NIL); // 4.3) for (final UsagesNode usage : nil.usages) { // 4.3.1) NodeMapNode node = usage.node; String property = usage.property; Map head = usage.value; // 4.3.2) final List list = new ArrayList(4); final List listNodes = new ArrayList(4); // 4.3.3) while (RDF_REST.equals(property) && node.isWellFormedListNode()) { // 4.3.3.1) list.add(((List) node.get(RDF_FIRST)).get(0)); // 4.3.3.2) listNodes.add((String) node.get(JsonLdConsts.ID)); // 4.3.3.3) final UsagesNode nodeUsage = node.usages.get(0); // 4.3.3.4) node = nodeUsage.node; property = nodeUsage.property; head = nodeUsage.value; // 4.3.3.5) if (!JsonLdUtils.isBlankNode(node)) { break; } } // 4.3.4) if (RDF_FIRST.equals(property)) { // 4.3.4.1) if (RDF_NIL.equals(node.get(JsonLdConsts.ID))) { continue; } // 4.3.4.3) final String headId = (String) head.get(JsonLdConsts.ID); // 4.3.4.4-5) head = (Map) ((List) graph.get(headId).get(RDF_REST)) .get(0); // 4.3.4.6) list.remove(list.size() - 1); listNodes.remove(listNodes.size() - 1); } // 4.3.5) head.remove(JsonLdConsts.ID); // 4.3.6) Collections.reverse(list); // 4.3.7) head.put(JsonLdConsts.LIST, list); // 4.3.8) for (final String nodeId : listNodes) { graph.remove(nodeId); } } } // 5) final List result = new ArrayList(4); // 6) final List ids = new ArrayList(defaultGraph.keySet()); Collections.sort(ids); for (final String subject : ids) { final NodeMapNode node = defaultGraph.get(subject); // 6.1) if (graphMap.containsKey(subject)) { // 6.1.1) final List nextGraph = new ArrayList(4); node.put(JsonLdConsts.GRAPH, nextGraph); // 6.1.2) final Map nextSubjectMap = graphMap.get(subject); final List keys = new ArrayList(nextSubjectMap.keySet()); Collections.sort(keys); for (final String s : keys) { final NodeMapNode n = nextSubjectMap.get(s); if (n.size() == 1 && n.containsKey(JsonLdConsts.ID)) { continue; } nextGraph.add(n.serialize()); } } // 6.2) if (node.size() == 1 && node.containsKey(JsonLdConsts.ID)) { continue; } result.add(node.serialize()); } return result; } /*** * ____ _ _ ____ ____ _____ _ _ _ _ _ / ___|___ _ ____ _____ _ __| |_ | |_ * ___ | _ \| _ \| ___| / \ | | __ _ ___ _ __(_) |_| |__ _ __ ___ | | / _ \| * '_ \ \ / / _ \ '__| __| | __/ _ \ | |_) | | | | |_ / _ \ | |/ _` |/ _ \| * '__| | __| '_ \| '_ ` _ \ | |__| (_) | | | \ V / __/ | | |_ | || (_) | | * _ <| |_| | _| / ___ \| | (_| | (_) | | | | |_| | | | | | | | | * \____\___/|_| |_|\_/ \___|_| \__| \__\___/ |_| \_\____/|_| /_/ \_\_|\__, * |\___/|_| |_|\__|_| |_|_| |_| |_| |___/ */ /** * Adds RDF triples for each graph in the current node map to an RDF * dataset. * * @return the RDF dataset. * @throws JsonLdError * If there was an error converting from JSON-LD to RDF. */ public RDFDataset toRDF() throws JsonLdError { // TODO: make the default generateNodeMap call (i.e. without a // graphName) create and return the nodeMap final Map nodeMap = newMap(); nodeMap.put(JsonLdConsts.DEFAULT, newMap()); generateNodeMap(this.value, nodeMap); final RDFDataset dataset = new RDFDataset(this); for (final String graphName : nodeMap.keySet()) { // 4.1) if (JsonLdUtils.isRelativeIri(graphName)) { continue; } final Map graph = (Map) nodeMap.get(graphName); dataset.graphToRDF(graphName, graph); } return dataset; } /*** * _ _ _ _ _ _ _ _ _ _ _ | \ | | ___ _ __ _ __ ___ __ _| (_)______ _| |_(_) * ___ _ __ / \ | | __ _ ___ _ __(_) |_| |__ _ __ ___ | \| |/ _ \| '__| '_ ` * _ \ / _` | | |_ / _` | __| |/ _ \| '_ \ / _ \ | |/ _` |/ _ \| '__| | __| * '_ \| '_ ` _ \ | |\ | (_) | | | | | | | | (_| | | |/ / (_| | |_| | (_) | * | | | / ___ \| | (_| | (_) | | | | |_| | | | | | | | | |_| \_|\___/|_| * |_| |_| |_|\__,_|_|_/___\__,_|\__|_|\___/|_| |_| /_/ \_\_|\__, |\___/|_| * |_|\__|_| |_|_| |_| |_| |___/ */ /** * Performs RDF normalization on the given JSON-LD input. * * @param dataset * the expanded JSON-LD object to normalize. * @return The normalized JSON-LD object * @throws JsonLdError * If there was an error while normalizing. */ public Object normalize(Map dataset) throws JsonLdError { // create quads and map bnodes to their associated quads final List quads = new ArrayList(); final Map bnodes = newMap(); for (String graphName : dataset.keySet()) { final List> triples = (List>) dataset .get(graphName); if (JsonLdConsts.DEFAULT.equals(graphName)) { graphName = null; } for (final Map quad : triples) { if (graphName != null) { if (graphName.indexOf("_:") == 0) { final Map tmp = newMap(); tmp.put("type", "blank node"); tmp.put("value", graphName); quad.put("name", tmp); } else { final Map tmp = newMap(); tmp.put("type", "IRI"); tmp.put("value", graphName); quad.put("name", tmp); } } quads.add(quad); final String[] attrs = new String[] { "subject", "object", "name" }; for (final String attr : attrs) { if (quad.containsKey(attr) && "blank node" .equals(((Map) quad.get(attr)).get("type"))) { final String id = (String) ((Map) quad.get(attr)) .get("value"); if (!bnodes.containsKey(id)) { bnodes.put(id, new LinkedHashMap>() { { put("quads", new ArrayList()); } }); } ((List) ((Map) bnodes.get(id)).get("quads")) .add(quad); } } } } // mapping complete, start canonical naming final NormalizeUtils normalizeUtils = new NormalizeUtils(quads, bnodes, new UniqueNamer("_:c14n"), opts); return normalizeUtils.hashBlankNodes(bnodes.keySet()); } } jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/core/JsonLdConsts.java000066400000000000000000000061151452212752100277520ustar00rootroot00000000000000package com.github.jsonldjava.core; /** * URI Constants used in the JSON-LD parser. */ public final class JsonLdConsts { public static final String RDF_SYNTAX_NS = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"; public static final String RDF_SCHEMA_NS = "http://www.w3.org/2000/01/rdf-schema#"; public static final String XSD_NS = "http://www.w3.org/2001/XMLSchema#"; public static final String XSD_ANYTYPE = XSD_NS + "anyType"; public static final String XSD_BOOLEAN = XSD_NS + "boolean"; public static final String XSD_DOUBLE = XSD_NS + "double"; public static final String XSD_INTEGER = XSD_NS + "integer"; public static final String XSD_FLOAT = XSD_NS + "float"; public static final String XSD_DECIMAL = XSD_NS + "decimal"; public static final String XSD_ANYURI = XSD_NS + "anyURI"; public static final String XSD_STRING = XSD_NS + "string"; public static final String RDF_TYPE = RDF_SYNTAX_NS + "type"; public static final String RDF_FIRST = RDF_SYNTAX_NS + "first"; public static final String RDF_REST = RDF_SYNTAX_NS + "rest"; public static final String RDF_NIL = RDF_SYNTAX_NS + "nil"; public static final String RDF_PLAIN_LITERAL = RDF_SYNTAX_NS + "PlainLiteral"; public static final String RDF_XML_LITERAL = RDF_SYNTAX_NS + "XMLLiteral"; public static final String RDF_OBJECT = RDF_SYNTAX_NS + "object"; public static final String RDF_LANGSTRING = RDF_SYNTAX_NS + "langString"; public static final String RDF_LIST = RDF_SYNTAX_NS + "List"; public static final String TEXT_TURTLE = "text/turtle"; public static final String APPLICATION_NQUADS = "application/n-quads"; // https://www.w3.org/TR/n-quads/#sec-mediatype public static final String FLATTENED = "flattened"; public static final String COMPACTED = "compacted"; public static final String EXPANDED = "expanded"; public static final String ID = "@id"; public static final String DEFAULT = "@default"; public static final String GRAPH = "@graph"; public static final String CONTEXT = "@context"; public static final String PRESERVE = "@preserve"; public static final String EXPLICIT = "@explicit"; public static final String OMIT_DEFAULT = "@omitDefault"; public static final String EMBED_CHILDREN = "@embedChildren"; public static final String EMBED = "@embed"; public static final String LIST = "@list"; public static final String LANGUAGE = "@language"; public static final String INDEX = "@index"; public static final String SET = "@set"; public static final String TYPE = "@type"; public static final String REVERSE = "@reverse"; public static final String VALUE = "@value"; public static final String NULL = "@null"; public static final String NONE = "@none"; public static final String CONTAINER = "@container"; public static final String BLANK_NODE_PREFIX = "_:"; public static final String VOCAB = "@vocab"; public static final String BASE = "@base"; public static final String REQUIRE_ALL = "@requireAll"; public enum Embed { ALWAYS, NEVER, LAST, LINK; } }jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/core/JsonLdError.java000066400000000000000000000074521452212752100275770ustar00rootroot00000000000000package com.github.jsonldjava.core; public class JsonLdError extends RuntimeException { private static final long serialVersionUID = -8685402790466459014L; private final Error type; public JsonLdError(Error type, Object detail) { // TODO: pretty toString (e.g. print whole json objects) super(detail == null ? "" : detail.toString()); this.type = type; } public JsonLdError(Error type) { super(""); this.type = type; } public JsonLdError(Error type, Object detail, Throwable cause) { // TODO: pretty toString (e.g. print whole json objects) super(detail == null ? "" : detail.toString(), cause); this.type = type; } public JsonLdError(Error type, Throwable cause) { super(cause); this.type = type; } public enum Error { LOADING_DOCUMENT_FAILED("loading document failed"), LIST_OF_LISTS("list of lists"), INVALID_INDEX_VALUE("invalid @index value"), CONFLICTING_INDEXES("conflicting indexes"), INVALID_ID_VALUE("invalid @id value"), INVALID_LOCAL_CONTEXT("invalid local context"), MULTIPLE_CONTEXT_LINK_HEADERS("multiple context link headers"), LOADING_REMOTE_CONTEXT_FAILED("loading remote context failed"), LOADING_INJECTED_CONTEXT_FAILED("loading injected context failed"), INVALID_REMOTE_CONTEXT("invalid remote context"), RECURSIVE_CONTEXT_INCLUSION("recursive context inclusion"), INVALID_BASE_IRI("invalid base IRI"), INVALID_VOCAB_MAPPING("invalid vocab mapping"), INVALID_DEFAULT_LANGUAGE("invalid default language"), KEYWORD_REDEFINITION("keyword redefinition"), INVALID_TERM_DEFINITION("invalid term definition"), INVALID_REVERSE_PROPERTY("invalid reverse property"), INVALID_IRI_MAPPING("invalid IRI mapping"), CYCLIC_IRI_MAPPING("cyclic IRI mapping"), INVALID_KEYWORD_ALIAS("invalid keyword alias"), INVALID_TYPE_MAPPING("invalid type mapping"), INVALID_LANGUAGE_MAPPING("invalid language mapping"), COLLIDING_KEYWORDS("colliding keywords"), INVALID_CONTAINER_MAPPING("invalid container mapping"), INVALID_TYPE_VALUE("invalid type value"), INVALID_VALUE_OBJECT("invalid value object"), INVALID_VALUE_OBJECT_VALUE("invalid value object value"), INVALID_LANGUAGE_TAGGED_STRING("invalid language-tagged string"), INVALID_LANGUAGE_TAGGED_VALUE("invalid language-tagged value"), INVALID_TYPED_VALUE("invalid typed value"), INVALID_SET_OR_LIST_OBJECT("invalid set or list object"), INVALID_LANGUAGE_MAP_VALUE("invalid language map value"), COMPACTION_TO_LIST_OF_LISTS("compaction to list of lists"), INVALID_REVERSE_PROPERTY_MAP("invalid reverse property map"), INVALID_REVERSE_VALUE("invalid @reverse value"), INVALID_REVERSE_PROPERTY_VALUE("invalid reverse property value"), INVALID_EMBED_VALUE("invalid @embed value"), // non spec related errors SYNTAX_ERROR("syntax error"), NOT_IMPLEMENTED("not implemnted"), UNKNOWN_FORMAT("unknown format"), INVALID_INPUT("invalid input"), PARSE_ERROR("parse error"), UNKNOWN_ERROR("unknown error"); private final String error; private Error(String error) { this.error = error; } @Override public String toString() { return error; } } public Error getType() { return type; } @Override public String getMessage() { final String msg = super.getMessage(); if (msg != null && !"".equals(msg)) { return type.toString() + ": " + msg; } return type.toString(); } } jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/core/JsonLdOptions.java000066400000000000000000000200271452212752100301320ustar00rootroot00000000000000package com.github.jsonldjava.core; import com.github.jsonldjava.core.JsonLdConsts.Embed; /** * The JsonLdOptions type as specified in the * JSON-LD- * API specification. * * @author tristan * */ public class JsonLdOptions { public static final String JSON_LD_1_0 = "json-ld-1.0"; public static final String JSON_LD_1_1 = "json-ld-1.1"; public static final boolean DEFAULT_COMPACT_ARRAYS = true; /** * Constructs an instance of JsonLdOptions using an empty base. */ public JsonLdOptions() { this(""); } /** * Constructs an instance of JsonLdOptions using the given base. * * @param base * The base IRI for the document. */ public JsonLdOptions(String base) { this.setBase(base); } /** * Creates a shallow copy of this JsonLdOptions object. * * It will share the same DocumentLoader unless that is overridden, and * other mutable objects, so it isn't immutable. * * @return A copy of this JsonLdOptions object. */ public JsonLdOptions copy() { final JsonLdOptions copy = new JsonLdOptions(base); copy.setCompactArrays(compactArrays); copy.setExpandContext(expandContext); copy.setProcessingMode(processingMode); copy.setDocumentLoader(documentLoader); copy.setEmbed(embed); copy.setExplicit(explicit); copy.setOmitDefault(omitDefault); copy.setOmitGraph(omitGraph); copy.setFrameExpansion(frameExpansion); copy.setPruneBlankNodeIdentifiers(pruneBlankNodeIdentifiers); copy.setRequireAll(requireAll); copy.setAllowContainerSetOnType(allowContainerSetOnType); copy.setUseRdfType(useRdfType); copy.setUseNativeTypes(useNativeTypes); copy.setProduceGeneralizedRdf(produceGeneralizedRdf); copy.format = format; copy.useNamespaces = useNamespaces; copy.outputForm = outputForm; return copy; } // Base options : http://www.w3.org/TR/json-ld-api/#idl-def-JsonLdOptions /** * http://www.w3.org/TR/json-ld-api/#widl-JsonLdOptions-base */ private String base = null; /** * http://www.w3.org/TR/json-ld-api/#widl-JsonLdOptions-compactArrays */ private Boolean compactArrays = DEFAULT_COMPACT_ARRAYS; /** * http://www.w3.org/TR/json-ld-api/#widl-JsonLdOptions-expandContext */ private Object expandContext = null; /** * http://www.w3.org/TR/json-ld-api/#widl-JsonLdOptions-processingMode */ private String processingMode = JSON_LD_1_0; /** * http://www.w3.org/TR/json-ld-api/#widl-JsonLdOptions-documentLoader */ private DocumentLoader documentLoader = new DocumentLoader(); // Frame options : http://json-ld.org/spec/latest/json-ld-framing/ private Embed embed = Embed.LAST; private Boolean explicit = null; private Boolean omitDefault = null; private Boolean omitGraph = false; private Boolean frameExpansion = false; private Boolean pruneBlankNodeIdentifiers = false; private Boolean requireAll = false; private Boolean allowContainerSetOnType = false; // RDF conversion options : // http://www.w3.org/TR/json-ld-api/#serialize-rdf-as-json-ld-algorithm Boolean useRdfType = false; Boolean useNativeTypes = false; private boolean produceGeneralizedRdf = false; public String getEmbed() { switch (this.embed) { case ALWAYS: return "@always"; case NEVER: return "@never"; case LINK: return "@link"; default: return "@last"; } } Embed getEmbedVal() { return this.embed; } public void setEmbed(Boolean embed) { this.embed = embed ? Embed.LAST : Embed.NEVER; } public void setEmbed(String embed) throws JsonLdError { switch (embed) { case "@always": this.embed = Embed.ALWAYS; break; case "@never": this.embed = Embed.NEVER; break; case "@last": this.embed = Embed.LAST; break; case "@link": this.embed = Embed.LINK; break; default: throw new JsonLdError(JsonLdError.Error.INVALID_EMBED_VALUE); } } public void setEmbed(Embed embed) throws JsonLdError { switch (embed) { case ALWAYS: this.embed = Embed.ALWAYS; break; case NEVER: this.embed = Embed.NEVER; break; case LAST: this.embed = Embed.LAST; break; case LINK: this.embed = Embed.LINK; break; default: throw new JsonLdError(JsonLdError.Error.INVALID_EMBED_VALUE); } } public Boolean getExplicit() { return explicit; } public void setExplicit(Boolean explicit) { this.explicit = explicit; } public Boolean getOmitDefault() { return omitDefault; } public void setOmitDefault(Boolean omitDefault) { this.omitDefault = omitDefault; } public Boolean getFrameExpansion() { return frameExpansion; } public void setFrameExpansion(Boolean frameExpansion) { this.frameExpansion = frameExpansion; } public Boolean getOmitGraph() { return omitGraph; } public void setOmitGraph(Boolean omitGraph) { this.omitGraph = omitGraph; } public Boolean getPruneBlankNodeIdentifiers() { return pruneBlankNodeIdentifiers; } public void setPruneBlankNodeIdentifiers(Boolean pruneBlankNodeIdentifiers) { this.pruneBlankNodeIdentifiers = pruneBlankNodeIdentifiers; } public Boolean getRequireAll() { return this.requireAll; } public void setRequireAll(Boolean requireAll) { this.requireAll = requireAll; } public Boolean getAllowContainerSetOnType() { return allowContainerSetOnType; } public void setAllowContainerSetOnType(Boolean allowContainerSetOnType) { this.allowContainerSetOnType = allowContainerSetOnType; } public Boolean getCompactArrays() { return compactArrays; } public void setCompactArrays(Boolean compactArrays) { this.compactArrays = compactArrays; } public Object getExpandContext() { return expandContext; } public void setExpandContext(Object expandContext) { this.expandContext = expandContext; } public String getProcessingMode() { return processingMode; } public void setProcessingMode(String processingMode) { this.processingMode = processingMode; if (processingMode.equals(JSON_LD_1_1)) { this.omitGraph = true; this.pruneBlankNodeIdentifiers = true; this.allowContainerSetOnType = true; } } public String getBase() { return base; } public void setBase(String base) { this.base = base; } public Boolean getUseRdfType() { return useRdfType; } public void setUseRdfType(Boolean useRdfType) { this.useRdfType = useRdfType; } public Boolean getUseNativeTypes() { return useNativeTypes; } public void setUseNativeTypes(Boolean useNativeTypes) { this.useNativeTypes = useNativeTypes; } public boolean getProduceGeneralizedRdf() { return this.produceGeneralizedRdf; } public void setProduceGeneralizedRdf(Boolean produceGeneralizedRdf) { this.produceGeneralizedRdf = produceGeneralizedRdf; } public DocumentLoader getDocumentLoader() { return documentLoader; } public void setDocumentLoader(DocumentLoader documentLoader) { this.documentLoader = documentLoader; } // TODO: THE FOLLOWING ONLY EXIST SO I DON'T HAVE TO DELETE A LOT OF CODE, // REMOVE IT WHEN DONE public String format = null; public Boolean useNamespaces = false; public String outputForm = null; } jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/core/JsonLdProcessor.java000066400000000000000000000630361452212752100304650ustar00rootroot00000000000000package com.github.jsonldjava.core; import static com.github.jsonldjava.utils.Obj.newMap; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import com.github.jsonldjava.core.JsonLdError.Error; import com.github.jsonldjava.impl.NQuadRDFParser; import com.github.jsonldjava.impl.NQuadTripleCallback; /** * This class implements the * JsonLdProcessor interface, except that it does not currently support * asynchronous processing, and hence does not return Promises, instead directly * returning the results. * * @author tristan * */ public class JsonLdProcessor { /** * Compacts the given input using the context according to the steps in the * * Compaction algorithm. * * @param input * The input JSON-LD object. * @param context * The context object to use for the compaction algorithm. * @param opts * The {@link JsonLdOptions} that are to be sent to the * compaction algorithm. * @return The compacted JSON-LD document * @throws JsonLdError * If there is an error while compacting. */ public static Map compact(Object input, Object context, JsonLdOptions opts) throws JsonLdError { // 1) // TODO: look into java futures/promises // 2-6) NOTE: these are all the same steps as in expand final Object expanded = expand(input, opts); // 7) if (context instanceof Map && ((Map) context).containsKey(JsonLdConsts.CONTEXT)) { context = ((Map) context).get(JsonLdConsts.CONTEXT); } Context activeCtx = new Context(opts); activeCtx = activeCtx.parse(context); // 8) Object compacted = new JsonLdApi(opts).compact(activeCtx, null, expanded, opts.getCompactArrays()); // final step of Compaction Algorithm // TODO: SPEC: the result result is a NON EMPTY array, if (compacted instanceof List) { if (((List) compacted).isEmpty()) { compacted = newMap(); } else { final Map tmp = newMap(); // TODO: SPEC: doesn't specify to use vocab = true here tmp.put(activeCtx.compactIri(JsonLdConsts.GRAPH, true), compacted); compacted = tmp; } } if (compacted != null) { final Object returnedContext = returnedContext(context, opts); if(returnedContext != null) { // TODO: figure out if we can make "@context" appear at the start of // the keySet ((Map) compacted).put(JsonLdConsts.CONTEXT, returnedContext); } } // 9) return (Map) compacted; } /** * Expands the given input according to the steps in the * Expansion * algorithm. * * @param input * The input JSON-LD object. * @param opts * The {@link JsonLdOptions} that are to be sent to the expansion * algorithm. * @return The expanded JSON-LD document * @throws JsonLdError * If there is an error while expanding. */ public static List expand(Object input, JsonLdOptions opts) throws JsonLdError { // 1) // TODO: look into java futures/promises // 2) TODO: better verification of DOMString IRI if (input instanceof String && ((String) input).contains(":")) { try { final RemoteDocument tmp = opts.getDocumentLoader().loadDocument((String) input); input = tmp.getDocument(); // TODO: figure out how to deal with remote context } catch (final Exception e) { throw new JsonLdError(Error.LOADING_DOCUMENT_FAILED, e); } // if set the base in options should override the base iri in the // active context // thus only set this as the base iri if it's not already set in // options if (opts.getBase() == null) { opts.setBase((String) input); } } // 3) Context activeCtx = new Context(opts); // 4) if (opts.getExpandContext() != null) { Object exCtx = opts.getExpandContext(); if (exCtx instanceof Map && ((Map) exCtx).containsKey(JsonLdConsts.CONTEXT)) { exCtx = ((Map) exCtx).get(JsonLdConsts.CONTEXT); } activeCtx = activeCtx.parse(exCtx); } // 5) // TODO: add support for getting a context from HTTP when content-type // is set to a jsonld compatable format // 6) Object expanded = new JsonLdApi(opts).expand(activeCtx, input); // final step of Expansion Algorithm if (expanded instanceof Map && ((Map) expanded).containsKey(JsonLdConsts.GRAPH) && ((Map) expanded).size() == 1) { expanded = ((Map) expanded).get(JsonLdConsts.GRAPH); } else if (expanded == null) { expanded = new ArrayList(); } // normalize to an array if (!(expanded instanceof List)) { final List tmp = new ArrayList(); tmp.add(expanded); expanded = tmp; } return (List) expanded; } /** * Expands the given input according to the steps in the * Expansion * algorithm, using the default {@link JsonLdOptions}. * * @param input * The input JSON-LD object. * @return The expanded JSON-LD document * @throws JsonLdError * If there is an error while expanding. */ public static List expand(Object input) throws JsonLdError { return expand(input, new JsonLdOptions("")); } public static Object flatten(Object input, Object context, JsonLdOptions opts) throws JsonLdError { // 2-6) NOTE: these are all the same steps as in expand final Object expanded = expand(input, opts); // 7) if (context instanceof Map && ((Map) context).containsKey(JsonLdConsts.CONTEXT)) { context = ((Map) context).get(JsonLdConsts.CONTEXT); } // 8) NOTE: blank node generation variables are members of JsonLdApi // 9) NOTE: the next block is the Flattening Algorithm described in // http://json-ld.org/spec/latest/json-ld-api/#flattening-algorithm // 1) final Map nodeMap = newMap(); nodeMap.put(JsonLdConsts.DEFAULT, newMap()); // 2) new JsonLdApi(opts).generateNodeMap(expanded, nodeMap); // 3) final Map defaultGraph = (Map) nodeMap .remove(JsonLdConsts.DEFAULT); // 4) for (final String graphName : nodeMap.keySet()) { final Map graph = (Map) nodeMap.get(graphName); // 4.1+4.2) Map entry; if (!defaultGraph.containsKey(graphName)) { entry = newMap(); entry.put(JsonLdConsts.ID, graphName); defaultGraph.put(graphName, entry); } else { entry = (Map) defaultGraph.get(graphName); } // 4.3) // TODO: SPEC doesn't specify that this should only be added if it // doesn't exists if (!entry.containsKey(JsonLdConsts.GRAPH)) { entry.put(JsonLdConsts.GRAPH, new ArrayList()); } final List keys = new ArrayList(graph.keySet()); Collections.sort(keys); for (final String id : keys) { final Map node = (Map) graph.get(id); if (!(node.containsKey(JsonLdConsts.ID) && node.size() == 1)) { ((List) entry.get(JsonLdConsts.GRAPH)).add(node); } } } // 5) final List flattened = new ArrayList(); // 6) final List keys = new ArrayList(defaultGraph.keySet()); Collections.sort(keys); for (final String id : keys) { final Map node = (Map) defaultGraph.get(id); if (!(node.containsKey(JsonLdConsts.ID) && node.size() == 1)) { flattened.add(node); } } // 8) if (context != null && !flattened.isEmpty()) { Context activeCtx = new Context(opts); activeCtx = activeCtx.parse(context); // TODO: only instantiate one jsonldapi Object compacted = new JsonLdApi(opts).compact(activeCtx, null, flattened, opts.getCompactArrays()); if (!(compacted instanceof List)) { final List tmp = new ArrayList(); tmp.add(compacted); compacted = tmp; } final String alias = activeCtx.compactIri(JsonLdConsts.GRAPH); final Map rval = newMap(); final Object returnedContext = returnedContext(context, opts); if(returnedContext != null) { rval.put(JsonLdConsts.CONTEXT, returnedContext); } rval.put(alias, compacted); return rval; } return flattened; } /** * Flattens the given input and compacts it using the passed context * according to the steps in the * * Flattening algorithm: * * @param input * The input JSON-LD object. * @param opts * The {@link JsonLdOptions} that are to be sent to the * flattening algorithm. * @return The flattened JSON-LD document * @throws JsonLdError * If there is an error while flattening. */ public static Object flatten(Object input, JsonLdOptions opts) throws JsonLdError { return flatten(input, null, opts); } /** * Frames the given input using the frame according to the steps in the * * Framing Algorithm. * * @param input * The input JSON-LD object. * @param frame * The frame to use when re-arranging the data of input; either * in the form of an JSON object or as IRI. * @param opts * The {@link JsonLdOptions} that are to be sent to the framing * algorithm. * @return The framed JSON-LD document * @throws JsonLdError * If there is an error while framing. */ public static Map frame(Object input, Object frame, JsonLdOptions opts) throws JsonLdError { if (frame instanceof Map) { frame = JsonLdUtils.clone(frame); } // TODO string/IO input // 2. Set expanded input to the result of using the expand method using // input and options. final Object expandedInput = expand(input, opts); // 3. Set expanded frame to the result of using the expand method using // frame and options with expandContext set to null and the // frameExpansion option set to true. final Object savedExpandedContext = opts.getExpandContext(); opts.setExpandContext(null); opts.setFrameExpansion(true); final List expandedFrame = expand(frame, opts); opts.setExpandContext(savedExpandedContext); // 4. Set context to the value of @context from frame, if it exists, or // to a new empty // context, otherwise. final JsonLdApi api = new JsonLdApi(expandedInput, opts); final Object context = ((Map) frame).get(JsonLdConsts.CONTEXT); final Context activeCtx = api.context.parse(context); final List framed = api.frame(expandedInput, expandedFrame); if (opts.getPruneBlankNodeIdentifiers()) { JsonLdUtils.pruneBlankNodes(framed); } Object compacted = api.compact(activeCtx, null, framed, opts.getCompactArrays()); final Map rval = newMap(); final Object returnedContext = returnedContext(context, opts); if(returnedContext != null) { rval.put(JsonLdConsts.CONTEXT, returnedContext); } final boolean addGraph = ((!(compacted instanceof List)) && !opts.getOmitGraph()); if (addGraph && !(compacted instanceof List)) { final List tmp = new ArrayList(); tmp.add(compacted); compacted = tmp; } if (addGraph || (compacted instanceof List)) { final String alias = activeCtx.compactIri(JsonLdConsts.GRAPH); rval.put(alias, compacted); } else if (!addGraph && (compacted instanceof Map)) { rval.putAll((Map) compacted); } JsonLdUtils.removePreserve(activeCtx, rval, opts); return rval; } /** * Builds the context to be returned in framing, flattening and compaction algorithms. * In cases where the context is empty or from an unexpected type, it returns null. * When JsonLdOptions compactArrays is set to true and the context contains a List with a single element, * the element is returned instead of the list */ private static Object returnedContext(Object context, JsonLdOptions opts) { if (context != null && ((context instanceof Map && !((Map) context).isEmpty()) || (context instanceof List && !((List) context).isEmpty()) || (context instanceof String && !((String) context).isEmpty()))) { if (context instanceof List && ((List) context).size() == 1 && opts.getCompactArrays()) { return ((List) context).get(0); } return context; } else { return null; } } /** * A registry for RDF Parsers (in this case, JSONLDSerializers) used by * fromRDF if no specific serializer is specified and options.format is set. * * TODO: this would fit better in the document loader class */ private static Map rdfParsers = new LinkedHashMap() { { // automatically register nquad serializer put(JsonLdConsts.APPLICATION_NQUADS, new NQuadRDFParser()); } }; public static void registerRDFParser(String format, RDFParser parser) { rdfParsers.put(format, parser); } public static void removeRDFParser(String format) { rdfParsers.remove(format); } /** * Converts an RDF dataset to JSON-LD. * * @param dataset * a serialized string of RDF in a format specified by the format * option or an RDF dataset to convert. * @param options * the options to use: [format] the format if input is not an * array: 'application/nquads' for N-Quads (default). * [useRdfType] true to use rdf:type, false to use @type * (default: false). [useNativeTypes] true to convert XSD types * into native types (boolean, integer, double), false not to * (default: true). * @return A JSON-LD object. * @throws JsonLdError * If there is an error converting the dataset to JSON-LD. */ public static Object fromRDF(Object dataset, JsonLdOptions options) throws JsonLdError { // handle non specified serializer case RDFParser parser = null; if (options.format == null && dataset instanceof String) { // attempt to parse the input as nquads options.format = JsonLdConsts.APPLICATION_NQUADS; } if (rdfParsers.containsKey(options.format)) { parser = rdfParsers.get(options.format); } else { throw new JsonLdError(JsonLdError.Error.UNKNOWN_FORMAT, options.format); } // convert from RDF return fromRDF(dataset, options, parser); } /** * Converts an RDF dataset to JSON-LD, using the default * {@link JsonLdOptions}. * * @param dataset * a serialized string of RDF in a format specified by the format * option or an RDF dataset to convert. * @return The JSON-LD object represented by the given RDF dataset * @throws JsonLdError * If there was an error converting from RDF to JSON-LD */ public static Object fromRDF(Object dataset) throws JsonLdError { return fromRDF(dataset, new JsonLdOptions("")); } /** * Converts an RDF dataset to JSON-LD, using a specific instance of * {@link RDFParser}. * * @param input * a serialized string of RDF in a format specified by the format * option or an RDF dataset to convert. * @param options * the options to use: [format] the format if input is not an * array: 'application/nquads' for N-Quads (default). * [useRdfType] true to use rdf:type, false to use @type * (default: false). [useNativeTypes] true to convert XSD types * into native types (boolean, integer, double), false not to * (default: true). * @param parser * A specific instance of {@link RDFParser} to use for the * conversion. * @return A JSON-LD object. * @throws JsonLdError * If there is an error converting the dataset to JSON-LD. */ public static Object fromRDF(Object input, JsonLdOptions options, RDFParser parser) throws JsonLdError { final RDFDataset dataset = parser.parse(input); // convert from RDF final Object rval = new JsonLdApi(options).fromRDF(dataset); // re-process using the generated context if outputForm is set if (options.outputForm != null) { if (JsonLdConsts.EXPANDED.equals(options.outputForm)) { return rval; } else if (JsonLdConsts.COMPACTED.equals(options.outputForm)) { return compact(rval, dataset.getContext(), options); } else if (JsonLdConsts.FLATTENED.equals(options.outputForm)) { return flatten(rval, dataset.getContext(), options); } else { throw new JsonLdError(JsonLdError.Error.UNKNOWN_ERROR, "Output form was unknown: " + options.outputForm); } } return rval; } /** * Converts an RDF dataset to JSON-LD, using a specific instance of * {@link RDFParser}, and the default {@link JsonLdOptions}. * * @param input * a serialized string of RDF in a format specified by the format * option or an RDF dataset to convert. * @param parser * A specific instance of {@link RDFParser} to use for the * conversion. * @return A JSON-LD object. * @throws JsonLdError * If there is an error converting the dataset to JSON-LD. */ public static Object fromRDF(Object input, RDFParser parser) throws JsonLdError { return fromRDF(input, new JsonLdOptions(""), parser); } /** * Outputs the RDF dataset found in the given JSON-LD object. * * @param input * the JSON-LD input. * @param callback * A callback that is called when the input has been converted to * Quads (null to use options.format instead). * @param options * the options to use: [base] the base IRI to use. [format] the * format to use to output a string: 'application/nquads' for * N-Quads (default). [loadContext(url, callback(err, url, * result))] the context loader. * @return The result of executing * {@link JsonLdTripleCallback#call(RDFDataset)} on the results, or * if {@link JsonLdOptions#format} is not null, a result in that * format if it is found, or otherwise the raw {@link RDFDataset}. * @throws JsonLdError * If there is an error converting the dataset to JSON-LD. */ public static Object toRDF(Object input, JsonLdTripleCallback callback, JsonLdOptions options) throws JsonLdError { final Object expandedInput = expand(input, options); final JsonLdApi api = new JsonLdApi(expandedInput, options); final RDFDataset dataset = api.toRDF(); // generate namespaces from context if (options.useNamespaces) { List> _input; if (input instanceof List) { _input = (List>) input; } else { _input = new ArrayList>(); _input.add((Map) input); } for (final Map e : _input) { if (e.containsKey(JsonLdConsts.CONTEXT)) { dataset.parseContext(e.get(JsonLdConsts.CONTEXT)); } } } if (callback != null) { return callback.call(dataset); } if (options.format != null) { if (JsonLdConsts.APPLICATION_NQUADS.equals(options.format)) { return new NQuadTripleCallback().call(dataset); } else { throw new JsonLdError(JsonLdError.Error.UNKNOWN_FORMAT, options.format); } } return dataset; } /** * Outputs the RDF dataset found in the given JSON-LD object. * * @param input * the JSON-LD input. * @param options * the options to use: [base] the base IRI to use. [format] the * format to use to output a string: 'application/nquads' for * N-Quads (default). [loadContext(url, callback(err, url, * result))] the context loader. * @return A JSON-LD object. * @throws JsonLdError * If there is an error converting the dataset to JSON-LD. */ public static Object toRDF(Object input, JsonLdOptions options) throws JsonLdError { return toRDF(input, null, options); } /** * Outputs the RDF dataset found in the given JSON-LD object, using the * default {@link JsonLdOptions}. * * @param input * the JSON-LD input. * @param callback * A callback that is called when the input has been converted to * Quads (null to use options.format instead). * @return A JSON-LD object. * @throws JsonLdError * If there is an error converting the dataset to JSON-LD. */ public static Object toRDF(Object input, JsonLdTripleCallback callback) throws JsonLdError { return toRDF(input, callback, new JsonLdOptions("")); } /** * Outputs the RDF dataset found in the given JSON-LD object, using the * default {@link JsonLdOptions}. * * @param input * the JSON-LD input. * @return A JSON-LD object. * @throws JsonLdError * If there is an error converting the dataset to JSON-LD. */ public static Object toRDF(Object input) throws JsonLdError { return toRDF(input, new JsonLdOptions("")); } /** * Performs RDF dataset normalization on the given JSON-LD input. The output * is an RDF dataset unless the 'format' option is used. * * @param input * the JSON-LD input to normalize. * @param options * the options to use: [base] the base IRI to use. [format] the * format if output is a string: 'application/nquads' for * N-Quads. [loadContext(url, callback(err, url, result))] the * context loader. * @return The JSON-LD object * @throws JsonLdError * If there is an error normalizing the dataset. */ public static Object normalize(Object input, JsonLdOptions options) throws JsonLdError { final JsonLdOptions opts = options.copy(); opts.format = null; final RDFDataset dataset = (RDFDataset) toRDF(input, opts); return new JsonLdApi(options).normalize(dataset); } /** * Performs RDF dataset normalization on the given JSON-LD input. The output * is an RDF dataset unless the 'format' option is used. Uses the default * {@link JsonLdOptions}. * * @param input * the JSON-LD input to normalize. * @return The JSON-LD object * @throws JsonLdError * If there is an error normalizing the dataset. */ public static Object normalize(Object input) throws JsonLdError { return normalize(input, new JsonLdOptions("")); } } jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/core/JsonLdTripleCallback.java000066400000000000000000000041161452212752100313540ustar00rootroot00000000000000package com.github.jsonldjava.core; /** * * @author Tristan * * TODO: in the JSONLD RDF API the callback we're representing here is * QuadCallback which takes a list of quads (subject, predicat, object, * graph). for the moment i'm just going to use the dataset provided by * toRDF but this should probably change in the future */ public interface JsonLdTripleCallback { /** * Construct output based on internal RDF dataset format * * @param dataset * The format of the dataset is a Map with the following * structure: { GRAPH_1: [ TRIPLE_1, TRIPLE_2, ..., TRIPLE_N ], * GRAPH_2: [ TRIPLE_1, TRIPLE_2, ..., TRIPLE_N ], ... GRAPH_N: [ * TRIPLE_1, TRIPLE_2, ..., TRIPLE_N ] } * * GRAPH: Is the graph name/IRI. if no graph is present for a * triple, it will be listed under the "@default" graph TRIPLE: * Is a map with the following structure: { "subject" : SUBJECT * "predicate" : PREDICATE "object" : OBJECT } * * Each of the values in the triple map are also maps with the * following key-value pairs: "value" : The value of the node. * "subject" can be an IRI or blank node id. "predicate" should * only ever be an IRI "object" can be and IRI or blank node id, * or a literal value (represented as a string) "type" : "IRI" if * the value is an IRI or "blank node" if the value is a blank * node. "object" can also be "literal" in the case of literals. * The value of "object" can also contain the following optional * key-value pairs: "language" : the language value of a string * literal "datatype" : the datatype of the literal. (if not set * will default to XSD:string, if set to null, null will be * used). * * @return the resulting RDF object in the desired format */ public Object call(RDFDataset dataset); } jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/core/JsonLdUtils.java000066400000000000000000000420111452212752100275740ustar00rootroot00000000000000package com.github.jsonldjava.core; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import com.github.jsonldjava.utils.Obj; public class JsonLdUtils { private static final int MAX_CONTEXT_URLS = 10; /** * Returns whether or not the given value is a keyword (or a keyword alias). * * @param v * the value to check. * @param [ctx] * the active context to check against. * * @return true if the value is a keyword, false if not. */ static boolean isKeyword(Object key) { if (!isString(key)) { return false; } return "@base".equals(key) || "@context".equals(key) || "@container".equals(key) || "@default".equals(key) || "@embed".equals(key) || "@explicit".equals(key) || "@graph".equals(key) || "@id".equals(key) || "@index".equals(key) || "@language".equals(key) || "@list".equals(key) || "@omitDefault".equals(key) || "@reverse".equals(key) || "@preserve".equals(key) || "@set".equals(key) || "@type".equals(key) || "@value".equals(key) || "@vocab".equals(key) || "@requireAll".equals(key); } public static Boolean deepCompare(Object v1, Object v2, Boolean listOrderMatters) { if (v1 == null) { return v2 == null; } else if (v2 == null) { return v1 == null; } else if (v1 instanceof Map && v2 instanceof Map) { final Map m1 = (Map) v1; final Map m2 = (Map) v2; if (m1.size() != m2.size()) { return false; } for (final String key : m1.keySet()) { if (!m2.containsKey(key) || !deepCompare(m1.get(key), m2.get(key), listOrderMatters)) { return false; } } return true; } else if (v1 instanceof List && v2 instanceof List) { final List l1 = (List) v1; final List l2 = (List) v2; if (l1.size() != l2.size()) { return false; } // used to mark members of l2 that we have already matched to avoid // matching the same item twice for lists that have duplicates final boolean alreadyMatched[] = new boolean[l2.size()]; for (int i = 0; i < l1.size(); i++) { final Object o1 = l1.get(i); Boolean gotmatch = false; if (listOrderMatters) { gotmatch = deepCompare(o1, l2.get(i), listOrderMatters); } else { for (int j = 0; j < l2.size(); j++) { if (!alreadyMatched[j] && deepCompare(o1, l2.get(j), listOrderMatters)) { alreadyMatched[j] = true; gotmatch = true; break; } } } if (!gotmatch) { return false; } } return true; } else { return v1.equals(v2); } } public static Boolean deepCompare(Object v1, Object v2) { return deepCompare(v1, v2, false); } public static boolean deepContains(List values, Object value) { for (final Object item : values) { if (deepCompare(item, value, false)) { return true; } } return false; } static void mergeValue(Map obj, String key, Object value) { if (obj == null) { return; } List values = (List) obj.get(key); if (values == null) { values = new ArrayList(); obj.put(key, values); } if ("@list".equals(key) || (value instanceof Map && ((Map) value).containsKey("@list")) || !deepContains(values, value)) { values.add(value); } } static void laxMergeValue(Map obj, String key, Object value) { if (obj == null) { return; } List values = (List) obj.get(key); if (values == null) { values = new ArrayList(); obj.put(key, values); } // if ("@list".equals(key) // || (value instanceof Map && ((Map) // value).containsKey("@list")) // || !deepContains(values, value) // ) { values.add(value); // } } public static boolean isAbsoluteIri(String value) { // TODO: this is a bit simplistic! return value.contains(":"); } /** * Returns true if the given value is a subject with properties. * * @param v * the value to check. * * @return true if the value is a subject with properties, false if not. */ static boolean isNode(Object v) { // Note: A value is a subject if all of these hold true: // 1. It is an Object. // 2. It is not a @value, @set, or @list. // 3. It has more than 1 key OR any existing key is not @id. if (v instanceof Map && !(((Map) v).containsKey("@value") || ((Map) v).containsKey("@set") || ((Map) v).containsKey("@list"))) { return ((Map) v).size() > 1 || !((Map) v).containsKey("@id"); } return false; } /** * Returns true if the given value is a subject reference. * * @param v * the value to check. * * @return true if the value is a subject reference, false if not. */ static boolean isNodeReference(Object v) { // Note: A value is a subject reference if all of these hold true: // 1. It is an Object. // 2. It has a single key: @id. return (v instanceof Map && ((Map) v).size() == 1 && ((Map) v).containsKey("@id")); } // TODO: fix this test public static boolean isRelativeIri(String value) { if (!(isKeyword(value) || isAbsoluteIri(value))) { return true; } return false; } /** * Removes the @preserve keywords as the last step of the framing algorithm. * * @param ctx * the active context used to compact the input. * @param input * the framed, compacted output. * @param options * the compaction options used. * * @return the resulting output. * @throws JsonLdError */ static Object removePreserve(Context ctx, Object input, JsonLdOptions opts) throws JsonLdError { // recurse through arrays if (isArray(input)) { final List output = new ArrayList(); for (final Object i : (List) input) { final Object result = removePreserve(ctx, i, opts); // drop nulls from arrays if (result != null) { output.add(result); } } input = output; } else if (isObject(input)) { // remove @preserve if (((Map) input).containsKey("@preserve")) { if ("@null".equals(((Map) input).get("@preserve"))) { return null; } return ((Map) input).get("@preserve"); } // skip @values if (isValue(input)) { return input; } // recurse through @lists if (isList(input)) { ((Map) input).put("@list", removePreserve(ctx, ((Map) input).get("@list"), opts)); return input; } // recurse through properties for (final String prop : ((Map) input).keySet()) { Object result = removePreserve(ctx, ((Map) input).get(prop), opts); final String container = ctx.getContainer(prop); if (opts.getCompactArrays() && isArray(result) && ((List) result).size() == 1 && container == null) { result = ((List) result).get(0); } ((Map) input).put(prop, result); } } return input; } /** * Removes the @id member of each node object where the member value is a * blank node identifier which appears only once in any property value * within input. * * @param input * the framed output before compaction */ static void pruneBlankNodes(final Object input) { final Map toPrune = new HashMap<>(); fillNodesToPrune(input, toPrune); for (final String id : toPrune.keySet()) { final Object node = toPrune.get(id); if (node == null) { continue; } ((Map) node).remove(JsonLdConsts.ID); } } /** * Gets the objects on which we'll prune the blank node ID * * @param input * the framed output before compaction * @param toPrune * the resulting object. */ static void fillNodesToPrune(Object input, final Map toPrune) { // recurse through arrays if (isArray(input)) { for (final Object i : (List) input) { fillNodesToPrune(i, toPrune); } } else if (isObject(input)) { // skip @values if (isValue(input)) { return; } // recurse through @lists if (isList(input)) { fillNodesToPrune(((Map) input).get("@list"), toPrune); return; } // recurse through properties for (final String prop : new LinkedHashSet<>(((Map) input).keySet())) { if (prop.equals(JsonLdConsts.ID)) { final String id = (String) ((Map) input).get(JsonLdConsts.ID); if (id.startsWith("_:")) { // if toPrune contains the id already, it was already // present somewhere else, // so we just null the value if (toPrune.containsKey(id)) { toPrune.put(id, null); } else { // else we add the object as the value toPrune.put(id, input); } } } else { fillNodesToPrune(((Map) input).get(prop), toPrune); } } } else if (input instanceof String) { // this is an id, as non-id values will have been discarded by the // isValue() above final String p = (String) input; if (p.startsWith("_:")) { // the id is outside of the context of an @id property, if we're // in that case, // then we're referencing a blank node id so this id should not // be removed toPrune.put(p, null); } } } /** * Compares two strings first based on length and then lexicographically. * * @param a * the first string. * @param b * the second string. * * @return -1 if a < b, 1 if a > b, 0 if a == b. */ static int compareShortestLeast(String a, String b) { if (a.length() < b.length()) { return -1; } else if (b.length() < a.length()) { return 1; } return Integer.signum(a.compareTo(b)); } /** * Compares two JSON-LD values for equality. Two JSON-LD values will be * considered equal if: * * 1. They are both primitives of the same type and value. 2. They are * both @values with the same @value, @type, and @language, OR 3. They both * have @ids they are the same. * * @param v1 * the first value. * @param v2 * the second value. * * @return true if v1 and v2 are considered equal, false if not. */ static boolean compareValues(Object v1, Object v2) { if (v1.equals(v2)) { return true; } if (isValue(v1) && isValue(v2) && Obj.equals(((Map) v1).get("@value"), ((Map) v2).get("@value")) && Obj.equals(((Map) v1).get("@type"), ((Map) v2).get("@type")) && Obj.equals(((Map) v1).get("@language"), ((Map) v2).get("@language")) && Obj.equals(((Map) v1).get("@index"), ((Map) v2).get("@index"))) { return true; } if ((v1 instanceof Map && ((Map) v1).containsKey("@id")) && (v2 instanceof Map && ((Map) v2).containsKey("@id")) && ((Map) v1).get("@id") .equals(((Map) v2).get("@id"))) { return true; } return false; } /** * Returns true if the given value is a blank node. * * @param v * the value to check. * * @return true if the value is a blank node, false if not. */ static boolean isBlankNode(Object v) { // Note: A value is a blank node if all of these hold true: // 1. It is an Object. // 2. If it has an @id key its value begins with '_:'. // 3. It has no keys OR is not a @value, @set, or @list. if (v instanceof Map) { final Map map = (Map) v; if (map.containsKey("@id")) { return ((String) map.get("@id")).startsWith("_:"); } else { return map.isEmpty() || !map.containsKey("@value") || map.containsKey("@set") || map.containsKey("@list"); } } return false; } static Object clone(Object value) {// throws // CloneNotSupportedException { Object rval = null; if (value instanceof Cloneable) { try { rval = value.getClass().getMethod("clone").invoke(value); } catch (final Exception e) { rval = e; } } if (rval == null || rval instanceof Exception) { // the object wasn't cloneable, or an error occured if (value == null || value instanceof String || value instanceof Number || value instanceof Boolean) { // strings numbers and booleans are immutable rval = value; } else { // TODO: making this throw runtime exception so it doesn't have // to be caught // because simply it should never fail in the case of JSON-LD // and means that // the input JSON-LD is invalid throw new RuntimeException(new CloneNotSupportedException( (rval instanceof Exception ? ((Exception) rval).getMessage() : ""))); } } return rval; } /** * Returns true if the given value is a JSON-LD Array * * @param v * the value to check. * @return */ static Boolean isArray(Object v) { return (v instanceof List); } /** * Returns true if the given value is a JSON-LD List * * @param v * the value to check. * @return */ static Boolean isList(Object v) { return (v instanceof Map && ((Map) v).containsKey("@list")); } /** * Returns true if the given value is a JSON-LD Object * * @param v * the value to check. * @return */ static Boolean isObject(Object v) { return (v instanceof Map); } /** * Returns true if the given value is a JSON-LD value * * @param v * the value to check. * @return */ static Boolean isValue(Object v) { return (v instanceof Map && ((Map) v).containsKey("@value")); } /** * Returns true if the given value is a JSON-LD string * * @param v * the value to check. * @return */ static Boolean isString(Object v) { // TODO: should this return true for arrays of strings as well? return (v instanceof String); } }jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/core/NormalizeUtils.java000066400000000000000000000623211452212752100303510ustar00rootroot00000000000000package com.github.jsonldjava.core; import static com.github.jsonldjava.core.RDFDatasetUtils.parseNQuads; import static com.github.jsonldjava.core.RDFDatasetUtils.toNQuad; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import com.github.jsonldjava.utils.Obj; class NormalizeUtils { private final UniqueNamer namer; private final Map bnodes; private final List quads; private final JsonLdOptions options; public NormalizeUtils(List quads, Map bnodes, UniqueNamer namer, JsonLdOptions options) { this.options = options; this.quads = quads; this.bnodes = bnodes; this.namer = namer; } // generates unique and duplicate hashes for bnodes public Object hashBlankNodes(Collection unnamed_) throws JsonLdError { List unnamed = new ArrayList(unnamed_); List nextUnnamed = new ArrayList(); Map> duplicates = new LinkedHashMap>(); Map unique = new LinkedHashMap(); // NOTE: not using the same structure as javascript here to avoid // possible stack overflows // hash quads for each unnamed bnode for (int hui = 0;; hui++) { if (hui == unnamed.size()) { // done, name blank nodes Boolean named = false; List hashes = new ArrayList(unique.keySet()); Collections.sort(hashes); for (final String hash : hashes) { final String bnode = unique.get(hash); namer.getName(bnode); named = true; } // continue to hash bnodes if a bnode was assigned a name if (named) { // this resets the initial variables, so it seems like it // has to go on the stack // but since this is the end of the function either way, it // might not have to // hashBlankNodes(unnamed); hui = -1; unnamed = nextUnnamed; nextUnnamed = new ArrayList(); duplicates = new LinkedHashMap>(); unique = new LinkedHashMap(); continue; } // name the duplicate hash bnods else { // names duplicate hash bnodes // enumerate duplicate hash groups in sorted order hashes = new ArrayList(duplicates.keySet()); Collections.sort(hashes); // process each group for (int pgi = 0;; pgi++) { if (pgi == hashes.size()) { // done, create JSON-LD array // return createArray(); final List normalized = new ArrayList(); // Note: At this point all bnodes in the set of RDF // quads have been // assigned canonical names, which have been stored // in the 'namer' object. // Here each quad is updated by assigning each of // its bnodes its new name // via the 'namer' object // update bnode names in each quad and serialize for (int cai = 0; cai < quads.size(); ++cai) { final Map quad = (Map) quads .get(cai); for (final String attr : new String[] { "subject", "object", "name" }) { if (quad.containsKey(attr)) { final Map qa = (Map) quad .get(attr); if (qa != null && "blank node".equals(qa.get("type")) && ((String) qa.get("value")) .indexOf("_:c14n") != 0) { qa.put("value", namer.getName((String) qa.get(("value")))); } } } normalized.add(toNQuad((RDFDataset.Quad) quad, quad.containsKey("name") && quad.get("name") != null ? (String) ((Map) quad.get("name")) .get("value") : null)); } // sort normalized output Collections.sort(normalized); // handle output format if (options.format != null) { if (JsonLdConsts.APPLICATION_NQUADS.equals(options.format)) { final StringBuilder rval = new StringBuilder(); for (final String n : normalized) { rval.append(n); } return rval.toString(); } else { throw new JsonLdError(JsonLdError.Error.UNKNOWN_FORMAT, options.format); } } final StringBuilder rval = new StringBuilder(); for (final String n : normalized) { rval.append(n); } return parseNQuads(rval.toString()); } // name each group member final List group = duplicates.get(hashes.get(pgi)); final List results = new ArrayList(); for (int n = 0;; n++) { if (n == group.size()) { // name bnodes in hash order Collections.sort(results, new Comparator() { @Override public int compare(HashResult a, HashResult b) { final int res = a.hash.compareTo(b.hash); return res; } }); for (final HashResult r : results) { // name all bnodes in path namer in // key-entry order // Note: key-order is preserved in // javascript for (final String key : r.pathNamer.existing().keySet()) { namer.getName(key); } } // processGroup(i+1); break; } else { // skip already-named bnodes final String bnode = group.get(n); if (namer.isNamed(bnode)) { continue; } // hash bnode paths final UniqueNamer pathNamer = new UniqueNamer("_:b"); pathNamer.getName(bnode); final HashResult result = hashPaths(bnode, bnodes, namer, pathNamer); results.add(result); } } } } } // hash unnamed bnode final String bnode = unnamed.get(hui); final String hash = hashQuads(bnode, bnodes, namer); // store hash as unique or a duplicate if (duplicates.containsKey(hash)) { duplicates.get(hash).add(bnode); nextUnnamed.add(bnode); } else if (unique.containsKey(hash)) { final List tmp = new ArrayList(); tmp.add(unique.get(hash)); tmp.add(bnode); duplicates.put(hash, tmp); nextUnnamed.add(unique.get(hash)); nextUnnamed.add(bnode); unique.remove(hash); } else { unique.put(hash, bnode); } } } private static class HashResult { String hash; UniqueNamer pathNamer; } /** * Produces a hash for the paths of adjacent bnodes for a bnode, * incorporating all information about its subgraph of bnodes. This method * will recursively pick adjacent bnode permutations that produce the * lexicographically-least 'path' serializations. * * @param id * the ID of the bnode to hash paths for. * @param bnodes * the map of bnode quads. * @param namer * the canonical bnode namer. * @param pathNamer * the namer used to assign names to adjacent bnodes. * @param callback * (err, result) called once the operation completes. */ private static HashResult hashPaths(String id, Map bnodes, UniqueNamer namer, UniqueNamer pathNamer) { try { // create SHA-1 digest final MessageDigest md = MessageDigest.getInstance("SHA-1"); final Map> groups = new LinkedHashMap>(); List groupHashes; final List quads = (List) ((Map) bnodes.get(id)) .get("quads"); for (int hpi = 0;; hpi++) { if (hpi == quads.size()) { // done , hash groups groupHashes = new ArrayList(groups.keySet()); Collections.sort(groupHashes); for (int hgi = 0;; hgi++) { if (hgi == groupHashes.size()) { final HashResult res = new HashResult(); res.hash = encodeHex(md.digest()); res.pathNamer = pathNamer; return res; } // digest group hash final String groupHash = groupHashes.get(hgi); md.update(groupHash.getBytes("UTF-8")); // choose a path and namer from the permutations String chosenPath = null; UniqueNamer chosenNamer = null; final Permutator permutator = new Permutator(groups.get(groupHash)); while (true) { Boolean contPermutation = false; Boolean breakOut = false; final List permutation = permutator.next(); UniqueNamer pathNamerCopy = pathNamer.clone(); // build adjacent path String path = ""; final List recurse = new ArrayList(); for (final String bnode : permutation) { // use canonical name if available if (namer.isNamed(bnode)) { path += namer.getName(bnode); } else { // recurse if bnode isn't named in the path // yet if (!pathNamerCopy.isNamed(bnode)) { recurse.add(bnode); } path += pathNamerCopy.getName(bnode); } // skip permutation if path is already >= chosen // path if (chosenPath != null && path.length() >= chosenPath.length() && path.compareTo(chosenPath) > 0) { // return nextPermutation(true); if (permutator.hasNext()) { contPermutation = true; } else { // digest chosen path and update namer md.update(chosenPath.getBytes("UTF-8")); pathNamer = chosenNamer; // hash the nextGroup breakOut = true; } break; } } // if we should do the next permutation if (contPermutation) { continue; } // if we should stop processing this group if (breakOut) { break; } // does the next recursion for (int nrn = 0;; nrn++) { if (nrn == recurse.size()) { // return nextPermutation(false); if (chosenPath == null || path.compareTo(chosenPath) < 0) { chosenPath = path; chosenNamer = pathNamerCopy; } if (!permutator.hasNext()) { // digest chosen path and update namer md.update(chosenPath.getBytes("UTF-8")); pathNamer = chosenNamer; // hash the nextGroup breakOut = true; } break; } // do recursion final String bnode = recurse.get(nrn); final HashResult result = hashPaths(bnode, bnodes, namer, pathNamerCopy); path += pathNamerCopy.getName(bnode) + "<" + result.hash + ">"; pathNamerCopy = result.pathNamer; // skip permutation if path is already >= chosen // path if (chosenPath != null && path.length() >= chosenPath.length() && path.compareTo(chosenPath) > 0) { // return nextPermutation(true); if (!permutator.hasNext()) { // digest chosen path and update namer md.update(chosenPath.getBytes("UTF-8")); pathNamer = chosenNamer; // hash the nextGroup breakOut = true; } break; } // do next recursion } // if we should stop processing this group if (breakOut) { break; } } } } // get adjacent bnode final Map quad = (Map) quads.get(hpi); String bnode = getAdjacentBlankNodeName((Map) quad.get("subject"), id); String direction = null; if (bnode != null) { // normal property direction = "p"; } else { bnode = getAdjacentBlankNodeName((Map) quad.get("object"), id); if (bnode != null) { // reverse property direction = "r"; } } if (bnode != null) { // get bnode name (try canonical, path, then hash) String name; if (namer.isNamed(bnode)) { name = namer.getName(bnode); } else if (pathNamer.isNamed(bnode)) { name = pathNamer.getName(bnode); } else { name = hashQuads(bnode, bnodes, namer); } // hash direction, property, end bnode name/hash final MessageDigest md1 = MessageDigest.getInstance("SHA-1"); // String toHash = direction + (String) ((Map) quad.get("predicate")).get("value") + name; md1.update(direction.getBytes("UTF-8")); md1.update(((String) ((Map) quad.get("predicate")).get("value")) .getBytes("UTF-8")); md1.update(name.getBytes("UTF-8")); final String groupHash = encodeHex(md1.digest()); if (groups.containsKey(groupHash)) { groups.get(groupHash).add(bnode); } else { final List tmp = new ArrayList(); tmp.add(bnode); groups.put(groupHash, tmp); } } } } catch (final NoSuchAlgorithmException e) { // TODO: i don't expect that SHA-1 is even NOT going to be // available? // look into this further throw new RuntimeException(e); } catch (final UnsupportedEncodingException e) { // TODO: i don't expect that UTF-8 is ever not going to be available // either throw new RuntimeException(e); } } /** * Hashes all of the quads about a blank node. * * @param id * the ID of the bnode to hash quads for. * @param bnodes * the mapping of bnodes to quads. * @param namer * the canonical bnode namer. * * @return the new hash. */ private static String hashQuads(String id, Map bnodes, UniqueNamer namer) { // return cached hash if (((Map) bnodes.get(id)).containsKey("hash")) { return (String) ((Map) bnodes.get(id)).get("hash"); } // serialize all of bnode's quads final List> quads = (List>) ((Map) bnodes .get(id)).get("quads"); final List nquads = new ArrayList(); for (int i = 0; i < quads.size(); ++i) { nquads.add(toNQuad((RDFDataset.Quad) quads.get(i), quads.get(i).get("name") != null ? (String) ((Map) quads.get(i).get("name")).get("value") : null, id)); } // sort serialized quads Collections.sort(nquads); // return hashed quads final String hash = sha1hash(nquads); ((Map) bnodes.get(id)).put("hash", hash); return hash; } /** * A helper class to sha1 hash all the strings in a collection * * @param nquads * @return */ private static String sha1hash(Collection nquads) { try { // create SHA-1 digest final MessageDigest md = MessageDigest.getInstance("SHA-1"); for (final String nquad : nquads) { md.update(nquad.getBytes("UTF-8")); } return encodeHex(md.digest()); } catch (final NoSuchAlgorithmException e) { throw new RuntimeException(e); } catch (final UnsupportedEncodingException e) { throw new RuntimeException(e); } } // TODO: this is something to optimize private static String encodeHex(final byte[] data) { String rval = ""; for (final byte b : data) { rval += String.format("%02x", b); } return rval; } /** * A helper function that gets the blank node name from an RDF quad node * (subject or object). If the node is a blank node and its value does not * match the given blank node ID, it will be returned. * * @param node * the RDF quad node. * @param id * the ID of the blank node to look next to. * * @return the adjacent blank node name or null if none was found. */ private static String getAdjacentBlankNodeName(Map node, String id) { return "blank node".equals(node.get("type")) && (!node.containsKey("value") || !Obj.equals(node.get("value"), id)) ? (String) node.get("value") : null; } private static class Permutator { private final List list; private boolean done; private final Map left; public Permutator(List list) { this.list = (List) JsonLdUtils.clone(list); Collections.sort(this.list); this.done = false; this.left = new LinkedHashMap(); for (final String i : this.list) { this.left.put(i, true); } } /** * Returns true if there is another permutation. * * @return true if there is another permutation, false if not. */ public boolean hasNext() { return !this.done; } /** * Gets the next permutation. Call hasNext() to ensure there is another * one first. * * @return the next permutation. */ public List next() { final List rval = (List) JsonLdUtils.clone(this.list); // Calculate the next permutation using Steinhaus-Johnson-Trotter // permutation algoritm // get largest mobile element k // (mobile: element is grater than the one it is looking at) String k = null; int pos = 0; final int length = this.list.size(); for (int i = 0; i < length; ++i) { final String element = this.list.get(i); final Boolean left = this.left.get(element); if ((k == null || element.compareTo(k) > 0) && ((left && i > 0 && element.compareTo(this.list.get(i - 1)) > 0) || (!left && i < (length - 1) && element.compareTo(this.list.get(i + 1)) > 0))) { k = element; pos = i; } } // no more permutations if (k == null) { this.done = true; } else { // swap k and the element it is looking at final int swap = this.left.get(k) ? pos - 1 : pos + 1; this.list.set(pos, this.list.get(swap)); this.list.set(swap, k); // reverse the direction of all element larger than k for (int i = 0; i < length; i++) { if (this.list.get(i).compareTo(k) > 0) { this.left.put(this.list.get(i), !this.left.get(this.list.get(i))); } } } return rval; } } } jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/core/RDFDataset.java000066400000000000000000000637201452212752100273150ustar00rootroot00000000000000package com.github.jsonldjava.core; import static com.github.jsonldjava.core.JsonLdConsts.RDF_FIRST; import static com.github.jsonldjava.core.JsonLdConsts.RDF_LANGSTRING; import static com.github.jsonldjava.core.JsonLdConsts.RDF_NIL; import static com.github.jsonldjava.core.JsonLdConsts.RDF_REST; import static com.github.jsonldjava.core.JsonLdConsts.RDF_TYPE; import static com.github.jsonldjava.core.JsonLdConsts.XSD_BOOLEAN; import static com.github.jsonldjava.core.JsonLdConsts.XSD_DECIMAL; import static com.github.jsonldjava.core.JsonLdConsts.XSD_DOUBLE; import static com.github.jsonldjava.core.JsonLdConsts.XSD_INTEGER; import static com.github.jsonldjava.core.JsonLdConsts.XSD_STRING; import static com.github.jsonldjava.core.JsonLdUtils.isKeyword; import static com.github.jsonldjava.core.JsonLdUtils.isList; import static com.github.jsonldjava.core.JsonLdUtils.isObject; import static com.github.jsonldjava.core.JsonLdUtils.isString; import static com.github.jsonldjava.core.JsonLdUtils.isValue; import static com.github.jsonldjava.utils.Obj.newMap; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Set; import java.util.regex.Pattern; /** * Starting to migrate away from using plain java Maps as the internal RDF * dataset store. Currently each item just wraps a Map based on the old format * so everything doesn't break. Will phase this out once everything is using the * new format. * * @author Tristan * */ public class RDFDataset extends LinkedHashMap { private static final long serialVersionUID = 2796344994239879165L; private static final Pattern PATTERN_INTEGER = Pattern.compile("^[\\-+]?[0-9]+$"); private static final Pattern PATTERN_DOUBLE = Pattern .compile("^(\\+|-)?([0-9]+(\\.[0-9]*)?|\\.[0-9]+)([Ee](\\+|-)?[0-9]+)?$"); public static class Quad extends LinkedHashMap implements Comparable { private static final long serialVersionUID = -7021918051975883082L; public Quad(final String subject, final String predicate, final String object, final String graph) { this(subject, predicate, object.startsWith("_:") ? new BlankNode(object) : new IRI(object), graph); }; public Quad(final String subject, final String predicate, final String value, final String datatype, final String language, final String graph) { this(subject, predicate, new Literal(value, datatype, language), graph); }; private Quad(final String subject, final String predicate, final Node object, final String graph) { this(subject.startsWith("_:") ? new BlankNode(subject) : new IRI(subject), new IRI(predicate), object, graph); }; public Quad(final Node subject, final Node predicate, final Node object, final String graph) { super(); put("subject", subject); put("predicate", predicate); put("object", object); if (graph != null && !"@default".equals(graph)) { // TODO: i'm not yet sure if this should be added or if the // graph should only be represented by the keys in the dataset put("name", graph.startsWith("_:") ? new BlankNode(graph) : new IRI(graph)); } } public Node getSubject() { return (Node) get("subject"); } public Node getPredicate() { return (Node) get("predicate"); } public Node getObject() { return (Node) get("object"); } public Node getGraph() { return (Node) get("name"); } @Override public int compareTo(Quad o) { if (o == null) { return 1; } int rval = getGraph().compareTo(o.getGraph()); if (rval != 0) { return rval; } rval = getSubject().compareTo(o.getSubject()); if (rval != 0) { return rval; } rval = getPredicate().compareTo(o.getPredicate()); if (rval != 0) { return rval; } return getObject().compareTo(o.getObject()); } } public static abstract class Node extends LinkedHashMap implements Comparable { private static final long serialVersionUID = 1460990331795672793L; public abstract boolean isLiteral(); public abstract boolean isIRI(); public abstract boolean isBlankNode(); public String getValue() { return (String) get("value"); } public String getDatatype() { return (String) get("datatype"); } public String getLanguage() { return (String) get("language"); } @Override public int compareTo(Node o) { if (o == null) { // valid nodes are > null nodes return 1; } if (this.isIRI()) { if (!o.isIRI()) { // IRIs > everything return 1; } } else if (this.isBlankNode()) { if (o.isIRI()) { // IRI > blank node return -1; } else if (o.isLiteral()) { // blank node > literal return 1; } } else if (this.isLiteral()) { if (o.isIRI() || o.isBlankNode()) { return -1; // literals < blanknode < IRI } } // NOTE: Literal will also need to compare // language and datatype return this.getValue().compareTo(o.getValue()); } /** * Converts an RDF triple object to a JSON-LD object. * * @param o * the RDF triple object to convert. * @param useNativeTypes * true to output native types, false not to. * * @return the JSON-LD object. * @throws JsonLdError */ Map toObject(Boolean useNativeTypes) throws JsonLdError { // If value is an an IRI or a blank node identifier, return a new // JSON object consisting // of a single member @id whose value is set to value. if (isIRI() || isBlankNode()) { return newMap("@id", getValue()); } // convert literal object to JSON-LD final Map rval = newMap("@value", getValue()); // add language if (getLanguage() != null) { rval.put("@language", getLanguage()); } // add datatype else { final String type = getDatatype(); final String value = getValue(); if (useNativeTypes) { // use native datatypes for certain xsd types if (XSD_STRING.equals(type)) { // don't add xsd:string } else if (XSD_BOOLEAN.equals(type)) { if ("true".equals(value)) { rval.put("@value", Boolean.TRUE); } else if ("false".equals(value)) { rval.put("@value", Boolean.FALSE); } else { // Else do not replace the value, and add the // boolean type in rval.put("@type", type); } } else if ( // http://www.w3.org/TR/xmlschema11-2/#integer (XSD_INTEGER.equals(type) && PATTERN_INTEGER.matcher(value).matches()) // http://www.w3.org/TR/xmlschema11-2/#nt-doubleRep || (XSD_DOUBLE.equals(type) && PATTERN_DOUBLE.matcher(value).matches())) { try { final Double d = Double.parseDouble(value); if (!Double.isNaN(d) && !Double.isInfinite(d)) { if (XSD_INTEGER.equals(type)) { final Integer i = d.intValue(); if (i.toString().equals(value)) { rval.put("@value", i); } } else if (XSD_DOUBLE.equals(type)) { rval.put("@value", d); } else { throw new RuntimeException( "This should never happen as we checked the type was either integer or double"); } } } catch (final NumberFormatException e) { // TODO: This should never happen since we match the // value with regex! throw new RuntimeException(e); } } // do not add xsd:string type else { rval.put("@type", type); } } else if (!XSD_STRING.equals(type)) { rval.put("@type", type); } } return rval; } } public static class Literal extends Node { private static final long serialVersionUID = 8124736271571220251L; public Literal(String value, String datatype, String language) { super(); put("type", "literal"); put("value", value); put("datatype", datatype != null ? datatype : XSD_STRING); if (language != null) { put("language", language); } } @Override public boolean isLiteral() { return true; } @Override public boolean isIRI() { return false; } @Override public boolean isBlankNode() { return false; } private static int nullSafeCompare(String a, String b) { if (a == null && b == null) { return 0; } if (a == null) { return 1; } if (b == null) { return -1; } return a.compareTo(b); } @Override public int compareTo(Node o) { // NOTE: this will also compare getValue() early! final int nodeCompare = super.compareTo(o); if (nodeCompare != 0) { // null, different type or different value return nodeCompare; } if (this.getLanguage() != null || o.getLanguage() != null) { // We'll ignore type-checking if either has language tag // as language tagged literals should always have the type // rdf:langString in RDF 1.1 return nullSafeCompare(this.getLanguage(), o.getLanguage()); } else { return nullSafeCompare(this.getDatatype(), o.getDatatype()); } // NOTE: getValue() already compared by super.compareTo() } } public static class IRI extends Node { private static final long serialVersionUID = 1540232072155490782L; public IRI(String iri) { super(); put("type", "IRI"); put("value", iri); } @Override public boolean isLiteral() { return false; } @Override public boolean isIRI() { return true; } @Override public boolean isBlankNode() { return false; } } public static class BlankNode extends Node { private static final long serialVersionUID = -2842402820440697318L; public BlankNode(String attribute) { super(); put("type", "blank node"); put("value", attribute); } @Override public boolean isLiteral() { return false; } @Override public boolean isIRI() { return false; } @Override public boolean isBlankNode() { return true; } } private static final Node first = new IRI(RDF_FIRST); private static final Node rest = new IRI(RDF_REST); private static final Node nil = new IRI(RDF_NIL); private final Map context; // private UniqueNamer namer; private JsonLdApi api; public RDFDataset() { super(); put("@default", new ArrayList()); context = new LinkedHashMap(); // put("@context", context); } /* * public RDFDataset(String blankNodePrefix) { this(new * UniqueNamer(blankNodePrefix)); } * * public RDFDataset(UniqueNamer namer) { this(); this.namer = namer; } */ public RDFDataset(JsonLdApi jsonLdApi) { this(); this.api = jsonLdApi; } public void setNamespace(String ns, String prefix) { context.put(ns, prefix); } public String getNamespace(String ns) { return context.get(ns); } /** * clears all the namespaces in this dataset */ public void clearNamespaces() { context.clear(); } public Map getNamespaces() { return context; } /** * Returns a valid context containing any namespaces set * * @return The context map */ public Map getContext() { final Map rval = newMap(); rval.putAll(context); // replace "" with "@vocab" if (rval.containsKey("")) { rval.put("@vocab", rval.remove("")); } return rval; } /** * parses a context object and sets any namespaces found within it * * @param contextLike * The context to parse * @throws JsonLdError * If the context can't be parsed */ public void parseContext(Object contextLike) throws JsonLdError { Context context; if (api != null) { context = new Context(api.opts); } else { context = new Context(); } // Context will do our recursive parsing and initial IRI resolution context = context.parse(contextLike); // And then leak to us the potential 'prefixes' final Map prefixes = context.getPrefixes(true); for (final String key : prefixes.keySet()) { final String val = prefixes.get(key); if ("@vocab".equals(key)) { if (val == null || isString(val)) { setNamespace("", val); } else { } } else if (!isKeyword(key)) { setNamespace(key, val); // TODO: should we make sure val is a valid URI prefix (i.e. it // ends with /# or ?) // or is it ok that full URIs for terms are used? } } } /** * Adds a triple to the @default graph of this dataset * * @param subject * the subject for the triple * @param predicate * the predicate for the triple * @param value * the value of the literal object for the triple * @param datatype * the datatype of the literal object for the triple (null values * will default to xsd:string) * @param language * the language of the literal object for the triple (or null) */ public void addTriple(final String subject, final String predicate, final String value, final String datatype, final String language) { addQuad(subject, predicate, value, datatype, language, "@default"); } /** * Adds a triple to the specified graph of this dataset * * @param s * the subject for the triple * @param p * the predicate for the triple * @param value * the value of the literal object for the triple * @param datatype * the datatype of the literal object for the triple (null values * will default to xsd:string) * @param graph * the graph to add this triple to * @param language * the language of the literal object for the triple (or null) */ public void addQuad(final String s, final String p, final String value, final String datatype, final String language, String graph) { if (graph == null) { graph = "@default"; } if (!containsKey(graph)) { put(graph, new ArrayList()); } ((ArrayList) get(graph)).add(new Quad(s, p, value, datatype, language, graph)); } /** * Adds a triple to the default graph of this dataset * * @param subject * the subject for the triple * @param predicate * the predicate for the triple * @param object * the object for the triple */ public void addTriple(final String subject, final String predicate, final String object) { addQuad(subject, predicate, object, "@default"); } /** * Adds a triple to the specified graph of this dataset * * @param subject * the subject for the triple * @param predicate * the predicate for the triple * @param object * the object for the triple * @param graph * the graph to add this triple to */ public void addQuad(final String subject, final String predicate, final String object, String graph) { if (graph == null) { graph = "@default"; } if (!containsKey(graph)) { put(graph, new ArrayList()); } ((ArrayList) get(graph)).add(new Quad(subject, predicate, object, graph)); } /** * Creates an array of RDF triples for the given graph. * * @param graphName * The graph URI * @param graph * the graph to create RDF triples for. */ void graphToRDF(String graphName, Map graph) { // 4.2) final List triples = new ArrayList(); // 4.3) final List subjects = new ArrayList(graph.keySet()); // Collections.sort(subjects); for (final String id : subjects) { if (JsonLdUtils.isRelativeIri(id)) { continue; } final Map node = (Map) graph.get(id); final List properties = new ArrayList(node.keySet()); Collections.sort(properties); for (String property : properties) { final List values; // 4.3.2.1) if ("@type".equals(property)) { values = (List) node.get("@type"); property = RDF_TYPE; } // 4.3.2.2) else if (isKeyword(property)) { continue; } // 4.3.2.3) else if (property.startsWith("_:") && !api.opts.getProduceGeneralizedRdf()) { continue; } // 4.3.2.4) else if (JsonLdUtils.isRelativeIri(property)) { continue; } else { values = (List) node.get(property); } Node subject; if (id.indexOf("_:") == 0) { // NOTE: don't rename, just set it as a blank node subject = new BlankNode(id); } else { subject = new IRI(id); } // RDF predicates Node predicate; if (property.startsWith("_:")) { predicate = new BlankNode(property); } else { predicate = new IRI(property); } for (final Object item : values) { // convert @list to triples if (isList(item)) { final List list = (List) ((Map) item) .get("@list"); Node last = null; Node firstBNode = nil; if (!list.isEmpty()) { last = objectToRDF(list.get(list.size() - 1)); firstBNode = new BlankNode(api.generateBlankNodeIdentifier()); } triples.add(new Quad(subject, predicate, firstBNode, graphName)); for (int i = 0; i < list.size() - 1; i++) { final Node object = objectToRDF(list.get(i)); triples.add(new Quad(firstBNode, first, object, graphName)); final Node restBNode = new BlankNode(api.generateBlankNodeIdentifier()); triples.add(new Quad(firstBNode, rest, restBNode, graphName)); firstBNode = restBNode; } if (last != null) { triples.add(new Quad(firstBNode, first, last, graphName)); triples.add(new Quad(firstBNode, rest, nil, graphName)); } } // convert value or node object to triple else { final Node object = objectToRDF(item); if (object != null) { triples.add(new Quad(subject, predicate, object, graphName)); } } } } } put(graphName, triples); } /** * Converts a JSON-LD value object to an RDF literal or a JSON-LD string or * node object to an RDF resource. * * @param item * the JSON-LD value or node object. * @return the RDF literal or RDF resource. */ private Node objectToRDF(Object item) { // convert value object to RDF if (isValue(item)) { final Object value = ((Map) item).get("@value"); final Object datatype = ((Map) item).get("@type"); // convert to XSD datatypes as appropriate if (value instanceof Boolean || value instanceof Number) { // convert to XSD datatype if (value instanceof Boolean) { return new Literal(value.toString(), datatype == null ? XSD_BOOLEAN : (String) datatype, null); } else if (value instanceof Double || value instanceof Float || XSD_DOUBLE.equals(datatype)) { if (value instanceof Double && !Double.isFinite((double) value)) { return new Literal(Double.toString((double) value), datatype == null ? XSD_DOUBLE : (String) datatype, null); } else if (value instanceof Float && !Float.isFinite((float) value)) { return new Literal(Float.toString((float) value), datatype == null ? XSD_DOUBLE : (String) datatype, null); } else { // Only canonicalize representation if datatype is not XSD_DECIMAL if (XSD_DECIMAL.equals(datatype)) { return new Literal(value.toString(), XSD_DECIMAL, null); } final DecimalFormat df = new DecimalFormat("0.0###############E0"); df.setDecimalFormatSymbols(DecimalFormatSymbols.getInstance(Locale.US)); return new Literal(df.format(value), datatype == null ? XSD_DOUBLE : (String) datatype, null); } } else { final DecimalFormat df = new DecimalFormat("0"); return new Literal(df.format(value), datatype == null ? XSD_INTEGER : (String) datatype, null); } } else if (((Map) item).containsKey("@language")) { return new Literal((String) value, datatype == null ? RDF_LANGSTRING : (String) datatype, (String) ((Map) item).get("@language")); } else { return new Literal((String) value, datatype == null ? XSD_STRING : (String) datatype, null); } } // convert string/node object to RDF else { final String id; if (isObject(item)) { id = (String) ((Map) item).get("@id"); if (JsonLdUtils.isRelativeIri(id)) { return null; } } else { id = (String) item; } if (id.indexOf("_:") == 0) { // NOTE: once again no need to rename existing blank nodes return new BlankNode(id); } else { return new IRI(id); } } } public Set graphNames() { // TODO Auto-generated method stub return keySet(); } public List getQuads(String graphName) { return (List) get(graphName); } } jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/core/RDFDatasetUtils.java000066400000000000000000000333111452212752100303270ustar00rootroot00000000000000package com.github.jsonldjava.core; import static com.github.jsonldjava.core.JsonLdConsts.RDF_LANGSTRING; import static com.github.jsonldjava.core.JsonLdConsts.XSD_STRING; import static com.github.jsonldjava.core.Regex.HEX; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; public class RDFDatasetUtils { public static String toNQuads(RDFDataset dataset) { final StringBuilder output = new StringBuilder(256); toNQuads(dataset, output); return output.toString(); } public static void toNQuads(RDFDataset dataset, StringBuilder output) { final List quads = new ArrayList(); for (String graphName : dataset.graphNames()) { final List triples = dataset.getQuads(graphName); if ("@default".equals(graphName)) { graphName = null; } for (final RDFDataset.Quad triple : triples) { quads.add(toNQuad(triple, graphName)); } } Collections.sort(quads); for (final String quad : quads) { output.append(quad); } } static String toNQuad(RDFDataset.Quad triple, String graphName, String bnode) { final StringBuilder output = new StringBuilder(256); toNQuad(triple, graphName, bnode, output); return output.toString(); } static void toNQuad(RDFDataset.Quad triple, String graphName, String bnode, StringBuilder output) { final RDFDataset.Node s = triple.getSubject(); final RDFDataset.Node p = triple.getPredicate(); final RDFDataset.Node o = triple.getObject(); // subject is an IRI or bnode if (s.isIRI()) { output.append("<"); escape(s.getValue(), output); output.append(">"); } // normalization mode else if (bnode != null) { output.append(bnode.equals(s.getValue()) ? "_:a" : "_:z"); } // normal mode else { output.append(s.getValue()); } if (p.isIRI()) { output.append(" <"); escape(p.getValue(), output); output.append("> "); } // otherwise it must be a bnode (TODO: can we only allow this if the // flag is set in options?) else { output.append(" "); escape(p.getValue(), output); output.append(" "); } // object is IRI, bnode or literal if (o.isIRI()) { output.append("<"); escape(o.getValue(), output); output.append(">"); } else if (o.isBlankNode()) { // normalization mode if (bnode != null) { output.append(bnode.equals(o.getValue()) ? "_:a" : "_:z"); } // normal mode else { output.append(o.getValue()); } } else { output.append("\""); escape(o.getValue(), output); output.append("\""); if (RDF_LANGSTRING.equals(o.getDatatype())) { output.append("@").append(o.getLanguage()); } else if (!XSD_STRING.equals(o.getDatatype())) { output.append("^^<"); escape(o.getDatatype(), output); output.append(">"); } } // graph if (graphName != null) { if (graphName.indexOf("_:") != 0) { output.append(" <"); escape(graphName, output); output.append(">"); } else if (bnode != null) { output.append(" _:g"); } else { output.append(" ").append(graphName); } } output.append(" .\n"); } static String toNQuad(RDFDataset.Quad triple, String graphName) { return toNQuad(triple, graphName, null); } final private static Pattern UCHAR_MATCHED = Pattern .compile("\\u005C(?:([tbnrf\\\"'])|(?:u(" + HEX + "{4}))|(?:U(" + HEX + "{8})))"); public static String unescape(String str) { String rval = str; if (str != null) { final Matcher m = UCHAR_MATCHED.matcher(str); while (m.find()) { String uni = m.group(0); if (m.group(1) == null) { final String hex = m.group(2) != null ? m.group(2) : m.group(3); final int v = Integer.parseInt(hex, 16);// hex = // hex.replaceAll("^(?:00)+", // ""); if (v > 0xFFFF) { // deal with UTF-32 // Integer v = Integer.parseInt(hex, 16); final int vt = v - 0x10000; final int vh = vt >> 10; final int v1 = vt & 0x3FF; final int w1 = 0xD800 + vh; final int w2 = 0xDC00 + v1; final StringBuilder b = new StringBuilder(); b.appendCodePoint(w1); b.appendCodePoint(w2); uni = b.toString(); } else { uni = Character.toString((char) v); } } else { final char c = m.group(1).charAt(0); switch (c) { case 'b': uni = "\b"; break; case 'n': uni = "\n"; break; case 't': uni = "\t"; break; case 'f': uni = "\f"; break; case 'r': uni = "\r"; break; case '\'': uni = "'"; break; case '\"': uni = "\""; break; case '\\': uni = "\\"; break; default: // do nothing continue; } } final String pat = Pattern.quote(m.group(0)); // final String x = Integer.toHexString(uni.charAt(0)); rval = rval.replaceAll(pat, uni); } } return rval; } /** * Escapes the given string according to the N-Quads escape rules * * @param str * The string to escape * @param rval * The {@link StringBuilder} to append to. */ public static void escape(String str, StringBuilder rval) { for (int i = 0; i < str.length(); i++) { final char hi = str.charAt(i); if (hi <= 0x8 || hi == 0xB || hi == 0xC || (hi >= 0xE && hi <= 0x1F) || (hi >= 0x7F && hi <= 0xA0) || // 0xA0 is end of // non-printable latin-1 // supplement // characters ((hi >= 0x24F // 0x24F is the end of latin extensions && !Character.isHighSurrogate(hi)) // TODO: there's probably a lot of other characters that // shouldn't be escaped that // fall outside these ranges, this is one example from the // json-ld tests )) { rval.append(String.format("\\u%04x", (int) hi)); } else if (Character.isHighSurrogate(hi)) { final char lo = str.charAt(++i); final int c = (hi << 10) + lo + (0x10000 - (0xD800 << 10) - 0xDC00); rval.append(String.format("\\U%08x", c)); } else { switch (hi) { case '\b': rval.append("\\b"); break; case '\n': rval.append("\\n"); break; case '\t': rval.append("\\t"); break; case '\f': rval.append("\\f"); break; case '\r': rval.append("\\r"); break; // case '\'': // rval += "\\'"; // break; case '\"': rval.append("\\\""); // rval += "\\u0022"; break; case '\\': rval.append("\\\\"); break; default: // just put the char as is rval.append(hi); break; } } } // return rval; } private static class Regex { // define partial regexes // final public static Pattern IRI = // Pattern.compile("(?:<([^:]+:[^>]*)>)"); final public static Pattern IRI = Pattern.compile("(?:<([^>]*)>)"); final public static Pattern BNODE = Pattern.compile("(_:(?:[A-Za-z][A-Za-z0-9]*))"); final public static Pattern PLAIN = Pattern.compile("\"([^\"\\\\]*(?:\\\\.[^\"\\\\]*)*)\""); final public static Pattern DATATYPE = Pattern.compile("(?:\\^\\^" + IRI + ")"); final public static Pattern LANGUAGE = Pattern.compile("(?:@([a-z]+(?:-[a-zA-Z0-9]+)*))"); final public static Pattern LITERAL = Pattern .compile("(?:" + PLAIN + "(?:" + DATATYPE + "|" + LANGUAGE + ")?)"); final public static Pattern WS = Pattern.compile("[ \\t]+"); final public static Pattern WSO = Pattern.compile("[ \\t]*"); final public static Pattern EOLN = Pattern.compile("(?:\r\n)|(?:\n)|(?:\r)"); final public static Pattern EMPTY = Pattern.compile("^" + WSO + "$"); // define quad part regexes final public static Pattern SUBJECT = Pattern.compile("(?:" + IRI + "|" + BNODE + ")" + WS); final public static Pattern PROPERTY = Pattern.compile(IRI.pattern() + WS.pattern()); final public static Pattern OBJECT = Pattern .compile("(?:" + IRI + "|" + BNODE + "|" + LITERAL + ")" + WSO); final public static Pattern GRAPH = Pattern .compile("(?:\\.|(?:(?:" + IRI + "|" + BNODE + ")" + WSO + "\\.))"); // full quad regex final public static Pattern QUAD = Pattern .compile("^" + WSO + SUBJECT + PROPERTY + OBJECT + GRAPH + WSO + "$"); } /** * Parses RDF in the form of N-Quads. * * @param input * the N-Quads input to parse. * * @return an RDF dataset. * @throws JsonLdError * If there was an error parsing the N-Quads document. */ public static RDFDataset parseNQuads(String input) throws JsonLdError { // build RDF dataset final RDFDataset dataset = new RDFDataset(); // split N-Quad input into lines final String[] lines = Regex.EOLN.split(input); int lineNumber = 0; for (final String line : lines) { lineNumber++; // skip empty lines if (Regex.EMPTY.matcher(line).matches()) { continue; } // parse quad final Matcher match = Regex.QUAD.matcher(line); if (!match.matches()) { throw new JsonLdError(JsonLdError.Error.SYNTAX_ERROR, "Error while parsing N-Quads; invalid quad. line:" + lineNumber); } // get subject RDFDataset.Node subject; if (match.group(1) != null) { subject = new RDFDataset.IRI(unescape(match.group(1))); } else { subject = new RDFDataset.BlankNode(unescape(match.group(2))); } // get predicate final RDFDataset.Node predicate = new RDFDataset.IRI(unescape(match.group(3))); // get object RDFDataset.Node object; if (match.group(4) != null) { object = new RDFDataset.IRI(unescape(match.group(4))); } else if (match.group(5) != null) { object = new RDFDataset.BlankNode(unescape(match.group(5))); } else { final String language = unescape(match.group(8)); final String datatype = match.group(7) != null ? unescape(match.group(7)) : match.group(8) != null ? RDF_LANGSTRING : XSD_STRING; final String unescaped = unescape(match.group(6)); object = new RDFDataset.Literal(unescaped, datatype, language); } // get graph name ('@default' is used for the default graph) String name = "@default"; if (match.group(9) != null) { name = unescape(match.group(9)); } else if (match.group(10) != null) { name = unescape(match.group(10)); } final RDFDataset.Quad triple = new RDFDataset.Quad(subject, predicate, object, name); // initialise graph in dataset if (!dataset.containsKey(name)) { final List tmp = new ArrayList(); tmp.add(triple); dataset.put(name, tmp); } // add triple if unique to its graph else { final List triples = (List) dataset.get(name); if (!triples.contains(triple)) { triples.add(triple); } } } return dataset; } } jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/core/RDFParser.java000066400000000000000000000041211452212752100271520ustar00rootroot00000000000000package com.github.jsonldjava.core; /** * Interface for parsing RDF into the RDF Dataset objects to be used by * JSONLD.fromRDF * * @author Tristan * */ public interface RDFParser { /** * Parse the input into the internal RDF Dataset format The format is a Map * with the following structure: { GRAPH_1: [ TRIPLE_1, TRIPLE_2, ..., * TRIPLE_N ], GRAPH_2: [ TRIPLE_1, TRIPLE_2, ..., TRIPLE_N ], ... GRAPH_N: * [ TRIPLE_1, TRIPLE_2, ..., TRIPLE_N ] } * * GRAPH: Must be the graph name/IRI. if no graph is present for a triple, * add it to the "@default" graph TRIPLE: Must be a map with the following * structure: { "subject" : SUBJECT "predicate" : PREDICATE "object" : * OBJECT } * * Each of the values in the triple map must also be a map with the * following key-value pairs: "value" : The value of the node. "subject" can * be an IRI or blank node id. "predicate" should only ever be an IRI * "object" can be and IRI or blank node id, or a literal value (represented * as a string) "type" : "IRI" if the value is an IRI or "blank node" if the * value is a blank node. "object" can also be "literal" in the case of * literals. The value of "object" can also contain the following optional * key-value pairs: "language" : the language value of a string literal * "datatype" : the datatype of the literal. (if not set will default to * XSD:string, if set to null, null will be used). * * The RDFDatasetUtils class has the following helper methods to make * generating this format easier: result = getInitialRDFDatasetResult(); * triple = generateTriple(s,p,o); triple = * generateTriple(s,p,value,datatype,language); * addTripleToRDFDatasetResult(result, graphName, triple); * * @param input * The RDF library specific input to parse * @return The input parsed using the internal RDF Dataset format * @throws JsonLdError * If there was an error parsing the input */ public RDFDataset parse(Object input) throws JsonLdError; } jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/core/Regex.java000066400000000000000000000074251452212752100264460ustar00rootroot00000000000000package com.github.jsonldjava.core; import java.util.regex.Pattern; class Regex { final public static Pattern TRICKY_UTF_CHARS = Pattern.compile( // ("1.7".equals(System.getProperty("java.specification.version")) ? // "[\\x{10000}-\\x{EFFFF}]" : "[\uD800\uDC00-\uDB7F\uDFFF]" // this seems to work with jdk1.6 ); // for ttl final public static Pattern PN_CHARS_BASE = Pattern.compile( "[a-zA-Z]|[\\u00C0-\\u00D6]|[\\u00D8-\\u00F6]|[\\u00F8-\\u02FF]|[\\u0370-\\u037D]|[\\u037F-\\u1FFF]|" + "[\\u200C-\\u200D]|[\\u2070-\\u218F]|[\\u2C00-\\u2FEF]|[\\u3001-\\uD7FF]|[\\uF900-\\uFDCF]|[\\uFDF0-\\uFFFD]|" + TRICKY_UTF_CHARS); final public static Pattern PN_CHARS_U = Pattern.compile(PN_CHARS_BASE + "|[_]"); final public static Pattern PN_CHARS = Pattern .compile(PN_CHARS_U + "|[-0-9]|[\\u00B7]|[\\u0300-\\u036F]|[\\u203F-\\u2040]"); final public static Pattern PN_PREFIX = Pattern.compile( "(?:(?:" + PN_CHARS_BASE + ")(?:(?:" + PN_CHARS + "|[\\.])*(?:" + PN_CHARS + "))?)"); final public static Pattern HEX = Pattern.compile("[0-9A-Fa-f]"); final public static Pattern PN_LOCAL_ESC = Pattern .compile("[\\\\][_~\\.\\-!$&'\\(\\)*+,;=/?#@%]"); final public static Pattern PERCENT = Pattern.compile("%" + HEX + HEX); final public static Pattern PLX = Pattern.compile(PERCENT + "|" + PN_LOCAL_ESC); final public static Pattern PN_LOCAL = Pattern .compile("((?:" + PN_CHARS_U + "|[:]|[0-9]|" + PLX + ")(?:(?:" + PN_CHARS + "|[.]|[:]|" + PLX + ")*(?:" + PN_CHARS + "|[:]|" + PLX + "))?)"); final public static Pattern PNAME_NS = Pattern.compile("((?:" + PN_PREFIX + ")?):"); final public static Pattern PNAME_LN = Pattern.compile("" + PNAME_NS + PN_LOCAL); final public static Pattern UCHAR = Pattern.compile("\\u005Cu" + HEX + HEX + HEX + HEX + "|\\u005CU" + HEX + HEX + HEX + HEX + HEX + HEX + HEX + HEX); final public static Pattern ECHAR = Pattern.compile("\\u005C[tbnrf\\u005C\"']"); final public static Pattern IRIREF = Pattern .compile("(?:<((?:[^\\x00-\\x20<>\"{}|\\^`\\\\]|" + UCHAR + ")*)>)"); final public static Pattern BLANK_NODE_LABEL = Pattern.compile("(?:_:((?:" + PN_CHARS_U + "|[0-9])(?:(?:" + PN_CHARS + "|[\\.])*(?:" + PN_CHARS + "))?))"); final public static Pattern WS = Pattern.compile("[ \t\r\n]"); final public static Pattern WS_0_N = Pattern.compile(WS + "*"); final public static Pattern WS_0_1 = Pattern.compile(WS + "?"); final public static Pattern WS_1_N = Pattern.compile(WS + "+"); final public static Pattern STRING_LITERAL_QUOTE = Pattern.compile( "\"(?:[^\\u0022\\u005C\\u000A\\u000D]|(?:" + ECHAR + ")|(?:" + UCHAR + "))*\""); final public static Pattern STRING_LITERAL_SINGLE_QUOTE = Pattern .compile("'(?:[^\\u0027\\u005C\\u000A\\u000D]|(?:" + ECHAR + ")|(?:" + UCHAR + "))*'"); final public static Pattern STRING_LITERAL_LONG_SINGLE_QUOTE = Pattern .compile("'''(?:(?:(?:'|'')?[^'\\\\])|" + ECHAR + "|" + UCHAR + ")*'''"); final public static Pattern STRING_LITERAL_LONG_QUOTE = Pattern .compile("\"\"\"(?:(?:(?:\"|\"\")?[^\\\"\\\\])|" + ECHAR + "|" + UCHAR + ")*\"\"\""); final public static Pattern LANGTAG = Pattern.compile("(?:@([a-zA-Z]+(?:-[a-zA-Z0-9]+)*))"); final public static Pattern INTEGER = Pattern.compile("[+-]?[0-9]+"); final public static Pattern DECIMAL = Pattern.compile("[+-]?[0-9]*\\.[0-9]+"); final public static Pattern EXPONENT = Pattern.compile("[eE][+-]?[0-9]+"); final public static Pattern DOUBLE = Pattern.compile("[+-]?(?:(?:[0-9]+\\.[0-9]*" + EXPONENT + ")|(?:\\.[0-9]+" + EXPONENT + ")|(?:[0-9]+" + EXPONENT + "))"); } jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/core/RemoteDocument.java000066400000000000000000000017471452212752100303270ustar00rootroot00000000000000package com.github.jsonldjava.core; /** * Encapsulates a URL along with the parsed resource matching the URL. * * @author Tristan King */ public class RemoteDocument { private final String documentUrl; private final Object document; /** * Create a new RemoteDocument with the URL and the parsed resource for the * document. * * @param url * The URL * @param document * The parsed resource for the document */ public RemoteDocument(String url, Object document) { this.documentUrl = url; this.document = document; } /** * Get the URL for this document. * * @return The URL for this document, as a String */ public String getDocumentUrl() { return documentUrl; } /** * Get the parsed resource for this document. * * @return The parsed resource for this document */ public Object getDocument() { return document; } } jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/core/UniqueNamer.java000066400000000000000000000034521452212752100276210ustar00rootroot00000000000000package com.github.jsonldjava.core; import java.util.LinkedHashMap; import java.util.Map; class UniqueNamer { private final String prefix; private int counter; private Map existing; /** * Creates a new UniqueNamer. A UniqueNamer issues unique names, keeping * track of any previously issued names. * * @param prefix * the prefix to use ('<prefix><counter>'). */ public UniqueNamer(String prefix) { this.prefix = prefix; this.counter = 0; this.existing = new LinkedHashMap(); } /** * Copies this UniqueNamer. * * @return a copy of this UniqueNamer. */ @Override public UniqueNamer clone() { final UniqueNamer copy = new UniqueNamer(this.prefix); copy.counter = this.counter; copy.existing = (Map) JsonLdUtils.clone(this.existing); return copy; } /** * Gets the new name for the given old name, where if no old name is given a * new name will be generated. * * @param oldName * the old name to get the new name for. * * @return the new name. */ public String getName(String oldName) { if (oldName != null && this.existing.containsKey(oldName)) { return this.existing.get(oldName); } final String name = this.prefix + this.counter; this.counter++; if (oldName != null) { this.existing.put(oldName, name); } return name; } public String getName() { return getName(null); } public Boolean isNamed(String oldName) { return this.existing.containsKey(oldName); } public Map existing() { return existing; } }jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/impl/000077500000000000000000000000001452212752100245325ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/impl/NQuadRDFParser.java000066400000000000000000000011551452212752100301200ustar00rootroot00000000000000package com.github.jsonldjava.impl; import com.github.jsonldjava.core.JsonLdError; import com.github.jsonldjava.core.RDFDataset; import com.github.jsonldjava.core.RDFDatasetUtils; import com.github.jsonldjava.core.RDFParser; public class NQuadRDFParser implements RDFParser { @Override public RDFDataset parse(Object input) throws JsonLdError { if (input instanceof String) { return RDFDatasetUtils.parseNQuads((String) input); } else { throw new JsonLdError(JsonLdError.Error.INVALID_INPUT, "NQuad Parser expected string input."); } } } jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/impl/NQuadTripleCallback.java000066400000000000000000000005671452212752100312120ustar00rootroot00000000000000package com.github.jsonldjava.impl; import com.github.jsonldjava.core.JsonLdTripleCallback; import com.github.jsonldjava.core.RDFDataset; import com.github.jsonldjava.core.RDFDatasetUtils; public class NQuadTripleCallback implements JsonLdTripleCallback { @Override public Object call(RDFDataset dataset) { return RDFDatasetUtils.toNQuads(dataset); } } jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/utils/000077500000000000000000000000001452212752100247315ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/utils/JarCacheResource.java000066400000000000000000000020611452212752100307430ustar00rootroot00000000000000package com.github.jsonldjava.utils; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.net.URLConnection; import org.apache.http.client.cache.Resource; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class JarCacheResource implements Resource { private static final long serialVersionUID = -7101296464577357444L; private final Logger log = LoggerFactory.getLogger(getClass()); private final URLConnection connection; public JarCacheResource(URL classpath) throws IOException { this.connection = classpath.openConnection(); } @Override public long length() { return connection.getContentLengthLong(); } @Override public InputStream getInputStream() throws IOException { return connection.getInputStream(); } @Override public void dispose() { try { connection.getInputStream().close(); } catch (final IOException e) { log.error("Can't close JarCacheResource input stream", e); } } }jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/utils/JarCacheStorage.java000066400000000000000000000260411452212752100305640ustar00rootroot00000000000000package com.github.jsonldjava.utils; import java.io.IOException; import java.net.MalformedURLException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Objects; import java.util.Optional; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ExecutionException; import org.apache.http.Header; import org.apache.http.HttpVersion; import org.apache.http.client.cache.HeaderConstants; import org.apache.http.client.cache.HttpCacheEntry; import org.apache.http.client.cache.HttpCacheStorage; import org.apache.http.client.cache.HttpCacheUpdateCallback; import org.apache.http.client.cache.HttpCacheUpdateException; import org.apache.http.client.cache.Resource; import org.apache.http.client.utils.DateUtils; import org.apache.http.impl.client.cache.BasicHttpCacheStorage; import org.apache.http.impl.client.cache.CacheConfig; import org.apache.http.message.BasicHeader; import org.apache.http.message.BasicStatusLine; import org.apache.http.protocol.HTTP; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import com.google.common.collect.MapMaker; /** * Implementation of the Apache HttpClient {@link HttpCacheStorage} interface * using {@code jarcache.json} files on the classpath to identify static JSON-LD * resources on the classpath, to avoid retrieving them. * * @author Stian Soiland-Reyes * @author Peter Ansell p_ansell@yahoo.com */ public class JarCacheStorage implements HttpCacheStorage { /** * The classpath location that is searched inside of the classloader set for * this cache. Note this search is also done on the Thread * contextClassLoader if none is explicitly set, and the System classloader * if there is no contextClassLoader. */ private static final String JARCACHE_JSON = "jarcache.json"; private final Logger log = LoggerFactory.getLogger(getClass()); private final CacheConfig cacheConfig; /** * The classloader to use, defaults to null which will use the thread * context classloader. */ private ClassLoader classLoader = null; /** * A holder for the case where the System class loader needs to be used, but * cannot be directly identified in another way. * * Used as a key in cachedResourceList. */ private static final Object NULL_CLASS_LOADER = new Object(); /** * All live caching that is not found locally is delegated to this * implementation. */ private final HttpCacheStorage delegate; private final ObjectMapper mapper = new ObjectMapper(); /** * Map from uri of jarcache.json (e.g. jar://blab.jar!jarcache.json) to a * SoftReference to its parsed content as JsonNode. * * @see #getJarCache(URL) */ private final LoadingCache jarCaches = CacheBuilder.newBuilder() .concurrencyLevel(4).maximumSize(100).softValues() .build(new CacheLoader() { @Override public JsonNode load(URL url) throws IOException { return mapper.readTree(url); } }); /** * Cached URLs from the given ClassLoader to identified locations of * jarcache.json resources on the classpath * * Uses a Guava concurrent weak reference key map to avoid holding onto * ClassLoader instances after they are otherwise unavailable. */ private static final ConcurrentMap> cachedResourceList = new MapMaker() .concurrencyLevel(4).weakKeys().makeMap(); public JarCacheStorage(ClassLoader classLoader, CacheConfig cacheConfig) { this(classLoader, cacheConfig, new BasicHttpCacheStorage(cacheConfig)); } public JarCacheStorage(ClassLoader classLoader, CacheConfig cacheConfig, HttpCacheStorage delegate) { setClassLoader(classLoader); this.cacheConfig = Objects.requireNonNull(cacheConfig, "Cache config cannot be null"); this.delegate = Objects.requireNonNull(delegate, "Delegate cannot be null"); } public ClassLoader getClassLoader() { final ClassLoader nextClassLoader = classLoader; if (nextClassLoader != null) { return nextClassLoader; } return Thread.currentThread().getContextClassLoader(); } /** * Sets the ClassLoader used internally to a new value, or null to use * {@link Thread#currentThread()} and {@link Thread#getContextClassLoader()} * for each access. * * @param classLoader * The classloader to use, or null to use the thread context * classloader */ public void setClassLoader(ClassLoader classLoader) { this.classLoader = classLoader; } @Override public void putEntry(String key, HttpCacheEntry entry) throws IOException { delegate.putEntry(key, entry); } @Override public HttpCacheEntry getEntry(String key) throws IOException { log.trace("Requesting {}", key); Optional parsedUri = Optional.empty(); try { parsedUri = Optional.of(new URI(key)); } catch (final URISyntaxException e) { // Ignore, will delegate this request } if (parsedUri.isPresent()) { URI requestedUri = parsedUri.get(); if ((requestedUri.getScheme().equals("http") && requestedUri.getPort() == 80) || (requestedUri.getScheme().equals("https") && requestedUri.getPort() == 443)) { // Strip away default http ports try { requestedUri = new URI(requestedUri.getScheme(), requestedUri.getHost(), requestedUri.getPath(), requestedUri.getFragment()); } catch (final URISyntaxException e) { if (log.isTraceEnabled()) { log.trace("Failed to normalise URI port before looking in cache: " + requestedUri, e); } // Ignore syntax error and use the original URI directly // instead // This shouldn't happen as we already attempted to parse // the URI earlier and // would not come here if that failed } } // getResources uses a cache to avoid scanning the classpath again // for the // current classloader for (final URL url : getResources()) { // getJarCache attempts to use already parsed in-memory // locations to avoid // retrieving and parsing again final JsonNode tree = getJarCache(url); for (final JsonNode node : tree) { final URI uri = URI.create(node.get("Content-Location").asText()); if (uri.equals(requestedUri)) { return cacheEntry(requestedUri, url, node); } } } } // If we didn't find it in our cache, then attempt to find it in the // chained delegate return delegate.getEntry(key); } /** * Get all of the {@code jarcache.json} resources that exist on the * classpath * * @return A cached list of jarcache.json classpath resources as * {@link URL}s * @throws IOException * If there was an IO error while scanning the classpath */ private List getResources() throws IOException { final ClassLoader cl = getClassLoader(); // ConcurrentHashMap doesn't support null keys, so substitute a pseudo // key final Object key = cl == null ? NULL_CLASS_LOADER : cl; // computeIfAbsent requires unchecked exceptions for the creation // process, so we // cannot easily use it directly, instead using get and putIfAbsent List newValue = cachedResourceList.get(key); if (newValue != null) { return newValue; } if (cl != null) { newValue = Collections .unmodifiableList(Collections.list(cl.getResources(JARCACHE_JSON))); } else { newValue = Collections.unmodifiableList( Collections.list(ClassLoader.getSystemResources(JARCACHE_JSON))); } final List oldValue = cachedResourceList.putIfAbsent(key, newValue); // We are not synchronising access to the ConcurrentMap, so if there // were // multiple classpath scans, we always choose the first one return oldValue != null ? oldValue : newValue; } protected JsonNode getJarCache(URL url) throws IOException { try { return jarCaches.get(url); } catch (final ExecutionException e) { throw new IOException("Failed to retrieve jar cache for URL: " + url, e); } } protected HttpCacheEntry cacheEntry(URI requestedUri, URL baseURL, JsonNode cacheNode) throws MalformedURLException, IOException { final URL classpath = new URL(baseURL, cacheNode.get("X-Classpath").asText()); log.debug("Cache hit for: {}", requestedUri); log.trace("Parsed cache entry: {}", cacheNode); final List
responseHeaders = new ArrayList
(); if (!cacheNode.has(HTTP.DATE_HEADER)) { responseHeaders .add(new BasicHeader(HTTP.DATE_HEADER, DateUtils.formatDate(new Date()))); } if (!cacheNode.has(HeaderConstants.CACHE_CONTROL)) { responseHeaders.add(new BasicHeader(HeaderConstants.CACHE_CONTROL, HeaderConstants.CACHE_CONTROL_MAX_AGE + "=" + Integer.MAX_VALUE)); } final Resource resource = new JarCacheResource(classpath); final Iterator fieldNames = cacheNode.fieldNames(); while (fieldNames.hasNext()) { final String headerName = fieldNames.next(); final JsonNode header = cacheNode.get(headerName); if (header != null) { responseHeaders.add(new BasicHeader(headerName, header.asText())); } } return new HttpCacheEntry(new Date(), new Date(), new BasicStatusLine(HttpVersion.HTTP_1_1, 200, "OK"), responseHeaders.toArray(new Header[0]), resource); } @Override public void removeEntry(String key) throws IOException { delegate.removeEntry(key); } @Override public void updateEntry(String key, HttpCacheUpdateCallback callback) throws IOException, HttpCacheUpdateException { delegate.updateEntry(key, callback); } public CacheConfig getCacheConfig() { return cacheConfig; } } jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/utils/JsonLdUrl.java000077500000000000000000000273121452212752100274600ustar00rootroot00000000000000package com.github.jsonldjava.utils; import java.net.URI; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; public class JsonLdUrl { public String href = ""; public String protocol = ""; public String host = ""; public String auth = ""; public String user = ""; public String password = ""; public String hostname = ""; public String port = ""; public String relative = ""; public String path = ""; public String directory = ""; public String file = ""; public String query = ""; public String hash = ""; // things not populated by the regex (NOTE: i don't think it matters if // these are null or "" to start with) public String pathname = null; public String normalizedPath = null; public String authority = null; private static Pattern parser = Pattern.compile( "^(?:([^:\\/?#]+):)?(?:\\/\\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\\/?#]*)(?::(\\d*))?))?((((?:[^?#\\/]*\\/)*)([^?#]*))(?:\\?([^#]*))?(?:#(.*))?)"); public static JsonLdUrl parse(String url) { final JsonLdUrl rval = new JsonLdUrl(); rval.href = url; final Matcher matcher = parser.matcher(url); if (matcher.matches()) { if (matcher.group(1) != null) { rval.protocol = matcher.group(1); } if (matcher.group(2) != null) { rval.host = matcher.group(2); } if (matcher.group(3) != null) { rval.auth = matcher.group(3); } if (matcher.group(4) != null) { rval.user = matcher.group(4); } if (matcher.group(5) != null) { rval.password = matcher.group(5); } if (matcher.group(6) != null) { rval.hostname = matcher.group(6); } if (matcher.group(7) != null) { rval.port = matcher.group(7); } if (matcher.group(8) != null) { rval.relative = matcher.group(8); } if (matcher.group(9) != null) { rval.path = matcher.group(9); } if (matcher.group(10) != null) { rval.directory = matcher.group(10); } if (matcher.group(11) != null) { rval.file = matcher.group(11); } if (matcher.group(12) != null) { rval.query = matcher.group(12); } if (matcher.group(13) != null) { rval.hash = matcher.group(13); } // normalize to node.js API if (!"".equals(rval.host) && "".equals(rval.path)) { rval.path = "/"; } rval.pathname = rval.path; parseAuthority(rval); rval.normalizedPath = removeDotSegments(rval.pathname, !"".equals(rval.authority)); if (!"".equals(rval.query)) { rval.path += "?" + rval.query; } if (!"".equals(rval.protocol)) { rval.protocol += ":"; } if (!"".equals(rval.hash)) { rval.hash = "#" + rval.hash; } return rval; } return rval; } /** * Removes dot segments from a JsonLdUrl path. * * @param path * the path to remove dot segments from. * @param hasAuthority * true if the JsonLdUrl has an authority, false if not. * @return The URL without the dot segments */ public static String removeDotSegments(String path, boolean hasAuthority) { String rval = ""; if (path.indexOf("/") == 0) { rval = "/"; } // RFC 3986 5.2.4 (reworked) final List input = new ArrayList(Arrays.asList(path.split("/"))); if (path.endsWith("/")) { // javascript .split includes a blank entry if the string ends with // the delimiter, java .split does not so we need to add it manually input.add(""); } final List output = new ArrayList(); for (int i = 0; i < input.size(); i++) { if (".".equals(input.get(i)) || ("".equals(input.get(i)) && input.size() - i > 1)) { // input.remove(0); continue; } if ("..".equals(input.get(i))) { // input.remove(0); if (hasAuthority || (output.size() > 0 && !"..".equals(output.get(output.size() - 1)))) { // [].pop() doesn't fail, to replicate this we need to check // that there is something to remove if (output.size() > 0) { output.remove(output.size() - 1); } } else { output.add(".."); } continue; } output.add(input.get(i)); // input.remove(0); } if (output.size() > 0) { rval += output.get(0); for (int i = 1; i < output.size(); i++) { rval += "/" + output.get(i); } } return rval; } public static String removeBase(Object baseobj, String iri) { if (baseobj == null) { return iri; } JsonLdUrl base; if (baseobj instanceof String) { base = JsonLdUrl.parse((String) baseobj); } else { base = (JsonLdUrl) baseobj; } // establish base root String root = ""; if (!"".equals(base.href)) { root += (base.protocol) + "//" + base.authority; } // support network-path reference with empty base else if (iri.indexOf("//") != 0) { root += "//"; } // IRI not relative to base if (iri.indexOf(root) != 0) { return iri; } // remove root from IRI and parse remainder final JsonLdUrl rel = JsonLdUrl.parse(iri.substring(root.length())); // remove path segments that match final List baseSegments = new ArrayList( Arrays.asList(base.normalizedPath.split("/"))); if (base.normalizedPath.endsWith("/")) { baseSegments.add(""); } final List iriSegments = new ArrayList( Arrays.asList(rel.normalizedPath.split("/"))); if (rel.normalizedPath.endsWith("/")) { iriSegments.add(""); } while (baseSegments.size() > 0 && iriSegments.size() > 0) { if (!baseSegments.get(0).equals(iriSegments.get(0))) { break; } if (baseSegments.size() > 0) { baseSegments.remove(0); } if (iriSegments.size() > 0) { iriSegments.remove(0); } } // use '../' for each non-matching base segment String rval = ""; if (baseSegments.size() > 0) { // don't count the last segment if it isn't a path (doesn't end in // '/') // don't count empty first segment, it means base began with '/' if (!base.normalizedPath.endsWith("/") || "".equals(baseSegments.get(0))) { baseSegments.remove(baseSegments.size() - 1); } for (int i = 0; i < baseSegments.size(); ++i) { rval += "../"; } } // prepend remaining segments if (iriSegments.size() > 0) { rval += iriSegments.get(0); } for (int i = 1; i < iriSegments.size(); i++) { rval += "/" + iriSegments.get(i); } // add query and hash if (!"".equals(rel.query)) { rval += "?" + rel.query; } if (!"".equals(rel.hash)) { rval += rel.hash; } if ("".equals(rval)) { rval = "./"; } return rval; } public static String resolve(String baseUri, String pathToResolve) { // TODO: some input will need to be normalized to perform the expected // result with java // TODO: we can do this without using java URI! if (baseUri == null) { return pathToResolve; } if (pathToResolve == null || "".equals(pathToResolve.trim())) { return baseUri; } try { URI uri = new URI(baseUri); // URI#resolve drops base scheme for opaque URIs, https://github.com/jsonld-java/jsonld-java/issues/232 if (uri.isOpaque()) { String basePath = uri.getPath() != null ? uri.getPath() : uri.getSchemeSpecificPart(); // Drop the last segment, see https://tools.ietf.org/html/rfc3986#section-5.2.3 (2nd bullet point) basePath = basePath.contains("/") ? basePath.substring(0, basePath.lastIndexOf('/') + 1) : ""; return new URI(uri.getScheme(), basePath + pathToResolve, null).toString(); } // "a base URI [...] does not allow a fragment" (https://tools.ietf.org/html/rfc3986#section-4.3) uri = new URI(uri.getScheme(), uri.getAuthority(), uri.getPath(), uri.getQuery(), null); // query string parsing if (pathToResolve.startsWith("?")) { // drop query, https://tools.ietf.org/html/rfc3986#section-5.2.2: T.query = R.query; uri = new URI(uri.getScheme(), uri.getAuthority(), uri.getPath(), null, null); // add query to the end manually (as URI#resolve does it wrong) return uri.toString() + pathToResolve; } else if (pathToResolve.startsWith("#")) { // add fragment to the end manually (as URI#resolve does it wrong) return uri.toString() + pathToResolve; } // ensure a slash between the authority and the path of a URL if (uri.getSchemeSpecificPart().startsWith("//") && !uri.getSchemeSpecificPart().matches("//.*/.*")) { uri = new URI(uri + "/"); } uri = uri.resolve(pathToResolve); // java doesn't discard unnecessary dot segments String path = uri.getPath(); if (path != null) { path = JsonLdUrl.removeDotSegments(path, true); } return new URI(uri.getScheme(), uri.getAuthority(), path, uri.getQuery(), uri.getFragment()).toString(); } catch (final URISyntaxException e) { return null; } } /** * Parses the authority for the pre-parsed given JsonLdUrl. * * @param parsed * the pre-parsed JsonLdUrl. */ private static void parseAuthority(JsonLdUrl parsed) { // parse authority for unparsed relative network-path reference if (parsed.href.indexOf(":") == -1 && parsed.href.indexOf("//") == 0 && "".equals(parsed.host)) { // must parse authority from pathname parsed.pathname = parsed.pathname.substring(2); final int idx = parsed.pathname.indexOf("/"); if (idx == -1) { parsed.authority = parsed.pathname; parsed.pathname = ""; } else { parsed.authority = parsed.pathname.substring(0, idx); parsed.pathname = parsed.pathname.substring(idx); } } else { // construct authority parsed.authority = parsed.host; if (!"".equals(parsed.auth)) { parsed.authority = parsed.auth + "@" + parsed.authority; } } } } jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/utils/JsonUtils.java000066400000000000000000000505441452212752100275360ustar00rootroot00000000000000package com.github.jsonldjava.utils; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.io.StringReader; import java.io.StringWriter; import java.io.Writer; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.util.List; import java.util.Map; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonGenerationException; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.ObjectMapper; import com.github.jsonldjava.core.DocumentLoader; import com.github.jsonldjava.core.JsonLdApi; import com.github.jsonldjava.core.JsonLdProcessor; import org.apache.commons.io.ByteOrderMark; import org.apache.commons.io.IOUtils; import org.apache.commons.io.input.BOMInputStream; import org.apache.http.Header; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpUriRequest; import org.apache.http.client.protocol.RequestAcceptEncoding; import org.apache.http.client.protocol.ResponseContentEncoding; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.DefaultRedirectStrategy; import org.apache.http.impl.client.HttpClientBuilder; import org.apache.http.impl.client.cache.BasicHttpCacheStorage; import org.apache.http.impl.client.cache.CacheConfig; import org.apache.http.impl.client.cache.CachingHttpClientBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Functions used to make loading, parsing, and serializing JSON easy using * Jackson. * * @author tristan * */ public class JsonUtils { /** * An HTTP Accept header that prefers JSONLD. */ public static final String ACCEPT_HEADER = "application/ld+json, application/json;q=0.9, application/javascript;q=0.5, text/javascript;q=0.5, text/plain;q=0.2, */*;q=0.1"; /** * The user agent used by the default {@link CloseableHttpClient}. * * This will not be used if * {@link DocumentLoader#setHttpClient(CloseableHttpClient)} is called with * a custom client. */ public static final String JSONLD_JAVA_USER_AGENT = "JSONLD-Java"; private static final ObjectMapper JSON_MAPPER = new ObjectMapper(); private static final JsonFactory JSON_FACTORY = new JsonFactory(JSON_MAPPER); private static volatile CloseableHttpClient DEFAULT_HTTP_CLIENT; // Avoid possible endless loop when following alternate locations private static final int MAX_LINKS_FOLLOW = 20; static { // Disable default Jackson behaviour to close // InputStreams/Readers/OutputStreams/Writers JSON_FACTORY.disable(JsonGenerator.Feature.AUTO_CLOSE_TARGET); // Disable string retention features that may work for most JSON where // the field names are in limited supply, but does not work for JSON-LD // where a wide range of URIs are used for subjects and predicates JSON_FACTORY.disable(JsonFactory.Feature.INTERN_FIELD_NAMES); JSON_FACTORY.disable(JsonFactory.Feature.CANONICALIZE_FIELD_NAMES); } /** * Parses a JSON-LD document from the given {@link InputStream} to an object * that can be used as input for the {@link JsonLdApi} and * {@link JsonLdProcessor} methods.
* Uses UTF-8 as the character encoding when decoding the InputStream. * * @param input * The JSON-LD document in an InputStream. * @return A JSON Object. * @throws JsonParseException * If there was a JSON related error during parsing. * @throws IOException * If there was an IO error during parsing. */ public static Object fromInputStream(InputStream input) throws IOException { // filter BOMs from InputStream try (final BOMInputStream bOMInputStream = new BOMInputStream(input, false, ByteOrderMark.UTF_8, ByteOrderMark.UTF_16BE, ByteOrderMark.UTF_16LE, ByteOrderMark.UTF_32BE, ByteOrderMark.UTF_32LE);) { Charset charset = StandardCharsets.UTF_8; // Attempt to use the BOM if it exists if (bOMInputStream.hasBOM()) { try { charset = Charset.forName(bOMInputStream.getBOMCharsetName()); } catch (final IllegalArgumentException e) { // If there are any issues with the BOM charset, attempt to // parse with UTF_8 charset = StandardCharsets.UTF_8; } } return fromInputStream(bOMInputStream, charset); } finally { if (input != null) { input.close(); } } } /** * Parses a JSON-LD document from the given {@link InputStream} to an object * that can be used as input for the {@link JsonLdApi} and * {@link JsonLdProcessor} methods. * * @param input * The JSON-LD document in an InputStream. * @param enc * The character encoding to use when interpreting the characters * in the InputStream. * @return A JSON Object. * @throws JsonParseException * If there was a JSON related error during parsing. * @throws IOException * If there was an IO error during parsing. */ public static Object fromInputStream(InputStream input, String enc) throws IOException { return fromInputStream(input, Charset.forName(enc)); } /** * Parses a JSON-LD document from the given {@link InputStream} to an object * that can be used as input for the {@link JsonLdApi} and * {@link JsonLdProcessor} methods. * * @param input * The JSON-LD document in an InputStream. * @param enc * The character encoding to use when interpreting the characters * in the InputStream. * @return A JSON Object. * @throws JsonParseException * If there was a JSON related error during parsing. * @throws IOException * If there was an IO error during parsing. */ public static Object fromInputStream(InputStream input, Charset enc) throws IOException { try (InputStreamReader in = new InputStreamReader(input, enc); BufferedReader reader = new BufferedReader(in);) { return fromReader(reader); } } /** * Parses a JSON-LD document from the given {@link Reader} to an object that * can be used as input for the {@link JsonLdApi} and * {@link JsonLdProcessor} methods. * * @param reader * The JSON-LD document in a Reader. * @return A JSON Object. * @throws JsonParseException * If there was a JSON related error during parsing. * @throws IOException * If there was an IO error during parsing. */ public static Object fromReader(Reader reader) throws IOException { final JsonParser jp = JSON_FACTORY.createParser(reader); return fromJsonParser(jp); } /** * Parses a JSON-LD document from the given {@link JsonParser} to an object * that can be used as input for the {@link JsonLdApi} and * {@link JsonLdProcessor} methods. * * @param jp * The JSON-LD document in a {@link JsonParser}. * @return A JSON Object. * @throws JsonParseException * If there was a JSON related error during parsing. * @throws IOException * If there was an IO error during parsing. */ public static Object fromJsonParser(JsonParser jp) throws IOException { Object rval; final JsonToken initialToken = jp.nextToken(); if (initialToken == JsonToken.START_ARRAY) { rval = jp.readValueAs(List.class); } else if (initialToken == JsonToken.START_OBJECT) { rval = jp.readValueAs(Map.class); } else if (initialToken == JsonToken.VALUE_STRING) { rval = jp.readValueAs(String.class); } else if (initialToken == JsonToken.VALUE_FALSE || initialToken == JsonToken.VALUE_TRUE) { rval = jp.readValueAs(Boolean.class); } else if (initialToken == JsonToken.VALUE_NUMBER_FLOAT || initialToken == JsonToken.VALUE_NUMBER_INT) { rval = jp.readValueAs(Number.class); } else if (initialToken == JsonToken.VALUE_NULL) { rval = null; } else { throw new JsonParseException(jp, "document doesn't start with a valid json element : " + initialToken, jp.getCurrentLocation()); } JsonToken t; try { t = jp.nextToken(); } catch (final JsonParseException ex) { throw new JsonParseException(jp, "Document contains more content after json-ld element - (possible mismatched {}?)", jp.getCurrentLocation()); } if (t != null) { throw new JsonParseException(jp, "Document contains possible json content after the json-ld element - (possible mismatched {}?)", jp.getCurrentLocation()); } return rval; } /** * Parses a JSON-LD document from a string to an object that can be used as * input for the {@link JsonLdApi} and {@link JsonLdProcessor} methods. * * @param jsonString * The JSON-LD document as a string. * @return A JSON Object. * @throws JsonParseException * If there was a JSON related error during parsing. * @throws IOException * If there was an IO error during parsing. */ public static Object fromString(String jsonString) throws JsonParseException, IOException { return fromReader(new StringReader(jsonString)); } /** * Writes the given JSON-LD Object out to a String, using indentation and * new lines to improve readability. * * @param jsonObject * The JSON-LD Object to serialize. * @return A JSON document serialised to a String. * @throws JsonGenerationException * If there is a JSON error during serialization. * @throws IOException * If there is an IO error during serialization. */ public static String toPrettyString(Object jsonObject) throws JsonGenerationException, IOException { final StringWriter sw = new StringWriter(); writePrettyPrint(sw, jsonObject); return sw.toString(); } /** * Writes the given JSON-LD Object out to a String. * * @param jsonObject * The JSON-LD Object to serialize. * @return A JSON document serialised to a String. * @throws JsonGenerationException * If there is a JSON error during serialization. * @throws IOException * If there is an IO error during serialization. */ public static String toString(Object jsonObject) throws JsonGenerationException, IOException { final StringWriter sw = new StringWriter(); write(sw, jsonObject); return sw.toString(); } /** * Writes the given JSON-LD Object out to the given Writer. * * @param writer * The writer that is to receive the serialized JSON-LD object. * @param jsonObject * The JSON-LD Object to serialize. * @throws JsonGenerationException * If there is a JSON error during serialization. * @throws IOException * If there is an IO error during serialization. */ public static void write(Writer writer, Object jsonObject) throws JsonGenerationException, IOException { final JsonGenerator jw = JSON_FACTORY.createGenerator(writer); jw.writeObject(jsonObject); } /** * Writes the given JSON-LD Object out to the given Writer, using * indentation and new lines to improve readability. * * @param writer * The writer that is to receive the serialized JSON-LD object. * @param jsonObject * The JSON-LD Object to serialize. * @throws JsonGenerationException * If there is a JSON error during serialization. * @throws IOException * If there is an IO error during serialization. */ public static void writePrettyPrint(Writer writer, Object jsonObject) throws JsonGenerationException, IOException { final JsonGenerator jw = JSON_FACTORY.createGenerator(writer); jw.useDefaultPrettyPrinter(); jw.writeObject(jsonObject); } /** * Parses a JSON-LD document, from the contents of the JSON resource * resolved from the JsonLdUrl, to an object that can be used as input for * the {@link JsonLdApi} and {@link JsonLdProcessor} methods. * * @param url * The JsonLdUrl to resolve * @param httpClient * The {@link CloseableHttpClient} to use to resolve the URL. * @return A JSON Object. * @throws JsonParseException * If there was a JSON related error during parsing. * @throws IOException * If there was an IO error during parsing. */ public static Object fromURL(java.net.URL url, CloseableHttpClient httpClient) throws JsonParseException, IOException { final String protocol = url.getProtocol(); // We can only use the Apache HTTPClient for HTTP/HTTPS, so use the // native java client for the others if (!protocol.equalsIgnoreCase("http") && !protocol.equalsIgnoreCase("https")) { // Can't use the HTTP client for those! // Fallback to Java's built-in JsonLdUrl handler. No need for // Accept headers as it's likely to be file: or jar: return fromInputStream(url.openStream()); } else { return fromJsonLdViaHttpUri(url, httpClient, 0); } } private static Object fromJsonLdViaHttpUri(final URL url, final CloseableHttpClient httpClient, int linksFollowed) throws IOException { final HttpUriRequest request = new HttpGet(url.toExternalForm()); // We prefer application/ld+json, but fallback to application/json // or whatever is available request.addHeader("Accept", ACCEPT_HEADER); try (CloseableHttpResponse response = httpClient.execute(request)) { final int status = response.getStatusLine().getStatusCode(); if (status != 200 && status != 203) { throw new IOException("Can't retrieve " + url + ", status code: " + status); } // follow alternate document location // https://www.w3.org/TR/json-ld11/#alternate-document-location URL alternateLink = alternateLink(url, response); if (alternateLink != null) { linksFollowed++; if (linksFollowed > MAX_LINKS_FOLLOW) { throw new IOException("Too many alternate links followed. This may indicate a cycle. Aborting."); } return fromJsonLdViaHttpUri(alternateLink, httpClient, linksFollowed); } return fromInputStream(response.getEntity().getContent()); } } private static URL alternateLink(URL url, CloseableHttpResponse response) throws MalformedURLException { if (response.getEntity().getContentType() != null && !response.getEntity().getContentType().getValue().equals("application/ld+json")) { for (Header header : response.getAllHeaders()) { if (header.getName().equalsIgnoreCase("link")) { String alternateLink = ""; boolean relAlternate = false; boolean jsonld = false; for (String value : header.getValue().split(";")) { value=value.trim(); if (value.startsWith("<") && value.endsWith(">")) { alternateLink = value.substring(1, value.length() - 1); } if (value.startsWith("type=\"application/ld+json\"")) { jsonld = true; } if (value.startsWith("rel=\"alternate\"")) { relAlternate = true; } } if (jsonld && relAlternate && !alternateLink.isEmpty()) { return new URL(url.getProtocol() + "://" + url.getAuthority() + alternateLink); } } } } return null; } /** * Fallback method directly using the {@link java.net.HttpURLConnection} * class for cases where servers do not interoperate correctly with Apache * HTTPClient. * * @param url * The URL to access. * @return The result, after conversion from JSON to a Java Object. * @throws JsonParseException * If there was a JSON related error during parsing. * @throws IOException * If there was an IO error during parsing. */ public static Object fromURLJavaNet(URL url) throws JsonParseException, IOException { final HttpURLConnection urlConn = (HttpURLConnection) url.openConnection(); urlConn.addRequestProperty("Accept", ACCEPT_HEADER); final StringWriter output = new StringWriter(); try (final InputStream directStream = urlConn.getInputStream();) { IOUtils.copy(directStream, output, StandardCharsets.UTF_8); } finally { output.flush(); } final Object context = JsonUtils.fromReader(new StringReader(output.toString())); return context; } public static CloseableHttpClient getDefaultHttpClient() { CloseableHttpClient result = DEFAULT_HTTP_CLIENT; if (result == null) { synchronized (JsonUtils.class) { result = DEFAULT_HTTP_CLIENT; if (result == null) { result = DEFAULT_HTTP_CLIENT = JsonUtils.createDefaultHttpClient(); } } } return result; } public static CloseableHttpClient createDefaultHttpClient() { final CacheConfig cacheConfig = createDefaultCacheConfig(); final CloseableHttpClient result = createDefaultHttpClient(cacheConfig); return result; } public static CacheConfig createDefaultCacheConfig() { return CacheConfig.custom().setMaxCacheEntries(500).setMaxObjectSize(1024 * 256) .setSharedCache(false).setHeuristicCachingEnabled(true) .setHeuristicDefaultLifetime(86400).build(); } public static CloseableHttpClient createDefaultHttpClient(final CacheConfig cacheConfig) { return createDefaultHttpClientBuilder(cacheConfig).build(); } public static HttpClientBuilder createDefaultHttpClientBuilder(final CacheConfig cacheConfig) { // Common CacheConfig for both the JarCacheStorage and the underlying // BasicHttpCacheStorage return CachingHttpClientBuilder.create() // allow caching .setCacheConfig(cacheConfig) // Wrap the local JarCacheStorage around a BasicHttpCacheStorage .setHttpCacheStorage(new JarCacheStorage(null, cacheConfig, new BasicHttpCacheStorage(cacheConfig))) // Support compressed data // https://wayback.archive.org/web/20130901115452/http://hc.apache.org:80/httpcomponents-client-ga/tutorial/html/httpagent.html#d5e1238 .addInterceptorFirst(new RequestAcceptEncoding()) .addInterceptorFirst(new ResponseContentEncoding()) .setRedirectStrategy(DefaultRedirectStrategy.INSTANCE) // User agent customisation .setUserAgent(JSONLD_JAVA_USER_AGENT) // use system defaults for proxy etc. .useSystemProperties(); } private JsonUtils() { // Static class, no access to constructor } } jsonld-java-0.13.6/core/src/main/java/com/github/jsonldjava/utils/Obj.java000066400000000000000000000072351452212752100263150ustar00rootroot00000000000000package com.github.jsonldjava.utils; import java.util.LinkedHashMap; import java.util.Map; public class Obj { /** * Helper function for creating maps and tuning them as necessary. * * @return A new {@link Map} instance. */ public static Map newMap() { return new LinkedHashMap(4, 0.75f); } /** * Helper function for creating maps and tuning them as necessary. * * @param key * A key to add to the map on creation. * @param value * A value to attach to the key in the new map. * @return A new {@link Map} instance. */ public static Map newMap(String key, Object value) { final Map result = newMap(); result.put(key, value); return result; } /** * Used to make getting values from maps embedded in maps embedded in maps * easier TODO: roll out the loops for efficiency * * @param map * The map to get a key from * @param keys * The list of keys to attempt to get from the map. The first key * found with a non-null value is returned, or if none are found, * the original map is returned. * @return The key from the map, or the original map if none of the keys are * found. */ public static Object get(Map map, String... keys) { Map result = map; for (final String key : keys) { result = (Map) map.get(key); // make sure we don't crash if we get a null somewhere down the line if (result == null) { return result; } } return result; } public static Object put(Object map, String key1, Object value) { ((Map) map).put(key1, value); return map; } public static Object put(Object map, String key1, String key2, Object value) { ((Map) ((Map) map).get(key1)).put(key2, value); return map; } public static Object put(Object map, String key1, String key2, String key3, Object value) { ((Map) ((Map) ((Map) map).get(key1)) .get(key2)).put(key3, value); return map; } public static Object put(Object map, String key1, String key2, String key3, String key4, Object value) { ((Map) ((Map) ((Map) ((Map) map) .get(key1)).get(key2)).get(key3)).put(key4, value); return map; } public static boolean contains(Object map, String... keys) { for (final String key : keys) { map = ((Map) map).get(key); if (map == null) { return false; } } return true; } public static Object remove(Object map, String k1, String k2) { return ((Map) ((Map) map).get(k1)).remove(k2); } /** * A null-safe equals check using v1.equals(v2) if they are both not null. * * @param v1 * The source object for the equals check. * @param v2 * The object to be checked for equality using the first objects * equals method. * @return True if the objects were both null. True if both objects were not * null and v1.equals(v2). False otherwise. */ public static boolean equals(Object v1, Object v2) { return v1 == null ? v2 == null : v1.equals(v2); } } jsonld-java-0.13.6/core/src/test/000077500000000000000000000000001452212752100165105ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/java/000077500000000000000000000000001452212752100174315ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/java/com/000077500000000000000000000000001452212752100202075ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/java/com/github/000077500000000000000000000000001452212752100214715ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/000077500000000000000000000000001452212752100236245ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/000077500000000000000000000000001452212752100245545ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/ArrayContextToRDFTest.java000066400000000000000000000034721452212752100315470ustar00rootroot00000000000000package com.github.jsonldjava.core; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import java.net.URL; import org.junit.Test; import com.github.jsonldjava.utils.JsonUtils; public class ArrayContextToRDFTest { @Test public void toRdfWithNamespace() throws Exception { final URL contextUrl = getClass().getResource("/custom/contexttest-0001.jsonld"); assertNotNull(contextUrl); final Object context = JsonUtils.fromURL(contextUrl, JsonUtils.getDefaultHttpClient()); assertNotNull(context); final URL arrayContextUrl = getClass().getResource("/custom/array-context.jsonld"); assertNotNull(arrayContextUrl); final Object arrayContext = JsonUtils.fromURL(arrayContextUrl, JsonUtils.getDefaultHttpClient()); assertNotNull(arrayContext); final JsonLdOptions options = new JsonLdOptions(); options.useNamespaces = true; // Fake document loader that always returns the imported context // from classpath final DocumentLoader documentLoader = new DocumentLoader() { @Override public RemoteDocument loadDocument(String url) throws JsonLdError { return new RemoteDocument("http://nonexisting.example.com/context", context); } }; options.setDocumentLoader(documentLoader); final RDFDataset rdf = (RDFDataset) JsonLdProcessor.toRDF(arrayContext, options); // System.out.println(rdf.getNamespaces()); assertEquals("http://example.org/", rdf.getNamespace("ex")); assertEquals("http://example.com/2/", rdf.getNamespace("ex2")); // Only 'proper' prefixes returned assertFalse(rdf.getNamespaces().containsKey("term1")); } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/ContextCompactionTest.java000066400000000000000000000044241452212752100317240ustar00rootroot00000000000000package com.github.jsonldjava.core; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import com.github.jsonldjava.utils.JsonUtils; import org.junit.Test; public class ContextCompactionTest { @Test public void testCompaction() { final Map contextAbbrevs = new HashMap(); contextAbbrevs.put("so", "http://schema.org/"); final Map json = new HashMap(); json.put("@context", contextAbbrevs); json.put("@id", "http://example.org/my_work"); final List types = new LinkedList(); types.add("so:CreativeWork"); json.put("@type", types); json.put("so:name", "My Work"); json.put("so:url", "http://example.org/my_work"); final JsonLdOptions options = new JsonLdOptions(); options.setBase("http://schema.org/"); options.setCompactArrays(true); final List newContexts = new LinkedList(); newContexts.add("http://schema.org/"); final Map compacted = JsonLdProcessor.compact(json, newContexts, options); assertTrue("Compaction removed the context", compacted.containsKey("@context")); assertFalse("Compaction of context should be a string, not a list", compacted.get("@context") instanceof List); } @Test public void testCompactionSingleRemoteContext() throws Exception { final String jsonString = "[{\"@type\": [\"http://schema.org/Person\"] } ]"; final String ctxStr = "{\"@context\": \"http://schema.org/\"}"; final Object json = JsonUtils.fromString(jsonString); final Object ctx = JsonUtils.fromString(ctxStr); final JsonLdOptions options = new JsonLdOptions(); final Map compacted = JsonLdProcessor.compact(json, ctx, options); assertEquals("Wrong returned context", "http://schema.org/", compacted.get("@context")); assertEquals("Wrong type", "Person", compacted.get("type")); assertEquals("Wrong number of Json entries",2, compacted.size()); } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/ContextFlatteningTest.java000066400000000000000000000047031452212752100317230ustar00rootroot00000000000000package com.github.jsonldjava.core; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import com.github.jsonldjava.utils.JsonUtils; import org.junit.Test; public class ContextFlatteningTest { @Test public void testFlatenning() throws Exception { final Map contextAbbrevs = new HashMap<>(); contextAbbrevs.put("so", "http://schema.org/"); final Map json = new HashMap<>(); json.put("@context", contextAbbrevs); json.put("@id", "http://example.org/my_work"); final List types = new LinkedList<>(); types.add("so:CreativeWork"); json.put("@type", types); json.put("so:name", "My Work"); json.put("so:url", "http://example.org/my_work"); final JsonLdOptions options = new JsonLdOptions(); options.setBase("http://schema.org/"); options.setCompactArrays(true); options.setOmitGraph(true); final String flattenStr = "{\"@id\": \"http://schema.org/myid\", \"@context\": \"http://schema.org/\"}"; final Object flatten = JsonUtils.fromString(flattenStr); final Map flattened = ((Map)JsonLdProcessor.flatten(json, flatten, options)); assertTrue("Flattening removed the context", flattened.containsKey("@context")); assertFalse("Flattening of context should be a string, not a list", flattened.get("@context") instanceof List); } @Test public void testFlatteningRemoteContext() throws Exception { final String jsonString = "{\"@context\": {\"@vocab\": \"http://schema.org/\"}, \"knows\": [{\"name\": \"a\"}, {\"name\": \"b\"}] }"; final String flattenStr = "{\"@context\": \"http://schema.org/\"}"; final Object json = JsonUtils.fromString(jsonString); final Object flatten = JsonUtils.fromString(flattenStr); final JsonLdOptions options = new JsonLdOptions(); options.setOmitGraph(true); final Map flattened = ((Map)JsonLdProcessor.flatten(json, flatten, options)); assertEquals("Wrong returned context", "http://schema.org/", flattened.get("@context")); assertEquals("Wrong number of Json entries",2, flattened.size()); } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/ContextFramingTest.java000066400000000000000000000047421452212752100312160ustar00rootroot00000000000000package com.github.jsonldjava.core; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import com.github.jsonldjava.utils.JsonUtils; import org.junit.Test; public class ContextFramingTest { @Test public void testFraming() throws Exception { final Map contextAbbrevs = new HashMap<>(); contextAbbrevs.put("so", "http://schema.org/"); final Map json = new HashMap<>(); json.put("@context", contextAbbrevs); json.put("@id", "http://example.org/my_work"); final List types = new LinkedList<>(); types.add("so:CreativeWork"); json.put("@type", types); json.put("so:name", "My Work"); json.put("so:url", "http://example.org/my_work"); final JsonLdOptions options = new JsonLdOptions(); options.setBase("http://schema.org/"); options.setCompactArrays(true); options.setOmitGraph(true); final String frameStr = "{\"@id\": \"http://schema.org/myid\", \"@context\": \"http://schema.org/\"}"; final Object frame = JsonUtils.fromString(frameStr); final Map framed = JsonLdProcessor.frame(json, frame, options); assertTrue("Framing removed the context", framed.containsKey("@context")); assertFalse("Framing of context should be a string, not a list", framed.get("@context") instanceof List); } @Test public void testFramingRemoteContext() throws Exception { final String jsonString = "{\"@id\": \"http://schema.org/myid\", \"@type\": [\"http://schema.org/Person\"]}"; final String frameStr = "{\"@id\": \"http://schema.org/myid\", \"@context\": \"http://schema.org/\"}"; final Object json = JsonUtils.fromString(jsonString); final Object frame = JsonUtils.fromString(frameStr); final JsonLdOptions options = new JsonLdOptions(); options.setOmitGraph(true); final Map framed = JsonLdProcessor.frame(json, frame, options); assertEquals("Wrong returned context", "http://schema.org/", framed.get("@context")); assertEquals("Wrong id", "schema:myid", framed.get("id")); assertEquals("Wrong type", "Person", framed.get("type")); assertEquals("Wrong number of Json entries",3, framed.size()); } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/ContextRecursionTest.java000066400000000000000000000063551452212752100316060ustar00rootroot00000000000000package com.github.jsonldjava.core; import com.github.jsonldjava.utils.JsonUtils; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; import java.io.IOException; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; public class ContextRecursionTest { @BeforeClass public static void setup() { System.setProperty(DocumentLoader.DISALLOW_REMOTE_CONTEXT_LOADING, "true"); } @AfterClass public static void tearDown() { System.setProperty(DocumentLoader.DISALLOW_REMOTE_CONTEXT_LOADING, "false"); } @Test public void testIssue302_allowedRecursion() throws IOException { final String contextB = "{\"@context\": [\"http://localhost/d\", {\"b\": \"http://localhost/b\"} ] }"; final String contextC = "{\"@context\": [\"http://localhost/d\", {\"c\": \"http://localhost/c\"} ] }"; final String contextD = "{\"@context\": [\"http://localhost/e\", {\"d\": \"http://localhost/d\"} ] }"; final String contextE = "{\"@context\": {\"e\": \"http://localhost/e\"} }"; final DocumentLoader dl = new DocumentLoader(); dl.addInjectedDoc("http://localhost/b", contextB); dl.addInjectedDoc("http://localhost/c", contextC); dl.addInjectedDoc("http://localhost/d", contextD); dl.addInjectedDoc("http://localhost/e", contextE); final JsonLdOptions options = new JsonLdOptions(); options.setDocumentLoader(dl); final String jsonString = "{\"@context\": [\"http://localhost/d\", \"http://localhost/b\", \"http://localhost/c\", {\"a\": \"http://localhost/a\"} ], \"a\": \"A\", \"b\": \"B\", \"c\": \"C\", \"d\": \"D\"}"; final Object json = JsonUtils.fromString(jsonString); final Object expanded = JsonLdProcessor.expand(json, options); assertEquals( "[{http://localhost/a=[{@value=A}], http://localhost/b=[{@value=B}], http://localhost/c=[{@value=C}], http://localhost/d=[{@value=D}]}]", expanded.toString()); } @Test public void testCyclicRecursion() throws IOException { final String contextC = "{\"@context\": [\"http://localhost/d\", {\"c\": \"http://localhost/c\"} ] }"; final String contextD = "{\"@context\": [\"http://localhost/e\", {\"d\": \"http://localhost/d\"} ] }"; final String contextE = "{\"@context\": [\"http://localhost/c\", {\"e\": \"http://localhost/e\"} ] }"; final DocumentLoader dl = new DocumentLoader(); dl.addInjectedDoc("http://localhost/c", contextC); dl.addInjectedDoc("http://localhost/d", contextD); dl.addInjectedDoc("http://localhost/e", contextE); final JsonLdOptions options = new JsonLdOptions(); options.setDocumentLoader(dl); final String jsonString = "{\"@context\": [\"http://localhost/c\", {\"a\": \"http://localhost/a\"} ]}"; final Object json = JsonUtils.fromString(jsonString); try { JsonLdProcessor.expand(json, options); fail("it should throw"); } catch(JsonLdError err) { assertEquals(JsonLdError.Error.RECURSIVE_CONTEXT_INCLUSION, err.getType()); assertEquals("recursive context inclusion: http://localhost/c", err.getMessage()); } } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/ContextSerializationTest.java000066400000000000000000000015411452212752100324420ustar00rootroot00000000000000package com.github.jsonldjava.core; import com.github.jsonldjava.utils.JsonUtils; import org.junit.Test; import java.io.IOException; import java.util.Map; import static org.junit.Assert.assertEquals; public class ContextSerializationTest { @Test // Added in order to have some coverage on the serialize method since is not used anywhere. public void serializeTest() throws IOException { final Map json = (Map)JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/contexttest-0005.jsonld")); final Map contextValue = (Map)json.get(JsonLdConsts.CONTEXT); final Map serializedContext = new Context().parse(contextValue).serialize(); assertEquals("Wrong serialized context", json, serializedContext); } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/ContextTest.java000066400000000000000000000055201452212752100277050ustar00rootroot00000000000000package com.github.jsonldjava.core; import static org.junit.Assert.assertEquals; import java.util.Arrays; import java.util.List; import java.util.Map; import org.junit.Test; import com.google.common.collect.ImmutableMap; public class ContextTest { @Test public void testRemoveBase() { // TODO: test if Context.removeBase actually works } // See https://github.com/jsonld-java/jsonld-java/issues/141 @Test(expected = JsonLdError.class) public void testIssue141_errorOnEmptyKey_compact() { JsonLdProcessor.compact(ImmutableMap.of(), ImmutableMap.of("", "http://example.com"), new JsonLdOptions()); } @Test(expected = JsonLdError.class) public void testIssue141_errorOnEmptyKey_expand() { JsonLdProcessor.expand( ImmutableMap.of("@context", ImmutableMap.of("", "http://example.com")), new JsonLdOptions()); } @Test(expected = JsonLdError.class) public void testIssue141_errorOnEmptyKey_newContext1() { new Context(ImmutableMap.of("", "http://example.com")); } @Test(expected = JsonLdError.class) public void testIssue141_errorOnEmptyKey_newContext2() { new Context(ImmutableMap.of("", "http://example.com"), new JsonLdOptions()); } /* * schema.org documentation says some properties can be either Text or URL, * but sets `@type : @id` in the context, e.g. for * https://schema.org/roleName: */ Map schemaOrg = ImmutableMap.of("roleName", ImmutableMap.of("@id", "http://schema.org/roleName", "@type", "@id")); // See https://github.com/jsonld-java/jsonld-java/issues/248 @Test(expected = IllegalArgumentException.class) public void testIssue248_uriExpected() { JsonLdProcessor .expand(ImmutableMap.of("roleName", "Production Company", "@context", schemaOrg)); } @Test public void testIssue248_forceValue() { final List value = Arrays.asList(ImmutableMap.of("@value", "Production Company")); final Map input = ImmutableMap.of("roleName", value, "@context", schemaOrg); final Object output = JsonLdProcessor.expand(input); assertEquals("[{http://schema.org/roleName=[{@value=Production Company}]}]", output.toString()); } @Test public void testIssue248_overrideContext() { final List context = Arrays.asList(schemaOrg, ImmutableMap.of("roleName", ImmutableMap.of("@id", "http://schema.org/roleName"))); final Map input = ImmutableMap.of("roleName", "Production Company", "@context", context); final Object output = JsonLdProcessor.expand(input); assertEquals("[{http://schema.org/roleName=[{@value=Production Company}]}]", output.toString()); } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/DecimalLiteralCanonicalTest.java000066400000000000000000000022011452212752100327350ustar00rootroot00000000000000package com.github.jsonldjava.core; import org.junit.Test; import java.util.HashMap; import java.util.List; import java.util.Map; import static org.junit.Assert.assertEquals; public class DecimalLiteralCanonicalTest { @Test public void testDecimalIsNotCanonicalized() { double value = 6.5; Map innerMap = new HashMap<>(); innerMap.put("@value", value); innerMap.put("@type", "http://www.w3.org/2001/XMLSchema#decimal"); Map jsonMap = new HashMap<>(); jsonMap.put("ex:id", innerMap); JsonLdApi api = new JsonLdApi(jsonMap, new JsonLdOptions("")); RDFDataset dataset = api.toRDF(); List defaultList = (List) dataset.get("@default"); Map tripleMap = (Map) defaultList.get(0); Map objectMap = (Map) tripleMap.get("object"); assertEquals("http://www.w3.org/2001/XMLSchema#decimal", objectMap.get("datatype")); assertEquals(Double.toString(value), objectMap.get("value")); } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/DocumentLoaderTest.java000066400000000000000000000442551452212752100311760ustar00rootroot00000000000000package com.github.jsonldjava.core; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNotSame; import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.io.IOException; import java.io.InputStream; import java.io.StringReader; import java.io.StringWriter; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLClassLoader; import java.net.URLConnection; import java.net.URLStreamHandler; import java.nio.charset.Charset; import java.util.List; import java.util.Map; import java.util.concurrent.atomic.AtomicInteger; import org.apache.commons.io.IOUtils; import org.apache.http.Header; import org.apache.http.HeaderElement; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.StatusLine; import org.apache.http.client.HttpClient; import org.apache.http.client.cache.CacheResponseStatus; import org.apache.http.client.cache.HttpCacheContext; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpUriRequest; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.util.EntityUtils; import org.junit.After; import org.junit.Ignore; import org.junit.Test; import org.mockito.ArgumentCaptor; import com.github.jsonldjava.utils.JsonUtils; @SuppressWarnings("unchecked") public class DocumentLoaderTest { private final DocumentLoader documentLoader = new DocumentLoader(); @After public void setContextClassLoader() { Thread.currentThread().setContextClassLoader(getClass().getClassLoader()); } @Test public void fromURLTest0001() throws Exception { final URL contexttest = getClass().getResource("/custom/contexttest-0001.jsonld"); assertNotNull(contexttest); final Object context = JsonUtils.fromURL(contexttest, documentLoader.getHttpClient()); assertTrue(context instanceof Map); final Map contextMap = (Map) context; assertEquals(1, contextMap.size()); final Map cont = (Map) contextMap.get("@context"); assertEquals(3, cont.size()); assertEquals("http://example.org/", cont.get("ex")); final Map term1 = (Map) cont.get("term1"); assertEquals("ex:term1", term1.get("@id")); } @Test public void fromURLTest0002() throws Exception { final URL contexttest = getClass().getResource("/custom/contexttest-0002.jsonld"); assertNotNull(contexttest); final Object context = JsonUtils.fromURL(contexttest, documentLoader.getHttpClient()); assertTrue(context instanceof List); final List> contextList = (List>) context; final Map contextMap1 = contextList.get(0); assertEquals(1, contextMap1.size()); final Map cont1 = (Map) contextMap1.get("@context"); assertEquals(2, cont1.size()); assertEquals("http://example.org/", cont1.get("ex")); final Map term1 = (Map) cont1.get("term1"); assertEquals("ex:term1", term1.get("@id")); final Map contextMap2 = contextList.get(1); assertEquals(1, contextMap2.size()); final Map cont2 = (Map) contextMap2.get("@context"); assertEquals(1, cont2.size()); final Map term2 = (Map) cont2.get("term2"); assertEquals("ex:term2", term2.get("@id")); } @Test public void fromURLBomTest0004() throws Exception { final URL contexttest = getClass().getResource("/custom/contexttest-0004.jsonld"); assertNotNull(contexttest); final Object context = JsonUtils.fromURL(contexttest, documentLoader.getHttpClient()); assertTrue(context instanceof Map); assertFalse(((Map) context).isEmpty()); } // @Ignore("Integration test") @Test public void fromURLredirectHTTPSToHTTP() throws Exception { final URL url = new URL("https://w3id.org/bundle/context"); final Object context = JsonUtils.fromURL(url, documentLoader.getHttpClient()); // Should not fail because of // http://stackoverflow.com/questions/1884230/java-doesnt-follow-redirect-in-urlconnection // http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4620571 assertTrue(context instanceof Map); assertFalse(((Map) context).isEmpty()); } // @Ignore("Integration test") @Test public void fromURLredirect() throws Exception { final URL url = new URL("http://purl.org/wf4ever/ro-bundle/context.json"); final Object context = JsonUtils.fromURL(url, documentLoader.getHttpClient()); assertTrue(context instanceof Map); assertFalse(((Map) context).isEmpty()); } // @Ignore("Integration test") @Test public void loadDocumentWf4ever() throws Exception { final RemoteDocument document = documentLoader .loadDocument("http://purl.org/wf4ever/ro-bundle/context.json"); final Object context = document.getDocument(); assertTrue(context instanceof Map); assertFalse(((Map) context).isEmpty()); } @Ignore("Schema.org started to redirect from HTTP to HTTPS which breaks the Java HttpURLConnection API") @Test public void fromURLSchemaOrgNoApacheHttpClient() throws Exception { final URL url = new URL("http://schema.org/"); final HttpURLConnection urlConn = (HttpURLConnection) url.openConnection(); urlConn.addRequestProperty("Accept", "application/ld+json"); final StringWriter output = new StringWriter(); try (final InputStream directStream = urlConn.getInputStream();) { IOUtils.copy(directStream, output, Charset.forName("UTF-8")); } final Object context = JsonUtils.fromReader(new StringReader(output.toString())); assertTrue(context instanceof Map); assertFalse(((Map) context).isEmpty()); } @Test public void loadDocumentSchemaOrg() throws Exception { final RemoteDocument document = documentLoader.loadDocument("http://schema.org/"); final Object context = document.getDocument(); assertTrue(context instanceof Map); assertFalse(((Map) context).isEmpty()); } @Test public void loadDocumentSchemaOrgDirect() throws Exception { final RemoteDocument document = documentLoader .loadDocument("http://schema.org/docs/jsonldcontext.json"); final Object context = document.getDocument(); assertTrue(context instanceof Map); assertFalse(((Map) context).isEmpty()); } @Ignore("Caching failed without any apparent cause on the client side") @Test public void fromURLCache() throws Exception { final URL url = new URL("https://json-ld.org/contexts/person.jsonld"); JsonUtils.fromURL(url, documentLoader.getHttpClient()); // Now try to get it again and ensure it is // cached final HttpClient clientCached = documentLoader.getHttpClient(); final HttpUriRequest getCached = new HttpGet(url.toURI()); getCached.setHeader("Accept", JsonUtils.ACCEPT_HEADER); final HttpCacheContext localContextCached = HttpCacheContext.create(); final HttpResponse respoCached = clientCached.execute(getCached, localContextCached); EntityUtils.consume(respoCached.getEntity()); // Check cache status // http://hc.apache.org/httpcomponents-client-ga/tutorial/html/caching.html final CacheResponseStatus responseStatusCached = localContextCached .getCacheResponseStatus(); assertNotEquals(CacheResponseStatus.CACHE_MISS, responseStatusCached); } @Test public void fromURLCustomHandler() throws Exception { final AtomicInteger requests = new AtomicInteger(); final URLStreamHandler handler = new URLStreamHandler() { @Override protected URLConnection openConnection(URL u) throws IOException { return new URLConnection(u) { @Override public void connect() throws IOException { return; } @Override public InputStream getInputStream() throws IOException { requests.incrementAndGet(); return getClass().getResourceAsStream("/custom/contexttest-0001.jsonld"); } }; } }; final URL url = new URL(null, "jsonldtest:context", handler); assertEquals(0, requests.get()); final Object context = JsonUtils.fromURL(url, documentLoader.getHttpClient()); assertEquals(1, requests.get()); assertTrue(context instanceof Map); assertFalse(((Map) context).isEmpty()); } protected CloseableHttpClient fakeHttpClient(ArgumentCaptor httpRequest) throws IllegalStateException, IOException { final CloseableHttpClient httpClient = mock(CloseableHttpClient.class); final CloseableHttpResponse fakeResponse = mock(CloseableHttpResponse.class); final StatusLine statusCode = mock(StatusLine.class); when(statusCode.getStatusCode()).thenReturn(200); when(fakeResponse.getStatusLine()).thenReturn(statusCode); final HttpEntity entity = mock(HttpEntity.class); when(entity.getContent()).thenReturn( DocumentLoaderTest.class.getResourceAsStream("/custom/contexttest-0001.jsonld")); when(fakeResponse.getEntity()).thenReturn(entity); when(httpClient.execute(httpRequest.capture())).thenReturn(fakeResponse); return httpClient; } @Test public void fromURLAcceptHeaders() throws Exception { final URL url = new URL("http://example.com/fake-jsonld-test"); final ArgumentCaptor httpRequest = ArgumentCaptor .forClass(HttpUriRequest.class); documentLoader.setHttpClient(fakeHttpClient(httpRequest)); try { final Object context = JsonUtils.fromURL(url, documentLoader.getHttpClient()); assertTrue(context instanceof Map); } finally { documentLoader.setHttpClient(null); assertSame(documentLoader.getHttpClient(), new DocumentLoader().getHttpClient()); } assertEquals(1, httpRequest.getAllValues().size()); final HttpUriRequest req = httpRequest.getValue(); assertEquals(url.toURI(), req.getURI()); final Header[] accept = req.getHeaders("Accept"); assertEquals(1, accept.length); assertEquals(JsonUtils.ACCEPT_HEADER, accept[0].getValue()); // Test that this header parses correctly final HeaderElement[] elems = accept[0].getElements(); assertEquals("application/ld+json", elems[0].getName()); assertEquals(0, elems[0].getParameterCount()); assertEquals("application/json", elems[1].getName()); assertEquals(1, elems[1].getParameterCount()); assertEquals("0.9", elems[1].getParameterByName("q").getValue()); assertEquals("application/javascript", elems[2].getName()); assertEquals(1, elems[2].getParameterCount()); assertEquals("0.5", elems[2].getParameterByName("q").getValue()); assertEquals("text/javascript", elems[3].getName()); assertEquals(1, elems[3].getParameterCount()); assertEquals("0.5", elems[3].getParameterByName("q").getValue()); assertEquals("text/plain", elems[4].getName()); assertEquals(1, elems[4].getParameterCount()); assertEquals("0.2", elems[4].getParameterByName("q").getValue()); assertEquals("*/*", elems[5].getName()); assertEquals(1, elems[5].getParameterCount()); assertEquals("0.1", elems[5].getParameterByName("q").getValue()); assertEquals(6, elems.length); } @Test public void jarCacheHit() throws Exception { // If no cache, should fail-fast as nonexisting.example.com is not in // DNS final Object context = JsonUtils.fromURL(new URL("http://nonexisting.example.com/context"), documentLoader.getHttpClient()); assertTrue(context instanceof Map); assertTrue(((Map) context).containsKey("@context")); } @Test(expected = IOException.class) public void jarCacheMiss404() throws Exception { // Should fail-fast as nonexisting.example.com is not in DNS JsonUtils.fromURL(new URL("http://nonexisting.example.com/miss"), documentLoader.getHttpClient()); } @Test(expected = IOException.class) public void jarCacheMissThreadCtx() throws Exception { final URLClassLoader findNothingCL = new URLClassLoader(new URL[] {}, null); Thread.currentThread().setContextClassLoader(findNothingCL); JsonUtils.fromURL(new URL("http://nonexisting.example.com/context"), documentLoader.getHttpClient()); } @Test public void jarCacheHitThreadCtx() throws Exception { final URL url = new URL("http://nonexisting.example.com/nested/hello"); final URL nestedJar = getClass().getResource("/nested.jar"); try { JsonUtils.fromURL(url, documentLoader.getHttpClient()); fail("Should not be able to find nested/hello yet"); } catch (final IOException ex) { // expected } Thread.currentThread().setContextClassLoader(null); try { JsonUtils.fromURL(url, documentLoader.getHttpClient()); fail("Should not be able to find nested/hello yet"); } catch (final IOException ex) { // expected } final ClassLoader cl = new URLClassLoader(new URL[] { nestedJar }); Thread.currentThread().setContextClassLoader(cl); final Object hello = JsonUtils.fromURL(url, documentLoader.getHttpClient()); assertTrue(hello instanceof Map); assertEquals("World!", ((Map) hello).get("Hello")); } @Test public void sharedHttpClient() throws Exception { // Should be the same instance unless explicitly set assertSame(documentLoader.getHttpClient(), new DocumentLoader().getHttpClient()); } @Test public void differentHttpClient() throws Exception { // Custom http client try { documentLoader.setHttpClient(JsonUtils.createDefaultHttpClient()); assertNotSame(documentLoader.getHttpClient(), new DocumentLoader().getHttpClient()); } finally { // Use default again documentLoader.setHttpClient(null); assertSame(documentLoader.getHttpClient(), new DocumentLoader().getHttpClient()); } } @Test public void testDisallowRemoteContexts() throws Exception { final String testUrl = "http://json-ld.org/contexts/person.jsonld"; final Object test = documentLoader.loadDocument(testUrl); assertNotNull( "Was not able to fetch from URL before testing disallow remote contexts loading", test); final String disallowProperty = System .getProperty(DocumentLoader.DISALLOW_REMOTE_CONTEXT_LOADING); try { System.setProperty(DocumentLoader.DISALLOW_REMOTE_CONTEXT_LOADING, "true"); documentLoader.loadDocument(testUrl); fail("Expected exception to occur"); } catch (final JsonLdError e) { assertEquals(JsonLdError.Error.LOADING_REMOTE_CONTEXT_FAILED, e.getType()); } finally { if (disallowProperty == null) { System.clearProperty(DocumentLoader.DISALLOW_REMOTE_CONTEXT_LOADING); } else { System.setProperty(DocumentLoader.DISALLOW_REMOTE_CONTEXT_LOADING, disallowProperty); } } } @Test public void testInjectContext() throws Exception { injectContext(new JsonLdOptions()); } @Test public void testIssue304_remoteContextAndBaseIri() throws Exception { injectContext(new JsonLdOptions("testing:baseIri")); } private void injectContext(final JsonLdOptions options) throws Exception { final Object jsonObject = JsonUtils.fromString( "{ \"@context\":\"http://nonexisting.example.com/thing\", \"pony\":5 }"); // Verify fails to find context by default try { JsonLdProcessor.expand(jsonObject, options); fail("Expected exception to occur"); } catch (final JsonLdError e) { // Success } // Inject context final DocumentLoader dl = new DocumentLoader(); dl.addInjectedDoc("http://nonexisting.example.com/thing", "{ \"@context\": { \"pony\":\"http://nonexisting.example.com/thing/pony\" } }"); options.setDocumentLoader(dl); // Execute final List expand = JsonLdProcessor.expand(jsonObject, options); // Verify result final Object v = ((Map) ((List) ((Map) expand .get(0)).get("http://nonexisting.example.com/thing/pony")).get(0)).get("@value"); assertEquals(5, v); } @Test public void testRemoteContextCaching() throws Exception { final String[] urls = { "http://schema.org/", "http://schema.org/docs/jsonldcontext.json" }; for (final String url : urls) { final long start = System.currentTimeMillis(); for (int i = 1; i <= 1000; i++) { documentLoader.loadDocument(url); final long seconds = (System.currentTimeMillis() - start) / 1000; if (seconds > 60) { fail(String.format("Took %s seconds to access %s %s times", seconds, url, i)); break; } } } } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/JsonLdFramingTest.java000066400000000000000000000205111452212752100307530ustar00rootroot00000000000000package com.github.jsonldjava.core; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import java.io.IOException; import java.util.Map; import org.junit.Test; import com.github.jsonldjava.utils.JsonUtils; public class JsonLdFramingTest { @Test public void testFrame0001() throws IOException, JsonLdError { final Object frame = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0001-frame.jsonld")); final Object in = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0001-in.jsonld")); final Map frame2 = JsonLdProcessor.frame(in, frame, new JsonLdOptions()); assertEquals(2, frame2.size()); } @Test public void testFrame0002() throws IOException, JsonLdError { final Object frame = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0002-frame.jsonld")); final Object in = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0002-in.jsonld")); final JsonLdOptions opts = new JsonLdOptions(); opts.setCompactArrays(false); final Map frame2 = JsonLdProcessor.frame(in, frame, opts); final Object out = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0002-out.jsonld")); assertEquals(out, frame2); } @Test public void testFrame0003() throws IOException, JsonLdError { final Object frame = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0002-frame.jsonld")); final Object in = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0002-in.jsonld")); final JsonLdOptions opts = new JsonLdOptions(); opts.setCompactArrays(false); opts.setProcessingMode("json-ld-1.1"); final Map frame2 = JsonLdProcessor.frame(in, frame, opts); assertFalse("Result should contain no blank nodes", frame2.toString().contains("_:")); final Object out = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0003-out.jsonld")); assertEquals(out, frame2); } @Test public void testFrame0004() throws IOException, JsonLdError { final Object frame = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0004-frame.jsonld")); final Object in = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0004-in.jsonld")); final JsonLdOptions opts = new JsonLdOptions(); opts.setCompactArrays(true); final Map frame2 = JsonLdProcessor.frame(in, frame, opts); final Object out = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0004-out.jsonld")); assertEquals(out, frame2); } @Test public void testFrame0005() throws IOException, JsonLdError { final Object frame = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0005-frame.jsonld")); final Object in = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0005-in.jsonld")); final JsonLdOptions opts = new JsonLdOptions(); opts.setCompactArrays(true); final Map frame2 = JsonLdProcessor.frame(in, frame, opts); final Object out = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0005-out.jsonld")); assertEquals(out, frame2); } @Test public void testFrame0006() throws IOException, JsonLdError { final Object frame = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0006-frame.jsonld")); final Object in = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0006-in.jsonld")); final JsonLdOptions opts = new JsonLdOptions(); opts.setCompactArrays(true); final Map frame2 = JsonLdProcessor.frame(in, frame, opts); final Object out = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0006-out.jsonld")); assertEquals(out, frame2); } @Test public void testFrame0007() throws IOException, JsonLdError { final Object frame = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0007-frame.jsonld")); final Object in = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0007-in.jsonld")); final JsonLdOptions opts = new JsonLdOptions(); opts.setCompactArrays(true); final Map frame2 = JsonLdProcessor.frame(in, frame, opts); final Object out = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0007-out.jsonld")); assertEquals(out, frame2); } @Test public void testFrame0008() throws IOException, JsonLdError { final Object frame = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0008-frame.jsonld")); final Object in = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0008-in.jsonld")); final JsonLdOptions opts = new JsonLdOptions(); opts.setEmbed("@always"); final Map frame2 = JsonLdProcessor.frame(in, frame, opts); final Object out = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0008-out.jsonld")); assertEquals(out, frame2); } @Test public void testFrame0009() throws IOException, JsonLdError { final Object frame = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0009-frame.jsonld")); final Object in = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0009-in.jsonld")); final JsonLdOptions opts = new JsonLdOptions(); opts.setProcessingMode("json-ld-1.1"); final Map frame2 = JsonLdProcessor.frame(in, frame, opts); final Object out = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0009-out.jsonld")); assertEquals(out, frame2); } @Test public void testFrame0010() throws IOException, JsonLdError { final Object frame = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0010-frame.jsonld")); // { // "@id": "http://example.com/main/id", // "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": { // "@id": "http://example.com/rdf/id", // "http://www.w3.org/1999/02/22-rdf-syntax-ns#label": "someLabel" // } // } final RDFDataset ds = new RDFDataset(); ds.addTriple("http://example.com/main/id", "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "http://example.com/rdf/id"); ds.addTriple("http://example.com/rdf/id", "http://www.w3.org/1999/02/22-rdf-syntax-ns#label", "someLabel", null, null); final JsonLdOptions opts = new JsonLdOptions(); opts.setProcessingMode(JsonLdOptions.JSON_LD_1_0); final Object in = new JsonLdApi(opts).fromRDF(ds, true); final Map frame2 = JsonLdProcessor.frame(in, frame, opts); final Object out = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0010-out.jsonld")); assertEquals(out, frame2); } @Test public void testFrame0011() throws IOException, JsonLdError { final Object frame = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0011-frame.jsonld")); final Object in = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0011-in.jsonld")); final JsonLdOptions opts = new JsonLdOptions(); final Map frame2 = JsonLdProcessor.frame(in, frame, opts); final Object out = JsonUtils .fromInputStream(getClass().getResourceAsStream("/custom/frame-0011-out.jsonld")); assertEquals(out, frame2); } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/JsonLdPerformanceTest.java000066400000000000000000000643031452212752100316400ustar00rootroot00000000000000/** * */ package com.github.jsonldjava.core; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.LongSummaryStatistics; import java.util.Random; import java.util.function.Function; import java.util.zip.GZIPInputStream; import org.apache.commons.io.FileUtils; import org.junit.Before; import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; import com.github.jsonldjava.core.RDFDataset.Quad; import com.github.jsonldjava.utils.JsonUtils; /** * * @author Peter Ansell p_ansell@yahoo.com */ public class JsonLdPerformanceTest { @Rule public TemporaryFolder tempDir = new TemporaryFolder(); private File testDir; @Before public void setUp() throws Exception { testDir = tempDir.newFolder("jsonld-perf-tests-"); } /** * Test performance parsing using test data from: * * https://dl.dropboxusercontent.com/s/yha7x0paj8zvvz5/2000007922.jsonld.gz * * @throws Exception */ @Ignore("Enable as necessary for manual testing, particularly to test that it fails due to irregular URIs") @Test public final void testPerformance1() throws Exception { testCompaction("Long", new GZIPInputStream( new FileInputStream(new File("/home/peter/Downloads/2000007922.jsonld.gz")))); } /** * Test performance parsing using test data from: * * https://github.com/jsonld-java/jsonld-java/files/245372/jsonldperfs.zip * * @throws Exception */ @Ignore("Enable as necessary to test performance") @Test public final void testLaxMergeValuesPerfFast() throws Exception { testCompaction("Fast", new FileInputStream(new File("/home/peter/Downloads/jsonldperfs/fast.jsonld"))); } /** * Test performance parsing using test data from: * * https://github.com/jsonld-java/jsonld-java/files/245372/jsonldperfs.zip * * @throws Exception */ @Ignore("Enable as necessary to test performance") @Test public final void testLaxMergeValuesPerfSlow() throws Exception { testCompaction("Slow", new FileInputStream(new File("/home/peter/Downloads/jsonldperfs/slow.jsonld"))); } private void testCompaction(String label, InputStream nextInputStream) throws IOException, FileNotFoundException, JsonLdError { final File testFile = File.createTempFile("jsonld-perf-source-", ".jsonld", testDir); FileUtils.copyInputStreamToFile(nextInputStream, testFile); final LongSummaryStatistics parseStats = new LongSummaryStatistics(); final LongSummaryStatistics compactStats = new LongSummaryStatistics(); for (int i = 0; i < 1000; i++) { final InputStream testInput = new BufferedInputStream(new FileInputStream(testFile)); try { final long parseStart = System.currentTimeMillis(); final Object inputObject = JsonUtils.fromInputStream(testInput); parseStats.accept(System.currentTimeMillis() - parseStart); final JsonLdOptions opts = new JsonLdOptions("urn:test:"); final long compactStart = System.currentTimeMillis(); JsonLdProcessor.compact(inputObject, null, opts); compactStats.accept(System.currentTimeMillis() - compactStart); } finally { testInput.close(); } } System.out.println("(" + label + ") Parse average : " + parseStats.getAverage()); System.out.println("(" + label + ") Compact average : " + compactStats.getAverage()); } @Ignore("Disable performance tests by default") @Test public final void testPerformanceRandom() throws Exception { final Random prng = new Random(); final int rounds = 10000; final String exNs = "http://example.org/"; final String bnode = "_:anon"; final String uri1 = exNs + "a1"; final String uri2 = exNs + "b2"; final String uri3 = exNs + "c3"; final List potentialSubjects = new ArrayList(); potentialSubjects.add(bnode); potentialSubjects.add(uri1); potentialSubjects.add(uri2); potentialSubjects.add(uri3); for (int i = 0; i < 50; i++) { potentialSubjects.add("_:" + i); } for (int i = 1; i < 50; i++) { potentialSubjects.add("_:a" + Integer.toHexString(i).toUpperCase()); } for (int i = 0; i < 200; i++) { potentialSubjects .add(exNs + Integer.toHexString(i) + "/z" + Integer.toOctalString(i % 20)); } Collections.shuffle(potentialSubjects, prng); final List potentialObjects = new ArrayList(); potentialObjects.addAll(potentialSubjects); Collections.shuffle(potentialObjects, prng); final List potentialPredicates = new ArrayList(); potentialPredicates.add(JsonLdConsts.RDF_TYPE); potentialPredicates.add(JsonLdConsts.RDF_LIST); potentialPredicates.add(JsonLdConsts.RDF_NIL); potentialPredicates.add(JsonLdConsts.RDF_FIRST); potentialPredicates.add(JsonLdConsts.RDF_OBJECT); potentialPredicates.add(JsonLdConsts.XSD_STRING); Collections.shuffle(potentialPredicates, prng); final RDFDataset testData = new RDFDataset(); for (int i = 0; i < 2000; i++) { final String nextObject = potentialObjects.get(prng.nextInt(potentialObjects.size())); boolean isLiteral = true; if (nextObject.startsWith("_:") || nextObject.startsWith("http://")) { isLiteral = false; } if (isLiteral) { if (i % 2 == 0) { testData.addQuad(potentialSubjects.get(prng.nextInt(potentialSubjects.size())), potentialPredicates.get(prng.nextInt(potentialPredicates.size())), nextObject, JsonLdConsts.XSD_STRING, potentialSubjects.get(prng.nextInt(potentialSubjects.size())), null); } else if (i % 5 == 0) { testData.addTriple( potentialSubjects.get(prng.nextInt(potentialSubjects.size())), potentialPredicates.get(prng.nextInt(potentialPredicates.size())), nextObject, JsonLdConsts.RDF_LANGSTRING, "en"); } } else { if (i % 2 == 0) { testData.addQuad(potentialSubjects.get(prng.nextInt(potentialSubjects.size())), potentialPredicates.get(prng.nextInt(potentialPredicates.size())), nextObject, potentialSubjects.get(prng.nextInt(potentialSubjects.size()))); } else if (i % 5 == 0) { testData.addTriple( potentialSubjects.get(prng.nextInt(potentialSubjects.size())), potentialPredicates.get(prng.nextInt(potentialPredicates.size())), nextObject); } } } System.out.println( "RDF triples to JSON-LD (internal objects, not parsed from a document)..."); final JsonLdOptions options = new JsonLdOptions(); final JsonLdApi jsonLdApi = new JsonLdApi(options); final int[] hashCodes = new int[rounds]; final LongSummaryStatistics statsFirst5000 = new LongSummaryStatistics(); final LongSummaryStatistics stats = new LongSummaryStatistics(); for (int i = 0; i < rounds; i++) { final long start = System.nanoTime(); Object fromRDF = jsonLdApi.fromRDF(testData); if (i < 5000) { statsFirst5000.accept(System.nanoTime() - start); } else { stats.accept(System.nanoTime() - start); } hashCodes[i] = fromRDF.hashCode(); fromRDF = null; } System.out.println("First 5000 out of " + rounds); System.out.println("Average: " + statsFirst5000.getAverage() / 100000); System.out.println("Sum: " + statsFirst5000.getSum() / 100000); System.out.println("Maximum: " + statsFirst5000.getMax() / 100000); System.out.println("Minimum: " + statsFirst5000.getMin() / 100000); System.out.println("Count: " + statsFirst5000.getCount()); System.out.println("Post 5000 out of " + rounds); System.out.println("Average: " + stats.getAverage() / 100000); System.out.println("Sum: " + stats.getSum() / 100000); System.out.println("Maximum: " + stats.getMax() / 100000); System.out.println("Minimum: " + stats.getMin() / 100000); System.out.println("Count: " + stats.getCount()); System.out.println( "RDF triples to JSON-LD (internal objects, not parsed from a document), using laxMergeValue..."); final JsonLdOptions optionsLax = new JsonLdOptions(); final JsonLdApi jsonLdApiLax = new JsonLdApi(optionsLax); final int[] hashCodesLax = new int[rounds]; final LongSummaryStatistics statsLaxFirst5000 = new LongSummaryStatistics(); final LongSummaryStatistics statsLax = new LongSummaryStatistics(); for (int i = 0; i < rounds; i++) { final long start = System.nanoTime(); Object fromRDF = jsonLdApiLax.fromRDF(testData, true); if (i < 5000) { statsLaxFirst5000.accept(System.nanoTime() - start); } else { statsLax.accept(System.nanoTime() - start); } hashCodesLax[i] = fromRDF.hashCode(); fromRDF = null; } System.out.println("First 5000 out of " + rounds); System.out.println("Average: " + statsLaxFirst5000.getAverage() / 100000); System.out.println("Sum: " + statsLaxFirst5000.getSum() / 100000); System.out.println("Maximum: " + statsLaxFirst5000.getMax() / 100000); System.out.println("Minimum: " + statsLaxFirst5000.getMin() / 100000); System.out.println("Count: " + statsLaxFirst5000.getCount()); System.out.println("Post 5000 out of " + rounds); System.out.println("Average: " + statsLax.getAverage() / 100000); System.out.println("Sum: " + statsLax.getSum() / 100000); System.out.println("Maximum: " + statsLax.getMax() / 100000); System.out.println("Minimum: " + statsLax.getMin() / 100000); System.out.println("Count: " + statsLax.getCount()); System.out.println("Non-pretty print benchmarking..."); final JsonLdOptions options2 = new JsonLdOptions(); final JsonLdApi jsonLdApi2 = new JsonLdApi(options2); final LongSummaryStatistics statsFirst5000Part2 = new LongSummaryStatistics(); final LongSummaryStatistics statsPart2 = new LongSummaryStatistics(); final Object fromRDF2 = jsonLdApi2.fromRDF(testData); for (int i = 0; i < rounds; i++) { final long start = System.nanoTime(); JsonUtils.toString(fromRDF2); if (i < 5000) { statsFirst5000Part2.accept(System.nanoTime() - start); } else { statsPart2.accept(System.nanoTime() - start); } } System.out.println("First 5000 out of " + rounds); System.out.println("Average: " + statsFirst5000Part2.getAverage() / 100000); System.out.println("Sum: " + statsFirst5000Part2.getSum() / 100000); System.out.println("Maximum: " + statsFirst5000Part2.getMax() / 100000); System.out.println("Minimum: " + statsFirst5000Part2.getMin() / 100000); System.out.println("Count: " + statsFirst5000Part2.getCount()); System.out.println("Post 5000 out of " + rounds); System.out.println("Average: " + statsPart2.getAverage() / 100000); System.out.println("Sum: " + statsPart2.getSum() / 100000); System.out.println("Maximum: " + statsPart2.getMax() / 100000); System.out.println("Minimum: " + statsPart2.getMin() / 100000); System.out.println("Count: " + statsPart2.getCount()); System.out.println("Pretty print benchmarking..."); final JsonLdOptions options3 = new JsonLdOptions(); final JsonLdApi jsonLdApi3 = new JsonLdApi(options3); final LongSummaryStatistics statsFirst5000Part3 = new LongSummaryStatistics(); final LongSummaryStatistics statsPart3 = new LongSummaryStatistics(); final Object fromRDF3 = jsonLdApi3.fromRDF(testData); for (int i = 0; i < rounds; i++) { final long start = System.nanoTime(); JsonUtils.toPrettyString(fromRDF3); if (i < 5000) { statsFirst5000Part3.accept(System.nanoTime() - start); } else { statsPart3.accept(System.nanoTime() - start); } } System.out.println("First 5000 out of " + rounds); System.out.println("Average: " + statsFirst5000Part3.getAverage() / 100000); System.out.println("Sum: " + statsFirst5000Part3.getSum() / 100000); System.out.println("Maximum: " + statsFirst5000Part3.getMax() / 100000); System.out.println("Minimum: " + statsFirst5000Part3.getMin() / 100000); System.out.println("Count: " + statsFirst5000Part3.getCount()); System.out.println("Post 5000 out of " + rounds); System.out.println("Average: " + statsPart3.getAverage() / 100000); System.out.println("Sum: " + statsPart3.getSum() / 100000); System.out.println("Maximum: " + statsPart3.getMax() / 100000); System.out.println("Minimum: " + statsPart3.getMin() / 100000); System.out.println("Count: " + statsPart3.getCount()); System.out.println("Expansion benchmarking..."); final JsonLdOptions options4 = new JsonLdOptions(); final JsonLdApi jsonLdApi4 = new JsonLdApi(options4); final LongSummaryStatistics statsFirst5000Part4 = new LongSummaryStatistics(); final LongSummaryStatistics statsPart4 = new LongSummaryStatistics(); final Object fromRDF4 = jsonLdApi4.fromRDF(testData); for (int i = 0; i < rounds; i++) { final long start = System.nanoTime(); JsonLdProcessor.expand(fromRDF4, options4); if (i < 5000) { statsFirst5000Part4.accept(System.nanoTime() - start); } else { statsPart4.accept(System.nanoTime() - start); } } System.out.println("First 5000 out of " + rounds); System.out.println("Average: " + statsFirst5000Part4.getAverage() / 100000); System.out.println("Sum: " + statsFirst5000Part4.getSum() / 100000); System.out.println("Maximum: " + statsFirst5000Part4.getMax() / 100000); System.out.println("Minimum: " + statsFirst5000Part4.getMin() / 100000); System.out.println("Count: " + statsFirst5000Part4.getCount()); System.out.println("Post 5000 out of " + rounds); System.out.println("Average: " + statsPart4.getAverage() / 100000); System.out.println("Sum: " + statsPart4.getSum() / 100000); System.out.println("Maximum: " + statsPart4.getMax() / 100000); System.out.println("Minimum: " + statsPart4.getMin() / 100000); System.out.println("Count: " + statsPart4.getCount()); } /** * many triples with same subject and prop: current implementation is slow * * @author fpservant */ @Ignore("Disable performance tests by default") @Test public final void slowVsFast5Predicates() throws Exception { final String ns = "http://www.example.com/foo/"; final Function subjectGenerator = new Function() { @Override public String apply(Integer index) { return ns + "s"; } }; final Function predicateGenerator = new Function() { @Override public String apply(Integer index) { return ns + "p" + Integer.toString(index % 5); } }; final Function objectGenerator = new Function() { @Override public String apply(Integer index) { return ns + "o" + Integer.toString(index); } }; final int tripleCount = 2000; final int warmingRounds = 200; final int rounds = 1000; runLaxVersusSlowToRDFTest("5 predicates", ns, subjectGenerator, predicateGenerator, objectGenerator, tripleCount, warmingRounds, rounds); } /** * many triples with same subject and prop: current implementation is slow * * @author fpservant */ @Ignore("Disable performance tests by default") @Test public final void slowVsFast2Predicates() throws Exception { final String ns = "http://www.example.com/foo/"; final Function subjectGenerator = new Function() { @Override public String apply(Integer index) { return ns + "s"; } }; final Function predicateGenerator = new Function() { @Override public String apply(Integer index) { return ns + "p" + Integer.toString(index % 2); } }; final Function objectGenerator = new Function() { @Override public String apply(Integer index) { return ns + "o" + Integer.toString(index); } }; final int tripleCount = 2000; final int warmingRounds = 200; final int rounds = 1000; runLaxVersusSlowToRDFTest("2 predicates", ns, subjectGenerator, predicateGenerator, objectGenerator, tripleCount, warmingRounds, rounds); } /** * many triples with same subject and prop: current implementation is slow * * @author fpservant */ @Ignore("Disable performance tests by default") @Test public final void slowVsFast1Predicate() throws Exception { final String ns = "http://www.example.com/foo/"; final Function subjectGenerator = new Function() { @Override public String apply(Integer index) { return ns + "s"; } }; final Function predicateGenerator = new Function() { @Override public String apply(Integer index) { return ns + "p"; } }; final Function objectGenerator = new Function() { @Override public String apply(Integer index) { return ns + "o" + Integer.toString(index); } }; final int tripleCount = 2000; final int warmingRounds = 200; final int rounds = 1000; runLaxVersusSlowToRDFTest("1 predicate", ns, subjectGenerator, predicateGenerator, objectGenerator, tripleCount, warmingRounds, rounds); } /** * many triples with same subject and prop: current implementation is slow * * @author fpservant */ @Ignore("Disable performance tests by default") @Test public final void slowVsFastMultipleSubjects1Predicate() throws Exception { final String ns = "http://www.example.com/foo/"; final Function subjectGenerator = new Function() { @Override public String apply(Integer index) { return ns + "s" + Integer.toString(index % 100); } }; final Function predicateGenerator = new Function() { @Override public String apply(Integer index) { return ns + "p"; } }; final Function objectGenerator = new Function() { @Override public String apply(Integer index) { return ns + "o" + Integer.toString(index); } }; final int tripleCount = 2000; final int warmingRounds = 200; final int rounds = 1000; runLaxVersusSlowToRDFTest("100 subjects and 1 predicate", ns, subjectGenerator, predicateGenerator, objectGenerator, tripleCount, warmingRounds, rounds); } /** * many triples with same subject and prop: current implementation is slow * * @author fpservant */ @Ignore("Disable performance tests by default") @Test public final void slowVsFastMultipleSubjects5Predicates() throws Exception { final String ns = "http://www.example.com/foo/"; final Function subjectGenerator = new Function() { @Override public String apply(Integer index) { return ns + "s" + Integer.toString(index % 1000); } }; final Function predicateGenerator = new Function() { @Override public String apply(Integer index) { return ns + "p" + Integer.toString(index % 5); } }; final Function objectGenerator = new Function() { @Override public String apply(Integer index) { return ns + "o" + Integer.toString(index); } }; final int tripleCount = 2000; final int warmingRounds = 200; final int rounds = 1000; runLaxVersusSlowToRDFTest("1000 subjects and 5 predicates", ns, subjectGenerator, predicateGenerator, objectGenerator, tripleCount, warmingRounds, rounds); } /** * Run a test on lax versus slow methods for toRDF. * * @param ns * The namespace to assign * @param subjectGenerator * A {@link Function} used to generate the subject IRIs * @param predicateGenerator * A {@link Function} used to generate the predicate IRIs * @param objectGenerator * A {@link Function} used to generate the object IRIs * @param tripleCount * The number of triples to create for the dataset * @param warmingRounds * The number of warming rounds to use * @param rounds * The number of test rounds to use * @throws JsonLdError * If there is an error with the JSONLD processing. */ private void runLaxVersusSlowToRDFTest(final String label, final String ns, Function subjectGenerator, Function predicateGenerator, Function objectGenerator, int tripleCount, int warmingRounds, int rounds) throws JsonLdError { System.out.println("Running test for lax versus slow for " + label); final RDFDataset inputRdf = new RDFDataset(); inputRdf.setNamespace("ex", ns); for (int i = 0; i < tripleCount; i++) { inputRdf.addTriple(subjectGenerator.apply(i), predicateGenerator.apply(i), objectGenerator.apply(i)); } final JsonLdOptions options = new JsonLdOptions(); options.useNamespaces = true; // warming for (int i = 0; i < warmingRounds; i++) { new JsonLdApi(options).fromRDF(inputRdf); // JsonLdProcessor.expand(new JsonLdApi(options).fromRDF(inputRdf)); } for (int i = 0; i < warmingRounds; i++) { new JsonLdApi(options).fromRDF(inputRdf, true); // JsonLdProcessor.expand(new JsonLdApi(options).fromRDF(inputRdf, // true)); } System.out.println("Average time to parse a dataset containing " + tripleCount + " different triples:"); final long startLax = System.currentTimeMillis(); for (int i = 0; i < rounds; i++) { new JsonLdApi(options).fromRDF(inputRdf, true); // JsonLdProcessor.expand(new JsonLdApi(options).fromRDF(inputRdf, // true)); } System.out.println("\t- Assuming no duplicates: " + (((System.currentTimeMillis() - startLax)) / rounds)); final long start = System.currentTimeMillis(); for (int i = 0; i < rounds; i++) { new JsonLdApi(options).fromRDF(inputRdf); // JsonLdProcessor.expand(new JsonLdApi(options).fromRDF(inputRdf)); } System.out.println( "\t- Assuming duplicates: " + (((System.currentTimeMillis() - start)) / rounds)); } /** * @author fpservant */ @Test public final void duplicatedTriplesInAnRDFDataset() throws Exception { final RDFDataset inputRdf = new RDFDataset(); final String ns = "http://www.example.com/foo/"; inputRdf.setNamespace("ex", ns); inputRdf.addTriple(ns + "s", ns + "p", ns + "o"); inputRdf.addTriple(ns + "s", ns + "p", ns + "o"); // System.out.println("Twice the same triple in RDFDataset:/n"); for (final Quad quad : inputRdf.getQuads("@default")) { // System.out.println(quad); } final JsonLdOptions options = new JsonLdOptions(); options.useNamespaces = true; // System.out.println("\nJSON-LD output is OK:\n"); final Object fromRDF1 = JsonLdProcessor.compact(new JsonLdApi(options).fromRDF(inputRdf), inputRdf.getContext(), options); final String jsonld1 = JsonUtils.toPrettyString(fromRDF1); // System.out.println(jsonld1); // System.out.println( // "\nWouldn't be the case assuming there is no duplicated triple in // RDFDataset:\n"); final Object fromRDF2 = JsonLdProcessor.compact( new JsonLdApi(options).fromRDF(inputRdf, true), inputRdf.getContext(), options); final String jsonld2 = JsonUtils.toPrettyString(fromRDF2); // System.out.println(jsonld2); } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java000066400000000000000000000620371452212752100313600ustar00rootroot00000000000000package com.github.jsonldjava.core; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FilenameFilter; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.net.URISyntaxException; import java.nio.charset.StandardCharsets; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; import com.fasterxml.jackson.core.JsonGenerationException; import com.fasterxml.jackson.databind.JsonMappingException; import com.github.jsonldjava.utils.JsonUtils; import com.github.jsonldjava.utils.Obj; import com.github.jsonldjava.utils.TestUtils; @RunWith(Parameterized.class) public class JsonLdProcessorTest { private static final String TEST_DIR = "json-ld.org"; private static Map REPORT; private static List REPORT_GRAPH; private static String ASSERTOR = "http://tristan.github.com/foaf#me"; @BeforeClass public static void prepareReportFrame() { REPORT = new LinkedHashMap() { { // context put("@context", new LinkedHashMap() { { put("@vocab", "http://www.w3.org/ns/earl#"); put("foaf", "http://xmlns.com/foaf/0.1/"); put("earl", "http://www.w3.org/ns/earl#"); put("doap", "http://usefulinc.com/ns/doap#"); put("dc", "http://purl.org/dc/terms/"); put("xsd", "http://www.w3.org/2001/XMLSchema#"); put("foaf:homepage", new LinkedHashMap() { { put("@type", "@id"); } }); put("doap:homepage", new LinkedHashMap() { { put("@type", "@id"); } }); } }); put("@graph", new ArrayList() { { // asserter add(new LinkedHashMap() { { put("@id", "http://tristan.github.com/foaf#me"); put("@type", new ArrayList() { { add("foaf:Person"); add("earl:Assertor"); } }); put("foaf:name", "Tristan King"); put("foaf:title", "Implementor"); put("foaf:homepage", "http://tristan.github.com"); } }); // project add(new LinkedHashMap() { { put("@id", "https://github.com/jsonld-java/jsonld-java"); put("@type", new ArrayList() { { add("doap:Project"); add("earl:TestSubject"); add("earl:Software"); } }); put("doap:name", "JSONLD-Java"); put("doap:homepage", "https://github.com/jsonld-java/jsonld-java"); put("doap:description", new LinkedHashMap() { { put("@value", "An Implementation of the JSON-LD Specification for Java"); put("@language", "en"); } }); put("doap:programming-language", "Java"); put("doap:developer", new ArrayList() { { add(new LinkedHashMap() { { put("@id", "http://tristan.github.com/foaf#me"); } }); add(new LinkedHashMap() { { put("@id", "https://github.com/ansell/foaf#me"); put("foaf:name", "Peter Ansell"); put("foaf:title", "Contributor"); } }); } }); put("doap:title", "JSONLD-Java"); put("dc:date", new LinkedHashMap() { { put("@type", "xsd:date"); put("@value", "2013-05-16"); } }); put("dc:creator", new LinkedHashMap() { { put("@id", "http://tristan.github.com/foaf#me"); } }); } }); } }); } }; REPORT_GRAPH = (List) REPORT.get("@graph"); } private static final String reportOutputFile = "reports/report"; @AfterClass public static void writeReport() throws JsonGenerationException, JsonMappingException, IOException, JsonLdError { // Only write reports if "-Dreport.format=..." is set String reportFormat = System.getProperty("report.format"); if (reportFormat != null) { reportFormat = reportFormat.toLowerCase(); if ("application/ld+json".equals(reportFormat) || "jsonld".equals(reportFormat) || "*".equals(reportFormat)) { System.out.println("Generating JSON-LD Report"); JsonUtils.writePrettyPrint( new OutputStreamWriter(new FileOutputStream(reportOutputFile + ".jsonld"), StandardCharsets.UTF_8), REPORT); } } } @Parameters(name = "{0}{1}") public static Collection data() throws URISyntaxException, IOException { // TODO: look into getting the test data from github, which will help // more // with keeping up to date with the spec. // perhaps use http://develop.github.com/p/object.html // to pull info from // https://github.com/json-ld/json-ld.org/tree/master/test-suite/tests final ClassLoader cl = Thread.currentThread().getContextClassLoader(); final File f = new File(cl.getResource(TEST_DIR).toURI()); final List manifestfiles = Arrays.asList(f.listFiles(new FilenameFilter() { @Override public boolean accept(File dir, String name) { if (name.contains("manifest") && name.endsWith(".jsonld")) { // System.out.println("Using manifest: " + dir + " " // + name); // Remote-doc tests are not currently supported if (name.contains("remote-doc")) { return false; } return true; } return false; } })); final Collection rdata = new ArrayList(); for (final File in : manifestfiles) { // System.out.println("Reading: " + in.getCanonicalPath()); final FileInputStream manifestfile = new FileInputStream(in); final Map manifest = (Map) JsonUtils .fromInputStream(manifestfile); for (final Map test : (List>) manifest .get("sequence")) { final List testType = (List) test.get("@type"); if (testType.contains("jld:ExpandTest") || testType.contains("jld:CompactTest") || testType.contains("jld:FlattenTest") || testType.contains("jld:FrameTest") || testType.contains("jld:FromRDFTest") || testType.contains("jld:ToRDFTest") || testType.contains("jld:NormalizeTest")) { // System.out.println("Adding test: " + test.get("name")); rdata.add(new Object[] { (String) manifest.get("baseIri") + in.getName(), test.get("@id"), test }); } else { // TODO: many disabled while implementation is incomplete System.out.println("Skipping test: " + test.get("name")); } } } return rdata; } private class TestDocumentLoader extends DocumentLoader { private final String base; public TestDocumentLoader(String base) { this.base = base; } @Override public RemoteDocument loadDocument(String url) throws JsonLdError { if (url == null) { throw new JsonLdError(JsonLdError.Error.LOADING_REMOTE_CONTEXT_FAILED, "URL was null"); } if (url.contains(":")) { // check if the url is relative to the test base if (url.startsWith(this.base)) { final String classpath = url.substring(this.base.length()); final ClassLoader cl = Thread.currentThread().getContextClassLoader(); final InputStream inputStream = cl .getResourceAsStream(TEST_DIR + "/" + classpath); try { return new RemoteDocument(url, JsonUtils.fromInputStream(inputStream)); } catch (final IOException e) { throw new JsonLdError(JsonLdError.Error.LOADING_DOCUMENT_FAILED, e); } } } // we can't load this remote document from the test suite throw new JsonLdError(JsonLdError.Error.NOT_IMPLEMENTED, "URL scheme was not recognised: " + url); } public void setRedirectTo(String string) { // TODO Auto-generated method stub } public void setHttpStatus(Integer integer) { // TODO Auto-generated method stub } public void setContentType(String string) { // TODO Auto-generated method stub } public void addHttpLink(String nextLink) { // TODO Auto-generated method stub } } // @Rule // public Timeout timeout = new Timeout(10000); @Rule public TemporaryFolder tempDir = new TemporaryFolder(); private File testDir; private final String group; private final Map test; public JsonLdProcessorTest(final String group, final String id, final Map test) { this.group = group; this.test = test; } @Before public void setUp() throws Exception { testDir = tempDir.newFolder("jsonld"); } @Test public void runTest() throws URISyntaxException, IOException, JsonLdError { // System.out.println("running test: " + group + test.get("@id") + // " :: " + test.get("name")); final ClassLoader cl = Thread.currentThread().getContextClassLoader(); final List testType = (List) test.get("@type"); final String inputFile = (String) test.get("input"); final InputStream inputStream = cl.getResourceAsStream(TEST_DIR + "/" + inputFile); assertNotNull("unable to find input file: " + test.get("input"), inputStream); final String inputType = inputFile.substring(inputFile.lastIndexOf(".") + 1); Object input = null; if (inputType.equals("jsonld")) { input = JsonUtils.fromInputStream(inputStream); } else if (inputType.equals("nt") || inputType.equals("nq")) { final List inputLines = new ArrayList(); final BufferedReader buf = new BufferedReader( new InputStreamReader(inputStream, "UTF-8")); String line; while ((line = buf.readLine()) != null) { line = line.trim(); if (line.length() == 0 || line.charAt(0) == '#') { continue; } inputLines.add(line); } // Collections.sort(inputLines); input = TestUtils.join(inputLines, "\n"); } Object expect = null; String sparql = null; Boolean failure_expected = false; final String expectFile = (String) test.get("expect"); final String sparqlFile = (String) test.get("sparql"); if (expectFile != null) { final InputStream expectStream = cl.getResourceAsStream(TEST_DIR + "/" + expectFile); if (expectStream == null && testType.contains("jld:NegativeEvaluationTest")) { // in the case of negative evaluation tests the expect field can // be a description of what should happen expect = expectFile; failure_expected = true; } else if (expectStream == null) { assertFalse("Unable to find expect file: " + expectFile, true); } else { final String expectType = expectFile.substring(expectFile.lastIndexOf(".") + 1); if (expectType.equals("jsonld")) { expect = JsonUtils.fromInputStream(expectStream); } else if (expectType.equals("nt") || expectType.equals("nq")) { final List expectLines = new ArrayList(); final BufferedReader buf = new BufferedReader( new InputStreamReader(expectStream, "UTF-8")); String line; while ((line = buf.readLine()) != null) { line = line.trim(); if (line.length() == 0 || line.charAt(0) == '#') { continue; } expectLines.add(line); } Collections.sort(expectLines); expect = TestUtils.join(expectLines, "\n"); } else { expect = ""; assertFalse("Unknown expect type: " + expectType, true); } } } else if (sparqlFile != null) { final InputStream sparqlStream = cl.getResourceAsStream(TEST_DIR + "/" + sparqlFile); assertNotNull("unable to find expect file: " + sparqlFile, sparqlStream); final BufferedReader buf = new BufferedReader( new InputStreamReader(sparqlStream, "UTF-8")); String buffer = null; while ((buffer = buf.readLine()) != null) { sparql += buffer + "\n"; } } else if (testType.contains("jld:NegativeEvaluationTest")) { failure_expected = true; } else { assertFalse("Nothing to expect from this test, thus nothing to test if it works", true); } Object result = null; // OPTIONS SETUP final JsonLdOptions options = new JsonLdOptions( "http://json-ld.org/test-suite/tests/" + test.get("input")); final TestDocumentLoader testLoader = new TestDocumentLoader( "http://json-ld.org/test-suite/tests/"); options.setDocumentLoader(testLoader); if (test.containsKey("option")) { final Map test_opts = (Map) test.get("option"); if (test_opts.containsKey("base")) { options.setBase((String) test_opts.get("base")); } if (test_opts.containsKey("expandContext")) { final InputStream contextStream = cl .getResourceAsStream(TEST_DIR + "/" + test_opts.get("expandContext")); options.setExpandContext(JsonUtils.fromInputStream(contextStream)); } if (test_opts.containsKey("compactArrays")) { options.setCompactArrays((Boolean) test_opts.get("compactArrays")); } if (test_opts.containsKey("useNativeTypes")) { options.setUseNativeTypes((Boolean) test_opts.get("useNativeTypes")); } if (test_opts.containsKey("useRdfType")) { options.setUseRdfType((Boolean) test_opts.get("useRdfType")); } if (test_opts.containsKey("processingMode")) { options.setProcessingMode((String) test_opts.get("processingMode")); } if (test_opts.containsKey("omitGraph")) { options.setOmitGraph((Boolean) test_opts.get("omitGraph")); } if (test_opts.containsKey("produceGeneralizedRdf")) { options.setProduceGeneralizedRdf((Boolean) test_opts.get("produceGeneralizedRdf")); } if (test_opts.containsKey("redirectTo")) { testLoader.setRedirectTo((String) test_opts.get("redirectTo")); } if (test_opts.containsKey("httpStatus")) { testLoader.setHttpStatus((Integer) test_opts.get("httpStatus")); } if (test_opts.containsKey("contentType")) { testLoader.setContentType((String) test_opts.get("contentType")); } if (test_opts.containsKey("httpLink")) { if (test_opts.get("httpLink") instanceof List) { for (final String nextLink : (List) test_opts.get("httpLink")) { testLoader.addHttpLink(nextLink); } } else { testLoader.addHttpLink((String) test_opts.get("httpLink")); } } } // RUN TEST try { if (testType.contains("jld:ExpandTest")) { result = JsonLdProcessor.expand(input, options); } else if (testType.contains("jld:CompactTest")) { final InputStream contextStream = cl .getResourceAsStream(TEST_DIR + "/" + test.get("context")); final Object contextJson = JsonUtils.fromInputStream(contextStream); result = JsonLdProcessor.compact(input, contextJson, options); } else if (testType.contains("jld:FlattenTest")) { if (test.containsKey("context")) { final InputStream contextStream = cl .getResourceAsStream(TEST_DIR + "/" + test.get("context")); final Object contextJson = JsonUtils.fromInputStream(contextStream); result = JsonLdProcessor.flatten(input, contextJson, options); } else { result = JsonLdProcessor.flatten(input, options); } } else if (testType.contains("jld:FrameTest")) { final InputStream frameStream = cl .getResourceAsStream(TEST_DIR + "/" + test.get("frame")); final Map frameJson = (Map) JsonUtils .fromInputStream(frameStream); result = JsonLdProcessor.frame(input, frameJson, options); } else if (testType.contains("jld:FromRDFTest")) { result = JsonLdProcessor.fromRDF(input, options); } else if (testType.contains("jld:ToRDFTest")) { options.format = JsonLdConsts.APPLICATION_NQUADS; result = JsonLdProcessor.toRDF(input, options); result = ((String) result).trim(); } else if (testType.contains("jld:NormalizeTest")) { options.format = JsonLdConsts.APPLICATION_NQUADS; result = JsonLdProcessor.normalize(input, options); result = ((String) result).trim(); } else { fail("Unknown test type: " + testType); } } catch (final JsonLdError e) { result = e; } Boolean testpassed = false; try { if (failure_expected) { if (result instanceof JsonLdError) { testpassed = Obj.equals(expect, ((JsonLdError) result).getType().toString()); if (!testpassed) { ((JsonLdError) result).printStackTrace(); } } } else { testpassed = JsonLdUtils.deepCompare(expect, result); } } catch (final Exception e) { e.printStackTrace(); } if (testpassed == false && result instanceof JsonLdError) { throw (JsonLdError) result; } // write details to report final String manifest = this.group; final String id = (String) this.test.get("@id"); final Date d = new Date(); final String dateTime = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss").format(d); String zone = new SimpleDateFormat("Z").format(d); zone = zone.substring(0, 3) + ":" + zone.substring(3); final String dateTimeZone = dateTime + zone; final Boolean passed = testpassed; REPORT_GRAPH.add(new LinkedHashMap() { { put("@type", "earl:Assertion"); put("earl:assertedBy", new LinkedHashMap() { { put("@id", ASSERTOR); } }); put("earl:subject", new LinkedHashMap() { { put("@id", "https://github.com/jsonld-java/jsonld-java"); } }); put("earl:test", new LinkedHashMap() { { put("@id", manifest + id); } }); put("earl:result", new LinkedHashMap() { { put("@type", "earl:TestResult"); put("earl:outcome", new LinkedHashMap() { { put("@id", passed ? "earl:passed" : "earl:failed"); } }); put("dc:date", new LinkedHashMap() { { put("@value", dateTimeZone); put("@type", "xsd:dateTime"); } }); } }); // for error expand the correct error is thrown, but the test // suite doesn't yet automatically figure that out. put("earl:mode", new LinkedHashMap() { { put("@id", "http://json-ld.org/test-suite/tests/error-expand-manifest.jsonld" .equals(manifest) ? "earl:semiAuto" : "earl:automatic"); } }); } }); assertTrue("\nFailed test: " + group + test.get("@id") + " " + test.get("name") + " (" + test.get("input") + "," + test.get("expect") + ")\n" + "expected: " + JsonUtils.toPrettyString(expect) + "\nresult: " + (result instanceof JsonLdError ? ((JsonLdError) result).toString() : JsonUtils.toPrettyString(result)), testpassed); } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/JsonLdToRdfTest.java000066400000000000000000000021631452212752100304110ustar00rootroot00000000000000package com.github.jsonldjava.core; import org.junit.Test; import static org.junit.Assert.assertEquals; public class JsonLdToRdfTest { @Test public void testIssue301() throws JsonLdError { final RDFDataset rdf = new RDFDataset(); rdf.addTriple( "http://www.w3.org/2002/07/owl#Class", "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "http://www.w3.org/2002/07/owl#Class"); final JsonLdOptions opts = new JsonLdOptions(); opts.setUseRdfType(Boolean.FALSE); opts.setProcessingMode(JsonLdOptions.JSON_LD_1_0); final Object out = new JsonLdApi(opts).fromRDF(rdf, true); assertEquals("[{@id=http://www.w3.org/2002/07/owl#Class, @type=[http://www.w3.org/2002/07/owl#Class]}]", out.toString()); opts.setUseRdfType(Boolean.TRUE); final Object out2 = new JsonLdApi(opts).fromRDF(rdf, true); assertEquals("[{@id=http://www.w3.org/2002/07/owl#Class, http://www.w3.org/1999/02/22-rdf-syntax-ns#type=[{@id=http://www.w3.org/2002/07/owl#Class}]}]", out2.toString()); } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/LocalBaseTest.java000066400000000000000000000062611452212752100301110ustar00rootroot00000000000000package com.github.jsonldjava.core; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.Reader; import java.nio.charset.Charset; import java.util.List; import org.junit.Test; import com.github.jsonldjava.utils.JsonUtils; public class LocalBaseTest { @Test public void testMixedLocalRemoteBaseRemoteContextFirst() throws Exception { final Reader reader = new BufferedReader(new InputStreamReader( this.getClass().getResourceAsStream("/custom/base-0001-in.jsonld"), Charset.forName("UTF-8"))); final Object context = JsonUtils.fromReader(reader); assertNotNull(context); final JsonLdOptions options = new JsonLdOptions(); final Object expanded = JsonLdProcessor.expand(context, options); // System.out.println(JsonUtils.toPrettyString(expanded)); final Reader outReader = new BufferedReader(new InputStreamReader( this.getClass().getResourceAsStream("/custom/base-0001-out.jsonld"), Charset.forName("UTF-8"))); final Object output = JsonUtils.fromReader(outReader); assertNotNull(output); assertEquals(expanded, output); } @Test public void testMixedLocalRemoteBaseLocalContextFirst() throws Exception { final Reader reader = new BufferedReader(new InputStreamReader( this.getClass().getResourceAsStream("/custom/base-0002-in.jsonld"), Charset.forName("UTF-8"))); final Object context = JsonUtils.fromReader(reader); assertNotNull(context); final JsonLdOptions options = new JsonLdOptions(); final Object expanded = JsonLdProcessor.expand(context, options); // System.out.println(JsonUtils.toPrettyString(expanded)); final Reader outReader = new BufferedReader(new InputStreamReader( this.getClass().getResourceAsStream("/custom/base-0002-out.jsonld"), Charset.forName("UTF-8"))); final Object output = JsonUtils.fromReader(outReader); assertNotNull(output); assertEquals(expanded, output); } @Test public void testUriResolveWhenExpandingBase() throws Exception { final Reader reader = new BufferedReader(new InputStreamReader( this.getClass().getResourceAsStream("/custom/base-0003-in.jsonld"), Charset.forName("UTF-8"))); final Object input = JsonUtils.fromReader(reader); assertNotNull(input); final JsonLdOptions options = new JsonLdOptions(); final List expanded = JsonLdProcessor.expand(input, options); assertFalse("expanded form must not be empty", expanded.isEmpty()); final Reader outReader = new BufferedReader(new InputStreamReader( this.getClass().getResourceAsStream("/custom/base-0003-out.jsonld"), Charset.forName("UTF-8"))); final Object expected = JsonLdProcessor.expand(JsonUtils.fromReader(outReader), options); assertNotNull(expected); assertEquals(expected, expanded); } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/LongestPrefixTest.java000066400000000000000000000105141452212752100310510ustar00rootroot00000000000000package com.github.jsonldjava.core; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.net.URL; import org.junit.Test; import com.github.jsonldjava.utils.JsonUtils; public class LongestPrefixTest { @Test public void toRdfWithNamespace() throws Exception { final URL contextUrl = getClass().getResource("/custom/contexttest-0003.jsonld"); assertNotNull(contextUrl); final Object context = JsonUtils.fromURL(contextUrl, JsonUtils.getDefaultHttpClient()); assertNotNull(context); final JsonLdOptions options = new JsonLdOptions(); options.useNamespaces = true; final RDFDataset rdf = (RDFDataset) JsonLdProcessor.toRDF(context, options); // System.out.println(rdf.getNamespaces()); assertEquals("http://vocab.getty.edu/aat/", rdf.getNamespace("aat")); assertEquals("http://vocab.getty.edu/aat/rev/", rdf.getNamespace("aat_rev")); } @Test public void fromRdfWithNamespaceLexicographicallyShortestChosen() throws Exception { final RDFDataset inputRdf = new RDFDataset(); inputRdf.setNamespace("aat", "http://vocab.getty.edu/aat/"); inputRdf.setNamespace("aat_rev", "http://vocab.getty.edu/aat/rev/"); inputRdf.addTriple("http://vocab.getty.edu/aat/rev/5001065997", JsonLdConsts.RDF_TYPE, "http://vocab.getty.edu/aat/datatype"); final JsonLdOptions options = new JsonLdOptions(); options.useNamespaces = true; final Object fromRDF = JsonLdProcessor.compact(new JsonLdApi(options).fromRDF(inputRdf), inputRdf.getContext(), options); final RDFDataset rdf = (RDFDataset) JsonLdProcessor.toRDF(fromRDF, options); // System.out.println(rdf.getNamespaces()); assertEquals("http://vocab.getty.edu/aat/", rdf.getNamespace("aat")); assertEquals("http://vocab.getty.edu/aat/rev/", rdf.getNamespace("aat_rev")); final String toJSONLD = JsonUtils.toPrettyString(fromRDF); // System.out.println(toJSONLD); assertTrue("The lexicographically shortest URI was not chosen", toJSONLD.contains("aat:rev/")); } @Test public void fromRdfWithNamespaceLexicographicallyShortestChosen2() throws Exception { final RDFDataset inputRdf = new RDFDataset(); inputRdf.setNamespace("aat", "http://vocab.getty.edu/aat/"); inputRdf.setNamespace("aatrev", "http://vocab.getty.edu/aat/rev/"); inputRdf.addTriple("http://vocab.getty.edu/aat/rev/5001065997", JsonLdConsts.RDF_TYPE, "http://vocab.getty.edu/aat/datatype"); final JsonLdOptions options = new JsonLdOptions(); options.useNamespaces = true; final Object fromRDF = JsonLdProcessor.compact(new JsonLdApi(options).fromRDF(inputRdf), inputRdf.getContext(), options); final RDFDataset rdf = (RDFDataset) JsonLdProcessor.toRDF(fromRDF, options); // System.out.println(rdf.getNamespaces()); assertEquals("http://vocab.getty.edu/aat/", rdf.getNamespace("aat")); assertEquals("http://vocab.getty.edu/aat/rev/", rdf.getNamespace("aatrev")); final String toJSONLD = JsonUtils.toPrettyString(fromRDF); // System.out.println(toJSONLD); assertFalse("The lexicographically shortest URI was not chosen", toJSONLD.contains("aat:rev/")); } @Test public void prefixUsedToShortenPredicate() throws Exception { final RDFDataset inputRdf = new RDFDataset(); inputRdf.setNamespace("ex", "http://www.a.com/foo/"); inputRdf.addTriple("http://www.a.com/foo/s", "http://www.a.com/foo/p", "http://www.a.com/foo/o"); assertEquals("http://www.a.com/foo/", inputRdf.getNamespace("ex")); final JsonLdOptions options = new JsonLdOptions(); options.useNamespaces = true; final Object fromRDF = JsonLdProcessor.compact(new JsonLdApi(options).fromRDF(inputRdf), inputRdf.getContext(), options); final String toJSONLD = JsonUtils.toPrettyString(fromRDF); // System.out.println(toJSONLD); assertFalse("The lexicographically shortest URI was not chosen", toJSONLD.contains("http://www.a.com/foo/p")); } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/MinimalSchemaOrgRegressionTest.java000066400000000000000000000050631452212752100335030ustar00rootroot00000000000000package com.github.jsonldjava.core; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.net.URL; import com.github.jsonldjava.utils.JarCacheStorage; import com.github.jsonldjava.utils.JsonUtils; import org.apache.http.client.protocol.RequestAcceptEncoding; import org.apache.http.client.protocol.ResponseContentEncoding; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.DefaultRedirectStrategy; import org.apache.http.impl.client.cache.BasicHttpCacheStorage; import org.apache.http.impl.client.cache.CacheConfig; import org.apache.http.impl.client.cache.CachingHttpClientBuilder; import org.junit.Test; public class MinimalSchemaOrgRegressionTest { /** * Tests getting JSON from schema.org with the HTTP Accept header set to * {@value com.github.jsonldjava.utils.JsonUtils#ACCEPT_HEADER}? . */ @Test public void testApacheHttpClient() throws Exception { final URL url = new URL("http://schema.org/"); // Common CacheConfig for both the JarCacheStorage and the underlying // BasicHttpCacheStorage final CacheConfig cacheConfig = CacheConfig.custom().setMaxCacheEntries(1000) .setMaxObjectSize(1024 * 128).build(); final CloseableHttpClient httpClient = CachingHttpClientBuilder.create() // allow caching .setCacheConfig(cacheConfig) // Wrap the local JarCacheStorage around a BasicHttpCacheStorage .setHttpCacheStorage(new JarCacheStorage(null, cacheConfig, new BasicHttpCacheStorage(cacheConfig))) // Support compressed data // http://hc.apache.org/httpcomponents-client-ga/tutorial/html/httpagent.html#d5e1238 .addInterceptorFirst(new RequestAcceptEncoding()) .addInterceptorFirst(new ResponseContentEncoding()) .setRedirectStrategy(DefaultRedirectStrategy.INSTANCE) // use system defaults for proxy etc. .useSystemProperties().build(); Object content = JsonUtils.fromURL(url, httpClient); checkBasicConditions(content.toString()); } private void checkBasicConditions(final String outputString) { // Test for some basic conditions without including the JSON/JSON-LD // parsing code here assertTrue(outputString, outputString.endsWith("}")); assertFalse("Output string should not be empty: " + outputString.length(), outputString.isEmpty()); assertTrue("Unexpected length: " + outputString.length(), outputString.length() > 100000); } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/NodeCompareTest.java000066400000000000000000000211511452212752100304530ustar00rootroot00000000000000package com.github.jsonldjava.core; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Random; import org.junit.Test; import com.github.jsonldjava.core.RDFDataset.BlankNode; import com.github.jsonldjava.core.RDFDataset.IRI; import com.github.jsonldjava.core.RDFDataset.Literal; import com.github.jsonldjava.core.RDFDataset.Node; import com.github.jsonldjava.core.RDFDataset.Quad; public class NodeCompareTest { /** * While this order might not particularly make sense (RDF is unordered), * this is at least documented. Feel free to move things around below if the * underlying .compareTo() changes. */ @Test public void ordered() throws Exception { final List expected = Arrays.asList( new Literal("1", JsonLdConsts.XSD_INTEGER, null), new Literal("10", JsonLdConsts.XSD_INTEGER, null), new Literal("2", JsonLdConsts.XSD_INTEGER, null), // still // ordered by // string // value new Literal("a", JsonLdConsts.RDF_LANGSTRING, "en"), new Literal("a", JsonLdConsts.RDF_LANGSTRING, "fr"), new Literal("a", null, null), // equivalent // to // xsd:string new Literal("b", JsonLdConsts.XSD_STRING, null), new Literal("false", JsonLdConsts.XSD_BOOLEAN, null), new Literal("true", JsonLdConsts.XSD_BOOLEAN, null), new Literal("x", JsonLdConsts.XSD_STRING, null), new Literal("z", JsonLdConsts.RDF_LANGSTRING, "en"), new Literal("z", JsonLdConsts.RDF_LANGSTRING, "fr"), new Literal("z", null, null), new BlankNode("a"), new BlankNode("f"), new BlankNode("z"), new IRI("http://example.com/ex1"), new IRI("http://example.com/ex2"), new IRI("http://example.org/ex"), new IRI("https://example.net/")); final List shuffled = new ArrayList<>(expected); final Random rand = new Random(1337); // fixed seed Collections.shuffle(shuffled, rand); // System.out.println("Shuffled:"); // shuffled.stream().forEach(System.out::println); assertNotEquals(expected, shuffled); Collections.sort(shuffled); final List sorted = shuffled; // System.out.println("Now sorted:"); // sorted.stream().forEach(System.out::println); // Not so useful output from this // assertEquals(expected, sorted); // so we'll instead do: for (int i = 0; i < expected.size(); i++) { assertEquals("Wrong sort order at position " + i, expected.get(i), sorted.get(i)); } } @Test public void literalSameValue() throws Exception { final Literal l1 = new Literal("Same", null, null); final Literal l2 = new Literal("Same", null, null); assertEquals(l1, l2); assertEquals(0, l1.compareTo(l2)); } @Test public void literalDifferentValue() throws Exception { final Literal l1 = new Literal("Same", null, null); final Literal l2 = new Literal("Different", null, null); assertNotEquals(l1, l2); assertNotEquals(0, l1.compareTo(l2)); } @Test public void literalSameValueSameLang() throws Exception { final Literal l1 = new Literal("Same", JsonLdConsts.RDF_LANGSTRING, "en"); final Literal l2 = new Literal("Same", JsonLdConsts.RDF_LANGSTRING, "en"); assertEquals(l1, l2); assertEquals(0, l1.compareTo(l2)); } @Test public void literalDifferentValueSameLang() throws Exception { final Literal l1 = new Literal("Same", JsonLdConsts.RDF_LANGSTRING, "en"); final Literal l2 = new Literal("Different", JsonLdConsts.RDF_LANGSTRING, "en"); assertNotEquals(l1, l2); assertNotEquals(0, l1.compareTo(l2)); } @Test public void literalSameValueDifferentLang() throws Exception { final Literal l1 = new Literal("Same", JsonLdConsts.RDF_LANGSTRING, "en"); final Literal l2 = new Literal("Same", JsonLdConsts.RDF_LANGSTRING, "no"); assertNotEquals(l1, l2); assertNotEquals(0, l1.compareTo(l2)); } @Test public void literalSameValueLangNull() throws Exception { final Literal l1 = new Literal("Same", JsonLdConsts.RDF_LANGSTRING, "en"); final Literal l2 = new Literal("Same", JsonLdConsts.RDF_LANGSTRING, null); assertNotEquals(l1, l2); assertNotEquals(0, l1.compareTo(l2)); assertNotEquals(0, l2.compareTo(l1)); } @Test public void literalSameValueSameType() throws Exception { final Literal l1 = new Literal("1", JsonLdConsts.XSD_INTEGER, null); final Literal l2 = new Literal("1", JsonLdConsts.XSD_INTEGER, null); assertEquals(l1, l2); assertEquals(0, l1.compareTo(l2)); } @Test public void literalSameValueSameTypeNull() throws Exception { final Literal l1 = new Literal("1", JsonLdConsts.XSD_STRING, null); final Literal l2 = new Literal("1", null, null); assertEquals(l1, l2); assertEquals(0, l1.compareTo(l2)); } @Test public void literalSameValueDifferentType() throws Exception { final Literal l1 = new Literal("1", JsonLdConsts.XSD_INTEGER, null); final Literal l2 = new Literal("1", JsonLdConsts.XSD_STRING, null); assertNotEquals(l1, l2); assertNotEquals(0, l1.compareTo(l2)); } @Test public void literalsInDataset() throws Exception { final RDFDataset dataset = new RDFDataset(); dataset.addQuad("http://example.com/p", "http://example.com/p", "Same", null, null, "http://example.com/g1"); dataset.addQuad("http://example.com/p", "http://example.com/p", "Different", null, null, "http://example.com/g1"); final List quads = dataset.getQuads("http://example.com/g1"); final Quad q1 = quads.get(0); final Quad q2 = quads.get(1); assertNotEquals(q1, q2); assertNotEquals(0, q1.compareTo(q2)); assertNotEquals(0, q1.getObject().compareTo(q2.getObject())); } @Test public void iriDifferentLiteral() throws Exception { final Node iri = new IRI("http://example.com/"); final Node literal = new Literal("http://example.com/", null, null); assertNotEquals(iri, literal); assertNotEquals(0, iri.compareTo(literal)); assertNotEquals(0, literal.compareTo(iri)); } @Test public void iriDifferentNull() throws Exception { final Node iri = new IRI("http://example.com/"); assertNotEquals(0, iri.compareTo(null)); } @Test public void literalDifferentNull() throws Exception { final Node literal = new Literal("hello", null, null); assertNotEquals(0, literal.compareTo(null)); } @Test public void iriDifferentIri() throws Exception { final Node iri = new IRI("http://example.com/"); final Node other = new IRI("http://example.com/other"); assertNotEquals(iri, other); assertNotEquals(0, iri.compareTo(other)); } @Test public void iriSameIri() throws Exception { final Node iri = new IRI("http://example.com/same"); final Node same = new IRI("http://example.com/same"); assertEquals(iri, same); assertEquals(0, iri.compareTo(same)); } @Test public void iriDifferentBlankNode() throws Exception { // We'll use a relative IRI to avoid :-issues final Node iri = new IRI("b1"); final Node bnode = new BlankNode("b1"); assertNotEquals(iri, bnode); assertNotEquals(bnode, iri); assertNotEquals(0, iri.compareTo(bnode)); assertNotEquals(0, bnode.compareTo(iri)); } @Test public void literalDifferentBlankNode() throws Exception { // We'll use a relative IRI to avoid :-issues final Node literal = new Literal("b1", null, null); final Node bnode = new BlankNode("b1"); assertNotEquals(literal, bnode); assertNotEquals(bnode, literal); assertNotEquals(0, literal.compareTo(bnode)); assertNotEquals(0, bnode.compareTo(literal)); } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/QuadCompareTest.java000066400000000000000000000044371452212752100304700ustar00rootroot00000000000000package com.github.jsonldjava.core; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; import org.junit.Test; import com.github.jsonldjava.core.RDFDataset.Quad; public class QuadCompareTest { Quad q = new Quad("http://example.com/s1", "http://example.com/p1", "http://example.com/o1", "http://example.com/g1"); @Test public void compareToNull() throws Exception { assertNotEquals(0, q.compareTo(null)); } @Test public void compareToSame() throws Exception { final Quad q2 = new Quad("http://example.com/s1", "http://example.com/p1", "http://example.com/o1", "http://example.com/g1"); assertEquals(0, q.compareTo(q2)); // Should still compare equal, even if extra attributes are added q2.put("example", "value"); assertEquals(0, q.compareTo(q2)); } @Test public void compareToDifferentGraph() throws Exception { final Quad q2 = new Quad("http://example.com/s1", "http://example.com/p1", "http://example.com/o1", "http://example.com/other"); assertNotEquals(0, q.compareTo(q2)); } @Test public void compareToDifferentSubject() throws Exception { final Quad q2 = new Quad("http://example.com/other", "http://example.com/p1", "http://example.com/o1", "http://example.com/g1"); assertNotEquals(0, q.compareTo(q2)); } @Test public void compareToDifferentPredicate() throws Exception { final Quad q2 = new Quad("http://example.com/s1", "http://example.com/other", "http://example.com/o1", "http://example.com/g1"); assertNotEquals(0, q.compareTo(q2)); } @Test public void compareToDifferentObject() throws Exception { final Quad q2 = new Quad("http://example.com/s1", "http://example.com/p1", "http://example.com/other", "http://example.com/g1"); assertNotEquals(0, q.compareTo(q2)); } @Test public void compareToDifferentObjectType() throws Exception { final Quad q2 = new Quad("http://example.com/s1", "http://example.com/p1", "http://example.com/other", null, null, // literal "http://example.com/g1"); assertNotEquals(0, q.compareTo(q2)); } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/core/RegexTest.java000066400000000000000000000220131452212752100273270ustar00rootroot00000000000000package com.github.jsonldjava.core; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.junit.Test; public class RegexTest { @Test public void test_TRICKY_UTF_CHARS() throws IOException { // make sure all the characters in the range are matched for (int i = 0x10000; i <= 0xeffff; i++) { final char[] u1 = Character.toChars(i); // char[] u2 = Character.toChars(0xeffff); final String test = Character.toString(u1[0]) + Character.toString(u1[1]);// + // Character.toString(u2[0]) // + // Character.toString(u2[1]); // Matcher matcher = Regex.TRICKY_UTF_CHARS.matcher(test); // while (matcher.find()) { // String s = matcher.group(0); // for (int i = 0; i < s.length(); i++) { // System.out.print("0x" + Integer.toHexString(s.codePointAt(i)) + // " "); // } // System.out.println(); // } assertTrue(test.matches("" + Regex.TRICKY_UTF_CHARS + "")); } } @Test public void test_PN_CHARS_BASE() throws IOException { final String test = "\u0041\u005A\u0061\u007A\u00C0\u00D6\u00D8\u00F6\u00F8\u02FF\u0370\u037D\u037F\u1FFF\u200C\u200D\u2070\u218F\u2C00\u2FEF\u3001\uD7FF\uF900\uFDCF\uFDF0\uFFFD\uD800\uDC00\uDB7F\uDFFF"; assertTrue(test.matches("^(?:" + Regex.PN_CHARS_BASE + ")+$")); assertFalse("_".matches("^" + Regex.PN_CHARS_BASE + "$")); } @Test public void test_PN_CHARS_U() { final String test = "\u0041\u005A\u0061__\u007A\u00C0\u00D6\u00D8\u00F6\u00F8\u02FF\u0370\u037D\u037F\u1FFF\u200C\u200D\u2070\u218F\u2C00\u2FEF\u3001\uD7FF\uF900\uFDCF\uFDF0\uFFFD\uD800\uDC00\uDB7F\uDFFF"; assertTrue(test.matches("^(?:" + Regex.PN_CHARS_U + ")+$")); } @Test public void test_PN_CHARS() { final String test = "\u0041\u005A\u0061_-_\u007A\u00C0\u00D6\u00D8\u00F6\u00F8\u02FF\u0370\u037D\u037F\u1FFF\u200C\u200D\u2070\u218F\u2C00\u2FEF\u3001\uD7FF\uF900\uFDCF\uFDF0\uFFFD\uD800\uDC00\uDB7F\uDFFF"; assertTrue(test.matches("^(?:" + Regex.PN_CHARS + ")+$")); } @Test public void test_PN_PREFIX() { final String testT = "\u0041\u005A\u0061.\u007A\u00C0\u00D6\u00D8\u00F6\u00F8\u02FF\u0370\u037D\u037F\u1FFF\u200C\u200D\u2070\u218F\u2C00\u2FEF\u3001\uD7FF\uF900\uFDCF\uFDF0\uFFFD\uD800\uDC00\uDB7F\uDFFF"; final String testF = "\u0041\u005A\u0061.\u007A\u00C0\u00D6\u00D8\u00F6\u00F8\u02FF\u0370\u037D\u037F\u1FFF\u200C\u200D\u2070\u218F\u2C00\u2FEF\u3001\uD7FF\uF900\uFDCF\uFDF0\uFFFD\uD800\uDC00\uDB7F\uDFFF."; assertTrue(testT.matches("^" + Regex.PN_PREFIX + "$")); assertFalse(testF.matches("^" + Regex.PN_PREFIX + "$")); assertFalse("_:b".matches("^" + Regex.PN_PREFIX + "$")); } @Test public void test_HEX() { assertTrue("0123456789ABCDEFabcdef".matches("^" + Regex.HEX + "+$")); assertFalse("0123456789ABCDEFabcdefg".matches("^" + Regex.HEX + "+$")); } @Test public void test_PN_LOCAL_ESC() { assertTrue("\\&\\!\\_\\~".matches("^(?:" + Regex.PN_LOCAL_ESC + ")+$")); } @Test public void test_PERCENT() { assertTrue("%A0".matches("^" + Regex.PERCENT + "$")); } @Test public void test_PLX() { assertTrue("%A0".matches("^" + Regex.PLX + "$")); assertTrue("\\&\\!\\_\\~%A0".matches("^(?:" + Regex.PLX + ")+$")); } @Test public void test_PN_LOCAL() { assertTrue(":abcdef.:%FF\\#".matches("^" + Regex.PN_LOCAL + "$")); } @Test public void test_PNAME_NS() { assertTrue(":".matches("^" + Regex.PNAME_NS + "$")); assertTrue("abc:".matches("^" + Regex.PNAME_NS + "$")); assertTrue("\u00F8\u02FF\u0370\u037D:".matches("^" + Regex.PNAME_NS + "$")); } @Test public void test_PNAME_LN() { assertTrue(":p".matches("^" + Regex.PNAME_LN + "$")); assertTrue("abc:def".matches("^" + Regex.PNAME_LN + "$")); assertTrue("\u00F8\u02FF\u0370\u037D:\u00F8\u02FF\u0370\u037D" .matches("^" + Regex.PNAME_LN + "$")); } @Test public void test_UCHAR() { assertTrue("\\u0ABC".matches("^" + Regex.UCHAR + "$")); assertTrue("\\U0123ABCD".matches("^" + Regex.UCHAR + "$")); } @Test public void test_ECHAR() { assertTrue("\\t".matches("^" + Regex.ECHAR + "$")); assertTrue("\\\"".matches("^" + Regex.ECHAR + "$")); assertTrue("\\\\".matches("^" + Regex.ECHAR + "$")); } @Test public void test_IRIREF() { final Matcher matcher = Regex.IRIREF.matcher(""); assertTrue(matcher.matches()); assertEquals(1, matcher.groupCount()); assertNotNull(matcher.group(1)); assertEquals("http://www.google.com/test#hello", matcher.group(1)); } @Test public void test_BLANK_NODE_LABEL() { assertTrue("_:abcd".matches("^" + Regex.BLANK_NODE_LABEL + "$")); assertTrue("_:abcd\u007A".matches("^" + Regex.BLANK_NODE_LABEL + "$")); assertTrue("_:\u00C0\u0041\u005A\u0061\u007A".matches("^" + Regex.BLANK_NODE_LABEL + "$")); assertTrue("_:abcd\u00C0".matches("^" + Regex.BLANK_NODE_LABEL + "$")); final Matcher matcher = Regex.BLANK_NODE_LABEL.matcher("_:\u00F8\u02FF\u0370\u037D"); assertTrue(matcher.matches()); assertEquals(1, matcher.groupCount()); assertEquals("\u00F8\u02FF\u0370\u037D", matcher.group(1)); } @Test public void test_STRING_LITERAL_QUOTE() { final Matcher matcher = Regex.STRING_LITERAL_QUOTE .matcher("\"IRI with four digit numeric escape (\\\\u)\" ;"); assertTrue(matcher.find()); assertTrue("\"dffhjkasdhfskldhfoiw'eu\\\"fhowleifh \u00F8\u02FF\u0370\u037D\"" .matches("^" + Regex.STRING_LITERAL_QUOTE + "$")); assertFalse("\"dffhjkasdhfs\nkldhfoiw\\\"'eufhowleifh \u00F8\u02FF\u0370\u037D\"" .matches("^" + Regex.STRING_LITERAL_QUOTE + "$")); } @Test public void test_STRING_LITERAL_SINGLE_QUOTE() { assertTrue("'dffhjkasdhfskldhf\\'oiweu\"fhowleifh \u00F8\u02FF\u0370\u037D'" .matches("^" + Regex.STRING_LITERAL_SINGLE_QUOTE + "$")); assertFalse("\"dffhjkasdhfs\nkldhfoiw\\\"'eufhowleifh \u00F8\u02FF\u0370\u037D\"" .matches("^" + Regex.STRING_LITERAL_SINGLE_QUOTE + "$")); } @Test public void test_STRING_LITERAL_LONG_SINGLE_QUOTE() { assertTrue("'''dffhjkasdhfsk\nldhfoiw\"'eufhowleifh \u00F8\u02FF\u0370\u037D'''" .matches("^" + Regex.STRING_LITERAL_LONG_SINGLE_QUOTE + "$")); } @Test public void test_STRING_LITERAL_LONG_QUOTE() { assertTrue("\"\"\"dffhjkasdhfsk\nldhfoiw\"'eufhowleifh \u00F8\u02FF\u0370\u037D\"\"\"" .matches("^" + Regex.STRING_LITERAL_LONG_QUOTE + "$")); } @Test public void test_LANGTAG() { assertTrue("@en".matches("^" + Regex.LANGTAG + "$")); assertTrue("@abc-def".matches("^" + Regex.LANGTAG + "$")); } @Test public void test_unescape() { String r = RDFDatasetUtils.unescape("\\u007A"); assertTrue("\u007A".equals(r)); r = RDFDatasetUtils.unescape("\\U000F0000"); assertTrue("\uDB80\uDC00".equals(r)); r = RDFDatasetUtils.unescape("\\U00010000"); assertTrue("\uD800\uDC00".equals(r)); r = RDFDatasetUtils.unescape("\\U00100000"); assertTrue("\uDBC0\uDC00".equals(r)); r = RDFDatasetUtils.unescape("\\t"); assertTrue("\t".equals(r)); r = RDFDatasetUtils.unescape("\\t\\u007A\\U000F0000\\U00010000\\n"); assertTrue("\t\u007A\uDB80\uDC00\uD800\uDC00\n".equals(r)); r = RDFDatasetUtils.unescape( "http://a.example/AZaz\u00c0\u00d6\u00d8\u00f6\u00f8\u02ff\u0370\u037d\u0384\u1ffe\u200c\u200d\u2070\u2189\u2c00\u2fd5\u3001\ud7fb\ufa0e\ufdc7\ufdf0\uffef"); assertTrue( "http://a.example/AZaz\u00c0\u00d6\u00d8\u00f6\u00f8\u02ff\u0370\u037d\u0384\u1ffe\u200c\u200d\u2070\u2189\u2c00\u2fd5\u3001\ud7fb\ufa0e\ufdc7\ufdf0\uffef" .equals(r)); r = RDFDatasetUtils.unescape( "http://a.example/AZaz\\u00c0\\u00d6\\u00d8\\u00f6\\u00f8\\u02ff\\u0370\\u037d\\u0384\\u1ffe\\u200c\\u200d\\u2070\\u2189\\u2c00\\u2fd5\\u3001\\ud7fb\\ufa0e\\ufdc7\\ufdf0\\uffef\\U00010000\\U000e01ef"); assertTrue( "http://a.example/AZaz\u00c0\u00d6\u00d8\u00f6\u00f8\u02ff\u0370\u037d\u0384\u1ffe\u200c\u200d\u2070\u2189\u2c00\u2fd5\u3001\ud7fb\ufa0e\ufdc7\ufdf0\uffef\uD800\uDC00\uDB40\uDDEF" .equals(r)); } @Test public void testDoubleRegex() throws Exception { assertTrue(Pattern.matches("^(\\+|-)?([0-9]+(\\.[0-9]*)?|\\.[0-9]+)([Ee](\\+|-)?[0-9]+)?$", "1.1E-1")); } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/utils/000077500000000000000000000000001452212752100247645ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/utils/EarlTestSuite.java000066400000000000000000000130641452212752100303700ustar00rootroot00000000000000package com.github.jsonldjava.utils; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.StringWriter; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import com.github.jsonldjava.core.JsonLdError; import com.github.jsonldjava.core.JsonLdOptions; import com.github.jsonldjava.core.JsonLdProcessor; public class EarlTestSuite { private static final String TEMP_DIR = System.getProperty("java.io.tmpdir"); private static final String FILE_SEP = System.getProperty("file.separator"); private final String cacheDir; private String etag; private Map manifest; private List> tests; public EarlTestSuite(String manifestURL) throws IOException { this(manifestURL, null, null); } /** * Loads an earl test suite * * @param manifestURL * the JsonLdUrl of the manifest file * @param cacheDir * the base directory to cache the files into * @param etag * the ETag field to load (useful if you know you have the latest * manifest cached and don't want to query the server for a new * one every time you run the tests). * @throws IOException */ @SuppressWarnings("unchecked") public EarlTestSuite(String manifestURL, String cacheDir, String etag) throws IOException { if (cacheDir == null) { cacheDir = getCacheDir(manifestURL); } this.cacheDir = cacheDir; new File(this.cacheDir).mkdirs(); if (etag == null) { final java.net.URLConnection conn = new java.net.URL(manifestURL).openConnection(); this.etag = conn.getHeaderField("ETag"); } else { this.etag = etag; } final String manifestFile = getFile(manifestURL); if (manifestURL.endsWith(".ttl") || manifestURL.endsWith("nq") || manifestURL.endsWith("nt")) { try { Map rval = (Map) JsonLdProcessor .fromRDF(manifestFile, new JsonLdOptions(manifestURL) { { this.format = "text/turtle"; this.useNamespaces = true; this.outputForm = "compacted"; } }); final Map frame = new LinkedHashMap(); frame.put("@context", rval.get("@context")); frame.put("@type", "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#Manifest"); // make manifest the base object, embeding any referenced items // (e.g. the test entries) rval = JsonLdProcessor.frame(rval, frame, new JsonLdOptions(manifestURL)); // compact to remove the @graph label this.manifest = JsonLdProcessor.compact(rval, frame.get("@context"), new JsonLdOptions(manifestURL)); this.tests = (List>) Obj.get(this.manifest, "mf:entries", "@list"); } catch (final JsonLdError e) { throw new RuntimeException(e); } } else if (manifestURL.endsWith(".jsonld") || manifestURL.endsWith(".json")) { final Object rval = JsonUtils.fromString(manifestFile); if (rval instanceof Map) { this.manifest = (Map) rval; this.tests = (List>) Obj.get(this.manifest, "sequence"); } else { throw new RuntimeException("expected JSON manifest file result to be an Object"); } } else { throw new RuntimeException("unknown manifest file format"); } } public String getFile(String url) throws IOException { final JsonLdUrl url_ = JsonLdUrl.parse(url.toString()); final String fn = this.cacheDir + url_.file + "." + this.etag; final File f = new File(fn); BufferedWriter fw = null; BufferedReader in; if (f.exists()) { in = new BufferedReader(new InputStreamReader(new FileInputStream(f), "UTF-8")); } else { final java.net.URLConnection conn = new java.net.URL(url).openConnection(); in = new BufferedReader(new InputStreamReader(conn.getInputStream(), "UTF-8")); f.createNewFile(); fw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(f), "UTF-8")); } final StringWriter sw = new StringWriter(); final char[] str = new char[1024]; int read; while ((read = in.read(str)) >= 0) { sw.write(str, 0, read); if (fw != null) { fw.write(str, 0, read); } } in.close(); if (fw != null) { fw.close(); } return sw.toString(); } private static String getCacheDir(String url) { final JsonLdUrl url_ = JsonLdUrl.parse(url); String dir = url_.path.substring(0, url_.path.lastIndexOf("/") + 1); if (!FILE_SEP.equals("/")) { dir = dir.replace("/", FILE_SEP); } return TEMP_DIR + dir; } public List> getTests() { return tests; } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/utils/JarCacheTest.java000066400000000000000000000146401452212752100301340ustar00rootroot00000000000000package com.github.jsonldjava.utils; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.net.URL; import java.net.URLClassLoader; import org.apache.commons.io.IOUtils; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.protocol.RequestAcceptEncoding; import org.apache.http.client.protocol.ResponseContentEncoding; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.DefaultRedirectStrategy; import org.apache.http.impl.client.cache.CacheConfig; import org.apache.http.impl.client.cache.CachingHttpClientBuilder; import org.junit.After; import org.junit.Test; public class JarCacheTest { @Test public void cacheHit() throws Exception { final CacheConfig cacheConfig = CacheConfig.custom().setMaxCacheEntries(1000) .setMaxObjectSize(1024 * 128).build(); final JarCacheStorage storage = new JarCacheStorage(null, cacheConfig); final HttpClient httpClient = createTestHttpClient(cacheConfig, storage); final HttpGet get = new HttpGet("http://nonexisting.example.com/context"); final HttpResponse resp = httpClient.execute(get); assertEquals("application/ld+json", resp.getEntity().getContentType().getValue()); final String str = IOUtils.toString(resp.getEntity().getContent(), "UTF-8"); assertTrue(str.contains("ex:datatype")); } @Test(expected = IOException.class) public void cacheMiss() throws Exception { final CacheConfig cacheConfig = CacheConfig.custom().setMaxCacheEntries(1000) .setMaxObjectSize(1024 * 128).build(); final JarCacheStorage storage = new JarCacheStorage(null, cacheConfig); final HttpClient httpClient = createTestHttpClient(cacheConfig, storage); final HttpGet get = new HttpGet("http://nonexisting.example.com/notfound"); // Should throw an IOException as the DNS name // nonexisting.example.com does not exist httpClient.execute(get); } @Test public void doubleLoad() throws Exception { final CacheConfig cacheConfig = CacheConfig.custom().setMaxCacheEntries(1000) .setMaxObjectSize(1024 * 128).build(); final JarCacheStorage storage = new JarCacheStorage(null, cacheConfig); final HttpClient httpClient = createTestHttpClient(cacheConfig, storage); final HttpGet get = new HttpGet("http://nonexisting.example.com/context"); HttpResponse resp = httpClient.execute(get); resp = httpClient.execute(get); // Ensure second load through the cached jarcache list works assertEquals("application/ld+json", resp.getEntity().getContentType().getValue()); } @Test public void customClassPath() throws Exception { final URL nestedJar = getClass().getResource("/nested.jar"); final ClassLoader cl = new URLClassLoader(new URL[] { nestedJar }); final CacheConfig cacheConfig = CacheConfig.custom().setMaxCacheEntries(1000) .setMaxObjectSize(1024 * 128).build(); final JarCacheStorage storage = new JarCacheStorage(cl, cacheConfig); final HttpClient httpClient = createTestHttpClient(cacheConfig, storage); final HttpGet get = new HttpGet("http://nonexisting.example.com/nested/hello"); final HttpResponse resp = httpClient.execute(get); assertEquals("application/json", resp.getEntity().getContentType().getValue()); final String str = IOUtils.toString(resp.getEntity().getContent(), "UTF-8"); assertEquals("{ \"Hello\": \"World!\" }", str.trim()); } @Test public void contextClassLoader() throws Exception { final URL nestedJar = getClass().getResource("/nested.jar"); assertNotNull(nestedJar); final ClassLoader cl = new URLClassLoader(new URL[] { nestedJar }); final CacheConfig cacheConfig = CacheConfig.custom().setMaxCacheEntries(1000) .setMaxObjectSize(1024 * 128).build(); final JarCacheStorage storage = new JarCacheStorage(cl, cacheConfig); Thread.currentThread().setContextClassLoader(cl); final HttpClient httpClient = createTestHttpClient(cacheConfig, storage); final HttpGet get = new HttpGet("http://nonexisting.example.com/nested/hello"); final HttpResponse resp = httpClient.execute(get); assertEquals("application/json", resp.getEntity().getContentType().getValue()); final String str = IOUtils.toString(resp.getEntity().getContent(), "UTF-8"); assertEquals("{ \"Hello\": \"World!\" }", str.trim()); } @After public void setContextClassLoader() { Thread.currentThread().setContextClassLoader(getClass().getClassLoader()); } @Test public void systemClassLoader() throws Exception { final URL nestedJar = getClass().getResource("/nested.jar"); assertNotNull(nestedJar); final CacheConfig cacheConfig = CacheConfig.custom().setMaxCacheEntries(1000) .setMaxObjectSize(1024 * 128).build(); final JarCacheStorage storage = new JarCacheStorage(null, cacheConfig); final HttpClient httpClient = createTestHttpClient(cacheConfig, storage); final HttpGet get = new HttpGet("http://nonexisting.example.com/context"); final HttpResponse resp = httpClient.execute(get); assertEquals("application/ld+json", resp.getEntity().getContentType().getValue()); } private static CloseableHttpClient createTestHttpClient(CacheConfig cacheConfig, JarCacheStorage jarCacheConfig) { final CloseableHttpClient result = CachingHttpClientBuilder.create() // allow caching .setCacheConfig(cacheConfig) // Set the JarCacheStorage instance as the HttpCache .setHttpCacheStorage(jarCacheConfig) // Support compressed data // http://hc.apache.org/httpcomponents-client-ga/tutorial/html/httpagent.html#d5e1238 .addInterceptorFirst(new RequestAcceptEncoding()) .addInterceptorFirst(new ResponseContentEncoding()) .setRedirectStrategy(DefaultRedirectStrategy.INSTANCE) // use system defaults for proxy etc. .useSystemProperties().build(); return result; } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/utils/JsonUtilsTest.java000066400000000000000000000066051452212752100304300ustar00rootroot00000000000000package com.github.jsonldjava.utils; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.io.Reader; import java.io.StringReader; import java.util.Map; import org.junit.Test; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.databind.ObjectMapper; public class JsonUtilsTest { @Test public void resolveTest() { final String baseUri = "http://mysite.net"; final String pathToResolve = "picture.jpg"; String resolve = ""; try { resolve = JsonLdUrl.resolve(baseUri, pathToResolve); assertEquals(baseUri + "/" + pathToResolve, resolve); } catch (final Exception e) { assertTrue(false); } } @SuppressWarnings("unchecked") @Test public void fromStringTest() { final String testString = "{\"seq\":3,\"id\":\"e48dfa735d9fad88db6b7cd696002df7\",\"changes\":[{\"rev\":\"2-6aebf275bc3f29b67695c727d448df8e\"}]}"; final String testFailure = "{{{{{{{{{{{"; Object obj = null; try { obj = JsonUtils.fromString(testString); assertTrue(((Map) obj).containsKey("seq")); assertTrue(((Map) obj).get("seq") instanceof Number); } catch (final Exception e) { assertTrue(false); } try { obj = JsonUtils.fromString(testFailure); assertTrue(false); } catch (final Exception e) { assertTrue(true); } } @Test public void testFromJsonParser() throws Exception { final ObjectMapper jsonMapper = new ObjectMapper(); final JsonFactory jsonFactory = new JsonFactory(jsonMapper); final Reader testInputString = new StringReader("{}"); final JsonParser jp = jsonFactory.createParser(testInputString); JsonUtils.fromJsonParser(jp); } @Test public void trailingContent_1() throws JsonParseException, IOException { trailingContent("{}"); } @Test public void trailingContent_2() throws JsonParseException, IOException { trailingContent("{} \t \r \n \r\n "); } @Test(expected = JsonParseException.class) public void trailingContent_3() throws JsonParseException, IOException { trailingContent("{}x"); } @Test(expected = JsonParseException.class) public void trailingContent_4() throws JsonParseException, IOException { trailingContent("{} x"); } @Test(expected = JsonParseException.class) public void trailingContent_5() throws JsonParseException, IOException { trailingContent("{} \"x\""); } @Test(expected = JsonParseException.class) public void trailingContent_6() throws JsonParseException, IOException { trailingContent("{} {}"); } @Test(expected = JsonParseException.class) public void trailingContent_7() throws JsonParseException, IOException { trailingContent("{},{}"); } @Test(expected = JsonParseException.class) public void trailingContent_8() throws JsonParseException, IOException { trailingContent("{},[]"); } private void trailingContent(String string) throws JsonParseException, IOException { JsonUtils.fromString(string); } } jsonld-java-0.13.6/core/src/test/java/com/github/jsonldjava/utils/TestUtils.java000066400000000000000000000035131452212752100275710ustar00rootroot00000000000000/** * */ package com.github.jsonldjava.utils; import static org.junit.Assert.assertNotNull; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.InputStream; import java.util.Collection; import java.util.Iterator; import org.apache.commons.io.IOUtils; /** * @author Peter Ansell p_ansell@yahoo.com * */ public class TestUtils { public static InputStream copyResourceToFileStream(File testDir, String resource) throws Exception { return new FileInputStream(copyResourceToFile(testDir, resource)); } public static String copyResourceToFile(File testDir, String resource) throws Exception { String filename = resource; String directory = ""; if (resource.contains("/")) { filename = resource.substring(resource.lastIndexOf('/')); directory = resource.substring(0, resource.lastIndexOf('/')); } final File nextDirectory = new File(testDir, directory); nextDirectory.mkdirs(); final File nextFile = new File(nextDirectory, filename); nextFile.createNewFile(); final InputStream inputStream = TestUtils.class.getResourceAsStream(resource); assertNotNull("Missing test resource: " + resource, inputStream); IOUtils.copy(inputStream, new FileOutputStream(nextFile)); return nextFile.getAbsolutePath(); } public static String join(Collection list, String delim) { final StringBuilder builder = new StringBuilder(); final Iterator iter = list.iterator(); while (iter.hasNext()) { builder.append(iter.next()); if (!iter.hasNext()) { break; } builder.append(delim); } return builder.toString(); } private TestUtils() { } } jsonld-java-0.13.6/core/src/test/resources/000077500000000000000000000000001452212752100205225ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/resources/custom/000077500000000000000000000000001452212752100220345ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/resources/custom/array-context.jsonld000066400000000000000000000002201452212752100260410ustar00rootroot00000000000000{ "@context": [ "http://nonexisting.example.com/context", { "ex2": "http://example.com/2/" } ], "@id": "ex2:a", "term2": "ex2:b" }jsonld-java-0.13.6/core/src/test/resources/custom/base-0001-in.jsonld000066400000000000000000000006561452212752100251520ustar00rootroot00000000000000{ "@context": [ "https://raw.githubusercontent.com/jsonld-java/jsonld-java/master/core/src/test/resources/custom/monarch-context.jsonld", { "@base": "http://example.org/base/", "ex": "http://example.org/", "ex:friendOf": { "@type": "@id" } } ], "@id": "3456", "ex:name": "Jim", "ex:friendOf": "1234", "@type": "Person" } jsonld-java-0.13.6/core/src/test/resources/custom/base-0001-out.jsonld000066400000000000000000000003701452212752100253440ustar00rootroot00000000000000[ { "@id" : "http://example.org/base/3456", "@type" : [ "http://example.org/base/Person" ], "http://example.org/friendOf" : [ { "@id" : "http://example.org/base/1234" } ], "http://example.org/name" : [ { "@value" : "Jim" } ] } ]jsonld-java-0.13.6/core/src/test/resources/custom/base-0002-in.jsonld000066400000000000000000000006561452212752100251530ustar00rootroot00000000000000{ "@context": [ { "@base": "http://example.org/base/", "ex": "http://example.org/", "ex:friendOf": { "@type": "@id" } }, "https://raw.githubusercontent.com/jsonld-java/jsonld-java/master/core/src/test/resources/custom/monarch-context.jsonld" ], "@id": "3456", "ex:name": "Jim", "ex:friendOf": "1234", "@type": "Person" } jsonld-java-0.13.6/core/src/test/resources/custom/base-0002-out.jsonld000066400000000000000000000003701452212752100253450ustar00rootroot00000000000000[ { "@id" : "http://example.org/base/3456", "@type" : [ "http://example.org/base/Person" ], "http://example.org/friendOf" : [ { "@id" : "http://example.org/base/1234" } ], "http://example.org/name" : [ { "@value" : "Jim" } ] } ]jsonld-java-0.13.6/core/src/test/resources/custom/base-0003-in.jsonld000066400000000000000000000005511452212752100251460ustar00rootroot00000000000000{ "@context": { "@base": "http://mysite.net", "DataSet": "http://schema.org/DataSet", "CreativeWork": "http://schema.org/CreativeWork" }, "@graph": [ { "@type": "CreativeWork", "@id": "picture.jpg" }, { "@id": "./", "@type": "DataSet" } ] } jsonld-java-0.13.6/core/src/test/resources/custom/base-0003-out.jsonld000066400000000000000000000002651452212752100253510ustar00rootroot00000000000000[ { "@id" : "http://mysite.net/picture.jpg", "@type" : [ "http://schema.org/CreativeWork" ] }, { "@id" : "http://mysite.net/", "@type" : [ "http://schema.org/DataSet" ] } ] jsonld-java-0.13.6/core/src/test/resources/custom/contexttest-0001.jsonld000066400000000000000000000002431452212752100262100ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/", "term1": {"@id": "ex:term1", "@type": "ex:datatype"}, "term2": {"@id": "ex:term2", "@type": "@id"} } }jsonld-java-0.13.6/core/src/test/resources/custom/contexttest-0002.jsonld000066400000000000000000000003541452212752100262140ustar00rootroot00000000000000[ { "@context": { "ex": "http://example.org/", "term1": {"@id": "ex:term1", "@type": "ex:datatype"} } }, { "@context": { "term2": {"@id": "ex:term2", "@type": "@id"} } } ] jsonld-java-0.13.6/core/src/test/resources/custom/contexttest-0003.jsonld000066400000000000000000000003161452212752100262130ustar00rootroot00000000000000{ "@context": { "aat" : "http://vocab.getty.edu/aat/", "aat_rev" : "http://vocab.getty.edu/aat/rev/" }, "@id" : "aat_rev:5001065997", "@type": "aat_rev:datatype", "used" : "aat:300016954" } jsonld-java-0.13.6/core/src/test/resources/custom/contexttest-0004.jsonld000066400000000000000000000011361452212752100262150ustar00rootroot00000000000000{ "@context": [ { "wdl": "http://wellcomelibrary.org/iiif-ext/0#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "accessHint": { "@id": "wdl:accessHint", "@type": "@vocab" }, "open": { "@id": "wdl:openAccess", "@type": "wdl:accessHint" }, "clickthrough": { "@id": "wdl:clickthrough", "@type": "wdl:accessHint" }, "credentials": { "@id": "wdl:credentials", "@type": "wdl:accessHint" }, "authService": { "@id": "wdl:suggestedAuthService" } } ] }jsonld-java-0.13.6/core/src/test/resources/custom/contexttest-0005.jsonld000066400000000000000000000004321452212752100262140ustar00rootroot00000000000000{ "@context": { "@base": "http://ex.com/base/", "@vocab": "http://ex.com/vocab/", "xsd": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "integer": { "@id": "http://example.com/vocab/integer", "@type": "xsd:integer" }, "@language": "en" } }jsonld-java-0.13.6/core/src/test/resources/custom/frame-0001-frame.jsonld000066400000000000000000000003111452212752100260020ustar00rootroot00000000000000{ "@context": { "net": "http://www.example.net/", "org": "http://example.org/", "com": "http://example.com/", "org:p3": { "@type": "@id" } }, "com:p1": {} }jsonld-java-0.13.6/core/src/test/resources/custom/frame-0001-in.jsonld000066400000000000000000000005111452212752100253200ustar00rootroot00000000000000{ "@context": { "net": "http://www.example.net/", "org": "http://example.org/", "com": "http://example.com/", "org:p3": { "@type": "@id" } }, "com:p1":[ { "org:p3": "_:b2", "net:p2": {} }, { "@id": "_:b2", "net:p2": {} } ] }jsonld-java-0.13.6/core/src/test/resources/custom/frame-0002-frame.jsonld000066400000000000000000000001301452212752100260020ustar00rootroot00000000000000{ "@context": { "@vocab": "http://xmlns.com/foaf/0.1/" }, "@type": "Person" } jsonld-java-0.13.6/core/src/test/resources/custom/frame-0002-in.jsonld000066400000000000000000000003231452212752100253220ustar00rootroot00000000000000{ "@context": { "@vocab": "http://xmlns.com/foaf/0.1/", "member": {"@type": "@id"} }, "@graph": [{ "@type": "Person", "member": "_:b1" }, { "@id": "_:b1", "@type": "Group" }] } jsonld-java-0.13.6/core/src/test/resources/custom/frame-0002-out.jsonld000066400000000000000000000003201452212752100255200ustar00rootroot00000000000000{ "@context" : { "@vocab" : "http://xmlns.com/foaf/0.1/" }, "@graph" : [ { "@id" : "_:b0", "@type" : "Person", "member" : [{ "@id" : "_:b1", "@type" : "Group" }] } ] } jsonld-java-0.13.6/core/src/test/resources/custom/frame-0003-out.jsonld000066400000000000000000000002461452212752100255300ustar00rootroot00000000000000{ "@context" : { "@vocab" : "http://xmlns.com/foaf/0.1/" }, "@graph" : [ { "@type" : "Person", "member" : [{ "@type" : "Group" }] } ] } jsonld-java-0.13.6/core/src/test/resources/custom/frame-0004-frame.jsonld000066400000000000000000000026721452212752100260210ustar00rootroot00000000000000{ "@context": { "sc": "http://iiif.io/api/presentation/2#", "oa": "http://www.w3.org/ns/oa#", "manifests": { "@type": "@id", "@id": "sc:hasManifests", "@container": "@list" }, "sequences": { "@type": "@id", "@id": "sc:hasSequences", "@container": "@list" }, "canvases": { "@type": "@id", "@id": "sc:hasCanvases", "@container": "@list" }, "resources": { "@type": "@id", "@id": "sc:hasAnnotations", "@container": "@set" }, "images": { "@type": "@id", "@id": "sc:hasImageAnnotations", "@container": "@list" }, "otherContent": { "@type": "@id", "@id": "sc:hasLists", "@container": "@list" }, "resource" : { "@id" : "oa:hasBody", "@type" : "@id" }, "on" : { "@id" : "oa:hasTarget", "@type" : "@id" } }, "@type": "sc:Manifest", "sequences": [ { "@type": "sc:Sequence", "startCanvas": { "@type": "sc:Canvas", "@omitDefault": true, "@embed": false }, "canvases": [ { "@type": "sc:Canvas", "images": [ { "@type": "oa:Annotation", "@embed": true } ], "otherContent": [ { "@type": "sc:AnnotationList", "@embed": true } ] } ] } ] } jsonld-java-0.13.6/core/src/test/resources/custom/frame-0004-in.jsonld000066400000000000000000000046531452212752100253360ustar00rootroot00000000000000{ "@graph": [ { "@id": "_:b1", "@type": "oa:Annotation", "resource": "http://localhost/r1.jp2", "on": "http://localhost/c1" }, { "@id": "_:b2", "@type": "oa:Annotation", "resource": "http://localhost/r0.jp2", "on": "http://localhost/c0" }, { "@id": "http://localhost:5004/r0.jp2", "@type": "http://iiif.io/api/image/2/context.json" }, { "@id": "http://localhost:5004/r1.jp2", "@type": "http://iiif.io/api/image/2/context.json" }, { "@id": "http://localhost/c0", "@type": "sc:Canvas", "images": [ "_:b2" ], "otherContent": [ "http://localhost/l0" ] }, { "@id": "http://localhost/c1", "@type": "sc:Canvas", "images": [ "_:b1" ], "otherContent": [ "http://localhost/l1" ] }, { "@id": "http://localhost/l0", "@type": "sc:AnnotationList" }, { "@id": "http://localhost/l1", "@type": "sc:AnnotationList" }, { "@id": "http://localhost/manifest", "@type": "sc:Manifest", "sequences": [ "http://localhost/sequence/normal" ] }, { "@id": "http://localhost/r0.jp2", "@type": "dctypes:Image" }, { "@id": "http://localhost/r1.jp2", "@type": "dctypes:Image" }, { "@id": "http://localhost/sequence/normal", "@type": "sc:Sequence", "canvases": [ "http://localhost/c0", "http://localhost/c1" ] } ], "@context": { "sc": "http://iiif.io/api/presentation/2#", "oa": "http://www.w3.org/ns/oa#", "manifests": { "@type": "@id", "@id": "sc:hasManifests", "@container": "@list" }, "sequences": { "@type": "@id", "@id": "sc:hasSequences", "@container": "@list" }, "canvases": { "@type": "@id", "@id": "sc:hasCanvases", "@container": "@list" }, "resources": { "@type": "@id", "@id": "sc:hasAnnotations", "@container": "@set" }, "images": { "@type": "@id", "@id": "sc:hasImageAnnotations", "@container": "@list" }, "otherContent": { "@type": "@id", "@id": "sc:hasLists", "@container": "@list" }, "resource": { "@id": "oa:hasBody", "@type": "@id" }, "on": { "@id": "oa:hasTarget", "@type": "@id" } } } jsonld-java-0.13.6/core/src/test/resources/custom/frame-0004-out.jsonld000066400000000000000000000046331452212752100255350ustar00rootroot00000000000000{ "@context": { "sc": "http://iiif.io/api/presentation/2#", "oa": "http://www.w3.org/ns/oa#", "manifests": { "@id": "sc:hasManifests", "@type": "@id", "@container": "@list" }, "sequences": { "@id": "sc:hasSequences", "@type": "@id", "@container": "@list" }, "canvases": { "@id": "sc:hasCanvases", "@type": "@id", "@container": "@list" }, "resources": { "@id": "sc:hasAnnotations", "@type": "@id", "@container": "@set" }, "images": { "@id": "sc:hasImageAnnotations", "@type": "@id", "@container": "@list" }, "otherContent": { "@id": "sc:hasLists", "@type": "@id", "@container": "@list" }, "resource": { "@id": "oa:hasBody", "@type": "@id" }, "on": { "@id": "oa:hasTarget", "@type": "@id" } }, "@graph": [ { "@id": "http://localhost/manifest", "@type": "sc:Manifest", "sequences": [ { "@id": "http://localhost/sequence/normal", "@type": "sc:Sequence", "canvases": [ { "@id": "http://localhost/c0", "@type": "sc:Canvas", "images": [ { "@id": "_:b1", "@type": "oa:Annotation", "resource": { "@id": "http://localhost/r0.jp2", "@type": "dctypes:Image" }, "on": "http://localhost/c0" } ], "otherContent": [ { "@id": "http://localhost/l0", "@type": "sc:AnnotationList" } ] }, { "@id": "http://localhost/c1", "@type": "sc:Canvas", "images": [ { "@id": "_:b0", "@type": "oa:Annotation", "resource": { "@id": "http://localhost/r1.jp2", "@type": "dctypes:Image" }, "on": "http://localhost/c1" } ], "otherContent": [ { "@id": "http://localhost/l1", "@type": "sc:AnnotationList" } ] } ] } ] } ] } jsonld-java-0.13.6/core/src/test/resources/custom/frame-0005-frame.jsonld000066400000000000000000000001031452212752100260050ustar00rootroot00000000000000{ "@context": {}, "@type": "http://www.myresource/uuidtype" } jsonld-java-0.13.6/core/src/test/resources/custom/frame-0005-in.jsonld000066400000000000000000000006401452212752100253270ustar00rootroot00000000000000{ "@context": { "rdfs": "http://www.w3.org/2000/01/rdf-schema#" }, "@id": "http://www.myresource/uuid", "@type": "http://www.myresource/uuidtype", "http://www.myresource.com/ontology/1.0#talksAbout": { "@list": [ { "@id": "http://rdf.freebase.com/ns/m.018w8", "rdfs:label": [ { "@value": "Basketball", "@language": "en" } ] } ] } } jsonld-java-0.13.6/core/src/test/resources/custom/frame-0005-out.jsonld000066400000000000000000000006161452212752100255330ustar00rootroot00000000000000{ "@graph" : [ { "@id" : "http://www.myresource/uuid", "@type" : "http://www.myresource/uuidtype", "http://www.myresource.com/ontology/1.0#talksAbout" : { "@list" : [ { "@id" : "http://rdf.freebase.com/ns/m.018w8", "http://www.w3.org/2000/01/rdf-schema#label" : { "@language" : "en", "@value" : "Basketball" } } ] } } ] } jsonld-java-0.13.6/core/src/test/resources/custom/frame-0006-frame.jsonld000066400000000000000000000000031452212752100260050ustar00rootroot00000000000000{} jsonld-java-0.13.6/core/src/test/resources/custom/frame-0006-in.jsonld000066400000000000000000000003441452212752100253310ustar00rootroot00000000000000[ { "@id" : "http://example.com/canvas-1", "@type" : "http://example.com" }, { "@id" : "http://example.com/element", "http://example.com" : { "@list" : [ { "@id" : "http://example.com/canvas-1" } ] } } ] jsonld-java-0.13.6/core/src/test/resources/custom/frame-0006-out.jsonld000066400000000000000000000004611452212752100255320ustar00rootroot00000000000000{ "@graph" : [ { "@id" : "http://example.com/canvas-1", "@type" : "http://example.com" }, { "@id" : "http://example.com/element", "http://example.com" : { "@list" : [ { "@id" : "http://example.com/canvas-1", "@type" : "http://example.com" } ] } } ] } jsonld-java-0.13.6/core/src/test/resources/custom/frame-0007-frame.jsonld000066400000000000000000000003631452212752100260170ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@type": "ex:Library", "ex:contains": { "@explicit":true, "dc:title":{"@default":"Title missing"}, "dc:creator":{} } }jsonld-java-0.13.6/core/src/test/resources/custom/frame-0007-in.jsonld000066400000000000000000000012061452212752100253300ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@graph": [ { "@id": "http://example.org/library", "@type": "ex:Library", "ex:contains": [{"@id":"http://example.org/library/the-republic#introduction"},{"@id":"http://example.org/library/the-republic"}] }, { "@id": "http://example.org/library/the-republic", "@type": "ex:Book", "dc:creator": "Plato", "dc:title": "The Republic" }, { "@id": "http://example.org/library/the-republic#introduction", "@type": "ex:Book", "dc:creator": "Plato" } ] } jsonld-java-0.13.6/core/src/test/resources/custom/frame-0007-out.jsonld000066400000000000000000000011501452212752100255270ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@graph": [ { "@id": "http://example.org/library", "@type": "ex:Library", "ex:contains": [ { "@id": "http://example.org/library/the-republic#introduction", "@type": "ex:Book", "dc:creator": "Plato", "dc:title": "Title missing" }, { "@id": "http://example.org/library/the-republic", "@type": "ex:Book", "dc:creator": "Plato", "dc:title": "The Republic" } ] } ] }jsonld-java-0.13.6/core/src/test/resources/custom/frame-0008-frame.jsonld000066400000000000000000000002011452212752100260070ustar00rootroot00000000000000{ "@context": { "dct": "http://purl.org/dc/terms/", "ex": "http://example.org/vocab#" }, "@type": "ex:Biography" } jsonld-java-0.13.6/core/src/test/resources/custom/frame-0008-in.jsonld000066400000000000000000000007261452212752100253370ustar00rootroot00000000000000{ "@context": { "dct": "http://purl.org/dc/terms/", "ex": "http://example.org/vocab#" }, "@graph": [ { "@id": "http://lobid.org/resources/HT019277879", "@type": "ex:Biography", "dct:creator": { "@id" : "https://www.wikidata.org/entity/Q115211", "ex:name": "Harry Rowohlt" }, "dct:subject": { "@id" : "https://www.wikidata.org/entity/Q115211", "ex:name": "Harry Rowohlt" } } ] } jsonld-java-0.13.6/core/src/test/resources/custom/frame-0008-out.jsonld000066400000000000000000000007261452212752100255400ustar00rootroot00000000000000{ "@context": { "dct": "http://purl.org/dc/terms/", "ex": "http://example.org/vocab#" }, "@graph": [ { "@id": "http://lobid.org/resources/HT019277879", "@type": "ex:Biography", "dct:creator": { "@id" : "https://www.wikidata.org/entity/Q115211", "ex:name": "Harry Rowohlt" }, "dct:subject": { "@id" : "https://www.wikidata.org/entity/Q115211", "ex:name": "Harry Rowohlt" } } ] } jsonld-java-0.13.6/core/src/test/resources/custom/frame-0009-frame.jsonld000066400000000000000000000001241452212752100260140ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example/", "id": "@id" }, "id": {} }jsonld-java-0.13.6/core/src/test/resources/custom/frame-0009-in.jsonld000066400000000000000000000003151452212752100253320ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example/", "id": "@id" }, "id": "_:bnode0", "name": "bar", "prop1": { "name": "foo", "id": "_:bnode1" }, "prop2": { "name": "foo", "id": "_:bnode1" } }jsonld-java-0.13.6/core/src/test/resources/custom/frame-0009-out.jsonld000066400000000000000000000004501452212752100255330ustar00rootroot00000000000000{ "@context": { "@vocab": "http:\/\/example\/", "id": "@id" }, "@graph": [ { "name": "bar", "prop1": { "id": "_:b1" }, "prop2": { "id": "_:b1", "name": "foo" } }, { "id": "_:b1", "name": "foo" } ] }jsonld-java-0.13.6/core/src/test/resources/custom/frame-0010-frame.jsonld000066400000000000000000000001721452212752100260070ustar00rootroot00000000000000{ "@context" : { "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#" }, "@id" : "http://example.com/main/id" }jsonld-java-0.13.6/core/src/test/resources/custom/frame-0010-out.jsonld000066400000000000000000000003721452212752100255260ustar00rootroot00000000000000{ "@context" : { "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#" }, "@graph" : [ { "@id" : "http://example.com/main/id", "rdf:type" : { "@id" : "http://example.com/rdf/id", "rdf:label" : "someLabel" } } ] }jsonld-java-0.13.6/core/src/test/resources/custom/frame-0011-frame.jsonld000066400000000000000000000000031452212752100260010ustar00rootroot00000000000000{} jsonld-java-0.13.6/core/src/test/resources/custom/frame-0011-in.jsonld000066400000000000000000000003441452212752100253250ustar00rootroot00000000000000[ { "@id" : "http://example.com/canvas-1", "@type" : "http://example.com" }, { "@id" : "http://example.com/element", "http://example.com" : { "@list" : [ { "@id" : "http://example.com/canvas-1" } ] } } ] jsonld-java-0.13.6/core/src/test/resources/custom/frame-0011-out.jsonld000066400000000000000000000004601452212752100255250ustar00rootroot00000000000000{ "@graph" : [ { "@id" : "http://example.com/canvas-1", "@type" : "http://example.com" }, { "@id" : "http://example.com/element", "http://example.com" : { "@list" : [ { "@id" : "http://example.com/canvas-1", "@type" : "http://example.com" } ] } } ] }jsonld-java-0.13.6/core/src/test/resources/custom/ignore-0001-in.jsonld000066400000000000000000000011411452212752100255110ustar00rootroot00000000000000{ "@context": { "id1": "http://example.com/id1", "t1": "http://example.com/t1", "t2": "http://example.com/t2", "term1": "http://example.com/term1", "term2": "http://example.com/term2", "term3": "http://example.com/term3", "term4": "http://example.com/term4", "term5": "http://example.com/term5" }, "@id": "id1", "@type": "t1", "term1": "v1", "term2": {"@value": "v2", "@type": "t2"}, "term3": {"@value": "v3", "@language": "en"}, "term4": 4, "term5": [50, 51], "@ignoreMe": { "some random stuff": [ 1,2,3,4,5 ] } } jsonld-java-0.13.6/core/src/test/resources/custom/ignore-0001-out.jsonld000066400000000000000000000007511452212752100257200ustar00rootroot00000000000000[{ "@id": "http://example.com/id1", "@type": ["http://example.com/t1"], "http://example.com/term1": [{"@value": "v1"}], "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], "http://example.com/term3": [{"@value": "v3", "@language": "en"}], "http://example.com/term4": [{"@value": 4}], "http://example.com/term5": [{"@value": 50}, {"@value": 51}], "@ignoreMe": { "some random stuff": [ 1,2,3,4,5 ] } }] jsonld-java-0.13.6/core/src/test/resources/custom/ignore-0002-in.jsonld000066400000000000000000000006701452212752100255200ustar00rootroot00000000000000[{ "@id": "http://example.com/id1", "@type": ["http://example.com/t1"], "http://example.com/term1": ["v1"], "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], "http://example.com/term3": [{"@value": "v3", "@language": "en"}], "http://example.com/term4": [4], "http://example.com/term5": [50, 51], "@ignoreMe": { "some random stuff": [ 1,2,3,4,5 ] } }]jsonld-java-0.13.6/core/src/test/resources/custom/ignore-0002-out.jsonld000066400000000000000000000011401452212752100257120ustar00rootroot00000000000000{ "@context": { "id1": "http://example.com/id1", "t1": "http://example.com/t1", "t2": "http://example.com/t2", "term1": "http://example.com/term1", "term2": "http://example.com/term2", "term3": "http://example.com/term3", "term4": "http://example.com/term4", "term5": "http://example.com/term5" }, "@id": "id1", "@type": "t1", "term1": "v1", "term2": {"@value": "v2", "@type": "t2"}, "term3": {"@value": "v3", "@language": "en"}, "term4": 4, "term5": [50, 51], "@ignoreMe": { "some random stuff": [ 1,2,3,4,5 ] } }jsonld-java-0.13.6/core/src/test/resources/custom/ignore-0003-in.jsonld000066400000000000000000000007171452212752100255230ustar00rootroot00000000000000[{ "@id": "http://example.com/id1", "@type": ["http://example.com/t1"], "http://example.com/term1": ["v1"], "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], "http://example.com/term3": [{"@value": "v3", "@language": "en"}, {"@ignoreMe": "test"}], "http://example.com/term4": [4], "http://example.com/term5": [50, 51], "@ignoreMe": { "some random stuff": [ 1,2,3,4,5 ] } }]jsonld-java-0.13.6/core/src/test/resources/custom/ignore-0003-out.jsonld000066400000000000000000000011721452212752100257200ustar00rootroot00000000000000{ "@context": { "id1": "http://example.com/id1", "t1": "http://example.com/t1", "t2": "http://example.com/t2", "term1": "http://example.com/term1", "term2": "http://example.com/term2", "term3": "http://example.com/term3", "term4": "http://example.com/term4", "term5": "http://example.com/term5" }, "@id": "id1", "@type": "t1", "term1": "v1", "term2": {"@value": "v2", "@type": "t2"}, "term3": [{"@value": "v3", "@language": "en"}, {"@ignoreMe" : "test"}], "term4": 4, "term5": [50, 51], "@ignoreMe": { "some random stuff": [ 1,2,3,4,5 ] } }jsonld-java-0.13.6/core/src/test/resources/custom/ignore-0004-in.jsonld000066400000000000000000000013621452212752100255210ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": {"@type": "@id"} }, "@graph": [ { "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": "http://example.org/test#book" }, { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": "http://example.org/test#chapter", "@ignoreMe": { "comment": "hello world" } }, { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:description": "Fun", "dc:title": "Chapter One", "ex:act": "ex:ActOne" } ] }jsonld-java-0.13.6/core/src/test/resources/custom/ignore-0004-out.jsonld000066400000000000000000000011761452212752100257250ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@graph": [{ "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:contributor": "Writer", "dc:title": "My Book", "@ignoreMe": { "comment": "hello world" }, "ex:contains": { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:description": "Fun", "dc:title": "Chapter One", "ex:act": "ex:ActOne" } } }] }jsonld-java-0.13.6/core/src/test/resources/custom/ignore-0005-in.jsonld000066400000000000000000000001751452212752100255230ustar00rootroot00000000000000{ "@id": "http://greggkellogg.net/foaf#me", "http://xmlns.com/foaf/0.1/name": "Gregg Kellogg", "@ignoreMe": "Testing" }jsonld-java-0.13.6/core/src/test/resources/custom/monarch-context.jsonld000066400000000000000000000147261452212752100263720ustar00rootroot00000000000000{ "@context" : { "EFO" : "http://purl.obolibrary.org/obo/EFO_", "obo" : "http://purl.obolibrary.org/obo/", "inheritance" : "monarch:mode_of_inheritance", "@base" : "http://monarch-initiative.org/", "email" : "foaf:mbox", "BIND" : "http://identifiers.org/bind/bind:", "morpholino" : "GENO:0000417", "GENO" : "http://purl.obolibrary.org/obo/GENO_", "UMLS" : "http://purl.obolibrary.org/obo/UMLS_", "dcat" : "http://www.w3.org/ns/dcat#", "PMID" : "http://www.ncbi.nlm.nih.gov/pubmed/", "MP" : "http://purl.obolibrary.org/obo/MP_", "ISBN-10" : "http://monarch-initiative.org/publications/ISBN:", "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "title" : "dc:title", "Class" : "owl:Class", "FBbt" : "http://purl.obolibrary.org/obo/FBbt_", "pathway_associations" : "rdfs:seeAlso", "FBInternalGT" : "http://monarchinitiative.org/genotype/", "has_genotype" : "GENO:0000222", "genotype" : "GENO:0000000", "void" : "http://rdfs.org/ns/void#", "has_phenotype" : "RO:0002200", "reference_locus" : "GENO:0000036", "dbVar" : "http://identifiers.org/dbVar_", "AQTLTrait" : "http://purl.obolibrary.org/obo/AQTLTrait_", "phenotype_associations" : "rdfs:seeAlso", "ECO" : "http://purl.obolibrary.org/obo/ECO_", "WB" : "http://identifiers.org/WormBase:", "rdfs" : "http://www.w3.org/2000/01/rdf-schema#", "variant_loci" : "GENO:0000027", "MedGen" : "http://purl.obolibrary.org/obo/MedGen_", "creator" : { "@id" : "dc:creator", "@type" : "@id" }, "SIO" : "http://semanticscience.org/resource/SIO_", "DOID" : "http://purl.obolibrary.org/obo/DOID_", "Ensembl" : "http://identifiers.org/ensembl:", "id" : "@id", "publisher" : "dc:publisher", "depiction" : { "@id" : "foaf:depiction", "@type" : "@id" }, "ENSEMBL" : "http://identifiers.org/ensembl:", "monarch" : "http://monarchinitiative.org/", "ORPHANET" : "http://purl.obolibrary.org/obo/ORPHANET_", "owl" : "http://www.w3.org/2002/07/owl#", "GeneReviews" : "http://www.ncbi.nlm.nih.gov/books/", "SNOMED_CT" : "http://purl.obolibrary.org/obo/SNOMED_", "chromosomal_region" : "GENO:0000390", "EOM" : "http://purl.obolibrary.org/obo/EOM_", "type" : { "@id" : "rdf:type", "@type" : "@id" }, "FlyBase" : "http://identifiers.org/flybase:", "DECIPHER" : "http://purl.obolibrary.org/obo/DECIPHER_", "faldo" : "http://biohackathon.org/resource/faldo#", "prov" : "http://www.w3.org/ns/prov#", "MIM" : "http://purl.obolibrary.org/obo/OMIM_", "genomic_variation_complement" : "GENO:0000009", "evidence" : "monarch:evidence", "BioGRID" : "http://purl.obolibrary.org/BioGRID_", "dcterms" : "http://purl.org/dc/terms/", "sequence_alteration" : "SO:0001059", "RO" : "http://purl.obolibrary.org/obo/RO_", "created" : { "@id" : "dc:created", "@type" : "xsd:dateTime" }, "Orphanet" : "http://purl.obolibrary.org/obo/ORPHANET_", "oa" : "http://www.w3.org/ns/oa#", "SGD" : "http://identifiers.org/mgd/sgd:", "Gene" : "http://purl.obolibrary.org/obo/NCBIGene_", "PomBase" : "http://identifiers.org/PomBase:", "genotype_associations" : "rdfs:seeAlso", "xsd" : "http://www.w3.org/2001/XMLSchema#", "OMIABreed" : "http://purl.obolibrary.org/obo/OMIA_", "TAIR" : "http://identifiers.org/mgd/tair:", "oboInOwl" : "http://www.geneontology.org/formats/oboInOwl#", "description" : "dc:description", "disease" : "monarch:disease", "OMIAPub" : "http://purl.obolibrary.org/obo/OMIAPub_", "foaf" : "http://xmlns.com/foaf/0.1/", "idot" : "http://identifiers.org/", "subClassOf" : "owl:subClassOf", "source" : "dc:source", "keyword" : "dcat:keyword", "onset" : "monarch:age_of_onset", "genomic_background" : "GENO:0000010", "dictyBase" : "http://identifiers.org/dictyBase:", "OMIA" : "http://purl.obolibrary.org/obo/OMIA_", "has_part" : "BFO:0000051", "ClinVarVariant" : "http://identifiers.org/ClinVarVariant_", "gene_locus" : "GENO:0000014", "effective_genotype" : "GENO:0000525", "VT" : "http://purl.obolibrary.org/obo/VT_", "Association" : "SIO:000897", "resource" : "monarch:nif-resource", "KEGG" : "http://identifiers.org/kegg:", "Annotation" : "oa:Annotation", "FBdv" : "http://purl.obolibrary.org/obo/FBdv_", "GeneID" : "http://purl.obolibrary.org/obo/NCBIGene_", "has_background" : "GENO:0000010", "BFO" : "http://purl.obolibrary.org/obo/BFO_", "FB" : "http://identifiers.org/flybase:", "frequency" : "monarch:frequency", "ZP" : "http://purl.obolibrary.org/obo/ZP_", "OMIM" : "http://purl.obolibrary.org/obo/OMIM_", "MGI" : "http://identifiers.org/mgd/MGI:", "dc" : "http://purl.org/dc/terms/", "MONARCH" : "http://monarchinitiative.org/MONARCH_", "ClinVarHaplotype" : "http://identifiers.org/ClinVarHaplotype_", "homepage" : { "@id" : "foaf:homepage", "@type" : "@id" }, "RGD" : "http://identifiers.org/mgd/rgd:", "CORIELL" : "http://purl.obolibrary.org/obo/CORIELL_", "label" : "rdfs:label", "NCBIGene" : "http://purl.obolibrary.org/obo/NCBIGene_", "intrinsic_genotype" : "GENO:0000000", "FBcv" : "http://purl.obolibrary.org/obo/FBcv_", "WBStrain" : "http://identifiers.org/WormBase:", "sequence_alteration_collection" : "GENO:0000025", "reference" : "dc:publication", "zygosity" : "GENO:0000133", "chromosome" : "GENO:0000323", "WormBase" : "http://identifiers.org/WormBase:", "HPRD" : "http://identifiers.org/hprd/hprd:", "ClinVar" : "http://purl.obolibrary.org/obo/ClinVar_", "ISBN-13" : "http://monarch-initiative.org/publications/ISBN:", "extrinsic_genotype" : "GENO:0000524", "NCBITaxon" : "http://purl.obolibrary.org/obo/NCBITaxon_", "environment" : "GENO:0000099", "variant_locus" : "GENO:0000481", "comment" : "rdfs:comment", "SO" : "http://purl.obolibrary.org/obo/SO_", "phenotype" : "monarch:phenotype", "ZFIN" : "http://identifiers.org/zfin:", "HP" : "http://purl.obolibrary.org/obo/HP_", "MESH" : "http://purl.obolibrary.org/obo/MESH_", "dbSNP" : "http://identifiers.org/dbSNP_" } } jsonld-java-0.13.6/core/src/test/resources/custom/toRdf-0001-in.jsonld000066400000000000000000000001121452212752100253010ustar00rootroot00000000000000{"@id":"relativeURIWithNoBase","@type":"http://example.org/SomeRDFSClass"}jsonld-java-0.13.6/core/src/test/resources/custom/toRdf-0001-out.nq000066400000000000000000000002021452212752100246270ustar00rootroot00000000000000 . jsonld-java-0.13.6/core/src/test/resources/custom/toRdf-0002-out.nq000066400000000000000000000001741452212752100246400ustar00rootroot00000000000000 . jsonld-java-0.13.6/core/src/test/resources/custom/toRdf-0003-out.nq000066400000000000000000000001631452212752100246370ustar00rootroot00000000000000 . jsonld-java-0.13.6/core/src/test/resources/jarcache.json000066400000000000000000000002531452212752100231550ustar00rootroot00000000000000[ { "Content-Location": "http://nonexisting.example.com/context", "X-Classpath": "custom/contexttest-0001.jsonld", "Content-Type": "application/ld+json" } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/000077500000000000000000000000001452212752100226565ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0001-context.jsonld000066400000000000000000000000251452212752100275540ustar00rootroot00000000000000{ "@context": {} } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0001-in.jsonld000066400000000000000000000000521452212752100264760ustar00rootroot00000000000000{"@id": "http://example.org/test#example"}jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0001-out.jsonld000066400000000000000000000000021452212752100266720ustar00rootroot00000000000000{}jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0002-context.jsonld000066400000000000000000000004521452212752100275610ustar00rootroot00000000000000{ "@context": { "t1": "http://example.com/t1", "t2": "http://example.com/t2", "term1": "http://example.com/term1", "term2": "http://example.com/term2", "term3": "http://example.com/term3", "term4": "http://example.com/term4", "term5": "http://example.com/term5" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0002-in.jsonld000066400000000000000000000005271452212752100265060ustar00rootroot00000000000000[{ "@id": "http://example.com/id1", "@type": ["http://example.com/t1"], "http://example.com/term1": ["v1"], "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], "http://example.com/term3": [{"@value": "v3", "@language": "en"}], "http://example.com/term4": [4], "http://example.com/term5": [50, 51] }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0002-out.jsonld000066400000000000000000000007561452212752100267130ustar00rootroot00000000000000{ "@context": { "t1": "http://example.com/t1", "t2": "http://example.com/t2", "term1": "http://example.com/term1", "term2": "http://example.com/term2", "term3": "http://example.com/term3", "term4": "http://example.com/term4", "term5": "http://example.com/term5" }, "@id": "http://example.com/id1", "@type": "t1", "term1": "v1", "term2": {"@value": "v2", "@type": "t2"}, "term3": {"@value": "v3", "@language": "en"}, "term4": 4, "term5": [50, 51] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0003-context.jsonld000066400000000000000000000000251452212752100275560ustar00rootroot00000000000000{ "@context": {} } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0003-in.jsonld000066400000000000000000000003051452212752100265010ustar00rootroot00000000000000{ "@id": "http://example.org/id", "http://example.org/property": null, "regularJson": { "nonJsonLd": "property", "deep": [{ "foo": "bar" }, { "bar": "foo" }] } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0003-out.jsonld000066400000000000000000000000021452212752100266740ustar00rootroot00000000000000{}jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0004-context.jsonld000066400000000000000000000003671452212752100275700ustar00rootroot00000000000000{ "@context": { "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, "myset2": {"@id": "http://example.com/myset2", "@container": "@set"}, "myset3": {"@id": "http://example.com/myset3", "@container": "@set"} } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0004-in.jsonld000066400000000000000000000006431452212752100265070ustar00rootroot00000000000000{ "@id": "http://example.org/id", "http://example.com/mylist1": {"@list": []}, "http://example.com/myset2": {"@set": []}, "http://example.com/myset3": "v1", "http://example.org/list1": {"@list": []}, "http://example.org/list2": {"@list": [null]}, "http://example.org/set1": {"@set": []}, "http://example.org/set2": {"@set": [null]}, "http://example.org/set3": [], "http://example.org/set4": [null] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0004-out.jsonld000066400000000000000000000010541452212752100267050ustar00rootroot00000000000000{ "@context": { "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, "myset2": {"@id": "http://example.com/myset2", "@container": "@set"}, "myset3": {"@id": "http://example.com/myset3", "@container": "@set"} }, "@id": "http://example.org/id", "mylist1": [], "myset2": [], "myset3": ["v1"], "http://example.org/list1": {"@list": []}, "http://example.org/list2": {"@list": []}, "http://example.org/set1": [], "http://example.org/set2": [], "http://example.org/set3": [], "http://example.org/set4": [] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0005-context.jsonld000066400000000000000000000002431452212752100275620ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/", "term1": {"@id": "ex:term1", "@type": "ex:datatype"}, "term2": {"@id": "ex:term2", "@type": "@id"} } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0005-in.jsonld000066400000000000000000000004031452212752100265020ustar00rootroot00000000000000{ "@id": "http://example.org/id1", "@type": ["http://example.org/Type1", "http://example.org/Type2"], "http://example.org/term1": {"@value": "v1", "@type": "http://example.org/datatype"}, "http://example.org/term2": {"@id": "http://example.org/id2"} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0005-out.jsonld000066400000000000000000000004011452212752100267010ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/", "term1": {"@id": "ex:term1", "@type": "ex:datatype"}, "term2": {"@id": "ex:term2", "@type": "@id"} }, "@id": "ex:id1", "@type": ["ex:Type1", "ex:Type2"], "term1": "v1", "term2": "ex:id2" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0006-context.jsonld000066400000000000000000000002151452212752100275620ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/", "term1": { "@id": "ex:term1", "@type": "ex:datatype" }, "term2": "ex:term2" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0006-in.jsonld000066400000000000000000000004161452212752100265070ustar00rootroot00000000000000{ "@id": "http://example.org/id1", "@type": ["http://example.org/Type1", "http://example.org/Type2"], "http://example.org/term1": {"@value": "v1", "@type": "http://example.org/different-datatype"}, "http://example.org/term2": {"@id": "http://example.org/id2"} } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0006-out.jsonld000066400000000000000000000004651452212752100267140ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/", "term1": { "@id": "ex:term1", "@type": "ex:datatype" }, "term2": "ex:term2" }, "@id": "ex:id1", "@type": ["ex:Type1", "ex:Type2"], "ex:term1": {"@value": "v1", "@type": "ex:different-datatype"}, "term2": {"@id": "ex:id2"} } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0007-context.jsonld000066400000000000000000000003371452212752100275700ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:authored": {"@type": "@id"}, "ex:contains": {"@type": "@id"}, "foaf": "http://xmlns.com/foaf/0.1/" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0007-in.jsonld000066400000000000000000000015501452212752100265100ustar00rootroot00000000000000{ "@graph": [ { "@id": "http://example.org/test#chapter", "http://purl.org/dc/elements/1.1/description": ["Fun"], "http://purl.org/dc/elements/1.1/title": ["Chapter One"] }, { "@id": "http://example.org/test#jane", "http://example.org/vocab#authored": [{"@id": "http://example.org/test#chapter"}], "http://xmlns.com/foaf/0.1/name": ["Jane"] }, { "@id": "http://example.org/test#john", "http://xmlns.com/foaf/0.1/name": ["John"] }, { "@id": "http://example.org/test#library", "http://example.org/vocab#contains": [{ "@id": "http://example.org/test#book", "http://example.org/vocab#contains": [ "this-is-not-an-IRI" ], "http://purl.org/dc/elements/1.1/contributor": ["Writer"], "http://purl.org/dc/elements/1.1/title": ["My Book"] }] } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0007-out.jsonld000066400000000000000000000015361452212752100267150ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:authored": {"@type": "@id"}, "ex:contains": {"@type": "@id"}, "foaf": "http://xmlns.com/foaf/0.1/" }, "@graph": [ { "@id": "http://example.org/test#chapter", "dc:description": "Fun", "dc:title": "Chapter One" }, { "@id": "http://example.org/test#jane", "ex:authored": "http://example.org/test#chapter", "foaf:name": "Jane" }, { "@id": "http://example.org/test#john", "foaf:name": "John" }, { "@id": "http://example.org/test#library", "ex:contains": { "@id": "http://example.org/test#book", "dc:contributor": "Writer", "dc:title": "My Book", "http://example.org/vocab#contains": "this-is-not-an-IRI" } } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0008-context.jsonld000066400000000000000000000003321452212752100275640ustar00rootroot00000000000000{ "@context": { "http://example.org/test#property1": {"@type": "@id"}, "http://example.org/test#property2": {"@type": "@id"}, "http://example.org/test#property3": {"@type": "@id"}, "uri": "@id" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0008-in.jsonld000066400000000000000000000005751452212752100265170ustar00rootroot00000000000000[{ "@id": "http://example.org/test#example1", "http://example.org/test#property1": [{ "@id": "http://example.org/test#example2", "http://example.org/test#property4": ["foo"] }], "http://example.org/test#property2": [{ "@id": "http://example.org/test#example3" }], "http://example.org/test#property3": [{ "@id": "http://example.org/test#example4" }] }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0008-out.jsonld000066400000000000000000000010511452212752100267060ustar00rootroot00000000000000{ "@context": { "http://example.org/test#property1": {"@type": "@id"}, "http://example.org/test#property2": {"@type": "@id"}, "http://example.org/test#property3": {"@type": "@id"}, "uri": "@id" }, "http://example.org/test#property1": { "http://example.org/test#property4": "foo", "uri": "http://example.org/test#example2" }, "http://example.org/test#property2": "http://example.org/test#example3", "http://example.org/test#property3": "http://example.org/test#example4", "uri": "http://example.org/test#example1" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0009-context.jsonld000066400000000000000000000002201452212752100275610ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": {"@type": "@id"} } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0009-in.jsonld000066400000000000000000000002721452212752100265120ustar00rootroot00000000000000{ "@id": "http://example.org/test#book", "http://example.org/vocab#contains": { "@id": "http://example.org/test#chapter" }, "http://purl.org/dc/elements/1.1/title": "Title" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0009-out.jsonld000066400000000000000000000004041452212752100267100ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": {"@type": "@id"} }, "@id": "http://example.org/test#book", "dc:title": "Title", "ex:contains": "http://example.org/test#chapter" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0010-context.jsonld000066400000000000000000000002231452212752100275540ustar00rootroot00000000000000{ "@context": { "homepage": {"@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id"}, "name": "http://xmlns.com/foaf/0.1/name" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0010-in.jsonld000066400000000000000000000004321452212752100265000ustar00rootroot00000000000000[ { "@id": "http://example.com/john", "http://xmlns.com/foaf/0.1/homepage": { "@id": "http://john.doe.org/" }, "http://xmlns.com/foaf/0.1/name": "John Doe" }, { "@id": "http://example.com/jane", "http://xmlns.com/foaf/0.1/name": "Jane Doe" } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0010-out.jsonld000066400000000000000000000005761452212752100267120ustar00rootroot00000000000000{ "@context": { "homepage": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id" }, "name": "http://xmlns.com/foaf/0.1/name" }, "@graph": [ { "@id": "http://example.com/john", "homepage": "http://john.doe.org/", "name": "John Doe" }, { "@id": "http://example.com/jane", "name": "Jane Doe" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0011-context.jsonld000066400000000000000000000002721452212752100275610ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:date": {"@type": "xsd:dateTime"}, "ex:parent": {"@type": "@id"}, "xsd": "http://www.w3.org/2001/XMLSchema#" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0011-in.jsonld000066400000000000000000000005611452212752100265040ustar00rootroot00000000000000{ "@id": "http://example.org/test#example1", "http://example.org/vocab#date": { "@value": "2011-01-25T00:00:00Z", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" }, "http://example.org/vocab#embed": { "@id": "http://example.org/test#example2", "http://example.org/vocab#parent": { "@id": "http://example.org/test#example1" } } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0011-out.jsonld000066400000000000000000000006041452212752100267030ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:date": {"@type": "xsd:dateTime"}, "ex:parent": {"@type": "@id"}, "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@id": "http://example.org/test#example1", "ex:date": "2011-01-25T00:00:00Z", "ex:embed": { "@id": "http://example.org/test#example2", "ex:parent": "http://example.org/test#example1" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0012-context.jsonld000066400000000000000000000000751452212752100275630ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0012-in.jsonld000066400000000000000000000001661452212752100265060ustar00rootroot00000000000000{ "@id": "http://example.org/test", "http://example.org/vocab#bool": true, "http://example.org/vocab#int": 123 }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0012-out.jsonld000066400000000000000000000002051452212752100267010ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" }, "@id": "http://example.org/test", "ex:bool": true, "ex:int": 123 }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0013-context.jsonld000066400000000000000000000000751452212752100275640ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0013-in.jsonld000066400000000000000000000001601452212752100265010ustar00rootroot00000000000000{ "@id": "http://example.org/test", "http://example.org/vocab#test": {"@value": "test", "@language": "en"} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0013-out.jsonld000066400000000000000000000002251452212752100267040ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" }, "@id": "http://example.org/test", "ex:test": {"@value": "test", "@language": "en"} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0014-context.jsonld000066400000000000000000000002521452212752100275620ustar00rootroot00000000000000{ "@context": { "homepage": {"@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id"}, "name": "http://xmlns.com/foaf/0.1/name", "data": "@graph" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0014-in.jsonld000066400000000000000000000004321452212752100265040ustar00rootroot00000000000000[ { "@id": "http://example.com/john", "http://xmlns.com/foaf/0.1/homepage": { "@id": "http://john.doe.org/" }, "http://xmlns.com/foaf/0.1/name": "John Doe" }, { "@id": "http://example.com/jane", "http://xmlns.com/foaf/0.1/name": "Jane Doe" } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0014-out.jsonld000066400000000000000000000006221452212752100267060ustar00rootroot00000000000000{ "@context": { "homepage": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id" }, "name": "http://xmlns.com/foaf/0.1/name", "data": "@graph" }, "data": [ { "@id": "http://example.com/john", "homepage": "http://john.doe.org/", "name": "John Doe" }, { "@id": "http://example.com/jane", "name": "Jane Doe" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0015-context.jsonld000066400000000000000000000006541452212752100275710ustar00rootroot00000000000000{ "@context": { "t1": "http://example.com/t1", "t2": "http://example.com/t2", "term1": "http://example.com/term", "term2": {"@id": "http://example.com/term", "@type": "t2"}, "term3": {"@id": "http://example.com/term", "@language": "en"}, "term4": {"@id": "http://example.com/term", "@container": "@list"}, "term5": {"@id": "http://example.com/term", "@language": null}, "@language": "de" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0015-in.jsonld000066400000000000000000000004751452212752100265140ustar00rootroot00000000000000[{ "@id": "http://example.com/id1", "@type": ["http://example.com/t1"], "http://example.com/term": [ {"@value": "v1", "@language": "de"}, {"@value": "v2", "@type": "http://example.com/t2"}, {"@value": "v3", "@language": "en"}, {"@list": [1, 2]}, "v5", {"@value": "plain literal"} ] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0015-out.jsonld000066400000000000000000000011161452212752100267060ustar00rootroot00000000000000{ "@context": { "t1": "http://example.com/t1", "t2": "http://example.com/t2", "term1": "http://example.com/term", "term2": {"@id": "http://example.com/term", "@type": "t2"}, "term3": {"@id": "http://example.com/term", "@language": "en"}, "term4": {"@id": "http://example.com/term", "@container": "@list"}, "term5": {"@id": "http://example.com/term", "@language": null}, "@language": "de" }, "@id": "http://example.com/id1", "@type": "t1", "term1": "v1", "term2": "v2", "term3": "v3", "term4": [ 1, 2 ], "term5": [ "v5", "plain literal" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0016-context.jsonld000066400000000000000000000002361452212752100275660ustar00rootroot00000000000000{ "@context": { "wd": "http://data.wikipedia.org/vocab#", "ws": "http://data.wikipedia.org/snaks/", "wp": "http://en.wikipedia.org/wiki/" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0016-in.jsonld000066400000000000000000000012321452212752100265050ustar00rootroot00000000000000[ { "@id": "http://data.wikipedia.org/snaks/Assertions", "@type": "http://data.wikipedia.org/vocab#SnakSet", "http://data.wikipedia.org/vocab#assertedBy": [ { "@value": "Gregg Kellogg" } ], "@graph": [ { "@id": "http://data.wikipedia.org/snaks/BerlinFact", "@type": [ "http://data.wikipedia.org/vocab#Snak" ], "http://data.wikipedia.org/vocab#assertedBy": [ { "@value": "Statistik Berlin/Brandenburg" } ], "@graph": [ { "@id": "http://en.wikipedia.org/wiki/Berlin", "http://data.wikipedia.org/vocab#population": [ 3499879 ] } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0016-out.jsonld000066400000000000000000000007621452212752100267150ustar00rootroot00000000000000{ "@context": { "wd": "http://data.wikipedia.org/vocab#", "ws": "http://data.wikipedia.org/snaks/", "wp": "http://en.wikipedia.org/wiki/" }, "@id": "ws:Assertions", "@type": "wd:SnakSet", "@graph": [ { "@id": "ws:BerlinFact", "@type": "wd:Snak", "@graph": [ { "@id": "wp:Berlin", "wd:population": 3499879 } ], "wd:assertedBy": "Statistik Berlin/Brandenburg" } ], "wd:assertedBy": "Gregg Kellogg" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0017-context.jsonld000066400000000000000000000004071452212752100275670ustar00rootroot00000000000000{ "@context": [ { "comment": { "@id": "http://www.w3.org/2000/01/rdf-schema#comment", "@language": "en" } }, { "comment": null, "comment_en": { "@id": "http://www.w3.org/2000/01/rdf-schema#comment", "@language": "en" } } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0017-in.jsonld000066400000000000000000000002661452212752100265140ustar00rootroot00000000000000{ "http://www.w3.org/2000/01/rdf-schema#comment": [ { "@value": "Kommentar auf Deutsch.", "@language": "de" }, { "@value": "Comment in English.", "@language": "en" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0017-out.jsonld000066400000000000000000000006331452212752100267130ustar00rootroot00000000000000{ "@context": [ { "comment": { "@id": "http://www.w3.org/2000/01/rdf-schema#comment", "@language": "en" } }, { "comment": null, "comment_en": { "@id": "http://www.w3.org/2000/01/rdf-schema#comment", "@language": "en" } } ], "comment_en": "Comment in English.", "http://www.w3.org/2000/01/rdf-schema#comment": { "@value": "Kommentar auf Deutsch.", "@language": "de" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0018-context.jsonld000066400000000000000000000011501452212752100275640ustar00rootroot00000000000000{ "@context": { "type1": "http://example.com/t1", "type2": "http://example.com/t2", "@language": "de", "term": { "@id": "http://example.com/term" }, "term1": { "@id": "http://example.com/term", "@container": "@list" }, "term2": { "@id": "http://example.com/term", "@container": "@list", "@language": "en" }, "term3": { "@id": "http://example.com/term", "@container": "@list", "@language": null }, "term4": { "@id": "http://example.com/term", "@container": "@list", "@type": "type1" }, "term5": { "@id": "http://example.com/term", "@container": "@list", "@type": "type2" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0018-in.jsonld000066400000000000000000000032011452212752100265050ustar00rootroot00000000000000{ "@context": { "type1": "http://example.com/t1", "type2": "http://example.com/t2" }, "@id": "http://example.com/id1", "http://example.com/term": [ { "@set": [ { "@value": "v0.1", "@language": "de" }, { "@value": "v0.2", "@language": "en" }, "v0.3", 4, true, false ] }, { "@list": [ { "@value": "v1.1", "@language": "de" }, { "@value": "v1.2", "@language": "en" }, "v1.3", 14, true, false ] }, { "@list": [ { "@value": "v2.1", "@language": "en" }, { "@value": "v2.2", "@language": "en" }, { "@value": "v2.3", "@language": "en" }, { "@value": "v2.4", "@language": "en" }, { "@value": "v2.5", "@language": "en" }, { "@value": "v2.6", "@language": "en" } ] }, { "@list": [ "v3.1", "v3.2", "v3.3", "v3.4", "v3.5", "v3.6" ] }, { "@list": [ { "@value": "v4.1", "@type": "type1" }, { "@value": "v4.2", "@type": "type1" }, { "@value": "v4.3", "@type": "type1" }, { "@value": "v4.4", "@type": "type1" }, { "@value": "v4.5", "@type": "type1" }, { "@value": "v4.6", "@type": "type1" } ] }, { "@list": [ { "@value": "v5.1", "@type": "type2" }, { "@value": "v5.2", "@type": "type2" }, { "@value": "v5.3", "@type": "type2" }, { "@value": "v5.4", "@type": "type2" }, { "@value": "v5.5", "@type": "type2" }, { "@value": "v5.6", "@type": "type2" } ] } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0018-out.jsonld000066400000000000000000000023571452212752100267210ustar00rootroot00000000000000{ "@context": { "type1": "http://example.com/t1", "type2": "http://example.com/t2", "@language": "de", "term": { "@id": "http://example.com/term" }, "term1": { "@id": "http://example.com/term", "@container": "@list" }, "term2": { "@id": "http://example.com/term", "@container": "@list", "@language": "en" }, "term3": { "@id": "http://example.com/term", "@container": "@list", "@language": null }, "term4": { "@id": "http://example.com/term", "@container": "@list", "@type": "type1" }, "term5": { "@id": "http://example.com/term", "@container": "@list", "@type": "type2" } }, "@id": "http://example.com/id1", "term": [ "v0.1", { "@value": "v0.2", "@language": "en" }, { "@value": "v0.3" }, 4, true, false ], "term1": [ "v1.1", { "@value": "v1.2", "@language": "en" }, { "@value": "v1.3" }, 14, true, false ], "term2": [ "v2.1", "v2.2", "v2.3", "v2.4", "v2.5", "v2.6" ], "term3": [ "v3.1", "v3.2", "v3.3", "v3.4", "v3.5", "v3.6" ], "term4": [ "v4.1", "v4.2", "v4.3", "v4.4", "v4.5", "v4.6" ], "term5": [ "v5.1", "v5.2", "v5.3", "v5.4", "v5.5", "v5.6" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0019-context.jsonld000066400000000000000000000002511452212752100275660ustar00rootroot00000000000000{ "@context": { "mylist": {"@id": "http://example.com/mylist", "@container": "@list"}, "myset": {"@id": "http://example.com/myset", "@container": "@set"} } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0019-in.jsonld000066400000000000000000000004471452212752100265170ustar00rootroot00000000000000[{ "@id": "http://example.org/id", "http://example.com/mylist": [{ "@list": [ {"@value": 1}, {"@value": 2}, {"@value": 2}, {"@value": 3} ] }], "http://example.com/myset": [ {"@value": 1}, {"@value": 2}, {"@value": 2}, {"@value": 3} ] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0019-out.jsonld000066400000000000000000000003771452212752100267220ustar00rootroot00000000000000{ "@context": { "mylist": {"@id": "http://example.com/mylist", "@container": "@list"}, "myset": {"@id": "http://example.com/myset", "@container": "@set"} }, "@id": "http://example.org/id", "mylist": [1, 2, 2, 3], "myset": [1, 2, 2, 3] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0020-context.jsonld000066400000000000000000000001461452212752100275610ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/ns#", "ex:property": {"@container": "@list"} } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0020-in.jsonld000066400000000000000000000001761452212752100265060ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/ns#" }, "@id": "ex:property", "ex:property": { "@list": [1, 2] } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0020-out.jsonld000066400000000000000000000002431452212752100267020ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/ns#", "ex:property": { "@container": "@list" } }, "@id": "ex:property", "ex:property": [1, 2] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0021-context.jsonld000066400000000000000000000001721452212752100275610ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.com/subdir/", "vocab/date": { "@type": "vocab/types/dateTime" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0021-in.jsonld000066400000000000000000000011571452212752100265070ustar00rootroot00000000000000[ { "@id": "http://example.com/subdir/id/1", "@type": [ "http://example.com/subdir/vocab/types/Test" ], "http://example.com/subdir/vocab/date": [ { "@value": "2011-01-25T00:00:00Z", "@type": "http://example.com/subdir/vocab/types/dateTime" } ], "http://example.com/subdir/vocab/embed": [ { "@id": "http://example.com/subdir/id/2", "http://example.com/subdir/vocab/expandedDate": [ { "@value": "2012-08-01T00:00:00Z", "@type": "http://example.com/subdir/vocab/types/dateTime" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0021-out.jsonld000066400000000000000000000006411452212752100267050ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.com/subdir/", "vocab/date": { "@type": "vocab/types/dateTime" } }, "@id": "http://example.com/subdir/id/1", "@type": "vocab/types/Test", "vocab/date": "2011-01-25T00:00:00Z", "vocab/embed": { "@id": "http://example.com/subdir/id/2", "vocab/expandedDate": { "@value": "2012-08-01T00:00:00Z", "@type": "vocab/types/dateTime" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0022-context.jsonld000066400000000000000000000003711452212752100275630ustar00rootroot00000000000000{ "@context": { "owl": "http://www.w3.org/2002/07/owl#", "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "ex": "https://example.org/ns#", "id": "@id", "type": "@type", "ex:properties": { "@container": "@list" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0022-in.jsonld000066400000000000000000000014451452212752100265100ustar00rootroot00000000000000[ { "@id": "https://example.org/ns#Game", "@type": [ "http://www.w3.org/2002/07/owl#Class" ], "https://example.org/ns#properties": [ { "@list": [ { "@id": "https://example.org/ns#title" }, { "@id": "https://example.org/ns#slug" } ] } ] }, { "@id": "https://example.org/ns#properties", "@type": [ "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property" ] }, { "@id": "https://example.org/ns#slug", "@type": [ "http://www.w3.org/2002/07/owl#DataProperty", "http://www.w3.org/2002/07/owl#FunctionalProperty" ] }, { "@id": "https://example.org/ns#title", "@type": [ "http://www.w3.org/2002/07/owl#DataProperty" ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0022-out.jsonld000066400000000000000000000012411452212752100267030ustar00rootroot00000000000000{ "@context": { "owl": "http://www.w3.org/2002/07/owl#", "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "ex": "https://example.org/ns#", "id": "@id", "type": "@type", "ex:properties": { "@container": "@list" } }, "@graph": [ { "id": "ex:Game", "type": "owl:Class", "ex:properties": [ { "id": "ex:title" }, { "id": "ex:slug" } ] }, { "id": "ex:properties", "type": "rdf:Property" }, { "id": "ex:slug", "type": [ "owl:DataProperty", "owl:FunctionalProperty" ] }, { "id": "ex:title", "type": "owl:DataProperty" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0023-context.jsonld000066400000000000000000000002411452212752100275600ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.com/", "ex": "http://example.com/subdir/", "ex:vocab/date": { "@type": "ex:vocab/types/dateTime" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0023-in.jsonld000066400000000000000000000011571452212752100265110ustar00rootroot00000000000000[ { "@id": "http://example.com/subdir/id/1", "@type": [ "http://example.com/subdir/vocab/types/Test" ], "http://example.com/subdir/vocab/date": [ { "@value": "2011-01-25T00:00:00Z", "@type": "http://example.com/subdir/vocab/types/dateTime" } ], "http://example.com/subdir/vocab/embed": [ { "@id": "http://example.com/subdir/id/2", "http://example.com/subdir/vocab/expandedDate": [ { "@value": "2012-08-01T00:00:00Z", "@type": "http://example.com/subdir/vocab/types/dateTime" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0023-out.jsonld000066400000000000000000000006711452212752100267120ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.com/", "ex": "http://example.com/subdir/", "ex:vocab/date": { "@type": "ex:vocab/types/dateTime" } }, "@id": "ex:id/1", "@type": "subdir/vocab/types/Test", "ex:vocab/date": "2011-01-25T00:00:00Z", "subdir/vocab/embed": { "@id": "ex:id/2", "subdir/vocab/expandedDate": { "@value": "2012-08-01T00:00:00Z", "@type": "subdir/vocab/types/dateTime" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0024-context.jsonld000066400000000000000000000014421452212752100275650ustar00rootroot00000000000000{ "@context": { "type1": "http://example.com/t1", "type2": "http://example.com/t2", "@language": "de", "termL": { "@id": "http://example.com/termLanguage" }, "termLL0": { "@id": "http://example.com/termLanguage", "@container": "@list" }, "termLL1": { "@id": "http://example.com/termLanguage", "@container": "@list", "@language": "en" }, "termLL2": { "@id": "http://example.com/termLanguage", "@container": "@list", "@language": null }, "termT": { "@id": "http://example.com/termType" }, "termTL0": { "@id": "http://example.com/termType", "@container": "@list" }, "termTL1": { "@id": "http://example.com/termType", "@container": "@list", "@type": "type1" }, "termTL2": { "@id": "http://example.com/termType", "@container": "@list", "@type": "type2" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0024-in.jsonld000066400000000000000000000017671452212752100265210ustar00rootroot00000000000000{ "@context": { "type1": "http://example.com/t1", "type2": "http://example.com/t2" }, "@id": "http://example.com/id1", "http://example.com/termLanguage": [ { "@list": [ { "@value": "termLL0.1", "@language": "de" }, { "@value": "termLL0.2", "@language": "de" } ] }, { "@list": [ { "@value": "termLL1.1", "@language": "en" }, { "@value": "termLL1.2", "@language": "en" } ] }, { "@list": [ "termLL2.1", "termLL2.2" ] } ], "http://example.com/termType": [ { "@list": [ { "@value": "termTL0.1", "@type": "type1" }, { "@value": "termTL0.2", "@type": "type2" } ] }, { "@list": [ { "@value": "termTL1.1", "@type": "type1" }, { "@value": "termTL1.2", "@type": "type1" } ] }, { "@list": [ { "@value": "termTL2.1", "@type": "type2" }, { "@value": "termTL2.2", "@type": "type2" } ] } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0024-out.jsonld000066400000000000000000000023431452212752100267110ustar00rootroot00000000000000{ "@context": { "type1": "http://example.com/t1", "type2": "http://example.com/t2", "@language": "de", "termL": { "@id": "http://example.com/termLanguage" }, "termLL0": { "@id": "http://example.com/termLanguage", "@container": "@list" }, "termLL1": { "@id": "http://example.com/termLanguage", "@container": "@list", "@language": "en" }, "termLL2": { "@id": "http://example.com/termLanguage", "@container": "@list", "@language": null }, "termT": { "@id": "http://example.com/termType" }, "termTL0": { "@id": "http://example.com/termType", "@container": "@list" }, "termTL1": { "@id": "http://example.com/termType", "@container": "@list", "@type": "type1" }, "termTL2": { "@id": "http://example.com/termType", "@container": "@list", "@type": "type2" } }, "@id": "http://example.com/id1", "termLL0": [ "termLL0.1", "termLL0.2" ], "termLL1": [ "termLL1.1", "termLL1.2" ], "termLL2": [ "termLL2.1", "termLL2.2" ], "termTL0": [ { "@type": "type1", "@value": "termTL0.1" }, { "@type": "type2", "@value": "termTL0.2" } ], "termTL1": [ "termTL1.1", "termTL1.2" ], "termTL2": [ "termTL2.1", "termTL2.2" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0025-context.jsonld000066400000000000000000000002231452212752100275620ustar00rootroot00000000000000{ "@context": { "vocab": "http://example.com/vocab/", "label": { "@id": "vocab:label", "@container": "@language" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0025-in.jsonld000066400000000000000000000004761452212752100265160ustar00rootroot00000000000000[ { "@id": "http://example.com/queen", "http://example.com/vocab/label": [ { "@value": "The Queen", "@language": "en" }, { "@value": "Die Königin", "@language": "de" }, { "@value": "Ihre Majestät", "@language": "de" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0025-out.jsonld000066400000000000000000000004201452212752100267040ustar00rootroot00000000000000{ "@context": { "vocab": "http://example.com/vocab/", "label": { "@id": "vocab:label", "@container": "@language" } }, "@id": "http://example.com/queen", "label": { "en": "The Queen", "de": [ "Die Königin", "Ihre Majestät" ] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0026-context.jsonld000066400000000000000000000002771452212752100275740ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.com/vocab/", "@language": "it", "s": { "@id": "label", "@language": "en" }, "label": { "@container": "@language" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0026-in.jsonld000066400000000000000000000006761452212752100265210ustar00rootroot00000000000000[{ "@id": "http://example.com/queen", "http://example.com/vocab/label": [ { "@value": "Il re", "@language": "it" }, { "@value": "The king", "@language": "en" }, { "@value": "The Queen", "@language": "en" }, { "@value": "Die Königin", "@language": "de" }, { "@value": "Ihre Majestät", "@language": "de" } ] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0026-out.jsonld000066400000000000000000000005371452212752100267160ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.com/vocab/", "@language": "it", "s": { "@id": "label", "@language": "en" }, "label": { "@container": "@language" } }, "@id": "http://example.com/queen", "label": { "it": "Il re", "en": [ "The king", "The Queen" ], "de": [ "Die Königin", "Ihre Majestät" ] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0027-context.jsonld000066400000000000000000000002011452212752100275600ustar00rootroot00000000000000{ "@context": { "label": "http://example.com/vocab/label", "container": { "@id": "label", "@container": "@set" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0027-in.jsonld000066400000000000000000000006761452212752100265220ustar00rootroot00000000000000[{ "@id": "http://example.com/queen", "http://example.com/vocab/label": [ { "@value": "Il re", "@language": "it" }, { "@value": "The king", "@language": "en" }, { "@value": "The Queen", "@language": "en" }, { "@value": "Die Königin", "@language": "de" }, { "@value": "Ihre Majestät", "@language": "de" } ] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0027-out.jsonld000066400000000000000000000007711452212752100267170ustar00rootroot00000000000000{ "@context": { "label": "http://example.com/vocab/label", "container": { "@id": "label", "@container": "@set" } }, "@id": "http://example.com/queen", "container": [ { "@value": "Il re", "@language": "it" }, { "@value": "The king", "@language": "en" }, { "@value": "The Queen", "@language": "en" }, { "@value": "Die Königin", "@language": "de" }, { "@value": "Ihre Majestät", "@language": "de" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0028-context.jsonld000066400000000000000000000002031452212752100275630ustar00rootroot00000000000000{ "@context": { "@vocab": "http://xmlns.com/foaf/0.1/", "homepage": { "@type": "@id" }, "uri": "@id" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0028-in.jsonld000066400000000000000000000003771452212752100265210ustar00rootroot00000000000000{ "@context": { "@vocab": "http://xmlns.com/foaf/0.1/", "homepage": { "@type": "@id" }, "uri": "@id" }, "uri": "http://me.markus-lanthaler.com/", "name": "Markus Lanthaler", "homepage": "http://www.markus-lanthaler.com/" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0028-out.jsonld000066400000000000000000000003771452212752100267220ustar00rootroot00000000000000{ "@context": { "@vocab": "http://xmlns.com/foaf/0.1/", "homepage": { "@type": "@id" }, "uri": "@id" }, "uri": "http://me.markus-lanthaler.com/", "name": "Markus Lanthaler", "homepage": "http://www.markus-lanthaler.com/" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0029-context.jsonld000066400000000000000000000001521452212752100275670ustar00rootroot00000000000000{ "@context": { "author": {"@id": "http://example.com/vocab/author", "@container": "@index" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0029-in.jsonld000066400000000000000000000003671452212752100265210ustar00rootroot00000000000000[{ "@id": "http://example.com/article", "http://example.com/vocab/author": [{ "@id": "http://example.org/person/1", "@index": "regular" }, { "@id": "http://example.org/guest/cd24f329aa", "@index": "guest" }] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0029-out.jsonld000066400000000000000000000005351452212752100267170ustar00rootroot00000000000000{ "@context": { "author": { "@id": "http://example.com/vocab/author", "@container": "@index" } }, "@id": "http://example.com/article", "author": { "regular": { "@id": "http://example.org/person/1" }, "guest": { "@id": "http://example.org/guest/cd24f329aa" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0030-context.jsonld000066400000000000000000000002371452212752100275630ustar00rootroot00000000000000{ "@context": { "property": "http://example.com/property", "indexContainer": { "@id": "http://example.com/container", "@container": "@index" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0030-in.jsonld000066400000000000000000000054531452212752100265120ustar00rootroot00000000000000[ { "@id": "http://example.org/indexTest", "http://example.com/container": [ { "@id": "http://example.org/nodeWithoutIndexA", "@index": "A" }, { "@id": "http://example.org/nodeWithIndexA", "@index": "this overrides the 'A' index from the container" }, { "@value": 1, "@index": "A" }, { "@value": true, "@index": "A" }, { "@value": false, "@index": "A" }, { "@value": "simple string A", "@index": "A" }, { "@value": "typed literal A", "@type": "http://example.org/type", "@index": "A" }, { "@value": "language-tagged string A", "@language": "en", "@index": "A" }, { "@value": "simple string B", "@index": "B" }, { "@id": "http://example.org/nodeWithoutIndexC", "@index": "C" }, { "@id": "http://example.org/nodeWithIndexC", "@index": "this overrides the 'C' index from the container" }, { "@value": 3, "@index": "C" }, { "@value": true, "@index": "C" }, { "@value": false, "@index": "C" }, { "@value": "simple string C", "@index": "C" }, { "@value": "typed literal C", "@type": "http://example.org/type", "@index": "C" }, { "@value": "language-tagged string C", "@language": "en", "@index": "C" } ], "http://example.com/property": [ { "@id": "http://example.org/nodeWithoutIndexProp" }, { "@id": "http://example.org/nodeWithIndexProp", "@index": "prop" }, { "@value": 3, "@index": "prop" }, { "@value": true, "@index": "prop" }, { "@value": false, "@index": "prop" }, { "@value": "simple string no index" }, { "@value": "typed literal Prop", "@type": "http://example.org/type", "@index": "prop" }, { "@value": "language-tagged string Prop", "@language": "en", "@index": "prop" }, { "@value": "index using an array with just one element (automatic recovery)", "@index": "prop" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0030-out.jsonld000066400000000000000000000035141452212752100267070ustar00rootroot00000000000000{ "@context": { "property": "http://example.com/property", "indexContainer": { "@id": "http://example.com/container", "@container": "@index" } }, "@id": "http://example.org/indexTest", "indexContainer": { "A": [ { "@id": "http://example.org/nodeWithoutIndexA" }, 1, true, false, "simple string A", { "@value": "typed literal A", "@type": "http://example.org/type" }, { "@value": "language-tagged string A", "@language": "en" } ], "this overrides the 'A' index from the container": { "@id": "http://example.org/nodeWithIndexA" }, "B": "simple string B", "C": [ { "@id": "http://example.org/nodeWithoutIndexC" }, 3, true, false, "simple string C", { "@value": "typed literal C", "@type": "http://example.org/type" }, { "@value": "language-tagged string C", "@language": "en" } ], "this overrides the 'C' index from the container": { "@id": "http://example.org/nodeWithIndexC" } }, "property": [ { "@id": "http://example.org/nodeWithoutIndexProp" }, { "@id": "http://example.org/nodeWithIndexProp", "@index": "prop" }, { "@value": 3, "@index": "prop" }, { "@value": true, "@index": "prop" }, { "@value": false, "@index": "prop" }, "simple string no index", { "@value": "typed literal Prop", "@type": "http://example.org/type", "@index": "prop" }, { "@value": "language-tagged string Prop", "@language": "en", "@index": "prop" }, { "@value": "index using an array with just one element (automatic recovery)", "@index": "prop" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0031-context.jsonld000066400000000000000000000001051452212752100275560ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0031-in.jsonld000066400000000000000000000005461452212752100265110ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0031-out.jsonld000066400000000000000000000004401452212752100267030ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name" }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "@reverse": { "http://xmlns.com/foaf/0.1/knows": { "@id": "http://example.com/people/dave", "name": "Dave Longley" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0032-context.jsonld000066400000000000000000000001651452212752100275650ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "knows": "http://xmlns.com/foaf/0.1/knows" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0032-in.jsonld000066400000000000000000000005461452212752100265120ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0032-out.jsonld000066400000000000000000000004661452212752100267140ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "knows": "http://xmlns.com/foaf/0.1/knows" }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "@reverse": { "knows": { "@id": "http://example.com/people/dave", "name": "Dave Longley" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0033-context.jsonld000066400000000000000000000002111452212752100275560ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0033-in.jsonld000066400000000000000000000005461452212752100265130ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0033-out.jsonld000066400000000000000000000004621452212752100267110ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "isKnownBy": { "@id": "http://example.com/people/dave", "name": "Dave Longley" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0034-context.jsonld000066400000000000000000000002111452212752100275570ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0034-in.jsonld000066400000000000000000000007211452212752100265070ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] }, { "@id": "http://example.com/people/gregg", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ] } ], "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0034-out.jsonld000066400000000000000000000006631452212752100267150ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave", "name": "Dave Longley" }, { "@id": "http://example.com/people/gregg", "name": "Gregg Kellogg" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0035-context.jsonld000066400000000000000000000002311452212752100275620ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@type": "@id" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0035-in.jsonld000066400000000000000000000005401452212752100265070ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave" }, { "@id": "http://example.com/people/gregg" } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0035-out.jsonld000066400000000000000000000005061452212752100267120ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@type": "@id" } }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "isKnownBy": [ "http://example.com/people/dave", "http://example.com/people/gregg" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0036-context.jsonld000066400000000000000000000002411452212752100275640ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@index" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0036-in.jsonld000066400000000000000000000010661452212752100265140ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave", "@index": "Dave", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] }, { "@id": "http://example.com/people/gregg", "@index": "Gregg", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ] } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0036-out.jsonld000066400000000000000000000007061452212752100267150ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@index" } }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "isKnownBy": { "Dave": { "@id": "http://example.com/people/dave", "name": "Dave Longley" }, "Gregg": { "@id": "http://example.com/people/gregg", "name": "Gregg Kellogg" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0037-context.jsonld000066400000000000000000000002401452212752100275640ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "knows": "http://xmlns.com/foaf/0.1/knows", "@vocab": "http://example.com/vocab/" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0037-in.jsonld000066400000000000000000000011161452212752100265110ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] } ], "http://example.com/vocab/noTerm": [ { "@id": "http://json-ld.org/test-suite/tests/relative-node", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Compact keys using @vocab" } ] } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0037-out.jsonld000066400000000000000000000007001452212752100267100ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "knows": "http://xmlns.com/foaf/0.1/knows", "@vocab": "http://example.com/vocab/" }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "@reverse": { "knows": { "@id": "http://example.com/people/dave", "name": "Dave Longley" }, "noTerm": { "@id": "relative-node", "name": "Compact keys using @vocab" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0038-context.jsonld000066400000000000000000000006231452212752100275720ustar00rootroot00000000000000{ "@context": { "site": "http://example.com/", "site-cd": "site:site-schema/content-deployment/", "title": { "@id": "site-cd:node/article/title", "@container": "@index" }, "body": { "@id": "site-cd:node/article/body", "@container": "@index" }, "field_tags": { "@id": "site-cd:node/article/field_tags", "@container": "@index" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0038-in.jsonld000066400000000000000000000042451452212752100265200ustar00rootroot00000000000000{ "@context": { "site": "http://example.com/", "site-cd": "site:site-schema/content-deployment/", "title": { "@id": "site-cd:node/article/title", "@container": "@index" }, "body": { "@id": "site-cd:node/article/body", "@container": "@index" }, "field_tags": { "@id": "site-cd:node/article/field_tags", "@container": "@index" } }, "@id": "site:node/1", "@type": "site-cd:node/article", "title": { "en": [ { "@context": { "value": "site-cd:node/article/title/value" }, "@type": "site-cd:field-types/title_field", "value": "This is the English title" } ], "es": [ { "@context": { "value": "site-cd:node/article/title/value" }, "@type": "site-cd:field-types/title_field", "value": "Este es el t’tulo espa–ol" } ] }, "body": { "en": [ { "@context": { "value": "site-cd:node/article/body/value", "summary": "site-cd:node/article/body/summary", "format": "site-cd:node/article/body/format" }, "@type": "site-cd:field-types/text_with_summary", "value": "This is the English body. There is no Spanish body, so this will be displayed for both the English and Spanish versions.", "summary": "This is the teaser for the body.", "format": "full_html" } ] }, "field_tags": { "en": [ { "@context": { "uuid": "site-cd:taxonomy/term/uuid" }, "@type": "site-cd:taxonomy/term", "@id": "site:taxonomy/term/1", "uuid": "e34b982c-98ac-4862-9b00-fa771a388010" } ], "es": [ { "@context": { "uuid": "site-cd:taxonomy/term/uuid" }, "@type": "site-cd:taxonomy/term", "@id": "site:taxonomy/term/1", "uuid": "e34b982c-98ac-4862-9b00-fa771a388010" }, { "@context": { "uuid": "site-cd:taxonomy/term/uuid" }, "@type": "site-cd:taxonomy/term", "@id": "site:taxonomy/term/2", "uuid": "a55b982c-58ac-4862-9b00-aa221a388010" } ] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0038-out.jsonld000066400000000000000000000031251452212752100267150ustar00rootroot00000000000000{ "@context": { "site": "http://example.com/", "site-cd": "site:site-schema/content-deployment/", "title": { "@id": "site-cd:node/article/title", "@container": "@index" }, "body": { "@id": "site-cd:node/article/body", "@container": "@index" }, "field_tags": { "@id": "site-cd:node/article/field_tags", "@container": "@index" } }, "@id": "site:node/1", "@type": "site-cd:node/article", "title": { "en": { "@type": "site-cd:field-types/title_field", "title:/value": "This is the English title" }, "es": { "@type": "site-cd:field-types/title_field", "title:/value": "Este es el t’tulo espa–ol" } }, "body": { "en": { "@type": "site-cd:field-types/text_with_summary", "body:/value": "This is the English body. There is no Spanish body, so this will be displayed for both the English and Spanish versions.", "body:/summary": "This is the teaser for the body.", "body:/format": "full_html" } }, "field_tags": { "en": { "@type": "site-cd:taxonomy/term", "@id": "site:taxonomy/term/1", "site-cd:taxonomy/term/uuid": "e34b982c-98ac-4862-9b00-fa771a388010" }, "es": [ { "@type": "site-cd:taxonomy/term", "@id": "site:taxonomy/term/1", "site-cd:taxonomy/term/uuid": "e34b982c-98ac-4862-9b00-fa771a388010" }, { "@type": "site-cd:taxonomy/term", "@id": "site:taxonomy/term/2", "site-cd:taxonomy/term/uuid": "a55b982c-58ac-4862-9b00-aa221a388010" } ] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0039-context.jsonld000066400000000000000000000000251452212752100275670ustar00rootroot00000000000000{ "@context": {} } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0039-in.jsonld000066400000000000000000000003241452212752100265130ustar00rootroot00000000000000[ { "@id": "http://example.com/graph/1", "@graph": [ { "@id": "http://example.com/node/1", "http://example.com/property": [ { "@value": "property" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0039-out.jsonld000066400000000000000000000002541452212752100267160ustar00rootroot00000000000000{ "@id": "http://example.com/graph/1", "@graph": [ { "@id": "http://example.com/node/1", "http://example.com/property": "property" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0040-context.jsonld000066400000000000000000000000251452212752100275570ustar00rootroot00000000000000{ "@context": {} } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0040-in.jsonld000066400000000000000000000002611452212752100265030ustar00rootroot00000000000000[ { "@id": "http://me.markus-lanthaler.com/", "http://example.com/list": { "@list": [ "one item" ] } } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0040-out.jsonld000066400000000000000000000002151452212752100267030ustar00rootroot00000000000000{ "@id": "http://me.markus-lanthaler.com/", "http://example.com/list": { "@list": [ "one item" ] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0041-context.jsonld000066400000000000000000000001501452212752100275570ustar00rootroot00000000000000{ "@context": { "name": { "@id": "http://example.com/property", "@container": "@list" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0041-in.jsonld000066400000000000000000000004211452212752100265020ustar00rootroot00000000000000[ { "@id": "http://example.com/node", "http://example.com/property": [ { "@index": "an index", "@list": [ { "@value": "one item" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0041-out.jsonld000066400000000000000000000003771452212752100267150ustar00rootroot00000000000000{ "@context": { "name": { "@id": "http://example.com/property", "@container": "@list" } }, "@id": "http://example.com/node", "http://example.com/property": { "@list": [ "one item" ], "@index": "an index" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0042-context.jsonld000066400000000000000000000001231452212752100275600ustar00rootroot00000000000000{ "@context": { "listAlias": "@list", "indexAlias": "@index" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0042-in.jsonld000066400000000000000000000003471452212752100265120ustar00rootroot00000000000000[ { "@id": "http://example.com/node", "http://example.com/property": [ { "@list": [ { "@value": "one item" } ], "@index": "an index" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0042-out.jsonld000066400000000000000000000004031452212752100267040ustar00rootroot00000000000000{ "@context": { "listAlias": "@list", "indexAlias": "@index" }, "@id": "http://example.com/node", "http://example.com/property": { "listAlias": [ "one item" ], "indexAlias": "an index" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0043-context.jsonld000066400000000000000000000001521452212752100275630ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.com/", "name": "http://xmlns.com/foaf/0.1/name" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0043-in.jsonld000066400000000000000000000002001452212752100264770ustar00rootroot00000000000000[ { "@id": "http://example.com/node", "http://example.com/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0043-out.jsonld000066400000000000000000000003001452212752100267010ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.com/", "name": "http://xmlns.com/foaf/0.1/name" }, "@id": "http://example.com/node", "http://example.com/name": "Markus Lanthaler" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0044-context.jsonld000066400000000000000000000004371452212752100275720ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "knows": { "@id": "http://xmlns.com/foaf/0.1/knows", "@type": "@id" }, "knowsVocab": { "@id": "http://xmlns.com/foaf/0.1/knows", "@type": "@vocab" }, "DefinedTerm": "http://example.com/people/DefinedTerm" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0044-in.jsonld000066400000000000000000000005461452212752100265150ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave" }, { "@id": "http://example.com/people/DefinedTerm" } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0044-out.jsonld000066400000000000000000000007161452212752100267150ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "knows": { "@id": "http://xmlns.com/foaf/0.1/knows", "@type": "@id" }, "knowsVocab": { "@id": "http://xmlns.com/foaf/0.1/knows", "@type": "@vocab" }, "DefinedTerm": "http://example.com/people/DefinedTerm" }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "@reverse": { "knows": "http://example.com/people/dave", "knowsVocab": "DefinedTerm" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0045-context.jsonld000066400000000000000000000010671452212752100275730ustar00rootroot00000000000000{ "@context": { "term": "http://example.com/terms-are-not-considered-in-id", "compact-iris": "http://example.com/compact-iris-", "property": "http://example.com/property", "@vocab": "http://example.org/vocab-is-not-considered-for-id" }, "@id": "term", "property": [ { "@id": "compact-iris:are-considered", "property": "@id supports the following values: relative, absolute, and compact IRIs" }, { "@id": "../parent-node", "property": "relative IRIs get resolved against the document's base IRI" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0045-in.jsonld000066400000000000000000000010511452212752100265060ustar00rootroot00000000000000[ { "@id": "http://json-ld.org/test-suite/tests/term", "http://example.com/property": [ { "@id": "http://example.com/compact-iris-are-considered", "http://example.com/property": [ { "@value": "@id supports the following values: relative, absolute, and compact IRIs" } ] }, { "@id": "http://json-ld.org/test-suite/parent-node", "http://example.com/property": [ { "@value": "relative IRIs get resolved against the document's base IRI" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0045-out.jsonld000066400000000000000000000010671452212752100267160ustar00rootroot00000000000000{ "@context": { "term": "http://example.com/terms-are-not-considered-in-id", "compact-iris": "http://example.com/compact-iris-", "property": "http://example.com/property", "@vocab": "http://example.org/vocab-is-not-considered-for-id" }, "@id": "term", "property": [ { "@id": "compact-iris:are-considered", "property": "@id supports the following values: relative, absolute, and compact IRIs" }, { "@id": "../parent-node", "property": "relative IRIs get resolved against the document's base IRI" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0046-context.jsonld000066400000000000000000000000251452212752100275650ustar00rootroot00000000000000{ "@context": {} } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0046-in.jsonld000066400000000000000000000003601452212752100265110ustar00rootroot00000000000000[ { "@id": "http://me.markus-lanthaler.com/", "http://xmlns.com/foaf/0.1/name": "Markus Lanthaler" }, { "@id": "http://greggkellogg.net/foaf#me", "http://xmlns.com/foaf/0.1/name": "Gregg Kellogg" } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0046-out.jsonld000066400000000000000000000004021452212752100267070ustar00rootroot00000000000000{ "@graph": [ { "@id": "http://me.markus-lanthaler.com/", "http://xmlns.com/foaf/0.1/name": "Markus Lanthaler" }, { "@id": "http://greggkellogg.net/foaf#me", "http://xmlns.com/foaf/0.1/name": "Gregg Kellogg" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0047-context.jsonld000066400000000000000000000001751452212752100275740ustar00rootroot00000000000000{ "@context": { "@base": "http://example.com/", "link": { "@id": "http://example.com/link", "@type": "@id" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0047-in.jsonld000066400000000000000000000002271452212752100265140ustar00rootroot00000000000000{ "@context": { "@base": "http://example.com/", "link": { "@id": "http://example.com/link", "@type": "@id" } }, "link": "relative-url" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0047-out.jsonld000066400000000000000000000002271452212752100267150ustar00rootroot00000000000000{ "@context": { "@base": "http://example.com/", "link": { "@id": "http://example.com/link", "@type": "@id" } }, "link": "relative-url" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0048-context.jsonld000066400000000000000000000004211452212752100275670ustar00rootroot00000000000000{ "@context": { "@language": "de", "propertyLanguageNull": { "@id": "http://example.com/propertyA", "@language": null }, "propertyNoLang": "http://example.com/propertyA", "propertyB": "http://example.com/propertyB" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0048-in.jsonld000066400000000000000000000001171452212752100265130ustar00rootroot00000000000000{ "http://example.com/propertyA": 5, "http://example.com/propertyB": 5 } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0048-out.jsonld000066400000000000000000000005021452212752100267120ustar00rootroot00000000000000{ "@context": { "@language": "de", "propertyLanguageNull": { "@id": "http://example.com/propertyA", "@language": null }, "propertyNoLang": "http://example.com/propertyA", "propertyB": "http://example.com/propertyB" }, "propertyLanguageNull": 5, "propertyB": 5 } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0049-context.jsonld000066400000000000000000000001301452212752100275650ustar00rootroot00000000000000{ "@context": { "property": { "@id": "http://example.org", "@type": "@id" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0049-in.jsonld000066400000000000000000000003161452212752100265150ustar00rootroot00000000000000{ "@context": { "property": { "@id": "http://example.org", "@type": "@id" } }, "property": { "@list": [ "http://example.com/node/a", "http://example.com/node/b", "http://example.com/node/c" ] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0049-out.jsonld000066400000000000000000000003161452212752100267160ustar00rootroot00000000000000{ "@context": { "property": { "@id": "http://example.org", "@type": "@id" } }, "property": { "@list": [ "http://example.com/node/a", "http://example.com/node/b", "http://example.com/node/c" ] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0050-context.jsonld000066400000000000000000000002111452212752100275550ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0050-in.jsonld000066400000000000000000000005401452212752100265040ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave" }, { "@id": "http://example.com/people/gregg" } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0050-out.jsonld000066400000000000000000000005141452212752100267060ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "isKnownBy": [ { "@id": "http://example.com/people/dave" }, { "@id": "http://example.com/people/gregg" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0051-context.jsonld000066400000000000000000000000251452212752100275610ustar00rootroot00000000000000{ "@context": {} } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0051-in.jsonld000066400000000000000000000000701452212752100265030ustar00rootroot00000000000000{ "http://example.org/term": { "@list": [1] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0051-out.jsonld000066400000000000000000000000701452212752100267040ustar00rootroot00000000000000{ "http://example.org/term": { "@list": [1] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0052-context.jsonld000066400000000000000000000001251452212752100275630ustar00rootroot00000000000000{ "@context": { "graph": "@graph", "term": "http://example.org/term" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0052-in.jsonld000066400000000000000000000003321452212752100265050ustar00rootroot00000000000000{ "@context": { "graph": "@graph", "term": "http://example.org/term" }, "graph": [ { "term": { "@list": [1] } }, { "term": { "@list": [2] } } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0052-out.jsonld000066400000000000000000000003321452212752100267060ustar00rootroot00000000000000{ "@context": { "graph": "@graph", "term": "http://example.org/term" }, "graph": [ { "term": { "@list": [1] } }, { "term": { "@list": [2] } } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0053-context.jsonld000066400000000000000000000001321452212752100275620ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example.org/term", "@type": "@vocab"} } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0053-in.jsonld000066400000000000000000000001101452212752100265000ustar00rootroot00000000000000[{ "http://example.org/term": [{"@id": "http://example.org/enum"}] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0053-out.jsonld000066400000000000000000000001771452212752100267160ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example.org/term", "@type": "@vocab"} }, "term": "http://example.org/enum" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0054-context.jsonld000066400000000000000000000002121452212752100275620ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example.org/term", "@type": "@vocab"}, "enum": {"@id": "http://example.org/enum"} } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0054-in.jsonld000066400000000000000000000001101452212752100265010ustar00rootroot00000000000000[{ "http://example.org/term": [{"@id": "http://example.org/enum"}] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0054-out.jsonld000066400000000000000000000002341452212752100267110ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example.org/term", "@type": "@vocab"}, "enum": {"@id": "http://example.org/enum"} }, "term": "enum" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0055-context.jsonld000066400000000000000000000002121452212752100275630ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example.org/term", "@type": "@vocab"}, "enum": {"@id": "http://example.org/enum"} } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0055-in.jsonld000066400000000000000000000002341452212752100265110ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example.org/term", "@type": "@vocab"}, "enum": {"@id": "http://example.org/enum"} }, "term": "enum" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0055-out.jsonld000066400000000000000000000002341452212752100267120ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example.org/term", "@type": "@vocab"}, "enum": {"@id": "http://example.org/enum"} }, "term": "enum" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0056-context.jsonld000066400000000000000000000003011452212752100275630ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example.org/term", "@type": "@vocab"}, "doNotSelect": {"@id": "http://example.org/term"}, "enum": {"@id": "http://example.org/enum"} } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0056-in.jsonld000066400000000000000000000001101452212752100265030ustar00rootroot00000000000000[{ "http://example.org/term": [{"@id": "http://example.org/enum"}] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0056-out.jsonld000066400000000000000000000003231452212752100267120ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example.org/term", "@type": "@vocab"}, "doNotSelect": {"@id": "http://example.org/term"}, "enum": {"@id": "http://example.org/enum"} }, "term": "enum" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0057-context.jsonld000066400000000000000000000007721452212752100276000ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "homepageID": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id" }, "homepageV": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@vocab" }, "linkID": { "@id": "http://example.com/link", "@type": "@id" }, "linkV": { "@id": "http://example.com/link", "@type": "@vocab" }, "MarkusHomepage": "http://www.markus-lanthaler.com/", "relative-iri": "http://example.com/error-if-this-is-used-for-link" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0057-in.jsonld000066400000000000000000000012011452212752100265060ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "homepageID": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id" }, "homepageV": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@vocab" }, "linkID": { "@id": "http://example.com/link", "@type": "@id" }, "linkV": { "@id": "http://example.com/link", "@type": "@vocab" }, "MarkusHomepage": "http://www.markus-lanthaler.com/", "relative-iri": "http://example.com/error-if-this-is-used-for-link" }, "@id": "http://me.markus-lanthaler.com/", "name": "Markus Lanthaler", "homepageV": "MarkusHomepage", "linkID": "relative-iri" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0057-out.jsonld000066400000000000000000000012011452212752100267070ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "homepageID": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id" }, "homepageV": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@vocab" }, "linkID": { "@id": "http://example.com/link", "@type": "@id" }, "linkV": { "@id": "http://example.com/link", "@type": "@vocab" }, "MarkusHomepage": "http://www.markus-lanthaler.com/", "relative-iri": "http://example.com/error-if-this-is-used-for-link" }, "@id": "http://me.markus-lanthaler.com/", "name": "Markus Lanthaler", "homepageV": "MarkusHomepage", "linkID": "relative-iri" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0058-context.jsonld000066400000000000000000000002411452212752100275700ustar00rootroot00000000000000{ "@context": { "notChosen": {"@id": "http://example.org/term", "@type": "@vocab"}, "chosen": {"@id": "http://example.org/term", "@type": "@id"} } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0058-in.jsonld000066400000000000000000000001101452212752100265050ustar00rootroot00000000000000[{ "http://example.org/term": [{"@id": "http://example.org/enum"}] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0058-out.jsonld000066400000000000000000000003101452212752100267100ustar00rootroot00000000000000{ "@context": { "notChosen": {"@id": "http://example.org/term", "@type": "@vocab"}, "chosen": {"@id": "http://example.org/term", "@type": "@id"} }, "chosen": "http://example.org/enum" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0059-context.jsonld000066400000000000000000000002331452212752100275720ustar00rootroot00000000000000{ "@context": { "Bar": "http://example.com/vocab#Bar", "foo": { "@id": "http://example.com/vocab#foo", "@type": "@vocab" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0059-in.jsonld000066400000000000000000000002331452212752100265140ustar00rootroot00000000000000[ { "http://example.com/vocab#foo": [ { "@id": "http://example.com/vocab#Bar" }, { "@id": "http://example.com/vocab#Baz" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0059-out.jsonld000066400000000000000000000003311452212752100267140ustar00rootroot00000000000000{ "@context": { "Bar": "http://example.com/vocab#Bar", "foo": { "@id": "http://example.com/vocab#foo", "@type": "@vocab" } }, "foo": [ "Bar", "http://example.com/vocab#Baz" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0060-context.jsonld000066400000000000000000000002301452212752100275570ustar00rootroot00000000000000{ "@context": { "Bar": "http://example.com/vocab#Bar", "foo": { "@id": "http://example.com/vocab#foo", "@type": "@id" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0060-in.jsonld000066400000000000000000000002331452212752100265040ustar00rootroot00000000000000[ { "http://example.com/vocab#foo": [ { "@id": "http://example.com/vocab#Bar" }, { "@id": "http://example.com/vocab#Baz" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0060-out.jsonld000066400000000000000000000003571452212752100267140ustar00rootroot00000000000000{ "@context": { "Bar": "http://example.com/vocab#Bar", "foo": { "@id": "http://example.com/vocab#foo", "@type": "@id" } }, "foo": [ "http://example.com/vocab#Bar", "http://example.com/vocab#Baz" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0061-context.jsonld000066400000000000000000000003631452212752100275670ustar00rootroot00000000000000{ "@context": { "Bar": "http://example.com/vocab#Bar", "fooI": { "@id": "http://example.com/vocab#foo", "@type": "@id" }, "fooV": { "@id": "http://example.com/vocab#foo", "@type": "@vocab" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0061-in.jsonld000066400000000000000000000002331452212752100265050ustar00rootroot00000000000000[ { "http://example.com/vocab#foo": [ { "@id": "http://example.com/vocab#Bar" }, { "@id": "http://example.com/vocab#Baz" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0061-out.jsonld000066400000000000000000000004561452212752100267150ustar00rootroot00000000000000{ "@context": { "Bar": "http://example.com/vocab#Bar", "fooI": { "@id": "http://example.com/vocab#foo", "@type": "@id" }, "fooV": { "@id": "http://example.com/vocab#foo", "@type": "@vocab" } }, "fooV": "Bar", "fooI": "http://example.com/vocab#Baz" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0062-context.jsonld000066400000000000000000000001341452212752100275640ustar00rootroot00000000000000{ "@context": { "term": { "@id": "http://example.org/term", "@type": "@vocab" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0062-in.jsonld000066400000000000000000000002101452212752100265010ustar00rootroot00000000000000{ "@context": { "term": { "@id": "http://example.org/term", "@type": "@vocab" } }, "term": "not-a-term-thus-a-relative-IRI" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0062-out.jsonld000066400000000000000000000002541452212752100267120ustar00rootroot00000000000000{ "@context": { "term": { "@id": "http://example.org/term", "@type": "@vocab" } }, "term": "http://json-ld.org/test-suite/tests/not-a-term-thus-a-relative-IRI" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0063-context.jsonld000066400000000000000000000002071452212752100275660ustar00rootroot00000000000000{ "@context": { "term": { "@id": "http://example.org/term", "@type": "@vocab" }, "prefix": "http://example.com/vocab#" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0063-in.jsonld000066400000000000000000000002421452212752100265070ustar00rootroot00000000000000{ "@context": { "term": { "@id": "http://example.org/term", "@type": "@vocab" }, "prefix": "http://example.com/vocab#" }, "term": "prefix:suffix" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0063-out.jsonld000066400000000000000000000002421452212752100267100ustar00rootroot00000000000000{ "@context": { "term": { "@id": "http://example.org/term", "@type": "@vocab" }, "prefix": "http://example.com/vocab#" }, "term": "prefix:suffix" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0064-context.jsonld000066400000000000000000000001511452212752100275650ustar00rootroot00000000000000{ "@context": { "property": { "@id": "http://example.com/property", "@container": "@index" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0064-in.jsonld000066400000000000000000000006061452212752100265140ustar00rootroot00000000000000[ { "@id": "http://example.com.com/", "http://example.com/property": [ { "@value": "Deutsche Zeichenfolge in @index-map", "@index": "first", "@language": "de" }, { "@value": "English string in @index-map", "@index": "second", "@language": "en" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0064-out.jsonld000066400000000000000000000005451452212752100267170ustar00rootroot00000000000000{ "@context": { "property": { "@id": "http://example.com/property", "@container": "@index" } }, "@id": "http://example.com.com/", "property": { "first": { "@language": "de", "@value": "Deutsche Zeichenfolge in @index-map" }, "second": { "@language": "en", "@value": "English string in @index-map" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0065-context.jsonld000066400000000000000000000001541452212752100275710ustar00rootroot00000000000000{ "@context": { "property": { "@id": "http://example.com/property", "@container": "@language" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0065-in.jsonld000066400000000000000000000006061452212752100265150ustar00rootroot00000000000000[ { "@id": "http://example.com.com/", "http://example.com/property": [ { "@value": "Deutsche Zeichenfolge in @index-map", "@index": "first", "@language": "de" }, { "@value": "English string in @index-map", "@index": "second", "@language": "en" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0065-out.jsonld000066400000000000000000000006331452212752100267160ustar00rootroot00000000000000{ "@context": { "property": { "@id": "http://example.com/property", "@container": "@language" } }, "@id": "http://example.com.com/", "http://example.com/property": [ { "@index": "first", "@language": "de", "@value": "Deutsche Zeichenfolge in @index-map" }, { "@index": "second", "@language": "en", "@value": "English string in @index-map" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0066-context.jsonld000066400000000000000000000001651452212752100275740ustar00rootroot00000000000000{ "@context": { "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0066-in.jsonld000066400000000000000000000027521452212752100265220ustar00rootroot00000000000000[ { "@id": "http://json-ld.org/test-suite/tests/relativeIris", "@type": [ "http://json-ld.org/test-suite/tests/link", "http://json-ld.org/test-suite/tests/compact-0066-in.jsonld#fragment-works", "http://json-ld.org/test-suite/tests/compact-0066-in.jsonld?query=works", "http://json-ld.org/test-suite/tests/", "http://json-ld.org/test-suite/", "http://json-ld.org/test-suite/parent", "http://json-ld.org/parent-parent-eq-root", "http://json-ld.org/still-root", "http://json-ld.org/too-many-dots", "http://json-ld.org/absolute", "http://example.org/scheme-relative" ], "http://www.example.com/link": [ { "@list": [ { "@id": "http://json-ld.org/test-suite/tests/link" }, { "@id": "http://json-ld.org/test-suite/tests/compact-0066-in.jsonld#fragment-works" }, { "@id": "http://json-ld.org/test-suite/tests/compact-0066-in.jsonld?query=works" }, { "@id": "http://json-ld.org/test-suite/tests/" }, { "@id": "http://json-ld.org/test-suite/" }, { "@id": "http://json-ld.org/test-suite/parent" }, { "@id": "http://json-ld.org/test-suite/parent#fragment" }, { "@id": "http://json-ld.org/parent-parent-eq-root" }, { "@id": "http://json-ld.org/still-root" }, { "@id": "http://json-ld.org/too-many-dots" }, { "@id": "http://json-ld.org/absolute" }, { "@id": "http://example.org/scheme-relative" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0066-out.jsonld000066400000000000000000000017521452212752100267220ustar00rootroot00000000000000{ "@context": { "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } }, "@id": "relativeIris", "@type": [ "http://json-ld.org/test-suite/tests/link", "http://json-ld.org/test-suite/tests/compact-0066-in.jsonld#fragment-works", "http://json-ld.org/test-suite/tests/compact-0066-in.jsonld?query=works", "http://json-ld.org/test-suite/tests/", "http://json-ld.org/test-suite/", "http://json-ld.org/test-suite/parent", "http://json-ld.org/parent-parent-eq-root", "http://json-ld.org/still-root", "http://json-ld.org/too-many-dots", "http://json-ld.org/absolute", "http://example.org/scheme-relative" ], "links": [ "link", "#fragment-works", "?query=works", "./", "../", "../parent", "../parent#fragment", "../../parent-parent-eq-root", "../../still-root", "../../too-many-dots", "../../absolute", "http://example.org/scheme-relative" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0067-context.jsonld000066400000000000000000000002111452212752100275650ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0067-in.jsonld000066400000000000000000000006261452212752100265210ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] }, { "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ] } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0067-out.jsonld000066400000000000000000000004761452212752100267250ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "isKnownBy": [ { "name": "Dave Longley" }, { "name": "Gregg Kellogg" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0068-context.jsonld000066400000000000000000000002371452212752100275760ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@set" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0068-in.jsonld000066400000000000000000000004301452212752100265130ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave" } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0068-out.jsonld000066400000000000000000000004601452212752100267170ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@set" } }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "isKnownBy": [ { "@id": "http://example.com/people/dave" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0069-context.jsonld000066400000000000000000000002371452212752100275770ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@set" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0069-in.jsonld000066400000000000000000000004301452212752100265140ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave" } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0069-out.jsonld000066400000000000000000000004601452212752100267200ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@set" } }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "isKnownBy": [ { "@id": "http://example.com/people/dave" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0070-context.jsonld000066400000000000000000000000711452212752100275630ustar00rootroot00000000000000{ "@context": { "term": "http://example/term" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0070-in.jsonld000066400000000000000000000001241452212752100265040ustar00rootroot00000000000000[{ "@id": "http://example/foo", "http://example/term": [{"@value": "value"}] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0070-out.jsonld000066400000000000000000000002061452212752100267060ustar00rootroot00000000000000{ "@context": { "term": "http://example/term" }, "@graph": [{ "@id": "http://example/foo", "term": ["value"] }] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0071-context.jsonld000066400000000000000000000000741452212752100275670ustar00rootroot00000000000000{ "@context": { "foo": "http://example.com/foo" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0071-in.jsonld000066400000000000000000000002251452212752100265070ustar00rootroot00000000000000{ "@context": [{ "foo": "http://example.com/foo" }, { "bar": "http://example.com/bar" }], "foo": "foo-value", "bar": "bar-value" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0071-out.jsonld000066400000000000000000000001731452212752100267120ustar00rootroot00000000000000{ "@context": { "foo": "http://example.com/foo" }, "foo": "foo-value", "http://example.com/bar": "bar-value" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0072-context.jsonld000066400000000000000000000000561452212752100275700ustar00rootroot00000000000000{ "@context": { "@language": "en" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0072-in.jsonld000066400000000000000000000000541452212752100265100ustar00rootroot00000000000000{ "http://example.com/foo": "foo-value" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0072-out.jsonld000066400000000000000000000001531452212752100267110ustar00rootroot00000000000000{ "http://example.com/foo": { "@value": "foo-value" }, "@context": { "@language": "en" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0104-context.jsonld000066400000000000000000000000741452212752100275640ustar00rootroot00000000000000{ "@context": { "@type": {"@container": "@set"} } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0104-in.jsonld000066400000000000000000000000511452212752100265010ustar00rootroot00000000000000{ "@type": "http://example.org/type" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0104-out.jsonld000066400000000000000000000001441452212752100267050ustar00rootroot00000000000000{ "@context": { "@type": {"@container": "@set"} }, "@type": ["http://example.org/type"] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0105-context.jsonld000066400000000000000000000001131452212752100275570ustar00rootroot00000000000000{ "@context": { "type": {"@id": "@type", "@container": "@set"} } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0105-in.jsonld000066400000000000000000000000511452212752100265020ustar00rootroot00000000000000{ "@type": "http://example.org/type" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0105-out.jsonld000066400000000000000000000001621452212752100267060ustar00rootroot00000000000000{ "@context": { "type": {"@id": "@type", "@container": "@set"} }, "type": ["http://example.org/type"] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0106-context.jsonld000066400000000000000000000001131452212752100275600ustar00rootroot00000000000000{ "@context": { "type": {"@id": "@type", "@container": "@set"} } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0106-in.jsonld000066400000000000000000000000511452212752100265030ustar00rootroot00000000000000{ "@type": "http://example.org/type" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-0106-out.jsonld000066400000000000000000000001601452212752100267050ustar00rootroot00000000000000{ "@context": { "type": {"@id": "@type", "@container": "@set"} }, "type": "http://example.org/type" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/compact-manifest.jsonld000066400000000000000000000667441452212752100273440ustar00rootroot00000000000000{ "@context": "http://json-ld.org/test-suite/context.jsonld", "@id": "", "@type": "mf:Manifest", "name": "Compaction", "description": "JSON-LD compaction tests use object comparison.", "baseIri": "http://json-ld.org/test-suite/tests/", "sequence": [ { "@id": "#t0001", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "drop free-floating nodes", "purpose": "Unreferenced nodes not containing properties are dropped", "input": "compact-0001-in.jsonld", "context": "compact-0001-context.jsonld", "expect": "compact-0001-out.jsonld" }, { "@id": "#t0002", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "basic", "purpose": "Basic term and value compaction", "input": "compact-0002-in.jsonld", "context": "compact-0002-context.jsonld", "expect": "compact-0002-out.jsonld" }, { "@id": "#t0003", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "drop null and unmapped properties", "purpose": "Properties mapped to null or which are never mapped are dropped", "input": "compact-0003-in.jsonld", "context": "compact-0003-context.jsonld", "expect": "compact-0003-out.jsonld" }, { "@id": "#t0004", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "optimize @set, keep empty arrays", "purpose": "Containers mapped to @set keep empty arrays", "input": "compact-0004-in.jsonld", "context": "compact-0004-context.jsonld", "expect": "compact-0004-out.jsonld" }, { "@id": "#t0005", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@type and prefix compaction", "purpose": "Compact uses prefixes in @type", "input": "compact-0005-in.jsonld", "context": "compact-0005-context.jsonld", "expect": "compact-0005-out.jsonld" }, { "@id": "#t0006", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "keep expanded object format if @type doesn't match", "purpose": "Values not matching a coerced @type remain in expanded form", "input": "compact-0006-in.jsonld", "context": "compact-0006-context.jsonld", "expect": "compact-0006-out.jsonld" }, { "@id": "#t0007", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "add context", "purpose": "External context is added to the compacted document", "input": "compact-0007-in.jsonld", "context": "compact-0007-context.jsonld", "expect": "compact-0007-out.jsonld" }, { "@id": "#t0008", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "alias keywords", "purpose": "Aliases for keywords are used in compacted document", "input": "compact-0008-in.jsonld", "context": "compact-0008-context.jsonld", "expect": "compact-0008-out.jsonld" }, { "@id": "#t0009", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "compact @id", "purpose": "Value with @id is compacted to string if property cast to @id", "input": "compact-0009-in.jsonld", "context": "compact-0009-context.jsonld", "expect": "compact-0009-out.jsonld" }, { "@id": "#t0010", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "array to @graph", "purpose": "An array of objects is serialized with @graph", "input": "compact-0010-in.jsonld", "context": "compact-0010-context.jsonld", "expect": "compact-0010-out.jsonld" }, { "@id": "#t0011", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "compact date", "purpose": "Expanded value with type xsd:dateTime is represented as string with type coercion", "input": "compact-0011-in.jsonld", "context": "compact-0011-context.jsonld", "expect": "compact-0011-out.jsonld" }, { "@id": "#t0012", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "native types", "purpose": "Native values are unmodified during compaction", "input": "compact-0012-in.jsonld", "context": "compact-0012-context.jsonld", "expect": "compact-0012-out.jsonld" }, { "@id": "#t0013", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@value with @language", "purpose": "Values with @language remain in expended form by default", "input": "compact-0013-in.jsonld", "context": "compact-0013-context.jsonld", "expect": "compact-0013-out.jsonld" }, { "@id": "#t0014", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "array to aliased @graph", "purpose": "Aliasing @graph uses alias in compacted document", "input": "compact-0014-in.jsonld", "context": "compact-0014-context.jsonld", "expect": "compact-0014-out.jsonld" }, { "@id": "#t0015", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "best match compaction", "purpose": "Property with values of different types use most appropriate term when compacting", "input": "compact-0015-in.jsonld", "context": "compact-0015-context.jsonld", "expect": "compact-0015-out.jsonld" }, { "@id": "#t0016", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "recursive named graphs", "purpose": "Compacting a document with multiple embedded uses of @graph", "input": "compact-0016-in.jsonld", "context": "compact-0016-context.jsonld", "expect": "compact-0016-out.jsonld" }, { "@id": "#t0017", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "A term mapping to null removes the mapping", "purpose": "Mapping a term to null causes the property and its values to be removed from the compacted document", "input": "compact-0017-in.jsonld", "context": "compact-0017-context.jsonld", "expect": "compact-0017-out.jsonld" }, { "@id": "#t0018", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "best matching term for lists", "purpose": "Lists with values of different types use best term in compacted document", "input": "compact-0018-in.jsonld", "context": "compact-0018-context.jsonld", "expect": "compact-0018-out.jsonld" }, { "@id": "#t0019", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Keep duplicate values in @list and @set", "purpose": "Duplicate values in @list or @set are retained in compacted document", "input": "compact-0019-in.jsonld", "context": "compact-0019-context.jsonld", "expect": "compact-0019-out.jsonld" }, { "@id": "#t0020", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact @id that is a property IRI when @container is @list", "purpose": "A term with @container: @list is also used as the value of an @id, if appropriate", "input": "compact-0020-in.jsonld", "context": "compact-0020-context.jsonld", "expect": "compact-0020-out.jsonld" }, { "@id": "#t0021", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact properties and types using @vocab", "purpose": "@vocab is used to create relative properties and types if no other term matches", "input": "compact-0021-in.jsonld", "context": "compact-0021-context.jsonld", "expect": "compact-0021-out.jsonld" }, { "@id": "#t0022", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@list compaction of nested properties", "purpose": "Compact nested properties using @list containers", "input": "compact-0022-in.jsonld", "context": "compact-0022-context.jsonld", "expect": "compact-0022-out.jsonld" }, { "@id": "#t0023", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "prefer @vocab over compacted IRIs", "purpose": "@vocab takes precedence over prefixes - even if the result is longer", "input": "compact-0023-in.jsonld", "context": "compact-0023-context.jsonld", "expect": "compact-0023-out.jsonld" }, { "@id": "#t0024", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "most specific term matching in @list.", "purpose": "The most specific term that matches all of the elements in the list, taking into account the default language, must be selected.", "input": "compact-0024-in.jsonld", "context": "compact-0024-context.jsonld", "expect": "compact-0024-out.jsonld" }, { "@id": "#t0025", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Language maps", "purpose": "Multiple values with different languages use language maps if property has @container: @language", "input": "compact-0025-in.jsonld", "context": "compact-0025-context.jsonld", "expect": "compact-0025-out.jsonld" }, { "@id": "#t0026", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Language map term selection with complications", "purpose": "Test appropriate property use given language maps with @vocab, a default language, and a competing term", "input": "compact-0026-in.jsonld", "context": "compact-0026-context.jsonld", "expect": "compact-0026-out.jsonld" }, { "@id": "#t0027", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@container: @set with multiple values", "purpose": "Fall back to term with @set container if term with language map is defined", "input": "compact-0027-in.jsonld", "context": "compact-0027-context.jsonld", "expect": "compact-0027-out.jsonld" }, { "@id": "#t0028", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Alias keywords and use @vocab", "purpose": "Combination of keyword aliases and @vocab", "input": "compact-0028-in.jsonld", "context": "compact-0028-context.jsonld", "expect": "compact-0028-out.jsonld" }, { "@id": "#t0029", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Simple @index map", "purpose": "Output uses index mapping if term is defined with @container: @index", "input": "compact-0029-in.jsonld", "context": "compact-0029-context.jsonld", "expect": "compact-0029-out.jsonld" }, { "@id": "#t0030", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "non-matching @container: @index", "purpose": "Preserve @index tags if not compacted to an index map", "input": "compact-0030-in.jsonld", "context": "compact-0030-context.jsonld", "expect": "compact-0030-out.jsonld" }, { "@id": "#t0031", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact @reverse", "purpose": "Compact traverses through @reverse", "input": "compact-0031-in.jsonld", "context": "compact-0031-context.jsonld", "expect": "compact-0031-out.jsonld" }, { "@id": "#t0032", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact keys in reverse-maps", "purpose": "Compact traverses through @reverse", "input": "compact-0032-in.jsonld", "context": "compact-0032-context.jsonld", "expect": "compact-0032-out.jsonld" }, { "@id": "#t0033", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact reverse-map to reverse property", "purpose": "A reverse map is replaced with a matching property defined with @reverse", "input": "compact-0033-in.jsonld", "context": "compact-0033-context.jsonld", "expect": "compact-0033-out.jsonld" }, { "@id": "#t0034", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Skip property with @reverse if no match", "purpose": "Do not use reverse property if no other property matches as normal property", "input": "compact-0034-in.jsonld", "context": "compact-0034-context.jsonld", "expect": "compact-0034-out.jsonld" }, { "@id": "#t0035", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact @reverse node references using strings", "purpose": "Compact node references to strings for reverse properties using @type: @id", "input": "compact-0035-in.jsonld", "context": "compact-0035-context.jsonld", "expect": "compact-0035-out.jsonld" }, { "@id": "#t0036", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact reverse properties using index containers", "purpose": "Compact using both reverse properties and index containers", "input": "compact-0036-in.jsonld", "context": "compact-0036-context.jsonld", "expect": "compact-0036-out.jsonld" }, { "@id": "#t0037", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact keys in @reverse using @vocab", "purpose": "Compact keys in @reverse using @vocab", "input": "compact-0037-in.jsonld", "context": "compact-0037-context.jsonld", "expect": "compact-0037-out.jsonld" }, { "@id": "#t0038", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Index map round-tripping", "purpose": "Complext round-tripping use case from Drupal", "input": "compact-0038-in.jsonld", "context": "compact-0038-context.jsonld", "expect": "compact-0038-out.jsonld" }, { "@id": "#t0039", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@graph is array", "purpose": "Value of @graph is always an array", "input": "compact-0039-in.jsonld", "context": "compact-0039-context.jsonld", "expect": "compact-0039-out.jsonld" }, { "@id": "#t0040", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@list is array", "purpose": "Ensure that value of @list is always an array", "input": "compact-0040-in.jsonld", "context": "compact-0040-context.jsonld", "expect": "compact-0040-out.jsonld" }, { "@id": "#t0041", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "index rejects term having @list", "purpose": "If an index is present, a term having an @list container is not selected", "input": "compact-0041-in.jsonld", "context": "compact-0041-context.jsonld", "expect": "compact-0041-out.jsonld" }, { "@id": "#t0042", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@list keyword aliasing", "purpose": "Make sure keyword aliasing works if a list can't be compacted", "input": "compact-0042-in.jsonld", "context": "compact-0042-context.jsonld", "expect": "compact-0042-out.jsonld" }, { "@id": "#t0043", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "select term over @vocab", "purpose": "Ensure that @vocab compaction isn't used if the result collides with a term", "input": "compact-0043-in.jsonld", "context": "compact-0043-context.jsonld", "expect": "compact-0043-out.jsonld" }, { "@id": "#t0044", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@type: @vocab in reverse-map", "purpose": "Prefer properties with @type: @vocab in reverse-maps if the value can be compacted to a term", "input": "compact-0044-in.jsonld", "context": "compact-0044-context.jsonld", "expect": "compact-0044-out.jsonld" }, { "@id": "#t0045", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@id value uses relative IRI, not term", "purpose": "Values of @id are transformed to relative IRIs, terms are ignored", "input": "compact-0045-in.jsonld", "context": "compact-0045-context.jsonld", "expect": "compact-0045-out.jsonld" }, { "@id": "#t0046", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "multiple objects without @context use @graph", "purpose": "Wrap top-level array into @graph even if no context is passed", "input": "compact-0046-in.jsonld", "context": "compact-0046-context.jsonld", "expect": "compact-0046-out.jsonld" }, { "@id": "#t0047", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Round-trip relative URLs", "purpose": "Relative URLs remain relative after compaction", "input": "compact-0047-in.jsonld", "context": "compact-0047-context.jsonld", "expect": "compact-0047-out.jsonld" }, { "@id": "#t0048", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "term with @language: null", "purpose": "Prefer terms with a language mapping set to null over terms without language-mapping for non-strings", "input": "compact-0048-in.jsonld", "context": "compact-0048-context.jsonld", "expect": "compact-0048-out.jsonld" }, { "@id": "#t0049", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Round tripping of lists that contain just IRIs", "purpose": "List compaction without @container: @list still uses strings if @type: @id", "input": "compact-0049-in.jsonld", "context": "compact-0049-context.jsonld", "expect": "compact-0049-out.jsonld" }, { "@id": "#t0050", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Reverse properties require @type: @id to use string values", "purpose": "Node references in reverse properties are not compacted to strings without explicit type-coercion", "input": "compact-0050-in.jsonld", "context": "compact-0050-context.jsonld", "expect": "compact-0050-out.jsonld" }, { "@id": "#t0051", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Round tripping @list with scalar", "purpose": "Native values survive round-tripping with @list", "input": "compact-0051-in.jsonld", "context": "compact-0051-context.jsonld", "expect": "compact-0051-out.jsonld" }, { "@id": "#t0052", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Round tripping @list with scalar and @graph alias", "purpose": "Native values survive round-tripping with @list and @graph alias", "input": "compact-0052-in.jsonld", "context": "compact-0052-context.jsonld", "expect": "compact-0052-out.jsonld" }, { "@id": "#t0053", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Use @type: @vocab if no @type: @id", "purpose": "Compact to @type: @vocab when no @type: @id term available", "input": "compact-0053-in.jsonld", "context": "compact-0053-context.jsonld", "expect": "compact-0053-out.jsonld" }, { "@id": "#t0054", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact to @type: @vocab and compact @id to term", "purpose": "Compact to @type: @vocab and compact @id to term", "input": "compact-0054-in.jsonld", "context": "compact-0054-context.jsonld", "expect": "compact-0054-out.jsonld" }, { "@id": "#t0055", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Round tripping @type: @vocab", "purpose": "Compacting IRI value of property with @type: @vocab can use term", "input": "compact-0055-in.jsonld", "context": "compact-0055-context.jsonld", "expect": "compact-0055-out.jsonld" }, { "@id": "#t0056", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Prefer @type: @vocab over @type: @id for terms", "purpose": "Compacting IRI value of property with @type: @vocab can use term", "input": "compact-0056-in.jsonld", "context": "compact-0056-context.jsonld", "expect": "compact-0056-out.jsonld" }, { "@id": "#t0057", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Complex round tripping @type: @vocab and @type: @id", "purpose": "Compacting IRI value of property with @type: @vocab can use term; more complex", "input": "compact-0057-in.jsonld", "context": "compact-0057-context.jsonld", "expect": "compact-0057-out.jsonld" }, { "@id": "#t0058", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Prefer @type: @id over @type: @vocab for non-terms", "purpose": "Choose a term having @type: @id over @type: @value if value is not a term", "input": "compact-0058-in.jsonld", "context": "compact-0058-context.jsonld", "expect": "compact-0058-out.jsonld" }, { "@id": "#t0059", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Term with @type: @vocab if no @type: @id", "purpose": "If there's no term with @type: @id, use terms with @type: @vocab for IRIs not mapped to terms", "input": "compact-0059-in.jsonld", "context": "compact-0059-context.jsonld", "expect": "compact-0059-out.jsonld" }, { "@id": "#t0060", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Term with @type: @id if no @type: @vocab and term value", "purpose": "If there's no term with @type: @vocab, use terms with @type: @id for IRIs mapped to terms", "input": "compact-0060-in.jsonld", "context": "compact-0060-context.jsonld", "expect": "compact-0060-out.jsonld" }, { "@id": "#t0061", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@type: @vocab/@id with values matching either", "purpose": "Separate IRIs for the same property to use term with more specific @type (@id vs. @vocab)", "input": "compact-0061-in.jsonld", "context": "compact-0061-context.jsonld", "expect": "compact-0061-out.jsonld" }, { "@id": "#t0062", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@type: @vocab and relative IRIs", "purpose": "Relative IRIs don't round-trip with @type: @vocab", "input": "compact-0062-in.jsonld", "context": "compact-0062-context.jsonld", "expect": "compact-0062-out.jsonld" }, { "@id": "#t0063", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact IRI round-tripping with @type: @vocab", "purpose": "Term with @type: @vocab will use compact IRIs", "input": "compact-0063-in.jsonld", "context": "compact-0063-context.jsonld", "expect": "compact-0063-out.jsonld" }, { "@id": "#t0064", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact language-tagged and indexed strings to index-map", "purpose": "Given values with both @index and @language and term index-map term, use index map", "input": "compact-0064-in.jsonld", "context": "compact-0064-context.jsonld", "expect": "compact-0064-out.jsonld" }, { "@id": "#t0065", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Language-tagged and indexed strings with language-map", "purpose": "Language-tagged and indexed strings don't compact to language-map", "input": "compact-0065-in.jsonld", "context": "compact-0065-context.jsonld", "expect": "compact-0065-out.jsonld" }, { "@id": "#t0066", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Relative IRIs", "purpose": "Complex use cases for relative IRI compaction", "input": "compact-0066-in.jsonld", "context": "compact-0066-context.jsonld", "expect": "compact-0066-out.jsonld" }, { "@id": "#t0067", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Reverse properties with blank nodes", "purpose": "Compact reverse property whose values are unlabeled blank nodes", "input": "compact-0067-in.jsonld", "context": "compact-0067-context.jsonld", "expect": "compact-0067-out.jsonld" }, { "@id": "#t0068", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Single value reverse properties", "purpose": "Single values of reverse properties are compacted as values of ordinary properties", "input": "compact-0068-in.jsonld", "context": "compact-0068-context.jsonld", "expect": "compact-0068-out.jsonld" }, { "@id": "#t0069", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Single value reverse properties with @set", "purpose": "Single values are kept in array form for reverse properties if the container is to @set", "input": "compact-0069-in.jsonld", "context": "compact-0069-context.jsonld", "expect": "compact-0069-out.jsonld" }, { "@id": "#t0070", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "compactArrays option", "purpose": "Setting compactArrays to false causes single element arrays to be retained", "option": { "compactArrays": false }, "input": "compact-0070-in.jsonld", "context": "compact-0070-context.jsonld", "expect": "compact-0070-out.jsonld" }, { "@id": "#t0071", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Input has multiple @contexts, output has one", "purpose": "Expanding input with multiple @contexts and compacting with just one doesn't output undefined properties", "input": "compact-0071-in.jsonld", "context": "compact-0071-context.jsonld", "expect": "compact-0071-out.jsonld" }, { "@id": "#t0072", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Default language and unmapped properties", "purpose": "Ensure that the default language is handled correctly for unmapped properties", "input": "compact-0072-in.jsonld", "context": "compact-0072-context.jsonld", "expect": "compact-0072-out.jsonld" }, { "@id": "#t0104", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact @type with @container: @set", "purpose": "Ensures that a single @type value is represented as an array", "input": "compact-0104-in.jsonld", "context": "compact-0104-context.jsonld", "expect": "compact-0104-out.jsonld", "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} }, { "@id": "#t0105", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact @type with @container: @set using an alias of @type", "purpose": "Ensures that a single @type value is represented as an array", "input": "compact-0105-in.jsonld", "context": "compact-0105-context.jsonld", "expect": "compact-0105-out.jsonld", "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} }, { "@id": "#t0106", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Do not compact @type with @container: @set to an array using an alias of @type", "purpose": "Ensures that a single @type value is not represented as an array in 1.0", "input": "compact-0106-in.jsonld", "context": "compact-0106-context.jsonld", "expect": "compact-0106-out.jsonld", "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"} } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/composer.json000066400000000000000000000011401452212752100253740ustar00rootroot00000000000000{ "name": "json-ld/tests", "type": "library", "description": "The offical JSON-LD test suite", "keywords": [ "JSON-LD", "jsonld" ], "homepage": "http://json-ld.org/test-suite/", "license": "CC0-1.0", "authors": [ { "name": "JSON-LD Community Group", "homepage": "http://json-ld.org/" } ], "support": { "email": "public-linked-json@w3.org", "irc": "irc://irc.freenode.org/json-ld", "source": "https://github.com/json-ld/json-ld.org/", "issues": "https://github.com/json-ld/json-ld.org/issues" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0001-in.jsonld000066400000000000000000000001211452212752100261760ustar00rootroot00000000000000{ "@context": { "@type": "@id" }, "@type": "http://example.org/type" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0002-in.jsonld000066400000000000000000000001211452212752100261770ustar00rootroot00000000000000{ "@context": "error-0002-in.jsonld", "@id": "http://example/test#example" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0003-ctx.jsonld000066400000000000000000000000511452212752100263720ustar00rootroot00000000000000{ "@context": "error-0003-in.jsonld" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0003-in.jsonld000066400000000000000000000001221452212752100262010ustar00rootroot00000000000000{ "@context": "error-0003-ctx.jsonld", "@id": "http://example/test#example" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0004-in.jsonld000066400000000000000000000001271452212752100262070ustar00rootroot00000000000000{ "@context": "tag:non-dereferencable-iri", "@id": "http://example/test#example" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0005-in.jsonld000066400000000000000000000001231452212752100262040ustar00rootroot00000000000000[{ "@context": "error-0005-in.jsonld", "@id": "http://example/test#example" }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0006-in.jsonld000066400000000000000000000000761452212752100262140ustar00rootroot00000000000000{ "@context": true, "@id": "http://example/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0007-in.jsonld000066400000000000000000000001111452212752100262030ustar00rootroot00000000000000{ "@context": {"@base": true}, "@id": "http://example/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0008-in.jsonld000066400000000000000000000001121452212752100262050ustar00rootroot00000000000000{ "@context": {"@vocab": true}, "@id": "http://example/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0009-in.jsonld000066400000000000000000000001151452212752100262110ustar00rootroot00000000000000{ "@context": {"@language": true}, "@id": "http://example/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0010-in.jsonld000066400000000000000000000001401452212752100261770ustar00rootroot00000000000000{ "@context": { "term": {"@id": "term:term"} }, "@id": "http://example/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0011-in.jsonld000066400000000000000000000001201452212752100261760ustar00rootroot00000000000000{ "@context": { "term": true }, "@id": "http://example/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0012-in.jsonld000066400000000000000000000001711452212752100262050ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example/term", "@type": true} }, "@id": "http://example/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0013-in.jsonld000066400000000000000000000002031452212752100262020ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example/term", "@type": "_:not-an-iri"} }, "@id": "http://example/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0014-in.jsonld000066400000000000000000000002201452212752100262020ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example/term", "@reverse": "http://example/reverse"} }, "@id": "http://example/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0015-in.jsonld000066400000000000000000000001361452212752100262110ustar00rootroot00000000000000{ "@context": { "term": {"@reverse": true} }, "@id": "http://example/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0016-in.jsonld000066400000000000000000000001441452212752100262110ustar00rootroot00000000000000{ "@context": { "term": {"@reverse": "@reverse"} }, "@id": "http://example/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0017-in.jsonld000066400000000000000000000002111452212752100262050ustar00rootroot00000000000000{ "@context": { "term": {"@reverse": "http://example/reverse", "@container": "@list"} }, "@id": "http://example/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0018-in.jsonld000066400000000000000000000001311452212752100262070ustar00rootroot00000000000000{ "@context": { "term": {"@id": true} }, "@id": "http://example/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0019-in.jsonld000066400000000000000000000001371452212752100262160ustar00rootroot00000000000000{ "@context": { "term": {"@id": "@context"} }, "@id": "http://example/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0020-in.jsonld000066400000000000000000000001421452212752100262020ustar00rootroot00000000000000{ "@context": { "term": {"@container": "@set"} }, "@id": "http://example/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0021-in.jsonld000066400000000000000000000001771452212752100262130ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example/term", "@container": "@id"} }, "@id": "http://example/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0022-in.jsonld000066400000000000000000000001751452212752100262120ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example/term", "@language": true} }, "@id": "http://example/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0023-in.jsonld000066400000000000000000000002031452212752100262030ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example/term", "@type": "relative/iri"} }, "@id": "http://example/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0024-in.jsonld000066400000000000000000000001621452212752100262100ustar00rootroot00000000000000{ "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, "foo": [{"@list": ["baz"]}] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0025-in.jsonld000066400000000000000000000001261452212752100262110ustar00rootroot00000000000000{ "@id": "http://example/foo", "@reverse": { "@id": "http://example/bar" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0026-in.jsonld000066400000000000000000000001641452212752100262140ustar00rootroot00000000000000{ "@context": { "id": "@id", "ID": "@id" }, "id": "http://example/foo", "ID": "http://example/bar" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0027-in.jsonld000066400000000000000000000000211452212752100262050ustar00rootroot00000000000000{ "@id": true }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0028-in.jsonld000066400000000000000000000000231452212752100262100ustar00rootroot00000000000000{ "@type": true }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0029-in.jsonld000066400000000000000000000000601452212752100262120ustar00rootroot00000000000000{ "http://example/prop": {"@value": ["foo"]} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0030-in.jsonld000066400000000000000000000001011452212752100261760ustar00rootroot00000000000000{ "http://example/prop": {"@value": "foo", "@language": true} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0031-in.jsonld000066400000000000000000000001711452212752100262060ustar00rootroot00000000000000{ "http://example.com/vocab/indexMap": { "@value": "simple string", "@language": "en", "@index": true } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0032-in.jsonld000066400000000000000000000000771452212752100262140ustar00rootroot00000000000000{ "http://example.com/foo": {"@list": [{"@list": ["baz"]}]} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0033-in.jsonld000066400000000000000000000000671452212752100262140ustar00rootroot00000000000000{ "http://example/prop": { "@reverse": true } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0034-in.jsonld000066400000000000000000000003331452212752100262110ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name" }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "@reverse": { "http://xmlns.com/foaf/0.1/knows": "Dave Longley" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0035-in.jsonld000066400000000000000000000003311452212752100262100ustar00rootroot00000000000000{ "@context": { "vocab": "http://example.com/vocab/", "label": { "@id": "vocab:label", "@container": "@language" } }, "@id": "http://example.com/queen", "label": { "en": true } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0036-in.jsonld000066400000000000000000000002261452212752100262140ustar00rootroot00000000000000{ "@context": { "term": {"@reverse": "http://example/reverse"} }, "@id": "http://example/foo", "term": {"@list": ["http://example/bar"]} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0037-in.jsonld000066400000000000000000000001121452212752100262070ustar00rootroot00000000000000{ "http://example/foo": {"@value": "bar", "@id": "http://example/baz"} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0038-in.jsonld000066400000000000000000000001401452212752100262110ustar00rootroot00000000000000{ "http://example/foo": {"@value": "bar", "@language": "en", "@type": "http://example/type"} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0039-in.jsonld000066400000000000000000000000771452212752100262230ustar00rootroot00000000000000{ "http://example/foo": {"@value": true, "@language": "en"} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0040-in.jsonld000066400000000000000000000000761452212752100262120ustar00rootroot00000000000000{ "http://example/foo": {"@value": "bar", "@type": "_:dt"} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0041-in.jsonld000066400000000000000000000001141452212752100262040ustar00rootroot00000000000000{ "http://example/prop": {"@list": ["foo"], "@id": "http://example/bar"} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0042-context.jsonld000066400000000000000000000001311452212752100272620ustar00rootroot00000000000000{ "@context": { "list": {"@id": "http://example/list", "@container": "@list"} } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0042-in.jsonld000066400000000000000000000001051452212752100262050ustar00rootroot00000000000000{ "http://example/list": [{"@list": ["foo"]}, {"@list": ["bar"]}] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-0043-in.jsonld000066400000000000000000000001761452212752100262160ustar00rootroot00000000000000[ { "@id": "http://example/foo", "@index": "bar" }, { "@id": "http://example/foo", "@index": "baz" } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/error-manifest.jsonld000066400000000000000000000357721452212752100270440ustar00rootroot00000000000000{ "@context": "http://json-ld.org/test-suite/context.jsonld", "@id": "", "@type": "mf:Manifest", "description": "JSON-LD to Expansion tests use object compare", "name": "Error handling", "baseIri": "http://json-ld.org/test-suite/tests/", "sequence": [ { "@id": "#t0001", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Keywords cannot be aliased to other keywords", "purpose": "Verifies that an exception is raised on expansion when processing an invalid context aliasing a keyword to another keyword", "input": "error-0001-in.jsonld", "expect": "keyword redefinition" }, { "@id": "#t0002", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "A context may not include itself recursively (direct)", "purpose": "Verifies that an exception is raised on expansion when processing a context referencing itself", "input": "error-0002-in.jsonld", "expect": "recursive context inclusion" }, { "@id": "#t0003", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "A context may not include itself recursively (indirect)", "purpose": "Verifies that an exception is raised on expansion when processing a context referencing itself indirectly", "input": "error-0003-in.jsonld", "expect": "recursive context inclusion" }, { "@id": "#t0004", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Error dereferencing a remote context", "purpose": "Verifies that an exception is raised on expansion when a context dereference results in an error", "input": "error-0004-in.jsonld", "expect": "loading remote context failed" }, { "@id": "#t0005", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid remote context", "purpose": "Verifies that an exception is raised on expansion when a remote context is not an object containing @context", "input": "error-0005-in.jsonld", "expect": "invalid remote context" }, { "@id": "#t0006", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid local context", "purpose": "Verifies that an exception is raised on expansion when a context is not a string or object", "input": "error-0006-in.jsonld", "expect": "invalid local context" }, { "@id": "#t0007", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid base IRI", "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @base", "input": "error-0007-in.jsonld", "expect": "invalid base IRI" }, { "@id": "#t0008", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid vocab mapping", "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @vocab mapping", "input": "error-0008-in.jsonld", "expect": "invalid vocab mapping" }, { "@id": "#t0009", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid default language", "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @language", "input": "error-0009-in.jsonld", "expect": "invalid default language" }, { "@id": "#t0010", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Cyclic IRI mapping", "purpose": "Verifies that an exception is raised on expansion when a cyclic IRI mapping is found", "input": "error-0010-in.jsonld", "expect": "cyclic IRI mapping" }, { "@id": "#t0011", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid term definition", "purpose": "Verifies that an exception is raised on expansion when a invalid term definition is found", "input": "error-0011-in.jsonld", "expect": "invalid term definition" }, { "@id": "#t0012", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid type mapping (not a string)", "purpose": "Verifies that an exception is raised on expansion when a invalid type mapping is found", "input": "error-0012-in.jsonld", "expect": "invalid type mapping" }, { "@id": "#t0013", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid type mapping (not absolute IRI)", "purpose": "Verifies that an exception is raised on expansion when a invalid type mapping is found", "input": "error-0013-in.jsonld", "expect": "invalid type mapping" }, { "@id": "#t0014", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid reverse property (contains @id)", "purpose": "Verifies that an exception is raised on expansion when a invalid reverse property is found", "input": "error-0014-in.jsonld", "expect": "invalid reverse property" }, { "@id": "#t0015", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid IRI mapping (@reverse not a string)", "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", "input": "error-0015-in.jsonld", "expect": "invalid IRI mapping" }, { "@id": "#t0016", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid IRI mapping (not an absolute IRI)", "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", "input": "error-0016-in.jsonld", "expect": "invalid IRI mapping" }, { "@id": "#t0017", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid reverse property (invalid @container)", "purpose": "Verifies that an exception is raised on expansion when a invalid reverse property is found", "input": "error-0017-in.jsonld", "expect": "invalid reverse property" }, { "@id": "#t0018", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid IRI mapping (@id not a string)", "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", "input": "error-0018-in.jsonld", "expect": "invalid IRI mapping" }, { "@id": "#t0019", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid keyword alias", "purpose": "Verifies that an exception is raised on expansion when a invalid keyword alias is found", "input": "error-0019-in.jsonld", "expect": "invalid keyword alias" }, { "@id": "#t0020", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid IRI mapping (no vocab mapping)", "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", "input": "error-0020-in.jsonld", "expect": "invalid IRI mapping" }, { "@id": "#t0021", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid container mapping", "purpose": "Verifies that an exception is raised on expansion when a invalid container mapping is found", "input": "error-0021-in.jsonld", "expect": "invalid container mapping" }, { "@id": "#t0022", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid language mapping", "purpose": "Verifies that an exception is raised on expansion when a invalid language mapping is found", "input": "error-0022-in.jsonld", "expect": "invalid language mapping" }, { "@id": "#t0023", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid IRI mapping (relative IRI in @type)", "purpose": "Verifies that an exception is raised on expansion when a invalid type mapping is found", "input": "error-0023-in.jsonld", "expect": "invalid type mapping" }, { "@id": "#t0024", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "List of lists (from array)", "purpose": "Verifies that an exception is raised in Expansion when a list of lists is found", "input": "error-0024-in.jsonld", "expect": "list of lists" }, { "@id": "#t0025", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid reverse property map", "purpose": "Verifies that an exception is raised in Expansion when a invalid reverse property map is found", "input": "error-0025-in.jsonld", "expect": "invalid reverse property map" }, { "@id": "#t0026", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Colliding keywords", "purpose": "Verifies that an exception is raised in Expansion when colliding keywords are found", "input": "error-0026-in.jsonld", "expect": "colliding keywords" }, { "@id": "#t0027", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid @id value", "purpose": "Verifies that an exception is raised in Expansion when an invalid @id value is found", "input": "error-0027-in.jsonld", "expect": "invalid @id value" }, { "@id": "#t0028", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid type value", "purpose": "Verifies that an exception is raised in Expansion when an invalid type value is found", "input": "error-0028-in.jsonld", "expect": "invalid type value" }, { "@id": "#t0029", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid value object value", "purpose": "Verifies that an exception is raised in Expansion when an invalid value object value is found", "input": "error-0029-in.jsonld", "expect": "invalid value object value" }, { "@id": "#t0030", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid language-tagged string", "purpose": "Verifies that an exception is raised in Expansion when an invalid language-tagged string value is found", "input": "error-0030-in.jsonld", "expect": "invalid language-tagged string" }, { "@id": "#t0031", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid @index value", "purpose": "Verifies that an exception is raised in Expansion when an invalid @index value value is found", "input": "error-0031-in.jsonld", "expect": "invalid @index value" }, { "@id": "#t0032", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "List of lists (from array)", "purpose": "Verifies that an exception is raised in Expansion when a list of lists is found", "input": "error-0032-in.jsonld", "expect": "list of lists" }, { "@id": "#t0033", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid @reverse value", "purpose": "Verifies that an exception is raised in Expansion when an invalid @reverse value is found", "input": "error-0033-in.jsonld", "expect": "invalid @reverse value" }, { "@id": "#t0034", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid reverse property value (in @reverse)", "purpose": "Verifies that an exception is raised in Expansion when an invalid reverse property value is found", "input": "error-0034-in.jsonld", "expect": "invalid reverse property value" }, { "@id": "#t0035", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid language map value", "purpose": "Verifies that an exception is raised in Expansion when an invalid language map value is found", "input": "error-0035-in.jsonld", "expect": "invalid language map value" }, { "@id": "#t0036", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid reverse property value (through coercion)", "purpose": "Verifies that an exception is raised in Expansion when an invalid reverse property value is found", "input": "error-0036-in.jsonld", "expect": "invalid reverse property value" }, { "@id": "#t0037", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid value object (unexpected keyword)", "purpose": "Verifies that an exception is raised in Expansion when an invalid value object is found", "input": "error-0037-in.jsonld", "expect": "invalid value object" }, { "@id": "#t0038", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid value object (@type and @language)", "purpose": "Verifies that an exception is raised in Expansion when an invalid value object is found", "input": "error-0038-in.jsonld", "expect": "invalid value object" }, { "@id": "#t0039", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid language-tagged value", "purpose": "Verifies that an exception is raised in Expansion when an invalid language-tagged value is found", "input": "error-0039-in.jsonld", "expect": "invalid language-tagged value" }, { "@id": "#t0040", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid typed value", "purpose": "Verifies that an exception is raised in Expansion when an invalid typed value is found", "input": "error-0040-in.jsonld", "expect": "invalid typed value" }, { "@id": "#t0041", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Invalid set or list object", "purpose": "Verifies that an exception is raised in Expansion when an invalid set or list object is found", "input": "error-0041-in.jsonld", "expect": "invalid set or list object" }, { "@id": "#t0042", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Compaction to list of lists", "purpose": "Verifies that an exception is raised in Compaction when attempting to compact a list of lists", "input": "error-0042-in.jsonld", "context": "error-0042-context.jsonld", "expect": "compaction to list of lists" }, { "@id": "#t0043", "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], "name": "Conflicting indexes", "purpose": "Verifies that an exception is raised in Flattening when conflicting indexes are found", "input": "error-0043-in.jsonld", "expect": "conflicting indexes" }, { "@id": "#te042", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Keywords may not be redefined", "purpose": "Verifies that an exception is raised on expansion when processing an invalid context attempting to define @container on a keyword", "input": "expand-e042-in.jsonld", "expect": "keyword redefinition" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0001-in.jsonld000066400000000000000000000000521452212752100263270ustar00rootroot00000000000000{"@id": "http://example.org/test#example"}jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0001-out.jsonld000066400000000000000000000000041452212752100265250ustar00rootroot00000000000000[ ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0002-in.jsonld000066400000000000000000000007561452212752100263430ustar00rootroot00000000000000{ "@context": { "t1": "http://example.com/t1", "t2": "http://example.com/t2", "term1": "http://example.com/term1", "term2": "http://example.com/term2", "term3": "http://example.com/term3", "term4": "http://example.com/term4", "term5": "http://example.com/term5" }, "@id": "http://example.com/id1", "@type": "t1", "term1": "v1", "term2": {"@value": "v2", "@type": "t2"}, "term3": {"@value": "v3", "@language": "en"}, "term4": 4, "term5": [50, 51] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0002-out.jsonld000066400000000000000000000006071452212752100265370ustar00rootroot00000000000000[{ "@id": "http://example.com/id1", "@type": ["http://example.com/t1"], "http://example.com/term1": [{"@value": "v1"}], "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], "http://example.com/term3": [{"@value": "v3", "@language": "en"}], "http://example.com/term4": [{"@value": 4}], "http://example.com/term5": [{"@value": 50}, {"@value": 51}] }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0003-in.jsonld000066400000000000000000000003051452212752100263320ustar00rootroot00000000000000{ "@id": "http://example.org/id", "http://example.org/property": null, "regularJson": { "nonJsonLd": "property", "deep": [{ "foo": "bar" }, { "bar": "foo" }] } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0003-out.jsonld000066400000000000000000000000041452212752100265270ustar00rootroot00000000000000[ ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0004-in.jsonld000066400000000000000000000015251452212752100263400ustar00rootroot00000000000000{ "@context": { "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, "myset2": {"@id": "http://example.com/myset2", "@container": "@set"}, "myset3": {"@id": "http://example.com/myset3", "@container": "@set"} }, "@id": "http://example.org/id", "mylist1": { "@list": [ ] }, "mylist2": "one item", "myset2": { "@set": [ ] }, "myset3": [ "v1" ], "http://example.org/list1": { "@list": [ null ] }, "http://example.org/list2": { "@list": [ {"@value": null} ] }, "http://example.org/set1": { "@set": [ ] }, "http://example.org/set1": { "@set": [ null ] }, "http://example.org/set3": [ ], "http://example.org/set4": [ null ], "http://example.org/set5": "one item", "http://example.org/property": { "@list": "one item" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0004-out.jsonld000066400000000000000000000011721452212752100265370ustar00rootroot00000000000000[{ "@id": "http://example.org/id", "http://example.com/mylist1": [ { "@list": [ ] } ], "http://example.com/mylist2": [ { "@list": [ {"@value": "one item"} ] } ], "http://example.com/myset2": [ ], "http://example.com/myset3": [ {"@value": "v1"} ], "http://example.org/list1": [ { "@list": [ ] } ], "http://example.org/list2": [ { "@list": [ ] } ], "http://example.org/set1": [ ], "http://example.org/set1": [ ], "http://example.org/set3": [ ], "http://example.org/set4": [ ], "http://example.org/set5": [ {"@value": "one item"} ], "http://example.org/property": [ { "@list": [ {"@value": "one item"} ] } ] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0005-in.jsonld000066400000000000000000000007671452212752100263500ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "homepage": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id" }, "know": "http://xmlns.com/foaf/0.1/knows", "@iri": "@id" }, "@id": "#me", "know": [ { "@id": "http://example.com/bob#me", "name": "Bob", "homepage": "http://example.com/bob" }, { "@id": "http://example.com/alice#me", "name": "Alice", "homepage": "http://example.com/alice" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0005-out.jsonld000066400000000000000000000010421452212752100265340ustar00rootroot00000000000000[{ "@id": "http://json-ld.org/test-suite/tests/expand-0005-in.jsonld#me", "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/bob#me", "http://xmlns.com/foaf/0.1/name": [{"@value": "Bob"}], "http://xmlns.com/foaf/0.1/homepage": [{ "@id": "http://example.com/bob" }] }, { "@id": "http://example.com/alice#me", "http://xmlns.com/foaf/0.1/name": [{"@value": "Alice"}], "http://xmlns.com/foaf/0.1/homepage": [{ "@id": "http://example.com/alice" }] } ] }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0006-in.jsonld000066400000000000000000000010271452212752100263370ustar00rootroot00000000000000{ "@context": { "http://example.org/test#property1": { "@type": "@id" }, "http://example.org/test#property2": { "@type": "@id" }, "uri": "@id" }, "http://example.org/test#property1": { "http://example.org/test#property4": "foo", "uri": "http://example.org/test#example2" }, "http://example.org/test#property2": "http://example.org/test#example3", "http://example.org/test#property3": { "uri": "http://example.org/test#example4" }, "uri": "http://example.org/test#example1" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0006-out.jsonld000066400000000000000000000006111452212752100265360ustar00rootroot00000000000000[{ "@id": "http://example.org/test#example1", "http://example.org/test#property1": [{ "@id": "http://example.org/test#example2", "http://example.org/test#property4": [{"@value": "foo"}] }], "http://example.org/test#property2": [{ "@id": "http://example.org/test#example3" }], "http://example.org/test#property3": [{ "@id": "http://example.org/test#example4" }] }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0007-in.jsonld000066400000000000000000000006341452212752100263430ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:date": { "@type": "xsd:dateTime" }, "ex:parent": { "@type": "@id" }, "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@id": "http://example.org/test#example1", "ex:date": "2011-01-25T00:00:00Z", "ex:embed": { "@id": "http://example.org/test#example2", "ex:parent": "http://example.org/test#example1" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0007-out.jsonld000066400000000000000000000005711452212752100265440ustar00rootroot00000000000000[{ "@id": "http://example.org/test#example1", "http://example.org/vocab#date": [{ "@value": "2011-01-25T00:00:00Z", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" }], "http://example.org/vocab#embed": [{ "@id": "http://example.org/test#example2", "http://example.org/vocab#parent": [{ "@id": "http://example.org/test#example1" }] }] }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0008-in.jsonld000066400000000000000000000003731452212752100263440ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" }, "@id": "http://example.org/test", "ex:test": { "@value": "test", "@language": "en" }, "ex:drop-lang-only": { "@language": "en" }, "ex:keep-full-value": { "@value": "only value" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0008-out.jsonld000066400000000000000000000003211452212752100265360ustar00rootroot00000000000000[ { "@id": "http://example.org/test", "http://example.org/vocab#test": [ { "@value": "test", "@language": "en" } ], "http://example.org/vocab#keep-full-value": [ {"@value": "only value"} ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0009-in.jsonld000066400000000000000000000020511452212752100263400ustar00rootroot00000000000000{ "@context": { "authored": { "@id": "http://example.org/vocab#authored", "@type": "@id" }, "contains": { "@id": "http://example.org/vocab#contains", "@type": "@id" }, "contributor": "http://purl.org/dc/elements/1.1/contributor", "description": "http://purl.org/dc/elements/1.1/description", "name": "http://xmlns.com/foaf/0.1/name", "title": { "@id": "http://purl.org/dc/elements/1.1/title" } }, "@graph": [ { "@id": "http://example.org/test#chapter", "description": "Fun", "title": "Chapter One" }, { "@id": "http://example.org/test#jane", "authored": "http://example.org/test#chapter", "name": "Jane" }, { "@id": "http://example.org/test#john", "name": "John" }, { "@id": "http://example.org/test#library", "contains": { "@id": "http://example.org/test#book", "contains": "http://example.org/test#chapter", "contributor": "Writer", "title": "My Book" } } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0009-out.jsonld000066400000000000000000000016371452212752100265520ustar00rootroot00000000000000[ { "@id": "http://example.org/test#chapter", "http://purl.org/dc/elements/1.1/description": [{"@value": "Fun"}], "http://purl.org/dc/elements/1.1/title": [{"@value": "Chapter One"}] }, { "@id": "http://example.org/test#jane", "http://example.org/vocab#authored": [{ "@id": "http://example.org/test#chapter" }], "http://xmlns.com/foaf/0.1/name": [{"@value": "Jane"}] }, { "@id": "http://example.org/test#john", "http://xmlns.com/foaf/0.1/name": [{"@value": "John"}] }, { "@id": "http://example.org/test#library", "http://example.org/vocab#contains": [{ "@id": "http://example.org/test#book", "http://example.org/vocab#contains": [{ "@id": "http://example.org/test#chapter" }], "http://purl.org/dc/elements/1.1/contributor": [{"@value": "Writer"}], "http://purl.org/dc/elements/1.1/title": [{"@value": "My Book"}] }] } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0010-in.jsonld000066400000000000000000000004061452212752100263320ustar00rootroot00000000000000{ "@context": { "d": "http://purl.org/dc/elements/1.1/", "e": "http://example.org/vocab#", "f": "http://xmlns.com/foaf/0.1/", "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@id": "http://example.org/test", "e:bool": true, "e:int": 123 }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0010-out.jsonld000066400000000000000000000002241452212752100265310ustar00rootroot00000000000000[{ "@id": "http://example.org/test", "http://example.org/vocab#bool": [{"@value": true}], "http://example.org/vocab#int": [{"@value": 123}] }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0011-in.jsonld000066400000000000000000000005001452212752100263260ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": { "@type": "@id" }, "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@id": "http://example.org/test#book", "dc:title": "Title", "ex:contains": "http://example.org/test#chapter" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0011-out.jsonld000066400000000000000000000003141452212752100265320ustar00rootroot00000000000000[{ "@id": "http://example.org/test#book", "http://example.org/vocab#contains": [{ "@id": "http://example.org/test#chapter" }], "http://purl.org/dc/elements/1.1/title": [{"@value": "Title"}] }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0012-in.jsonld000066400000000000000000000016341452212752100263400ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:authored": { "@type": "@id" }, "ex:contains": { "@type": "@id" }, "foaf": "http://xmlns.com/foaf/0.1/", "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@graph": [ { "@id": "http://example.org/test#chapter", "dc:description": "Fun", "dc:title": "Chapter One" }, { "@id": "http://example.org/test#jane", "ex:authored": "http://example.org/test#chapter", "foaf:name": "Jane" }, { "@id": "http://example.org/test#john", "foaf:name": "John" }, { "@id": "http://example.org/test#library", "ex:contains": { "@id": "http://example.org/test#book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": "http://example.org/test#chapter" } } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0012-out.jsonld000066400000000000000000000016371452212752100265440ustar00rootroot00000000000000[ { "@id": "http://example.org/test#chapter", "http://purl.org/dc/elements/1.1/description": [{"@value": "Fun"}], "http://purl.org/dc/elements/1.1/title": [{"@value": "Chapter One"}] }, { "@id": "http://example.org/test#jane", "http://example.org/vocab#authored": [{ "@id": "http://example.org/test#chapter" }], "http://xmlns.com/foaf/0.1/name": [{"@value": "Jane"}] }, { "@id": "http://example.org/test#john", "http://xmlns.com/foaf/0.1/name": [{"@value": "John"}] }, { "@id": "http://example.org/test#library", "http://example.org/vocab#contains": [{ "@id": "http://example.org/test#book", "http://example.org/vocab#contains": [{ "@id": "http://example.org/test#chapter" }], "http://purl.org/dc/elements/1.1/contributor": [{"@value": "Writer"}], "http://purl.org/dc/elements/1.1/title": [{"@value": "My Book"}] }] } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0013-in.jsonld000066400000000000000000000005271452212752100263410ustar00rootroot00000000000000[{ "@id": "http://example.com/id1", "@type": ["http://example.com/t1"], "http://example.com/term1": ["v1"], "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], "http://example.com/term3": [{"@value": "v3", "@language": "en"}], "http://example.com/term4": [4], "http://example.com/term5": [50, 51] }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0013-out.jsonld000066400000000000000000000006071452212752100265410ustar00rootroot00000000000000[{ "@id": "http://example.com/id1", "@type": ["http://example.com/t1"], "http://example.com/term1": [{"@value": "v1"}], "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], "http://example.com/term3": [{"@value": "v3", "@language": "en"}], "http://example.com/term4": [{"@value": 4}], "http://example.com/term5": [{"@value": 50}, {"@value": 51}] }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0014-in.jsonld000066400000000000000000000017431452212752100263430ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/test#", "property1": { "@id": "http://example.org/test#property1", "@type": "@id" }, "property2": { "@id": "ex:property2", "@type": "@id" }, "uri": "@id", "set": "@set", "value": "@value", "type": "@type", "xsd": { "@id": "http://www.w3.org/2001/XMLSchema#" } }, "property1": { "uri": "ex:example2", "http://example.org/test#property4": "foo" }, "property2": "http://example.org/test#example3", "http://example.org/test#property3": { "uri": "http://example.org/test#example4" }, "ex:property4": { "uri": "ex:example4", "ex:property5": [ { "set": [ { "value": "2012-03-31", "type": "xsd:date" } ] } ] }, "ex:property6": [ { "set": [ { "value": null, "type": "xsd:date" } ] } ], "uri": "http://example.org/test#example1" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0014-out.jsonld000066400000000000000000000014441452212752100265420ustar00rootroot00000000000000[ { "http://example.org/test#property1": [ { "@id": "http://example.org/test#example2", "http://example.org/test#property4": [ {"@value": "foo"} ] } ], "http://example.org/test#property2": [ { "@id": "http://example.org/test#example3" } ], "http://example.org/test#property3": [ { "@id": "http://example.org/test#example4" } ], "http://example.org/test#property4": [ { "@id": "http://example.org/test#example4", "http://example.org/test#property5": [ { "@value": "2012-03-31", "@type": "http://www.w3.org/2001/XMLSchema#date" } ] } ], "http://example.org/test#property6": [], "@id": "http://example.org/test#example1" } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0015-in.jsonld000066400000000000000000000012011452212752100263310ustar00rootroot00000000000000{ "@context": { "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, "myset1": {"@id": "http://example.com/myset1", "@container": "@set" }, "myset2": {"@id": "http://example.com/myset2", "@container": "@set" }, "myset3": {"@id": "http://example.com/myset3", "@container": "@set" } }, "@id": "http://example.org/id", "mylist1": [], "myset1": { "@set": [] }, "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], "myset3": [ { "@set": [ "hello", "this" ] }, "will", { "@set": [ "be", "collapsed" ] } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0015-out.jsonld000066400000000000000000000005351452212752100265430ustar00rootroot00000000000000[ { "@id": "http://example.org/id", "http://example.com/mylist1": [ { "@list": [] } ], "http://example.com/myset1": [ ], "http://example.com/myset2": [ ], "http://example.com/myset3": [ {"@value": "hello"}, {"@value": "this"}, {"@value": "will"}, {"@value": "be"}, {"@value": "collapsed"} ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0016-in.jsonld000066400000000000000000000020231452212752100263350ustar00rootroot00000000000000{ "@context": { "myproperty": { "@id": "http://example.com/myproperty" }, "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, "myset1": {"@id": "http://example.com/myset1", "@container": "@set" }, "myset2": {"@id": "http://example.com/myset2", "@container": "@set" } }, "@id": "http://example.org/id1", "mylist1": [], "mylist2": [ 2, "hi" ], "myset1": { "@set": [] }, "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], "myproperty": { "@context": null, "@id": "http://example.org/id2", "mylist1": [], "mylist2": [ 2, "hi" ], "myset1": { "@set": [] }, "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], "http://example.org/myproperty2": "ok" }, "http://example.com/emptyobj": { "@context": null, "mylist1": [], "mylist2": [ 2, "hi" ], "myset1": { "@set": [] }, "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0016-out.jsonld000066400000000000000000000007471452212752100265510ustar00rootroot00000000000000[ { "@id": "http://example.org/id1", "http://example.com/mylist1": [ { "@list": [] } ], "http://example.com/mylist2": [ { "@list": [ {"@value": 2}, {"@value": "hi"} ] } ], "http://example.com/myset1": [ ], "http://example.com/myset2": [ ], "http://example.com/myproperty": [ { "@id": "http://example.org/id2", "http://example.org/myproperty2": [ {"@value": "ok"} ] } ], "http://example.com/emptyobj": [ { } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0017-in.jsonld000066400000000000000000000021141452212752100263370ustar00rootroot00000000000000{ "@context": { "authored": { "@id": "http://example.org/vocab#authored", "@type": "@id" }, "contains": { "@id": "http://example.org/vocab#contains", "@type": "@id" }, "contributor": "http://purl.org/dc/elements/1.1/contributor", "description": "http://purl.org/dc/elements/1.1/description", "name": "http://xmlns.com/foaf/0.1/name", "title": { "@id": "http://purl.org/dc/elements/1.1/title" }, "id": "@id", "data": "@graph" }, "data": [ { "id": "http://example.org/test#chapter", "description": "Fun", "title": "Chapter One" }, { "@id": "http://example.org/test#jane", "authored": "http://example.org/test#chapter", "name": "Jane" }, { "id": "http://example.org/test#john", "name": "John" }, { "id": "http://example.org/test#library", "contains": { "@id": "http://example.org/test#book", "contains": "http://example.org/test#chapter", "contributor": "Writer", "title": "My Book" } } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0017-out.jsonld000066400000000000000000000016371452212752100265510ustar00rootroot00000000000000[ { "@id": "http://example.org/test#chapter", "http://purl.org/dc/elements/1.1/description": [{"@value": "Fun"}], "http://purl.org/dc/elements/1.1/title": [{"@value": "Chapter One"}] }, { "@id": "http://example.org/test#jane", "http://example.org/vocab#authored": [{ "@id": "http://example.org/test#chapter" }], "http://xmlns.com/foaf/0.1/name": [{"@value": "Jane"}] }, { "@id": "http://example.org/test#john", "http://xmlns.com/foaf/0.1/name": [{"@value": "John"}] }, { "@id": "http://example.org/test#library", "http://example.org/vocab#contains": [{ "@id": "http://example.org/test#book", "http://example.org/vocab#contains": [{ "@id": "http://example.org/test#chapter" }], "http://purl.org/dc/elements/1.1/contributor": [{"@value": "Writer"}], "http://purl.org/dc/elements/1.1/title": [{"@value": "My Book"}] }] } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0018-in.jsonld000066400000000000000000000006031452212752100263410ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "@language": "en", "de": { "@id": "ex:german", "@language": "de" }, "nolang": { "@id": "ex:nolang", "@language": null } }, "@id": "http://example.org/test", "ex:test-default": [ "hello", 1, true ], "de": [ "hallo", 2, true ], "nolang": [ "no language", 3, false ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0018-out.jsonld000066400000000000000000000006271452212752100265500ustar00rootroot00000000000000[ { "@id": "http://example.org/test", "http://example.org/vocab#test-default": [ { "@value": "hello", "@language": "en" }, { "@value": 1 }, { "@value": true } ], "http://example.org/vocab#german": [ { "@value": "hallo", "@language": "de" }, { "@value": 2 }, { "@value": true } ], "http://example.org/vocab#nolang": [ {"@value": "no language"}, { "@value": 3 }, { "@value": false } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0019-in.jsonld000066400000000000000000000001571452212752100263460ustar00rootroot00000000000000{ "@context": { "myproperty": "http://example.com/myproperty" }, "myproperty": { "@value" : null } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0019-out.jsonld000066400000000000000000000000041452212752100265360ustar00rootroot00000000000000[ ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0020-in.jsonld000066400000000000000000000023501452212752100263330ustar00rootroot00000000000000{ "@context": { "authored": { "@id": "http://example.org/vocab#authored", "@type": "@id" }, "contains": { "@id": "http://example.org/vocab#contains", "@type": "@id" }, "contributor": "http://purl.org/dc/elements/1.1/contributor", "description": "http://purl.org/dc/elements/1.1/description", "name": "http://xmlns.com/foaf/0.1/name", "title": { "@id": "http://purl.org/dc/elements/1.1/title" } }, "@graph": [ { "@id": "http://example.org/test#jane", "name": "Jane", "authored": { "@graph": [ { "@id": "http://example.org/test#chapter1", "description": "Fun", "title": "Chapter One" }, { "@id": "http://example.org/test#chapter2", "description": "More fun", "title": "Chapter Two" } ] } }, { "@id": "http://example.org/test#john", "name": "John" }, { "@id": "http://example.org/test#library", "contains": { "@id": "http://example.org/test#book", "contains": "http://example.org/test#chapter", "contributor": "Writer", "title": "My Book" } } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0020-out.jsonld000066400000000000000000000023251452212752100265360ustar00rootroot00000000000000[ { "@id": "http://example.org/test#jane", "http://xmlns.com/foaf/0.1/name": [ {"@value": "Jane"} ], "http://example.org/vocab#authored": [ { "@graph": [ { "@id": "http://example.org/test#chapter1", "http://purl.org/dc/elements/1.1/description": [ {"@value": "Fun"} ], "http://purl.org/dc/elements/1.1/title": [ {"@value": "Chapter One"} ] }, { "@id": "http://example.org/test#chapter2", "http://purl.org/dc/elements/1.1/description": [ {"@value": "More fun"} ], "http://purl.org/dc/elements/1.1/title": [ {"@value": "Chapter Two"} ] } ] } ] }, { "@id": "http://example.org/test#john", "http://xmlns.com/foaf/0.1/name": [ {"@value": "John"} ] }, { "@id": "http://example.org/test#library", "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#book", "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#chapter" } ], "http://purl.org/dc/elements/1.1/contributor": [ {"@value": "Writer"} ], "http://purl.org/dc/elements/1.1/title": [ {"@value": "My Book"} ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0021-in.jsonld000066400000000000000000000025721452212752100263420ustar00rootroot00000000000000{ "@context": { "authored": { "@id": "http://example.org/vocab#authored", "@type": "@id" }, "contains": { "@id": "http://example.org/vocab#contains", "@type": "@id" }, "contributor": "http://purl.org/dc/elements/1.1/contributor", "description": "http://purl.org/dc/elements/1.1/description", "name": "http://xmlns.com/foaf/0.1/name", "title": { "@id": "http://purl.org/dc/elements/1.1/title" } }, "title": "My first graph", "@graph": [ { "@id": "http://example.org/test#jane", "name": "Jane", "authored": { "@graph": [ { "@id": "http://example.org/test#chapter1", "description": "Fun", "title": "Chapter One" }, { "@id": "http://example.org/test#chapter2", "description": "More fun", "title": "Chapter Two" }, { "@id": "http://example.org/test#chapter3", "title": "Chapter Three" } ] } }, { "@id": "http://example.org/test#john", "name": "John" }, { "@id": "http://example.org/test#library", "contains": { "@id": "http://example.org/test#book", "contains": "http://example.org/test#chapter", "contributor": "Writer", "title": "My Book" } } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0021-out.jsonld000066400000000000000000000032031452212752100265330ustar00rootroot00000000000000[ { "http://purl.org/dc/elements/1.1/title": [ {"@value": "My first graph"} ], "@graph": [ { "@id": "http://example.org/test#jane", "http://xmlns.com/foaf/0.1/name": [ {"@value": "Jane"} ], "http://example.org/vocab#authored": [ { "@graph": [ { "@id": "http://example.org/test#chapter1", "http://purl.org/dc/elements/1.1/description": [ {"@value": "Fun"} ], "http://purl.org/dc/elements/1.1/title": [ {"@value": "Chapter One"} ] }, { "@id": "http://example.org/test#chapter2", "http://purl.org/dc/elements/1.1/description": [ {"@value": "More fun"} ], "http://purl.org/dc/elements/1.1/title": [ {"@value": "Chapter Two"} ] }, { "@id": "http://example.org/test#chapter3", "http://purl.org/dc/elements/1.1/title": [ {"@value": "Chapter Three"} ] } ] } ] }, { "@id": "http://example.org/test#john", "http://xmlns.com/foaf/0.1/name": [ {"@value": "John"} ] }, { "@id": "http://example.org/test#library", "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#book", "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#chapter" } ], "http://purl.org/dc/elements/1.1/contributor": [ {"@value": "Writer"} ], "http://purl.org/dc/elements/1.1/title": [ {"@value": "My Book"} ] } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0022-in.jsonld000066400000000000000000000001431452212752100263330ustar00rootroot00000000000000{ "@context": { "term": "http://example.com/term", "@language": "en" }, "term": "v" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0022-out.jsonld000066400000000000000000000001071452212752100265340ustar00rootroot00000000000000[{ "http://example.com/term": [{"@value": "v", "@language": "en"}] }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0023-in.jsonld000066400000000000000000000020471452212752100263410ustar00rootroot00000000000000{ "@context": { "xsd": "http://www.w3.org/2001/XMLSchema#", "idlist": {"@id": "http://example.com/idlist", "@container": "@list", "@type": "@id"}, "datelist": {"@id": "http://example.com/datelist", "@container": "@list", "@type": "xsd:date"}, "idset": {"@id": "http://example.com/idset", "@container": "@set", "@type": "@id"}, "dateset": {"@id": "http://example.com/dateset", "@container": "@set", "@type": "xsd:date"}, "idprop": {"@id": "http://example.com/idprop", "@type": "@id" }, "dateprop": {"@id": "http://example.com/dateprop", "@type": "xsd:date" }, "idprop2": {"@id": "http://example.com/idprop2", "@type": "@id" }, "dateprop2": {"@id": "http://example.com/dateprop2", "@type": "xsd:date" } }, "idlist": ["http://example.org/id"], "datelist": ["2012-04-12"], "idprop": {"@list": ["http://example.org/id"]}, "dateprop": {"@list": ["2012-04-12"]}, "idset": ["http://example.org/id"], "dateset": ["2012-04-12"], "idprop2": {"@set": ["http://example.org/id"]}, "dateprop2": {"@set": ["2012-04-12"]} } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0023-out.jsonld000066400000000000000000000014221452212752100265360ustar00rootroot00000000000000[ { "http://example.com/idlist": [{"@list": [{"@id": "http://example.org/id"}]}], "http://example.com/datelist": [{"@list": [{"@value": "2012-04-12","@type": "http://www.w3.org/2001/XMLSchema#date"}]}], "http://example.com/idprop": [{"@list": [{"@id": "http://example.org/id"}]}], "http://example.com/dateprop": [{"@list": [{"@value": "2012-04-12","@type": "http://www.w3.org/2001/XMLSchema#date"}]}], "http://example.com/idset": [{"@id": "http://example.org/id"}], "http://example.com/dateset": [{"@value": "2012-04-12","@type": "http://www.w3.org/2001/XMLSchema#date"}], "http://example.com/idprop2": [{"@id": "http://example.org/id"}], "http://example.com/dateprop2": [{"@value": "2012-04-12","@type": "http://www.w3.org/2001/XMLSchema#date"}] } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0024-in.jsonld000066400000000000000000000006311452212752100263370ustar00rootroot00000000000000{ "@context": [ { "name": "http://xmlns.com/foaf/0.1/name", "homepage": {"@id": "http://xmlns.com/foaf/0.1/homepage","@type": "@id"} }, {"ical": "http://www.w3.org/2002/12/cal/ical#"} ], "@id": "http://example.com/speakers#Alice", "name": "Alice", "homepage": "http://xkcd.com/177/", "ical:summary": "Alice Talk", "ical:location": "Lyon Convention Centre, Lyon, France" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0024-out.jsonld000066400000000000000000000005531452212752100265430ustar00rootroot00000000000000[{ "@id": "http://example.com/speakers#Alice", "http://xmlns.com/foaf/0.1/name": [{"@value": "Alice"}], "http://xmlns.com/foaf/0.1/homepage": [{"@id": "http://xkcd.com/177/"}], "http://www.w3.org/2002/12/cal/ical#summary": [{"@value": "Alice Talk"}], "http://www.w3.org/2002/12/cal/ical#location": [{"@value": "Lyon Convention Centre, Lyon, France"}] }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0025-in.jsonld000066400000000000000000000003461452212752100263430ustar00rootroot00000000000000{ "@context": { "foo": "http://example.com/foo/", "foo:bar": "http://example.com/bar", "bar": {"@id": "foo:bar", "@type": "@id"}, "_": "http://example.com/underscore/" }, "@type": [ "foo", "foo:bar", "_" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0025-out.jsonld000066400000000000000000000001711452212752100265400ustar00rootroot00000000000000[{ "@type": [ "http://example.com/foo/", "http://example.com/bar", "http://example.com/underscore/" ] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0026-in.jsonld000066400000000000000000000010621452212752100263400ustar00rootroot00000000000000{ "@context": { "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": {"@id": "@type", "@type": "@id"} }, "@graph": [ { "@id": "http://example.com/a", "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/b" }, { "@id": "http://example.com/c", "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ "http://example.com/d", "http://example.com/e" ] }, { "@id": "http://example.com/f", "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/g" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0026-out.jsonld000066400000000000000000000004721452212752100265450ustar00rootroot00000000000000[ { "@id": "http://example.com/a", "@type": [ "http://example.com/b" ] }, { "@id": "http://example.com/c", "@type": [ "http://example.com/d", "http://example.com/e" ] }, { "@id": "http://example.com/f", "@type": [ "http://example.com/g" ] } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0027-in.jsonld000066400000000000000000000003771452212752100263510ustar00rootroot00000000000000{ "@context": { "mylist": {"@id": "http://example.com/mylist", "@container": "@list"}, "myset": {"@id": "http://example.com/myset", "@container": "@set"} }, "@id": "http://example.org/id", "mylist": [1, 2, 2, 3], "myset": [1, 2, 2, 3] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0027-out.jsonld000066400000000000000000000004471452212752100265500ustar00rootroot00000000000000[{ "@id": "http://example.org/id", "http://example.com/mylist": [{ "@list": [ {"@value": 1}, {"@value": 2}, {"@value": 2}, {"@value": 3} ] }], "http://example.com/myset": [ {"@value": 1}, {"@value": 2}, {"@value": 2}, {"@value": 3} ] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0028-in.jsonld000066400000000000000000000004501452212752100263420ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.org/vocab#", "date": { "@type": "dateTime" } }, "@id": "example1", "@type": "test", "date": "2011-01-25T00:00:00Z", "embed": { "@id": "example2", "expandedDate": { "@value": "2012-08-01T00:00:00Z", "@type": "dateTime" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0028-out.jsonld000066400000000000000000000011171452212752100265440ustar00rootroot00000000000000[ { "@id": "http://json-ld.org/test-suite/tests/example1", "@type": [ "http://example.org/vocab#test" ], "http://example.org/vocab#date": [ { "@value": "2011-01-25T00:00:00Z", "@type": "http://example.org/vocab#dateTime" } ], "http://example.org/vocab#embed": [ { "@id": "http://json-ld.org/test-suite/tests/example2", "http://example.org/vocab#expandedDate": [ { "@value": "2012-08-01T00:00:00Z", "@type": "http://example.org/vocab#dateTime" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0029-in.jsonld000066400000000000000000000012731452212752100263470ustar00rootroot00000000000000{ "@context": { "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } }, "@id": "relativeIris", "@type": [ "link", "#fragment-works", "?query=works", "./", "../", "../parent", "../../parent-parent-eq-root", "../../../../../still-root", "../.././.././../../too-many-dots", "/absolute", "//example.org/scheme-relative" ], "links": [ "link", "#fragment-works", "?query=works", "./", "../", "../parent", "../../parent-parent-eq-root", "./../../../useless/../../../still-root", "../.././.././../../too-many-dots", "/absolute", "//example.org/scheme-relative" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0029-out.jsonld000066400000000000000000000026421452212752100265510ustar00rootroot00000000000000[ { "@id": "http://json-ld.org/test-suite/tests/relativeIris", "@type": [ "http://json-ld.org/test-suite/tests/link", "http://json-ld.org/test-suite/tests/expand-0029-in.jsonld#fragment-works", "http://json-ld.org/test-suite/tests/expand-0029-in.jsonld?query=works", "http://json-ld.org/test-suite/tests/", "http://json-ld.org/test-suite/", "http://json-ld.org/test-suite/parent", "http://json-ld.org/parent-parent-eq-root", "http://json-ld.org/still-root", "http://json-ld.org/too-many-dots", "http://json-ld.org/absolute", "http://example.org/scheme-relative" ], "http://www.example.com/link": [ { "@list": [ { "@id": "http://json-ld.org/test-suite/tests/link" }, { "@id": "http://json-ld.org/test-suite/tests/expand-0029-in.jsonld#fragment-works" }, { "@id": "http://json-ld.org/test-suite/tests/expand-0029-in.jsonld?query=works" }, { "@id": "http://json-ld.org/test-suite/tests/" }, { "@id": "http://json-ld.org/test-suite/" }, { "@id": "http://json-ld.org/test-suite/parent" }, { "@id": "http://json-ld.org/parent-parent-eq-root" }, { "@id": "http://json-ld.org/still-root" }, { "@id": "http://json-ld.org/too-many-dots" }, { "@id": "http://json-ld.org/absolute" }, { "@id": "http://example.org/scheme-relative" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0030-in.jsonld000066400000000000000000000004201452212752100263300ustar00rootroot00000000000000{ "@context": { "vocab": "http://example.com/vocab/", "label": { "@id": "vocab:label", "@container": "@language" } }, "@id": "http://example.com/queen", "label": { "en": "The Queen", "de": [ "Die Königin", "Ihre Majestät" ] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0030-out.jsonld000066400000000000000000000004761452212752100265440ustar00rootroot00000000000000[ { "@id": "http://example.com/queen", "http://example.com/vocab/label": [ { "@value": "Die Königin", "@language": "de" }, { "@value": "Ihre Majestät", "@language": "de" }, { "@value": "The Queen", "@language": "en" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0031-in.jsonld000066400000000000000000000005431452212752100263370ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "xsd": "http://www.w3.org/2001/XMLSchema#", "ex:integer": { "@type": "xsd:integer" }, "ex:double": { "@type": "xsd:double" }, "ex:boolean": { "@type": "xsd:boolean" } }, "@id": "http://example.org/test#example1", "ex:integer": 1, "ex:double": 123.45, "ex:boolean": true } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0031-out.jsonld000066400000000000000000000007061452212752100265410ustar00rootroot00000000000000[ { "@id": "http://example.org/test#example1", "http://example.org/vocab#integer": [ { "@value": 1, "@type": "http://www.w3.org/2001/XMLSchema#integer" } ], "http://example.org/vocab#double": [ { "@value": 123.45, "@type": "http://www.w3.org/2001/XMLSchema#double" } ], "http://example.org/vocab#boolean": [ { "@value": true, "@type": "http://www.w3.org/2001/XMLSchema#boolean" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0032-in.jsonld000066400000000000000000000003601452212752100263350ustar00rootroot00000000000000{ "@context": { "@vocab": "http://xmlns.com/foaf/0.1/", "from": null, "university": { "@id": null } }, "@id": "http://me.markus-lanthaler.com/", "name": "Markus Lanthaler", "from": "Italy", "university": "TU Graz" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0032-out.jsonld000066400000000000000000000002571452212752100265430ustar00rootroot00000000000000[ { "@id": "http://me.markus-lanthaler.com/", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0033-in.jsonld000066400000000000000000000004601452212752100263370ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.com/vocab#", "homepage": { "@type": "@id" }, "created_at": { "@type": "http://www.w3.org/2001/XMLSchema#date" } }, "name": "Markus Lanthaler", "homepage": "http://www.markus-lanthaler.com/", "created_at": "2012-10-28" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0033-out.jsonld000066400000000000000000000005011452212752100265340ustar00rootroot00000000000000[{ "http://example.com/vocab#name": [{ "@value": "Markus Lanthaler" }], "http://example.com/vocab#homepage": [{ "@id": "http://www.markus-lanthaler.com/" }], "http://example.com/vocab#created_at": [{ "@value": "2012-10-28", "@type": "http://www.w3.org/2001/XMLSchema#date" }] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0034-in.jsonld000066400000000000000000000004611452212752100263410ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.com/vocab/", "colliding": "http://example.com/vocab/collidingTerm" }, "@id": "http://example.com/IriCollissions", "colliding": [ "value 1", 2 ], "collidingTerm": [ 3, "four" ], "http://example.com/vocab/collidingTerm": 5 } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0034-out.jsonld000066400000000000000000000004411452212752100265400ustar00rootroot00000000000000[{ "@id": "http://example.com/IriCollissions", "http://example.com/vocab/collidingTerm": [ { "@value": "value 1" }, { "@value": 2 }, { "@value": 3 }, { "@value": "four" }, { "@value": 5 } ] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0035-in.jsonld000066400000000000000000000005641452212752100263460ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.com/vocab/", "@language": "it", "label": { "@container": "@language" } }, "@id": "http://example.com/queen", "label": { "en": "The Queen", "de": [ "Die Königin", "Ihre Majestät" ] }, "http://example.com/vocab/label": [ "Il re", { "@value": "The king", "@language": "en" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0035-out.jsonld000066400000000000000000000006761452212752100265530ustar00rootroot00000000000000[{ "@id": "http://example.com/queen", "http://example.com/vocab/label": [ { "@value": "Il re", "@language": "it" }, { "@value": "The king", "@language": "en" }, { "@value": "Die Königin", "@language": "de" }, { "@value": "Ihre Majestät", "@language": "de" }, { "@value": "The Queen", "@language": "en" } ] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0036-in.jsonld000066400000000000000000000035271452212752100263510ustar00rootroot00000000000000{ "@context": { "property": "http://example.com/property", "indexContainer": { "@id": "http://example.com/container", "@container": "@index" } }, "@id": "http://example.org/indexTest", "indexContainer": { "A": [ { "@id": "http://example.org/nodeWithoutIndexA" }, { "@id": "http://example.org/nodeWithIndexA", "@index": "this overrides the 'A' index from the container" }, 1, true, false, null, "simple string A", { "@value": "typed literal A", "@type": "http://example.org/type" }, { "@value": "language-tagged string A", "@language": "en" } ], "B": "simple string B", "C": [ { "@id": "http://example.org/nodeWithoutIndexC" }, { "@id": "http://example.org/nodeWithIndexC", "@index": "this overrides the 'C' index from the container" }, 3, true, false, null, "simple string C", { "@value": "typed literal C", "@type": "http://example.org/type" }, { "@value": "language-tagged string C", "@language": "en" } ] }, "property": [ { "@id": "http://example.org/nodeWithoutIndexProp" }, { "@id": "http://example.org/nodeWithIndexProp", "@index": "prop" }, { "@value": 3, "@index": "prop" }, { "@value": true, "@index": "prop" }, { "@value": false, "@index": "prop" }, { "@value": null, "@index": "prop" }, "simple string no index", { "@value": "typed literal Prop", "@type": "http://example.org/type", "@index": "prop" }, { "@value": "language-tagged string Prop", "@language": "en", "@index": "prop" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0036-out.jsonld000066400000000000000000000052361452212752100265510ustar00rootroot00000000000000[ { "@id": "http://example.org/indexTest", "http://example.com/container": [ { "@id": "http://example.org/nodeWithoutIndexA", "@index": "A" }, { "@id": "http://example.org/nodeWithIndexA", "@index": "this overrides the 'A' index from the container" }, { "@value": 1, "@index": "A" }, { "@value": true, "@index": "A" }, { "@value": false, "@index": "A" }, { "@value": "simple string A", "@index": "A" }, { "@value": "typed literal A", "@type": "http://example.org/type", "@index": "A" }, { "@value": "language-tagged string A", "@language": "en", "@index": "A" }, { "@value": "simple string B", "@index": "B" }, { "@id": "http://example.org/nodeWithoutIndexC", "@index": "C" }, { "@id": "http://example.org/nodeWithIndexC", "@index": "this overrides the 'C' index from the container" }, { "@value": 3, "@index": "C" }, { "@value": true, "@index": "C" }, { "@value": false, "@index": "C" }, { "@value": "simple string C", "@index": "C" }, { "@value": "typed literal C", "@type": "http://example.org/type", "@index": "C" }, { "@value": "language-tagged string C", "@language": "en", "@index": "C" } ], "http://example.com/property": [ { "@id": "http://example.org/nodeWithoutIndexProp" }, { "@id": "http://example.org/nodeWithIndexProp", "@index": "prop" }, { "@value": 3, "@index": "prop" }, { "@value": true, "@index": "prop" }, { "@value": false, "@index": "prop" }, { "@value": "simple string no index" }, { "@value": "typed literal Prop", "@type": "http://example.org/type", "@index": "prop" }, { "@value": "language-tagged string Prop", "@language": "en", "@index": "prop" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0037-in.jsonld000066400000000000000000000004401452212752100263410ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name" }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "@reverse": { "http://xmlns.com/foaf/0.1/knows": { "@id": "http://example.com/people/dave", "name": "Dave Longley" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0037-out.jsonld000066400000000000000000000005461452212752100265510ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0038-in.jsonld000066400000000000000000000010711452212752100263430ustar00rootroot00000000000000{ "@context": { "term": "_:term", "termId": { "@id": "term", "@type": "@id" } }, "@id": "_:term", "@type": "_:term", "term": [ { "@id": "_:term", "@type": "term" }, { "@id": "_:Bx", "term": "term" }, "plain value", { "@id": "_:term" } ], "termId": [ { "@id": "_:term", "@type": "term" }, { "@id": "_:Cx", "term": "termId" }, "term:AppendedToBlankNode", "_:termAppendedToBlankNode", "relativeIri", { "@id": "_:term" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0038-out.jsonld000066400000000000000000000015241452212752100265470ustar00rootroot00000000000000[ { "@id": "_:term", "@type": [ "_:term" ], "_:term": [ { "@id": "_:term", "@type": [ "_:term" ] }, { "@id": "_:Bx", "_:term": [ { "@value": "term" } ] }, { "@value": "plain value" }, { "@id": "_:term" }, { "@id": "_:term", "@type": [ "_:term" ] }, { "@id": "_:Cx", "_:term": [ { "@value": "termId" } ] }, { "@id": "_:termAppendedToBlankNode" }, { "@id": "_:termAppendedToBlankNode" }, { "@id": "http://json-ld.org/test-suite/tests/relativeIri" }, { "@id": "_:term" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0039-in.jsonld000066400000000000000000000004661452212752100263530ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "knows": "http://xmlns.com/foaf/0.1/knows" }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "@reverse": { "knows": { "@id": "http://example.com/people/dave", "name": "Dave Longley" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0039-out.jsonld000066400000000000000000000005461452212752100265530ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0040-in.jsonld000066400000000000000000000006021452212752100263330ustar00rootroot00000000000000{ "@context": { "vocab": "http://example.com/vocab/", "label": { "@id": "vocab:label", "@container": "@language" }, "indexes": { "@id": "vocab:index", "@container": "@index" } }, "@id": "http://example.com/queen", "label": [ "The Queen" ], "indexes": [ "No", "indexes", { "@id": "asTheValueIsntAnObject" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0040-out.jsonld000066400000000000000000000005671452212752100265460ustar00rootroot00000000000000[ { "@id": "http://example.com/queen", "http://example.com/vocab/label": [ { "@value": "The Queen" } ], "http://example.com/vocab/index": [ { "@value": "No" }, { "@value": "indexes" }, { "@id": "http://json-ld.org/test-suite/tests/asTheValueIsntAnObject" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0041-in.jsonld000066400000000000000000000004321452212752100263350ustar00rootroot00000000000000{ "@context": { "property": "http://example.com/property", "nested": "http://example.com/nested", "@language": "en" }, "property": "this is English", "nested": { "@context": { "@language": null }, "property": "and this is a plain string" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0041-out.jsonld000066400000000000000000000003661452212752100265440ustar00rootroot00000000000000[ { "http://example.com/property": [ { "@value": "this is English", "@language": "en" } ], "http://example.com/nested": [ { "http://example.com/property": [ { "@value": "and this is a plain string" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0042-in.jsonld000066400000000000000000000004621452212752100263410ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "isKnownBy": { "@id": "http://example.com/people/dave", "name": "Dave Longley" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0042-out.jsonld000066400000000000000000000005461452212752100265450ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0043-in.jsonld000066400000000000000000000007051452212752100263420ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "@reverse": { "isKnownBy": [ { "@id": "http://example.com/people/dave", "name": "Dave Longley" }, { "@id": "http://example.com/people/gregg", "name": "Gregg Kellogg" } ] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0043-out.jsonld000066400000000000000000000007211452212752100265410ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] }, { "@id": "http://example.com/people/gregg", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ] } ], "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0044-in.jsonld000066400000000000000000000006701452212752100263440ustar00rootroot00000000000000{ "@context": { "property": { "@id": "http://example.com/vocab/property", "@language": "de" }, "indexMap": { "@id": "http://example.com/vocab/indexMap", "@language": "en", "@container": "@index" } }, "@id": "http://example.com/node", "property": [ { "@id": "http://example.com/propertyValueNode", "indexMap": { "expands to english string": "simple string" } }, "einfacher String" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0044-out.jsonld000066400000000000000000000007041452212752100265430ustar00rootroot00000000000000[ { "@id": "http://example.com/node", "http://example.com/vocab/property": [ { "@id": "http://example.com/propertyValueNode", "http://example.com/vocab/indexMap": [ { "@value": "simple string", "@language": "en", "@index": "expands to english string" } ] }, { "@value": "einfacher String", "@language": "de" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0045-in.jsonld000066400000000000000000000000501452212752100263350ustar00rootroot00000000000000{ "@value": "free-floating value" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0045-out.jsonld000066400000000000000000000000041452212752100265350ustar00rootroot00000000000000[ ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0046-in.jsonld000066400000000000000000000006501452212752100263440ustar00rootroot00000000000000{ "@graph": [ { "@id": "http://example.com/free-floating-node" }, { "@value": "free-floating value object" }, { "@value": "free-floating value language-tagged string", "@language": "en" }, { "@value": "free-floating value typed value", "@type": "http://example.com/type" }, "free-floating plain string", true, false, null, 1, 1.5 ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0046-out.jsonld000066400000000000000000000000041452212752100265360ustar00rootroot00000000000000[ ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0047-in.jsonld000066400000000000000000000016141452212752100263460ustar00rootroot00000000000000{ "@context": { "property": "http://example.com/property" }, "@graph": [ { "@set": [ "free-floating strings in set objects are removed", { "@id": "http://example.com/free-floating-node" }, { "@id": "http://example.com/node", "property": "nodes with properties are not removed" } ] }, { "@list": [ "lists are removed even though they represent an invisible linked structure, they have no real meaning", { "@id": "http://example.com/node-in-free-floating-list", "property": "everything inside a free-floating list is removed with the list; also nodes with properties" } ] } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0047-out.jsonld000066400000000000000000000003131452212752100265420ustar00rootroot00000000000000[ { "@id": "http://example.com/node", "http://example.com/property": [ { "@value": "nodes with properties are not removed" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0048-in.jsonld000066400000000000000000000010671452212752100263510ustar00rootroot00000000000000{ "@context": { "term": "http://example.com/terms-are-not-considered-in-id", "compact-iris": "http://example.com/compact-iris-", "property": "http://example.com/property", "@vocab": "http://example.org/vocab-is-not-considered-for-id" }, "@id": "term", "property": [ { "@id": "compact-iris:are-considered", "property": "@id supports the following values: relative, absolute, and compact IRIs" }, { "@id": "../parent-node", "property": "relative IRIs get resolved against the document's base IRI" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0048-out.jsonld000066400000000000000000000010511452212752100265430ustar00rootroot00000000000000[ { "@id": "http://json-ld.org/test-suite/tests/term", "http://example.com/property": [ { "@id": "http://example.com/compact-iris-are-considered", "http://example.com/property": [ { "@value": "@id supports the following values: relative, absolute, and compact IRIs" } ] }, { "@id": "http://json-ld.org/test-suite/parent-node", "http://example.com/property": [ { "@value": "relative IRIs get resolved against the document's base IRI" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0049-in.jsonld000066400000000000000000000005061452212752100263470ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@type": "@id" } }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "isKnownBy": [ "http://example.com/people/dave", "http://example.com/people/gregg" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0049-out.jsonld000066400000000000000000000005401452212752100265460ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave" }, { "@id": "http://example.com/people/gregg" } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0050-in.jsonld000066400000000000000000000003011452212752100263300ustar00rootroot00000000000000{ "@context": { "issue": { "@id": "http://example.com/issue/", "@type": "@id" }, "issue:raisedBy": { "@container": "@set" } }, "issue": "/issue/1", "issue:raisedBy": "Markus" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0050-out.jsonld000066400000000000000000000002361452212752100265400ustar00rootroot00000000000000[ { "http://example.com/issue/": [ { "@id": "http://json-ld.org/issue/1" } ], "http://example.com/issue/raisedBy": [ { "@value": "Markus" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0051-in.jsonld000066400000000000000000000001751452212752100263420ustar00rootroot00000000000000{ "@context": [ { "id": "@id" }, { "url": "id" } ], "url": "/issue/1", "http://example.com/property": "ok" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0051-out.jsonld000066400000000000000000000001561452212752100265420ustar00rootroot00000000000000[{ "http://example.com/property": [{ "@value": "ok" }], "@id": "http://json-ld.org/issue/1" }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0052-in.jsonld000066400000000000000000000003251452212752100263400ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.org/", "property": "vocabRelativeProperty" }, "property": "must expand to http://example.org/vocabRelativeProperty", "http://example.org/property": "ok" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0052-out.jsonld000066400000000000000000000003031452212752100265350ustar00rootroot00000000000000[ { "http://example.org/property": [ { "@value": "ok" } ], "http://example.org/vocabRelativeProperty": [ { "@value": "must expand to http://example.org/vocabRelativeProperty" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0053-in.jsonld000066400000000000000000000001771452212752100263460ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example.org/term", "@type": "@vocab"} }, "term": "http://example.org/enum" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0053-out.jsonld000066400000000000000000000001101452212752100265320ustar00rootroot00000000000000[{ "http://example.org/term": [{"@id": "http://example.org/enum"}] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0054-in.jsonld000066400000000000000000000002341452212752100263410ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example.org/term", "@type": "@vocab"}, "enum": {"@id": "http://example.org/enum"} }, "term": "enum" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0054-out.jsonld000066400000000000000000000001101452212752100265330ustar00rootroot00000000000000[{ "http://example.org/term": [{"@id": "http://example.org/enum"}] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0055-in.jsonld000066400000000000000000000002211452212752100263360ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.org/", "term": {"@id": "http://example.org/term", "@type": "@vocab"} }, "term": "enum" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0055-out.jsonld000066400000000000000000000001101452212752100265340ustar00rootroot00000000000000[{ "http://example.org/term": [{"@id": "http://example.org/enum"}] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0056-in.jsonld000066400000000000000000000007421452212752100263470ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "homepage": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@vocab" }, "link": { "@id": "http://example.com/link", "@type": "@id" }, "MarkusHomepage": "http://www.markus-lanthaler.com/", "relative-iri": "http://example.com/error-if-this-is-used-for-link" }, "@id": "http://me.markus-lanthaler.com/", "name": "Markus Lanthaler", "homepage": "MarkusHomepage", "link": "relative-iri" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0056-out.jsonld000066400000000000000000000005051452212752100265450ustar00rootroot00000000000000[ { "@id": "http://me.markus-lanthaler.com/", "http://xmlns.com/foaf/0.1/homepage": [ { "@id": "http://www.markus-lanthaler.com/" } ], "http://example.com/link": [ { "@id": "http://json-ld.org/test-suite/tests/relative-iri" } ], "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0057-in.jsonld000066400000000000000000000002101452212752100263360ustar00rootroot00000000000000{ "@context": { "term": { "@id": "http://example.org/term", "@type": "@vocab" } }, "term": "not-a-term-thus-a-relative-IRI" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0057-out.jsonld000066400000000000000000000001771452212752100265530ustar00rootroot00000000000000[ { "http://example.org/term": [ { "@id": "http://json-ld.org/test-suite/tests/not-a-term-thus-a-relative-IRI" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0058-in.jsonld000066400000000000000000000002421452212752100263440ustar00rootroot00000000000000{ "@context": { "term": { "@id": "http://example.org/term", "@type": "@vocab" }, "prefix": "http://example.com/vocab#" }, "term": "prefix:suffix" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0058-out.jsonld000066400000000000000000000001341452212752100265450ustar00rootroot00000000000000[ { "http://example.org/term": [ { "@id": "http://example.com/vocab#suffix" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0059-in.jsonld000066400000000000000000000005531452212752100263520ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.org/vocab#" }, "@id": "example-with-vocab", "@type": "vocab-prefixed", "property": "property expanded using @vocab", "embed": { "@context": { "@vocab": null }, "@id": "example-vocab-reset", "@type": "document-relative", "property": "@vocab reset, property will be dropped" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0059-out.jsonld000066400000000000000000000006771452212752100265620ustar00rootroot00000000000000[ { "@id": "http://json-ld.org/test-suite/tests/example-with-vocab", "@type": [ "http://example.org/vocab#vocab-prefixed" ], "http://example.org/vocab#embed": [ { "@id": "http://json-ld.org/test-suite/tests/example-vocab-reset", "@type": [ "http://json-ld.org/test-suite/tests/document-relative" ] } ], "http://example.org/vocab#property": [ { "@value": "property expanded using @vocab" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0060-in.jsonld000066400000000000000000000013171452212752100263410ustar00rootroot00000000000000{ "@context": { "property": "http://example.com/vocab#property" }, "@id": "../document-relative", "@type": "#document-relative", "property": { "@context": { "@base": "http://example.org/test/" }, "@id": "../document-base-overwritten", "@type": "#document-base-overwritten", "property": [ { "@context": null, "@id": "../document-relative", "@type": "#document-relative", "property": "context completely reset, drops property" }, { "@context": { "@base": null }, "@id": "../document-relative", "@type": "#document-relative", "property": "only @base is cleared" } ] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0060-out.jsonld000066400000000000000000000015011452212752100265350ustar00rootroot00000000000000[ { "@id": "http://json-ld.org/test-suite/document-relative", "@type": [ "http://json-ld.org/test-suite/tests/expand-0060-in.jsonld#document-relative" ], "http://example.com/vocab#property": [ { "@id": "http://example.org/document-base-overwritten", "@type": [ "http://example.org/test/#document-base-overwritten" ], "http://example.com/vocab#property": [ { "@id": "http://json-ld.org/test-suite/document-relative", "@type": [ "http://json-ld.org/test-suite/tests/expand-0060-in.jsonld#document-relative" ] }, { "@id": "../document-relative", "@type": [ "#document-relative" ], "http://example.com/vocab#property": [ { "@value": "only @base is cleared" } ] } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0061-in.jsonld000066400000000000000000000002601452212752100263360ustar00rootroot00000000000000{ "@context": { "property": { "@id": "http://example.com/property", "@type": "http://example.com/datatype" } }, "property": [ 1, true, false, 5.1 ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0061-out.jsonld000066400000000000000000000004731452212752100265450ustar00rootroot00000000000000[ { "http://example.com/property": [ { "@value": 1, "@type": "http://example.com/datatype" }, { "@value": true, "@type": "http://example.com/datatype" }, { "@value": false, "@type": "http://example.com/datatype" }, { "@value": 5.1, "@type": "http://example.com/datatype" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0062-in.jsonld000066400000000000000000000015401452212752100263410ustar00rootroot00000000000000{ "@context": { "@base": "http://example.com/some/deep/directory/and/file#with-a-fragment", "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } }, "@id": "relativeIris", "@type": [ "link", "#fragment-works", "?query=works", "./", "../", "../parent", "../../parent-parent-eq-root", "../../../../../still-root", "../.././.././../../too-many-dots", "/absolute", "//example.org/scheme-relative" ], "links": [ "link", "#fragment-works", "?query=works", "./", "../", "../parent", "../../parent-parent-eq-root", "./../../../../../still-root", "../.././.././../../too-many-dots", "/absolute", "//example.org/scheme-relative", "//example.org/../scheme-relative", "//example.org/.././useless/../../scheme-relative" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0062-out.jsonld000066400000000000000000000031071452212752100265430ustar00rootroot00000000000000[ { "@id": "http://example.com/some/deep/directory/and/relativeIris", "@type": [ "http://example.com/some/deep/directory/and/link", "http://example.com/some/deep/directory/and/file#fragment-works", "http://example.com/some/deep/directory/and/file?query=works", "http://example.com/some/deep/directory/and/", "http://example.com/some/deep/directory/", "http://example.com/some/deep/directory/parent", "http://example.com/some/deep/parent-parent-eq-root", "http://example.com/still-root", "http://example.com/too-many-dots", "http://example.com/absolute", "http://example.org/scheme-relative" ], "http://www.example.com/link": [ { "@list": [ { "@id": "http://example.com/some/deep/directory/and/link" }, { "@id": "http://example.com/some/deep/directory/and/file#fragment-works" }, { "@id": "http://example.com/some/deep/directory/and/file?query=works" }, { "@id": "http://example.com/some/deep/directory/and/" }, { "@id": "http://example.com/some/deep/directory/" }, { "@id": "http://example.com/some/deep/directory/parent" }, { "@id": "http://example.com/some/deep/parent-parent-eq-root" }, { "@id": "http://example.com/still-root" }, { "@id": "http://example.com/too-many-dots" }, { "@id": "http://example.com/absolute" }, { "@id": "http://example.org/scheme-relative" }, { "@id": "http://example.org/scheme-relative" }, { "@id": "http://example.org/scheme-relative" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0063-in.jsonld000066400000000000000000000007061452212752100263450ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@index" } }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "isKnownBy": { "Dave": { "@id": "http://example.com/people/dave", "name": "Dave Longley" }, "Gregg": { "@id": "http://example.com/people/gregg", "name": "Gregg Kellogg" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0063-out.jsonld000066400000000000000000000010661452212752100265460ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave", "@index": "Dave", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] }, { "@id": "http://example.com/people/gregg", "@index": "Gregg", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ] } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0064-in.jsonld000066400000000000000000000004761452212752100263520ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "isKnownBy": [ { "name": "Dave Longley" }, { "name": "Gregg Kellogg" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0064-out.jsonld000066400000000000000000000006261452212752100265500ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] }, { "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ] } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0065-in.jsonld000066400000000000000000000007011452212752100263420ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "knows": "http://xmlns.com/foaf/0.1/knows" }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "@reverse": { "knows": { "@id": "http://example.com/people/dave", "name": "Dave Longley" }, "relative-iri": { "@id": "relative-node", "name": "Keys that are not mapped to an IRI in a reverse-map are dropped" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0065-out.jsonld000066400000000000000000000005461452212752100265520ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0066-in.jsonld000066400000000000000000000007001452212752100263420ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "knows": "http://xmlns.com/foaf/0.1/knows", "@vocab": "http://example.com/vocab/" }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "@reverse": { "knows": { "@id": "http://example.com/people/dave", "name": "Dave Longley" }, "noTerm": { "@id": "relative-node", "name": "Compact keys using @vocab" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0066-out.jsonld000066400000000000000000000011161452212752100265450ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] } ], "http://example.com/vocab/noTerm": [ { "@id": "http://json-ld.org/test-suite/tests/relative-node", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Compact keys using @vocab" } ] } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0067-in.jsonld000066400000000000000000000004401452212752100263440ustar00rootroot00000000000000{ "@context": { "http": "http://example.com/this-prefix-would-overwrite-all-http-iris" }, "@id": "http://example.org/node1", "@type": "http://example.org/type", "http://example.org/property": "all these IRIs remain unchanged because they are interpreted as absolute IRIs" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0067-out.jsonld000066400000000000000000000003541452212752100265510ustar00rootroot00000000000000[ { "@id": "http://example.org/node1", "@type": ["http://example.org/type"], "http://example.org/property": [ { "@value": "all these IRIs remain unchanged because they are interpreted as absolute IRIs" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0068-in.jsonld000066400000000000000000000004001452212752100263410ustar00rootroot00000000000000{ "@context": { "_": "http://example.com/this-prefix-would-overwrite-all-blank-node-identifiers" }, "@id": "_:node1", "@type": "_:type", "_:property": "all these IRIs remain unchanged because they are interpreted as blank node identifiers" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0068-out.jsonld000066400000000000000000000003041452212752100265450ustar00rootroot00000000000000[ { "@id": "_:node1", "@type": [ "_:type" ], "_:property": [ { "@value": "all these IRIs remain unchanged because they are interpreted as blank node identifiers" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0069-in.jsonld000066400000000000000000000004251452212752100263510ustar00rootroot00000000000000{ "@context": { "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "rdfs:subClassOf": { "@id": "rdfs:subClassOf", "@type": "@id" } }, "@id": "http://example.com/vocab#class", "@type": "rdfs:Class", "rdfs:subClassOf": "http://example.com/vocab#someOtherClass" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0069-out.jsonld000066400000000000000000000003611452212752100265510ustar00rootroot00000000000000[ { "@id": "http://example.com/vocab#class", "@type": [ "http://www.w3.org/2000/01/rdf-schema#Class" ], "http://www.w3.org/2000/01/rdf-schema#subClassOf": [ { "@id": "http://example.com/vocab#someOtherClass"} ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0070-in.jsonld000066400000000000000000000003001452212752100263310ustar00rootroot00000000000000{ "@context": { "prefix": "http://www.example.org/vocab#", "prefix:foo": "prefix:foo" }, "@id": "http://example.com/vocab#id", "@type": "prefix:Class", "prefix:foo": "bar" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0070-out.jsonld000066400000000000000000000002661452212752100265450ustar00rootroot00000000000000[ { "@id": "http://example.com/vocab#id", "@type": [ "http://www.example.org/vocab#Class" ], "http://www.example.org/vocab#foo": [ { "@value": "bar"} ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0071-in.jsonld000066400000000000000000000004611452212752100263420ustar00rootroot00000000000000{ "@context": [ { "v": "http://example.com/vocab#", "v:term": "v:somethingElse", "v:termId": { "@id": "v:somethingElseId" } }, { "v:term": "v:term", "v:termId": { "@id": "v:termId" } } ], "v:term": "value of v:term", "v:termId": "value of v:termId" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0071-out.jsonld000066400000000000000000000002671452212752100265470ustar00rootroot00000000000000[ { "http://example.com/vocab#term": [ { "@value": "value of v:term" } ], "http://example.com/vocab#termId": [ { "@value": "value of v:termId" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0072-in.jsonld000066400000000000000000000003351452212752100263430ustar00rootroot00000000000000{ "@context": [ { "v": "http://example.com/vocab#", "term": "v:somethingElse" }, { "@vocab": "http://example.com/anotherVocab#", "term": "term" } ], "term": "value of term" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0072-out.jsonld000066400000000000000000000001441452212752100265420ustar00rootroot00000000000000[ { "http://example.com/anotherVocab#term": [ { "@value": "value of term" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0073-in.jsonld000066400000000000000000000005341452212752100263450ustar00rootroot00000000000000{ "@id": "ex:node1", "owl:sameAs": { "@id": "ex:node2", "rdfs:label": "Node 2", "link": "ex:node3", "@context": { "rdfs": "http://www.w3.org/2000/01/rdf-schema#" } }, "@context": { "ex": "http://example.org/", "owl": "http://www.w3.org/2002/07/owl#", "link": { "@id": "ex:link", "@type": "@id" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0073-out.jsonld000066400000000000000000000005231452212752100265440ustar00rootroot00000000000000[ { "@id": "http://example.org/node1", "http://www.w3.org/2002/07/owl#sameAs": [ { "@id": "http://example.org/node2", "http://example.org/link": [ { "@id": "http://example.org/node3" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Node 2" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0074-in.jsonld000066400000000000000000000005541452212752100263500ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/", "owl": "http://www.w3.org/2002/07/owl#", "link": { "@id": "ex:link", "@type": "@id" } }, "owl:sameAs": { "@context": { "rdfs": "http://www.w3.org/2000/01/rdf-schema#" }, "rdfs:label": "Node 2", "link": "ex:node3", "@id": "ex:node2" }, "@id": "ex:node1" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0074-out.jsonld000066400000000000000000000005231452212752100265450ustar00rootroot00000000000000[ { "@id": "http://example.org/node1", "http://www.w3.org/2002/07/owl#sameAs": [ { "@id": "http://example.org/node2", "http://example.org/link": [ { "@id": "http://example.org/node3" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Node 2" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0075-in.jsonld000066400000000000000000000002021452212752100263370ustar00rootroot00000000000000{ "@context": { "@vocab": "_:" }, "@id": "ex:node1", "b1": "blank node property 1", "b2": "blank node property 1" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0075-out.jsonld000066400000000000000000000002201452212752100265400ustar00rootroot00000000000000[ { "@id": "ex:node1", "_:b1": [ { "@value": "blank node property 1" } ], "_:b2": [ { "@value": "blank node property 1" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0076-in.jsonld000066400000000000000000000000661452212752100263500ustar00rootroot00000000000000{ "@id": "relative-iri", "http://prop": "value" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0076-out.jsonld000066400000000000000000000001321452212752100265430ustar00rootroot00000000000000[{ "@id": "http://example/base/relative-iri", "http://prop": [{"@value": "value"}] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0077-context.jsonld000066400000000000000000000004521452212752100274260ustar00rootroot00000000000000{ "@context": { "t1": "http://example.com/t1", "t2": "http://example.com/t2", "term1": "http://example.com/term1", "term2": "http://example.com/term2", "term3": "http://example.com/term3", "term4": "http://example.com/term4", "term5": "http://example.com/term5" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0077-in.jsonld000066400000000000000000000003071452212752100263470ustar00rootroot00000000000000{ "@id": "http://example.com/id1", "@type": "t1", "term1": "v1", "term2": {"@value": "v2", "@type": "t2"}, "term3": {"@value": "v3", "@language": "en"}, "term4": 4, "term5": [50, 51] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-0077-out.jsonld000066400000000000000000000006071452212752100265530ustar00rootroot00000000000000[{ "@id": "http://example.com/id1", "@type": ["http://example.com/t1"], "http://example.com/term1": [{"@value": "v1"}], "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], "http://example.com/term3": [{"@value": "v3", "@language": "en"}], "http://example.com/term4": [{"@value": 4}], "http://example.com/term5": [{"@value": 50}, {"@value": 51}] }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-e042-in.jsonld000066400000000000000000000001421452212752100264210ustar00rootroot00000000000000{ "@context": { "@type": {"@container": "@set"} }, "@type": "http://example.org/type" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/expand-manifest.jsonld000066400000000000000000000576721452212752100271750ustar00rootroot00000000000000{ "@context": "http://json-ld.org/test-suite/context.jsonld", "@id": "", "@type": "mf:Manifest", "description": "JSON-LD to Expansion tests use object compare", "name": "Expansion", "baseIri": "http://json-ld.org/test-suite/tests/", "sequence": [ { "@id": "#t0001", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "drop free-floating nodes", "purpose": "Expand drops unreferenced nodes having only @id", "input": "expand-0001-in.jsonld", "expect": "expand-0001-out.jsonld" }, { "@id": "#t0002", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "basic", "purpose": "Expanding terms with different types of values", "input": "expand-0002-in.jsonld", "expect": "expand-0002-out.jsonld" }, { "@id": "#t0003", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "drop null and unmapped properties", "purpose": "Verifies that null values and unmapped properties are removed from expanded output", "input": "expand-0003-in.jsonld", "expect": "expand-0003-out.jsonld" }, { "@id": "#t0004", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "optimize @set, keep empty arrays", "purpose": "Uses of @set are removed in expansion; values of @set, or just plain values which are empty arrays are retained", "input": "expand-0004-in.jsonld", "expect": "expand-0004-out.jsonld" }, { "@id": "#t0005", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "do not expand aliased @id/@type", "purpose": "If a keyword is aliased, it is not used when expanding", "input": "expand-0005-in.jsonld", "expect": "expand-0005-out.jsonld" }, { "@id": "#t0006", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "alias keywords", "purpose": "Aliased keywords expand in resulting document", "input": "expand-0006-in.jsonld", "expect": "expand-0006-out.jsonld" }, { "@id": "#t0007", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "date type-coercion", "purpose": "Expand strings to expanded value with @type: xsd:dateTime", "input": "expand-0007-in.jsonld", "expect": "expand-0007-out.jsonld" }, { "@id": "#t0008", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@value with @language", "purpose": "Keep expanded values with @language, drop non-conforming value objects containing just @language", "input": "expand-0008-in.jsonld", "expect": "expand-0008-out.jsonld" }, { "@id": "#t0009", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@graph with terms", "purpose": "Use of @graph to contain multiple nodes within array", "input": "expand-0009-in.jsonld", "expect": "expand-0009-out.jsonld" }, { "@id": "#t0010", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "native types", "purpose": "Expanding native scalar retains native scalar within expanded value", "input": "expand-0010-in.jsonld", "expect": "expand-0010-out.jsonld" }, { "@id": "#t0011", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "coerced @id", "purpose": "A value of a property with @type: @id coercion expands to a node reference", "input": "expand-0011-in.jsonld", "expect": "expand-0011-out.jsonld" }, { "@id": "#t0012", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@graph with embed", "purpose": "Use of @graph to contain multiple nodes within array", "input": "expand-0012-in.jsonld", "expect": "expand-0012-out.jsonld" }, { "@id": "#t0013", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "expand already expanded", "purpose": "Expand does not mess up already expanded document", "input": "expand-0013-in.jsonld", "expect": "expand-0013-out.jsonld" }, { "@id": "#t0014", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@set of @value objects with keyword aliases", "purpose": "Expanding aliased @set and @value", "input": "expand-0014-in.jsonld", "expect": "expand-0014-out.jsonld" }, { "@id": "#t0015", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "collapse set of sets, keep empty lists", "purpose": "An array of multiple @set nodes are collapsed into a single array", "input": "expand-0015-in.jsonld", "expect": "expand-0015-out.jsonld" }, { "@id": "#t0016", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "context reset", "purpose": "Setting @context to null within an embedded object resets back to initial context state", "input": "expand-0016-in.jsonld", "expect": "expand-0016-out.jsonld" }, { "@id": "#t0017", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@graph and @id aliased", "purpose": "Expanding with @graph and @id aliases", "input": "expand-0017-in.jsonld", "expect": "expand-0017-out.jsonld" }, { "@id": "#t0018", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "override default @language", "purpose": "override default @language in terms; only language-tag strings", "input": "expand-0018-in.jsonld", "expect": "expand-0018-out.jsonld" }, { "@id": "#t0019", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "remove @value = null", "purpose": "Expanding a value of null removes the value", "input": "expand-0019-in.jsonld", "expect": "expand-0019-out.jsonld" }, { "@id": "#t0020", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "do not remove @graph if not at top-level", "purpose": "@graph used under a node is retained", "input": "expand-0020-in.jsonld", "expect": "expand-0020-out.jsonld" }, { "@id": "#t0021", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "do not remove @graph at top-level if not only property", "purpose": "@graph used at the top level is retained if there are other properties", "input": "expand-0021-in.jsonld", "expect": "expand-0021-out.jsonld" }, { "@id": "#t0022", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "expand value with default language", "purpose": "Expanding with a default language applies that language to string values", "input": "expand-0022-in.jsonld", "expect": "expand-0022-out.jsonld" }, { "@id": "#t0023", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expanding list/set with coercion", "purpose": "Expanding lists and sets with properties having coercion coerces list/set values", "input": "expand-0023-in.jsonld", "expect": "expand-0023-out.jsonld" }, { "@id": "#t0024", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Multiple contexts", "purpose": "Tests that contexts in an array are merged", "input": "expand-0024-in.jsonld", "expect": "expand-0024-out.jsonld" }, { "@id": "#t0025", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Problematic IRI expansion tests", "purpose": "Expanding different kinds of terms and Compact IRIs", "input": "expand-0025-in.jsonld", "expect": "expand-0025-out.jsonld" }, { "@id": "#t0026", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Term definition with @id: @type", "purpose": "Expanding term mapping to @type uses @type syntax", "input": "expand-0026-in.jsonld", "expect": "expand-0026-out.jsonld" }, { "@id": "#t0027", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Duplicate values in @list and @set", "purpose": "Duplicate values in @list and @set are not merged", "input": "expand-0027-in.jsonld", "expect": "expand-0027-out.jsonld" }, { "@id": "#t0028", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Use @vocab in properties and @type but not in @id", "purpose": "@vocab is used to compact properties and @type, but is not used for @id", "input": "expand-0028-in.jsonld", "expect": "expand-0028-out.jsonld" }, { "@id": "#t0029", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Relative IRIs", "purpose": "@base is used to compact @id; test with different relative IRIs", "input": "expand-0029-in.jsonld", "expect": "expand-0029-out.jsonld" }, { "@id": "#t0030", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Language maps", "purpose": "Language Maps expand values to include @language", "input": "expand-0030-in.jsonld", "expect": "expand-0030-out.jsonld" }, { "@id": "#t0031", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "type-coercion of native types", "purpose": "Expanding native types with type coercion adds the coerced type to an expanded value representation and retains the native value representation", "input": "expand-0031-in.jsonld", "expect": "expand-0031-out.jsonld" }, { "@id": "#t0032", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Null term and @vocab", "purpose": "Mapping a term to null decouples it from @vocab", "input": "expand-0032-in.jsonld", "expect": "expand-0032-out.jsonld" }, { "@id": "#t0033", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Using @vocab with with type-coercion", "purpose": "Verifies that terms can be defined using @vocab", "input": "expand-0033-in.jsonld", "expect": "expand-0033-out.jsonld" }, { "@id": "#t0034", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Multiple properties expanding to the same IRI", "purpose": "Verifies multiple values from separate terms are deterministically made multiple values of the IRI associated with the terms", "input": "expand-0034-in.jsonld", "expect": "expand-0034-out.jsonld" }, { "@id": "#t0035", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Language maps with @vocab, default language, and colliding property", "purpose": "Pathological tests of language maps", "input": "expand-0035-in.jsonld", "expect": "expand-0035-out.jsonld" }, { "@id": "#t0036", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expanding @index", "purpose": "Expanding index maps for terms defined with @container: @index", "input": "expand-0036-in.jsonld", "expect": "expand-0036-out.jsonld" }, { "@id": "#t0037", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expanding @reverse", "purpose": "Expanding @reverse keeps @reverse", "input": "expand-0037-in.jsonld", "expect": "expand-0037-out.jsonld" }, { "@id": "#t0038", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expanding blank node labels", "purpose": "Blank nodes are not relabeled during expansion", "input": "expand-0038-in.jsonld", "expect": "expand-0038-out.jsonld" }, { "@id": "#t0039", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Using terms in a reverse-maps", "purpose": "Terms within @reverse are expanded", "input": "expand-0039-in.jsonld", "expect": "expand-0039-out.jsonld" }, { "@id": "#t0040", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "language and index expansion on non-objects", "purpose": "Only invoke language and index map expansion if the value is a JSON object", "input": "expand-0040-in.jsonld", "expect": "expand-0040-out.jsonld" }, { "@id": "#t0041", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@language: null", "name": "@language: null resets the default language", "input": "expand-0041-in.jsonld", "expect": "expand-0041-out.jsonld" }, { "@id": "#t0042", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Reverse properties", "purpose": "Expanding terms defined as reverse properties uses @reverse in expanded document", "input": "expand-0042-in.jsonld", "expect": "expand-0042-out.jsonld" }, { "@id": "#t0043", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Using reverse properties inside a @reverse-container", "purpose": "Expanding a reverse property within a @reverse undoes both reversals", "input": "expand-0043-in.jsonld", "expect": "expand-0043-out.jsonld" }, { "@id": "#t0044", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Index maps with language mappings", "purpose": "Ensure index maps use language mapping", "input": "expand-0044-in.jsonld", "expect": "expand-0044-out.jsonld" }, { "@id": "#t0045", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Top-level value objects", "purpose": "Expanding top-level value objects causes them to be removed", "input": "expand-0045-in.jsonld", "expect": "expand-0045-out.jsonld" }, { "@id": "#t0046", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Free-floating nodes", "purpose": "Expanding free-floating nodes causes them to be removed", "input": "expand-0046-in.jsonld", "expect": "expand-0046-out.jsonld" }, { "@id": "#t0047", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Free-floating values in sets and free-floating lists", "purpose": "Free-floating values in sets are removed, free-floating lists are removed completely", "input": "expand-0047-in.jsonld", "expect": "expand-0047-out.jsonld" }, { "@id": "#t0048", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Terms are ignored in @id", "purpose": "Values of @id are not expanded as terms", "input": "expand-0048-in.jsonld", "expect": "expand-0048-out.jsonld" }, { "@id": "#t0049", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "String values of reverse properties", "purpose": "String values of a reverse property with @type: @id are treated as IRIs", "input": "expand-0049-in.jsonld", "expect": "expand-0049-out.jsonld" }, { "@id": "#t0050", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Term definitions with prefix separate from prefix definitions", "purpose": "Term definitions using compact IRIs don't inherit the definitions of the prefix", "input": "expand-0050-in.jsonld", "expect": "expand-0050-out.jsonld" }, { "@id": "#t0051", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expansion of keyword aliases in term definitions", "purpose": "Expanding terms which are keyword aliases", "input": "expand-0051-in.jsonld", "expect": "expand-0051-out.jsonld" }, { "@id": "#t0052", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@vocab-relative IRIs in term definitions", "purpose": "If @vocab is defined, term definitions are expanded relative to @vocab", "input": "expand-0052-in.jsonld", "expect": "expand-0052-out.jsonld" }, { "@id": "#t0053", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expand absolute IRI with @type: @vocab", "purpose": "Expanding values of properties of @type: @vocab does not further expand absolute IRIs", "input": "expand-0053-in.jsonld", "expect": "expand-0053-out.jsonld" }, { "@id": "#t0054", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expand term with @type: @vocab", "purpose": "Expanding values of properties of @type: @vocab does not expand term values", "input": "expand-0054-in.jsonld", "expect": "expand-0054-out.jsonld" }, { "@id": "#t0055", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expand @vocab-relative term with @type: @vocab", "purpose": "Expanding values of properties of @type: @vocab expands relative IRIs using @vocab", "input": "expand-0055-in.jsonld", "expect": "expand-0055-out.jsonld" }, { "@id": "#t0056", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Use terms with @type: @vocab but not with @type: @id", "purpose": "Checks that expansion uses appropriate base depending on term definition having @type @id or @vocab", "input": "expand-0056-in.jsonld", "expect": "expand-0056-out.jsonld" }, { "@id": "#t0057", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expand relative IRI with @type: @vocab", "purpose": "Relative values of terms with @type: @vocab expand relative to @vocab", "input": "expand-0057-in.jsonld", "expect": "expand-0057-out.jsonld" }, { "@id": "#t0058", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expand compact IRI with @type: @vocab", "purpose": "Compact IRIs are expanded normally even if term has @type: @vocab", "input": "expand-0058-in.jsonld", "expect": "expand-0058-out.jsonld" }, { "@id": "#t0059", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Reset @vocab by setting it to null", "purpose": "Setting @vocab to null removes a previous definition", "input": "expand-0059-in.jsonld", "expect": "expand-0059-out.jsonld" }, { "@id": "#t0060", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Overwrite document base with @base and reset it again", "purpose": "Setting @base to an IRI and then resetting it to nil", "input": "expand-0060-in.jsonld", "expect": "expand-0060-out.jsonld" }, { "@id": "#t0061", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Coercing native types to arbitrary datatypes", "purpose": "Expanding native types when coercing to arbitrary datatypes", "input": "expand-0061-in.jsonld", "expect": "expand-0061-out.jsonld" }, { "@id": "#t0062", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Various relative IRIs with with @base", "purpose": "Pathological relative IRIs", "input": "expand-0062-in.jsonld", "expect": "expand-0062-out.jsonld" }, { "@id": "#t0063", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Reverse property and index container", "purpose": "Expaning reverse properties with an index-container", "input": "expand-0063-in.jsonld", "expect": "expand-0063-out.jsonld" }, { "@id": "#t0064", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "bnode values of reverse properties", "purpose": "Expand reverse property whose values are unlabeled blank nodes", "input": "expand-0064-in.jsonld", "expect": "expand-0064-out.jsonld" }, { "@id": "#t0065", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Drop unmapped keys in reverse map", "purpose": "Keys that are not mapped to an IRI in a reverse-map are dropped", "input": "expand-0065-in.jsonld", "expect": "expand-0065-out.jsonld" }, { "@id": "#t0066", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Reverse-map keys with @vocab", "purpose": "Expand uses @vocab to expand keys in reverse-maps", "input": "expand-0066-in.jsonld", "expect": "expand-0066-out.jsonld" }, { "@id": "#t0067", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "prefix://suffix not a compact IRI", "purpose": "prefix:suffix values are not interpreted as compact IRIs if suffix begins with two slashes", "input": "expand-0067-in.jsonld", "expect": "expand-0067-out.jsonld" }, { "@id": "#t0068", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "_:suffix values are not a compact IRI", "purpose": "prefix:suffix values are not interpreted as compact IRIs if prefix is an underscore", "input": "expand-0068-in.jsonld", "expect": "expand-0068-out.jsonld" }, { "@id": "#t0069", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Compact IRI as term with type mapping", "purpose": "Redefine compact IRI to define type mapping using the compact IRI itself as value of @id", "input": "expand-0069-in.jsonld", "expect": "expand-0069-out.jsonld" }, { "@id": "#t0070", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Compact IRI as term defined using equivalent compact IRI", "purpose": "Redefine compact IRI to define type mapping using the compact IRI itself as string value", "input": "expand-0070-in.jsonld", "expect": "expand-0070-out.jsonld" }, { "@id": "#t0071", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Redefine terms looking like compact IRIs", "purpose": "Term definitions may look like compact IRIs", "input": "expand-0071-in.jsonld", "expect": "expand-0071-out.jsonld" }, { "@id": "#t0072", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Redefine term using @vocab, not itself", "purpose": "Redefining a term as itself when @vocab is defined uses @vocab, not previous term definition", "input": "expand-0072-in.jsonld", "expect": "expand-0072-out.jsonld" }, { "@id": "#t0073", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@context not first property", "purpose": "Objects are unordered, so serialized node definition containing @context may have @context at the end of the node definition", "input": "expand-0073-in.jsonld", "expect": "expand-0073-out.jsonld" }, { "@id": "#t0074", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@id not first property", "purpose": "Objects are unordered, so serialized node definition containing @id may have @id at the end of the node definition", "input": "expand-0074-in.jsonld", "expect": "expand-0074-out.jsonld" }, { "@id": "#t0075", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@vocab as blank node identifier", "purpose": "Use @vocab to map all properties to blank node identifiers", "input": "expand-0075-in.jsonld", "expect": "expand-0075-out.jsonld" }, { "@id": "#t0076", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "base option overrides document location", "purpose": "Use of the base option overrides the document location", "option": { "base": "http://example/base/" }, "input": "expand-0076-in.jsonld", "expect": "expand-0076-out.jsonld" }, { "@id": "#t0077", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "expandContext option", "purpose": "Use of the expandContext option to expand the input document", "option": { "expandContext": "expand-0077-context.jsonld" }, "input": "expand-0077-in.jsonld", "expect": "expand-0077-out.jsonld" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0001-in.jsonld000066400000000000000000000000521452212752100265050ustar00rootroot00000000000000{"@id": "http://example.org/test#example"}jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0001-out.jsonld000066400000000000000000000000041452212752100267030ustar00rootroot00000000000000[ ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0002-in.jsonld000066400000000000000000000007561452212752100265210ustar00rootroot00000000000000{ "@context": { "t1": "http://example.com/t1", "t2": "http://example.com/t2", "term1": "http://example.com/term1", "term2": "http://example.com/term2", "term3": "http://example.com/term3", "term4": "http://example.com/term4", "term5": "http://example.com/term5" }, "@id": "http://example.com/id1", "@type": "t1", "term1": "v1", "term2": {"@value": "v2", "@type": "t2"}, "term3": {"@value": "v3", "@language": "en"}, "term4": 4, "term5": [50, 51] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0002-out.jsonld000066400000000000000000000014401452212752100267110ustar00rootroot00000000000000[ { "@id": "http://example.com/id1", "@type": [ "http://example.com/t1" ], "http://example.com/term1": [ { "@value": "v1" } ], "http://example.com/term2": [ { "@type": "http://example.com/t2", "@value": "v2" } ], "http://example.com/term3": [ { "@language": "en", "@value": "v3" } ], "http://example.com/term4": [ { "@value": 4 } ], "http://example.com/term5": [ { "@value": 50 }, { "@value": 51 } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0003-in.jsonld000066400000000000000000000003051452212752100265100ustar00rootroot00000000000000{ "@id": "http://example.org/id", "http://example.org/property": null, "regularJson": { "nonJsonLd": "property", "deep": [{ "foo": "bar" }, { "bar": "foo" }] } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0003-out.jsonld000066400000000000000000000000041452212752100267050ustar00rootroot00000000000000[ ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0004-in.jsonld000066400000000000000000000015251452212752100265160ustar00rootroot00000000000000{ "@context": { "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, "myset2": {"@id": "http://example.com/myset2", "@container": "@set"}, "myset3": {"@id": "http://example.com/myset3", "@container": "@set"} }, "@id": "http://example.org/id", "mylist1": { "@list": [ ] }, "mylist2": "one item", "myset2": { "@set": [ ] }, "myset3": [ "v1" ], "http://example.org/list1": { "@list": [ null ] }, "http://example.org/list2": { "@list": [ {"@value": null} ] }, "http://example.org/set1": { "@set": [ ] }, "http://example.org/set1": { "@set": [ null ] }, "http://example.org/set3": [ ], "http://example.org/set4": [ null ], "http://example.org/set5": "one item", "http://example.org/property": { "@list": "one item" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0004-out.jsonld000066400000000000000000000023701452212752100267160ustar00rootroot00000000000000[ { "@id": "http://example.org/id", "http://example.com/mylist1": [ { "@list": [ ] } ], "http://example.com/mylist2": [ { "@list": [ { "@value": "one item" } ] } ], "http://example.com/myset2": [ ], "http://example.com/myset3": [ { "@value": "v1" } ], "http://example.org/list1": [ { "@list": [ ] } ], "http://example.org/list2": [ { "@list": [ ] } ], "http://example.org/property": [ { "@list": [ { "@value": "one item" } ] } ], "http://example.org/set1": [ ], "http://example.org/set3": [ ], "http://example.org/set4": [ ], "http://example.org/set5": [ { "@value": "one item" } ] } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0005-in.jsonld000066400000000000000000000007671452212752100265260ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "homepage": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id" }, "know": "http://xmlns.com/foaf/0.1/knows", "@iri": "@id" }, "@id": "#me", "know": [ { "@id": "http://example.com/bob#me", "name": "Bob", "homepage": "http://example.com/bob" }, { "@id": "http://example.com/alice#me", "name": "Alice", "homepage": "http://example.com/alice" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0005-out.jsonld000066400000000000000000000016421452212752100267200ustar00rootroot00000000000000[ { "@id": "http://example.com/alice#me", "http://xmlns.com/foaf/0.1/homepage": [ { "@id": "http://example.com/alice" } ], "http://xmlns.com/foaf/0.1/name": [ { "@value": "Alice" } ] }, { "@id": "http://example.com/bob#me", "http://xmlns.com/foaf/0.1/homepage": [ { "@id": "http://example.com/bob" } ], "http://xmlns.com/foaf/0.1/name": [ { "@value": "Bob" } ] }, { "@id": "http://json-ld.org/test-suite/tests/flatten-0005-in.jsonld#me", "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/bob#me" }, { "@id": "http://example.com/alice#me" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0006-in.jsonld000066400000000000000000000010271452212752100265150ustar00rootroot00000000000000{ "@context": { "http://example.org/test#property1": { "@type": "@id" }, "http://example.org/test#property2": { "@type": "@id" }, "uri": "@id" }, "http://example.org/test#property1": { "http://example.org/test#property4": "foo", "uri": "http://example.org/test#example2" }, "http://example.org/test#property2": "http://example.org/test#example3", "http://example.org/test#property3": { "uri": "http://example.org/test#example4" }, "uri": "http://example.org/test#example1" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0006-out.jsonld000066400000000000000000000012471452212752100267220ustar00rootroot00000000000000[ { "@id": "http://example.org/test#example1", "http://example.org/test#property1": [ { "@id": "http://example.org/test#example2" } ], "http://example.org/test#property2": [ { "@id": "http://example.org/test#example3" } ], "http://example.org/test#property3": [ { "@id": "http://example.org/test#example4" } ] }, { "@id": "http://example.org/test#example2", "http://example.org/test#property4": [ { "@value": "foo" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0007-in.jsonld000066400000000000000000000006341452212752100265210ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:date": { "@type": "xsd:dateTime" }, "ex:parent": { "@type": "@id" }, "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@id": "http://example.org/test#example1", "ex:date": "2011-01-25T00:00:00Z", "ex:embed": { "@id": "http://example.org/test#example2", "ex:parent": "http://example.org/test#example1" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0007-out.jsonld000066400000000000000000000011451452212752100267200ustar00rootroot00000000000000[ { "@id": "http://example.org/test#example1", "http://example.org/vocab#date": [ { "@value": "2011-01-25T00:00:00Z", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://example.org/vocab#embed": [ { "@id": "http://example.org/test#example2" } ] }, { "@id": "http://example.org/test#example2", "http://example.org/vocab#parent": [ { "@id": "http://example.org/test#example1" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0008-in.jsonld000066400000000000000000000003731452212752100265220ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" }, "@id": "http://example.org/test", "ex:test": { "@value": "test", "@language": "en" }, "ex:drop-lang-only": { "@language": "en" }, "ex:keep-full-value": { "@value": "only value" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0008-out.jsonld000066400000000000000000000005221452212752100267170ustar00rootroot00000000000000[ { "@id": "http://example.org/test", "http://example.org/vocab#keep-full-value": [ { "@value": "only value" } ], "http://example.org/vocab#test": [ { "@language": "en", "@value": "test" } ] } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0009-in.jsonld000066400000000000000000000020511452212752100265160ustar00rootroot00000000000000{ "@context": { "authored": { "@id": "http://example.org/vocab#authored", "@type": "@id" }, "contains": { "@id": "http://example.org/vocab#contains", "@type": "@id" }, "contributor": "http://purl.org/dc/elements/1.1/contributor", "description": "http://purl.org/dc/elements/1.1/description", "name": "http://xmlns.com/foaf/0.1/name", "title": { "@id": "http://purl.org/dc/elements/1.1/title" } }, "@graph": [ { "@id": "http://example.org/test#chapter", "description": "Fun", "title": "Chapter One" }, { "@id": "http://example.org/test#jane", "authored": "http://example.org/test#chapter", "name": "Jane" }, { "@id": "http://example.org/test#john", "name": "John" }, { "@id": "http://example.org/test#library", "contains": { "@id": "http://example.org/test#book", "contains": "http://example.org/test#chapter", "contributor": "Writer", "title": "My Book" } } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0009-out.jsonld000066400000000000000000000027041452212752100267240ustar00rootroot00000000000000[ { "@id": "http://example.org/test#book", "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#chapter" } ], "http://purl.org/dc/elements/1.1/contributor": [ { "@value": "Writer" } ], "http://purl.org/dc/elements/1.1/title": [ { "@value": "My Book" } ] }, { "@id": "http://example.org/test#chapter", "http://purl.org/dc/elements/1.1/description": [ { "@value": "Fun" } ], "http://purl.org/dc/elements/1.1/title": [ { "@value": "Chapter One" } ] }, { "@id": "http://example.org/test#jane", "http://example.org/vocab#authored": [ { "@id": "http://example.org/test#chapter" } ], "http://xmlns.com/foaf/0.1/name": [ { "@value": "Jane" } ] }, { "@id": "http://example.org/test#john", "http://xmlns.com/foaf/0.1/name": [ { "@value": "John" } ] }, { "@id": "http://example.org/test#library", "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#book" } ] } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0010-in.jsonld000066400000000000000000000004061452212752100265100ustar00rootroot00000000000000{ "@context": { "d": "http://purl.org/dc/elements/1.1/", "e": "http://example.org/vocab#", "f": "http://xmlns.com/foaf/0.1/", "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@id": "http://example.org/test", "e:bool": true, "e:int": 123 }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0010-out.jsonld000066400000000000000000000004301452212752100267060ustar00rootroot00000000000000[ { "@id": "http://example.org/test", "http://example.org/vocab#bool": [ { "@value": true } ], "http://example.org/vocab#int": [ { "@value": 123 } ] } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0011-in.jsonld000066400000000000000000000005001452212752100265040ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": { "@type": "@id" }, "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@id": "http://example.org/test#book", "dc:title": "Title", "ex:contains": "http://example.org/test#chapter" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0011-out.jsonld000066400000000000000000000005111452212752100267070ustar00rootroot00000000000000[ { "@id": "http://example.org/test#book", "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#chapter" } ], "http://purl.org/dc/elements/1.1/title": [ { "@value": "Title" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0012-in.jsonld000066400000000000000000000016341452212752100265160ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:authored": { "@type": "@id" }, "ex:contains": { "@type": "@id" }, "foaf": "http://xmlns.com/foaf/0.1/", "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@graph": [ { "@id": "http://example.org/test#chapter", "dc:description": "Fun", "dc:title": "Chapter One" }, { "@id": "http://example.org/test#jane", "ex:authored": "http://example.org/test#chapter", "foaf:name": "Jane" }, { "@id": "http://example.org/test#john", "foaf:name": "John" }, { "@id": "http://example.org/test#library", "ex:contains": { "@id": "http://example.org/test#book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": "http://example.org/test#chapter" } } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0012-out.jsonld000066400000000000000000000027041452212752100267160ustar00rootroot00000000000000[ { "@id": "http://example.org/test#book", "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#chapter" } ], "http://purl.org/dc/elements/1.1/contributor": [ { "@value": "Writer" } ], "http://purl.org/dc/elements/1.1/title": [ { "@value": "My Book" } ] }, { "@id": "http://example.org/test#chapter", "http://purl.org/dc/elements/1.1/description": [ { "@value": "Fun" } ], "http://purl.org/dc/elements/1.1/title": [ { "@value": "Chapter One" } ] }, { "@id": "http://example.org/test#jane", "http://example.org/vocab#authored": [ { "@id": "http://example.org/test#chapter" } ], "http://xmlns.com/foaf/0.1/name": [ { "@value": "Jane" } ] }, { "@id": "http://example.org/test#john", "http://xmlns.com/foaf/0.1/name": [ { "@value": "John" } ] }, { "@id": "http://example.org/test#library", "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#book" } ] } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0013-in.jsonld000066400000000000000000000005271452212752100265170ustar00rootroot00000000000000[{ "@id": "http://example.com/id1", "@type": ["http://example.com/t1"], "http://example.com/term1": ["v1"], "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], "http://example.com/term3": [{"@value": "v3", "@language": "en"}], "http://example.com/term4": [4], "http://example.com/term5": [50, 51] }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0013-out.jsonld000066400000000000000000000014401452212752100267130ustar00rootroot00000000000000[ { "@id": "http://example.com/id1", "@type": [ "http://example.com/t1" ], "http://example.com/term1": [ { "@value": "v1" } ], "http://example.com/term2": [ { "@type": "http://example.com/t2", "@value": "v2" } ], "http://example.com/term3": [ { "@language": "en", "@value": "v3" } ], "http://example.com/term4": [ { "@value": 4 } ], "http://example.com/term5": [ { "@value": 50 }, { "@value": 51 } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0014-in.jsonld000066400000000000000000000017431452212752100265210ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/test#", "property1": { "@id": "http://example.org/test#property1", "@type": "@id" }, "property2": { "@id": "ex:property2", "@type": "@id" }, "uri": "@id", "set": "@set", "value": "@value", "type": "@type", "xsd": { "@id": "http://www.w3.org/2001/XMLSchema#" } }, "property1": { "uri": "ex:example2", "http://example.org/test#property4": "foo" }, "property2": "http://example.org/test#example3", "http://example.org/test#property3": { "uri": "http://example.org/test#example4" }, "ex:property4": { "uri": "ex:example4", "ex:property5": [ { "set": [ { "value": "2012-03-31", "type": "xsd:date" } ] } ] }, "ex:property6": [ { "set": [ { "value": null, "type": "xsd:date" } ] } ], "uri": "http://example.org/test#example1" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0014-out.jsonld000066400000000000000000000021601452212752100267140ustar00rootroot00000000000000[ { "@id": "http://example.org/test#example1", "http://example.org/test#property1": [ { "@id": "http://example.org/test#example2" } ], "http://example.org/test#property2": [ { "@id": "http://example.org/test#example3" } ], "http://example.org/test#property3": [ { "@id": "http://example.org/test#example4" } ], "http://example.org/test#property4": [ { "@id": "http://example.org/test#example4" } ], "http://example.org/test#property6": [ ] }, { "@id": "http://example.org/test#example2", "http://example.org/test#property4": [ { "@value": "foo" } ] }, { "@id": "http://example.org/test#example4", "http://example.org/test#property5": [ { "@type": "http://www.w3.org/2001/XMLSchema#date", "@value": "2012-03-31" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0015-in.jsonld000066400000000000000000000012011452212752100265070ustar00rootroot00000000000000{ "@context": { "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, "myset1": {"@id": "http://example.com/myset1", "@container": "@set" }, "myset2": {"@id": "http://example.com/myset2", "@container": "@set" }, "myset3": {"@id": "http://example.com/myset3", "@container": "@set" } }, "@id": "http://example.org/id", "mylist1": [], "myset1": { "@set": [] }, "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], "myset3": [ { "@set": [ "hello", "this" ] }, "will", { "@set": [ "be", "collapsed" ] } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0015-out.jsonld000066400000000000000000000012041452212752100267130ustar00rootroot00000000000000[ { "@id": "http://example.org/id", "http://example.com/mylist1": [ { "@list": [ ] } ], "http://example.com/myset1": [ ], "http://example.com/myset2": [ ], "http://example.com/myset3": [ { "@value": "hello" }, { "@value": "this" }, { "@value": "will" }, { "@value": "be" }, { "@value": "collapsed" } ] } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0016-in.jsonld000066400000000000000000000020231452212752100265130ustar00rootroot00000000000000{ "@context": { "myproperty": { "@id": "http://example.com/myproperty" }, "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, "myset1": {"@id": "http://example.com/myset1", "@container": "@set" }, "myset2": {"@id": "http://example.com/myset2", "@container": "@set" } }, "@id": "http://example.org/id1", "mylist1": [], "mylist2": [ 2, "hi" ], "myset1": { "@set": [] }, "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], "myproperty": { "@context": null, "@id": "http://example.org/id2", "mylist1": [], "mylist2": [ 2, "hi" ], "myset1": { "@set": [] }, "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], "http://example.org/myproperty2": "ok" }, "http://example.com/emptyobj": { "@context": null, "mylist1": [], "mylist2": [ 2, "hi" ], "myset1": { "@set": [] }, "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0016-out.jsonld000066400000000000000000000017221452212752100267210ustar00rootroot00000000000000[ { "@id": "http://example.org/id1", "http://example.com/emptyobj": [ { "@id": "_:b0" } ], "http://example.com/mylist1": [ { "@list": [ ] } ], "http://example.com/mylist2": [ { "@list": [ { "@value": 2 }, { "@value": "hi" } ] } ], "http://example.com/myproperty": [ { "@id": "http://example.org/id2" } ], "http://example.com/myset1": [ ], "http://example.com/myset2": [ ] }, { "@id": "http://example.org/id2", "http://example.org/myproperty2": [ { "@value": "ok" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0017-in.jsonld000066400000000000000000000021141452212752100265150ustar00rootroot00000000000000{ "@context": { "authored": { "@id": "http://example.org/vocab#authored", "@type": "@id" }, "contains": { "@id": "http://example.org/vocab#contains", "@type": "@id" }, "contributor": "http://purl.org/dc/elements/1.1/contributor", "description": "http://purl.org/dc/elements/1.1/description", "name": "http://xmlns.com/foaf/0.1/name", "title": { "@id": "http://purl.org/dc/elements/1.1/title" }, "id": "@id", "data": "@graph" }, "data": [ { "id": "http://example.org/test#chapter", "description": "Fun", "title": "Chapter One" }, { "@id": "http://example.org/test#jane", "authored": "http://example.org/test#chapter", "name": "Jane" }, { "id": "http://example.org/test#john", "name": "John" }, { "id": "http://example.org/test#library", "contains": { "@id": "http://example.org/test#book", "contains": "http://example.org/test#chapter", "contributor": "Writer", "title": "My Book" } } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0017-out.jsonld000066400000000000000000000027041452212752100267230ustar00rootroot00000000000000[ { "@id": "http://example.org/test#book", "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#chapter" } ], "http://purl.org/dc/elements/1.1/contributor": [ { "@value": "Writer" } ], "http://purl.org/dc/elements/1.1/title": [ { "@value": "My Book" } ] }, { "@id": "http://example.org/test#chapter", "http://purl.org/dc/elements/1.1/description": [ { "@value": "Fun" } ], "http://purl.org/dc/elements/1.1/title": [ { "@value": "Chapter One" } ] }, { "@id": "http://example.org/test#jane", "http://example.org/vocab#authored": [ { "@id": "http://example.org/test#chapter" } ], "http://xmlns.com/foaf/0.1/name": [ { "@value": "Jane" } ] }, { "@id": "http://example.org/test#john", "http://xmlns.com/foaf/0.1/name": [ { "@value": "John" } ] }, { "@id": "http://example.org/test#library", "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#book" } ] } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0018-in.jsonld000066400000000000000000000006031452212752100265170ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "@language": "en", "de": { "@id": "ex:german", "@language": "de" }, "nolang": { "@id": "ex:nolang", "@language": null } }, "@id": "http://example.org/test", "ex:test-default": [ "hello", 1, true ], "de": [ "hallo", 2, true ], "nolang": [ "no language", 3, false ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0018-out.jsonld000066400000000000000000000015141452212752100267220ustar00rootroot00000000000000[ { "@id": "http://example.org/test", "http://example.org/vocab#german": [ { "@value": "hallo", "@language": "de" }, { "@value": 2 }, { "@value": true } ], "http://example.org/vocab#nolang": [ { "@value": "no language" }, { "@value": 3 }, { "@value": false } ], "http://example.org/vocab#test-default": [ { "@value": "hello", "@language": "en" }, { "@value": 1 }, { "@value": true } ] } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0019-in.jsonld000066400000000000000000000001571452212752100265240ustar00rootroot00000000000000{ "@context": { "myproperty": "http://example.com/myproperty" }, "myproperty": { "@value" : null } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0019-out.jsonld000066400000000000000000000000041452212752100267140ustar00rootroot00000000000000[ ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0020-in.jsonld000066400000000000000000000023501452212752100265110ustar00rootroot00000000000000{ "@context": { "authored": { "@id": "http://example.org/vocab#authored", "@type": "@id" }, "contains": { "@id": "http://example.org/vocab#contains", "@type": "@id" }, "contributor": "http://purl.org/dc/elements/1.1/contributor", "description": "http://purl.org/dc/elements/1.1/description", "name": "http://xmlns.com/foaf/0.1/name", "title": { "@id": "http://purl.org/dc/elements/1.1/title" } }, "@graph": [ { "@id": "http://example.org/test#jane", "name": "Jane", "authored": { "@graph": [ { "@id": "http://example.org/test#chapter1", "description": "Fun", "title": "Chapter One" }, { "@id": "http://example.org/test#chapter2", "description": "More fun", "title": "Chapter Two" } ] } }, { "@id": "http://example.org/test#john", "name": "John" }, { "@id": "http://example.org/test#library", "contains": { "@id": "http://example.org/test#book", "contains": "http://example.org/test#chapter", "contributor": "Writer", "title": "My Book" } } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0020-out.jsonld000066400000000000000000000040021452212752100267060ustar00rootroot00000000000000[ { "@id": "_:b0", "@graph": [ { "@id": "http://example.org/test#chapter1", "http://purl.org/dc/elements/1.1/description": [ { "@value": "Fun" } ], "http://purl.org/dc/elements/1.1/title": [ { "@value": "Chapter One" } ] }, { "@id": "http://example.org/test#chapter2", "http://purl.org/dc/elements/1.1/description": [ { "@value": "More fun" } ], "http://purl.org/dc/elements/1.1/title": [ { "@value": "Chapter Two" } ] } ] }, { "@id": "http://example.org/test#book", "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#chapter" } ], "http://purl.org/dc/elements/1.1/contributor": [ { "@value": "Writer" } ], "http://purl.org/dc/elements/1.1/title": [ { "@value": "My Book" } ] }, { "@id": "http://example.org/test#jane", "http://example.org/vocab#authored": [ { "@id": "_:b0" } ], "http://xmlns.com/foaf/0.1/name": [ { "@value": "Jane" } ] }, { "@id": "http://example.org/test#john", "http://xmlns.com/foaf/0.1/name": [ { "@value": "John" } ] }, { "@id": "http://example.org/test#library", "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#book" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0021-in.jsonld000066400000000000000000000025721452212752100265200ustar00rootroot00000000000000{ "@context": { "authored": { "@id": "http://example.org/vocab#authored", "@type": "@id" }, "contains": { "@id": "http://example.org/vocab#contains", "@type": "@id" }, "contributor": "http://purl.org/dc/elements/1.1/contributor", "description": "http://purl.org/dc/elements/1.1/description", "name": "http://xmlns.com/foaf/0.1/name", "title": { "@id": "http://purl.org/dc/elements/1.1/title" } }, "title": "My first graph", "@graph": [ { "@id": "http://example.org/test#jane", "name": "Jane", "authored": { "@graph": [ { "@id": "http://example.org/test#chapter1", "description": "Fun", "title": "Chapter One" }, { "@id": "http://example.org/test#chapter2", "description": "More fun", "title": "Chapter Two" }, { "@id": "http://example.org/test#chapter3", "title": "Chapter Three" } ] } }, { "@id": "http://example.org/test#john", "name": "John" }, { "@id": "http://example.org/test#library", "contains": { "@id": "http://example.org/test#book", "contains": "http://example.org/test#chapter", "contributor": "Writer", "title": "My Book" } } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0021-out.jsonld000066400000000000000000000055031452212752100267160ustar00rootroot00000000000000[ { "@id": "_:b0", "http://purl.org/dc/elements/1.1/title": [ { "@value": "My first graph" } ], "@graph": [ { "@id": "http://example.org/test#book", "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#chapter" } ], "http://purl.org/dc/elements/1.1/contributor": [ { "@value": "Writer" } ], "http://purl.org/dc/elements/1.1/title": [ { "@value": "My Book" } ] }, { "@id": "http://example.org/test#jane", "http://example.org/vocab#authored": [ { "@id": "_:b1" } ], "http://xmlns.com/foaf/0.1/name": [ { "@value": "Jane" } ] }, { "@id": "http://example.org/test#john", "http://xmlns.com/foaf/0.1/name": [ { "@value": "John" } ] }, { "@id": "http://example.org/test#library", "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#book" } ] } ] }, { "@id": "_:b1", "@graph": [ { "@id": "http://example.org/test#chapter1", "http://purl.org/dc/elements/1.1/description": [ { "@value": "Fun" } ], "http://purl.org/dc/elements/1.1/title": [ { "@value": "Chapter One" } ] }, { "@id": "http://example.org/test#chapter2", "http://purl.org/dc/elements/1.1/description": [ { "@value": "More fun" } ], "http://purl.org/dc/elements/1.1/title": [ { "@value": "Chapter Two" } ] }, { "@id": "http://example.org/test#chapter3", "http://purl.org/dc/elements/1.1/title": [ { "@value": "Chapter Three" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0022-in.jsonld000066400000000000000000000001431452212752100265110ustar00rootroot00000000000000{ "@context": { "term": "http://example.com/term", "@language": "en" }, "term": "v" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0022-out.jsonld000066400000000000000000000002631452212752100267150ustar00rootroot00000000000000[ { "@id": "_:b0", "http://example.com/term": [ { "@value": "v", "@language": "en" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0023-in.jsonld000066400000000000000000000020471452212752100265170ustar00rootroot00000000000000{ "@context": { "xsd": "http://www.w3.org/2001/XMLSchema#", "idlist": {"@id": "http://example.com/idlist", "@container": "@list", "@type": "@id"}, "datelist": {"@id": "http://example.com/datelist", "@container": "@list", "@type": "xsd:date"}, "idset": {"@id": "http://example.com/idset", "@container": "@set", "@type": "@id"}, "dateset": {"@id": "http://example.com/dateset", "@container": "@set", "@type": "xsd:date"}, "idprop": {"@id": "http://example.com/idprop", "@type": "@id" }, "dateprop": {"@id": "http://example.com/dateprop", "@type": "xsd:date" }, "idprop2": {"@id": "http://example.com/idprop2", "@type": "@id" }, "dateprop2": {"@id": "http://example.com/dateprop2", "@type": "xsd:date" } }, "idlist": ["http://example.org/id"], "datelist": ["2012-04-12"], "idprop": {"@list": ["http://example.org/id"]}, "dateprop": {"@list": ["2012-04-12"]}, "idset": ["http://example.org/id"], "dateset": ["2012-04-12"], "idprop2": {"@set": ["http://example.org/id"]}, "dateprop2": {"@set": ["2012-04-12"]} } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0023-out.jsonld000066400000000000000000000032221452212752100267140ustar00rootroot00000000000000[ { "@id": "_:b0", "http://example.com/datelist": [ { "@list": [ { "@value": "2012-04-12", "@type": "http://www.w3.org/2001/XMLSchema#date" } ] } ], "http://example.com/dateprop": [ { "@list": [ { "@value": "2012-04-12", "@type": "http://www.w3.org/2001/XMLSchema#date" } ] } ], "http://example.com/dateprop2": [ { "@value": "2012-04-12", "@type": "http://www.w3.org/2001/XMLSchema#date" } ], "http://example.com/dateset": [ { "@value": "2012-04-12", "@type": "http://www.w3.org/2001/XMLSchema#date" } ], "http://example.com/idlist": [ { "@list": [ { "@id": "http://example.org/id" } ] } ], "http://example.com/idprop": [ { "@list": [ { "@id": "http://example.org/id" } ] } ], "http://example.com/idprop2": [ { "@id": "http://example.org/id" } ], "http://example.com/idset": [ { "@id": "http://example.org/id" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0024-in.jsonld000066400000000000000000000006311452212752100265150ustar00rootroot00000000000000{ "@context": [ { "name": "http://xmlns.com/foaf/0.1/name", "homepage": {"@id": "http://xmlns.com/foaf/0.1/homepage","@type": "@id"} }, {"ical": "http://www.w3.org/2002/12/cal/ical#"} ], "@id": "http://example.com/speakers#Alice", "name": "Alice", "homepage": "http://xkcd.com/177/", "ical:summary": "Alice Talk", "ical:location": "Lyon Convention Centre, Lyon, France" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0024-out.jsonld000066400000000000000000000011441452212752100267160ustar00rootroot00000000000000[ { "@id": "http://example.com/speakers#Alice", "http://www.w3.org/2002/12/cal/ical#location": [ { "@value": "Lyon Convention Centre, Lyon, France" } ], "http://www.w3.org/2002/12/cal/ical#summary": [ { "@value": "Alice Talk" } ], "http://xmlns.com/foaf/0.1/homepage": [ { "@id": "http://xkcd.com/177/" } ], "http://xmlns.com/foaf/0.1/name": [ { "@value": "Alice" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0025-in.jsonld000066400000000000000000000003441452212752100265170ustar00rootroot00000000000000{ "@context": { "foo": "http://example.com/foo/", "foo:bar": "http://example.com/bar", "bar": {"@id": "foo:bar", "@type": "@id"}, "_": "http://example.com/underscore/" }, "@type": ["foo", "foo:bar", "_"] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0025-out.jsonld000066400000000000000000000002761452212752100267240ustar00rootroot00000000000000[ { "@id": "_:b0", "@type": [ "http://example.com/foo/", "http://example.com/bar", "http://example.com/underscore/" ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0026-in.jsonld000066400000000000000000000010621452212752100265160ustar00rootroot00000000000000{ "@context": { "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": {"@id": "@type", "@type": "@id"} }, "@graph": [ { "@id": "http://example.com/a", "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/b" }, { "@id": "http://example.com/c", "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ "http://example.com/d", "http://example.com/e" ] }, { "@id": "http://example.com/f", "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/g" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0026-out.jsonld000066400000000000000000000006031452212752100267170ustar00rootroot00000000000000[ { "@id": "http://example.com/a", "@type": [ "http://example.com/b" ] }, { "@id": "http://example.com/c", "@type": [ "http://example.com/d", "http://example.com/e" ] }, { "@id": "http://example.com/f", "@type": [ "http://example.com/g" ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0027-in.jsonld000066400000000000000000000003771452212752100265270ustar00rootroot00000000000000{ "@context": { "mylist": {"@id": "http://example.com/mylist", "@container": "@list"}, "myset": {"@id": "http://example.com/myset", "@container": "@set"} }, "@id": "http://example.org/id", "mylist": [1, 2, 2, 3], "myset": [1, 2, 2, 3] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0027-out.jsonld000066400000000000000000000013171452212752100267230ustar00rootroot00000000000000[ { "@id": "http://example.org/id", "http://example.com/mylist": [ { "@list": [ { "@value": 1 }, { "@value": 2 }, { "@value": 2 }, { "@value": 3 } ] } ], "http://example.com/myset": [ { "@value": 1 }, { "@value": 2 }, { "@value": 3 } ] } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0028-in.jsonld000066400000000000000000000004501452212752100265200ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.org/vocab#", "date": { "@type": "dateTime" } }, "@id": "example1", "@type": "test", "date": "2011-01-25T00:00:00Z", "embed": { "@id": "example2", "expandedDate": { "@value": "2012-08-01T00:00:00Z", "@type": "dateTime" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0028-out.jsonld000066400000000000000000000014061452212752100267230ustar00rootroot00000000000000[ { "@id": "http://json-ld.org/test-suite/tests/example1", "@type": [ "http://example.org/vocab#test" ], "http://example.org/vocab#date": [ { "@value": "2011-01-25T00:00:00Z", "@type": "http://example.org/vocab#dateTime" } ], "http://example.org/vocab#embed": [ { "@id": "http://json-ld.org/test-suite/tests/example2" } ] }, { "@id": "http://json-ld.org/test-suite/tests/example2", "http://example.org/vocab#expandedDate": [ { "@type": "http://example.org/vocab#dateTime", "@value": "2012-08-01T00:00:00Z" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0029-in.jsonld000066400000000000000000000012731452212752100265250ustar00rootroot00000000000000{ "@context": { "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } }, "@id": "relativeIris", "@type": [ "link", "#fragment-works", "?query=works", "./", "../", "../parent", "../../parent-parent-eq-root", "../../../../../still-root", "../.././.././../../too-many-dots", "/absolute", "//example.org/scheme-relative" ], "links": [ "link", "#fragment-works", "?query=works", "./", "../", "../parent", "../../parent-parent-eq-root", "./../../../useless/../../../still-root", "../.././.././../../too-many-dots", "/absolute", "//example.org/scheme-relative" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0029-out.jsonld000066400000000000000000000041761452212752100267330ustar00rootroot00000000000000[ { "@id": "http://json-ld.org/test-suite/tests/relativeIris", "@type": [ "http://json-ld.org/test-suite/tests/link", "http://json-ld.org/test-suite/tests/flatten-0029-in.jsonld#fragment-works", "http://json-ld.org/test-suite/tests/flatten-0029-in.jsonld?query=works", "http://json-ld.org/test-suite/tests/", "http://json-ld.org/test-suite/", "http://json-ld.org/test-suite/parent", "http://json-ld.org/parent-parent-eq-root", "http://json-ld.org/still-root", "http://json-ld.org/too-many-dots", "http://json-ld.org/absolute", "http://example.org/scheme-relative" ], "http://www.example.com/link": [ { "@list": [ { "@id": "http://json-ld.org/test-suite/tests/link" }, { "@id": "http://json-ld.org/test-suite/tests/flatten-0029-in.jsonld#fragment-works" }, { "@id": "http://json-ld.org/test-suite/tests/flatten-0029-in.jsonld?query=works" }, { "@id": "http://json-ld.org/test-suite/tests/" }, { "@id": "http://json-ld.org/test-suite/" }, { "@id": "http://json-ld.org/test-suite/parent" }, { "@id": "http://json-ld.org/parent-parent-eq-root" }, { "@id": "http://json-ld.org/still-root" }, { "@id": "http://json-ld.org/too-many-dots" }, { "@id": "http://json-ld.org/absolute" }, { "@id": "http://example.org/scheme-relative" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0030-in.jsonld000066400000000000000000000004201452212752100265060ustar00rootroot00000000000000{ "@context": { "vocab": "http://example.com/vocab/", "label": { "@id": "vocab:label", "@container": "@language" } }, "@id": "http://example.com/queen", "label": { "en": "The Queen", "de": [ "Die Königin", "Ihre Majestät" ] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0030-out.jsonld000066400000000000000000000006511452212752100267150ustar00rootroot00000000000000[ { "@id": "http://example.com/queen", "http://example.com/vocab/label": [ { "@value": "Die Königin", "@language": "de" }, { "@value": "Ihre Majestät", "@language": "de" }, { "@value": "The Queen", "@language": "en" } ] } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0031-in.jsonld000066400000000000000000000005431452212752100265150ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "xsd": "http://www.w3.org/2001/XMLSchema#", "ex:integer": { "@type": "xsd:integer" }, "ex:double": { "@type": "xsd:double" }, "ex:boolean": { "@type": "xsd:boolean" } }, "@id": "http://example.org/test#example1", "ex:integer": 1, "ex:double": 123.45, "ex:boolean": true } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0031-out.jsonld000066400000000000000000000011521452212752100267130ustar00rootroot00000000000000[ { "@id": "http://example.org/test#example1", "http://example.org/vocab#boolean": [ { "@value": true, "@type": "http://www.w3.org/2001/XMLSchema#boolean" } ], "http://example.org/vocab#double": [ { "@value": 123.45, "@type": "http://www.w3.org/2001/XMLSchema#double" } ], "http://example.org/vocab#integer": [ { "@value": 1, "@type": "http://www.w3.org/2001/XMLSchema#integer" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0032-in.jsonld000066400000000000000000000003601452212752100265130ustar00rootroot00000000000000{ "@context": { "@vocab": "http://xmlns.com/foaf/0.1/", "from": null, "university": { "@id": null } }, "@id": "http://me.markus-lanthaler.com/", "name": "Markus Lanthaler", "from": "Italy", "university": "TU Graz" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0032-out.jsonld000066400000000000000000000003001452212752100267060ustar00rootroot00000000000000[ { "@id": "http://me.markus-lanthaler.com/", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0033-in.jsonld000066400000000000000000000004601452212752100265150ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.com/vocab#", "homepage": { "@type": "@id" }, "created_at": { "@type": "http://www.w3.org/2001/XMLSchema#date" } }, "name": "Markus Lanthaler", "homepage": "http://www.markus-lanthaler.com/", "created_at": "2012-10-28" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0033-out.jsonld000066400000000000000000000007661452212752100267270ustar00rootroot00000000000000[ { "@id": "_:b0", "http://example.com/vocab#created_at": [ { "@value": "2012-10-28", "@type": "http://www.w3.org/2001/XMLSchema#date" } ], "http://example.com/vocab#homepage": [ { "@id": "http://www.markus-lanthaler.com/" } ], "http://example.com/vocab#name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0034-in.jsonld000066400000000000000000000004611452212752100265170ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.com/vocab/", "colliding": "http://example.com/vocab/collidingTerm" }, "@id": "http://example.com/IriCollissions", "colliding": [ "value 1", 2 ], "collidingTerm": [ 3, "four" ], "http://example.com/vocab/collidingTerm": 5 } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0034-out.jsonld000066400000000000000000000006521452212752100267220ustar00rootroot00000000000000[ { "@id": "http://example.com/IriCollissions", "http://example.com/vocab/collidingTerm": [ { "@value": "value 1" }, { "@value": 2 }, { "@value": 3 }, { "@value": "four" }, { "@value": 5 } ] } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0035-in.jsonld000066400000000000000000000005641452212752100265240ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.com/vocab/", "@language": "it", "label": { "@container": "@language" } }, "@id": "http://example.com/queen", "label": { "en": "The Queen", "de": [ "Die Königin", "Ihre Majestät" ] }, "http://example.com/vocab/label": [ "Il re", { "@value": "The king", "@language": "en" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0035-out.jsonld000066400000000000000000000011601452212752100267160ustar00rootroot00000000000000[ { "@id": "http://example.com/queen", "http://example.com/vocab/label": [ { "@value": "Il re", "@language": "it" }, { "@language": "en", "@value": "The king" }, { "@value": "Die Königin", "@language": "de" }, { "@value": "Ihre Majestät", "@language": "de" }, { "@value": "The Queen", "@language": "en" } ] } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0036-in.jsonld000066400000000000000000000035271452212752100265270ustar00rootroot00000000000000{ "@context": { "property": "http://example.com/property", "indexContainer": { "@id": "http://example.com/container", "@container": "@index" } }, "@id": "http://example.org/indexTest", "indexContainer": { "A": [ { "@id": "http://example.org/nodeWithoutIndexA" }, { "@id": "http://example.org/nodeWithIndexA", "@index": "this overrides the 'A' index from the container" }, 1, true, false, null, "simple string A", { "@value": "typed literal A", "@type": "http://example.org/type" }, { "@value": "language-tagged string A", "@language": "en" } ], "B": "simple string B", "C": [ { "@id": "http://example.org/nodeWithoutIndexC" }, { "@id": "http://example.org/nodeWithIndexC", "@index": "this overrides the 'C' index from the container" }, 3, true, false, null, "simple string C", { "@value": "typed literal C", "@type": "http://example.org/type" }, { "@value": "language-tagged string C", "@language": "en" } ] }, "property": [ { "@id": "http://example.org/nodeWithoutIndexProp" }, { "@id": "http://example.org/nodeWithIndexProp", "@index": "prop" }, { "@value": 3, "@index": "prop" }, { "@value": true, "@index": "prop" }, { "@value": false, "@index": "prop" }, { "@value": null, "@index": "prop" }, "simple string no index", { "@value": "typed literal Prop", "@type": "http://example.org/type", "@index": "prop" }, { "@value": "language-tagged string Prop", "@language": "en", "@index": "prop" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0036-out.jsonld000066400000000000000000000064711452212752100267310ustar00rootroot00000000000000[ { "@id": "http://example.org/indexTest", "http://example.com/container": [ { "@id": "http://example.org/nodeWithoutIndexA" }, { "@id": "http://example.org/nodeWithIndexA" }, { "@value": 1, "@index": "A" }, { "@value": true, "@index": "A" }, { "@value": false, "@index": "A" }, { "@value": "simple string A", "@index": "A" }, { "@type": "http://example.org/type", "@value": "typed literal A", "@index": "A" }, { "@language": "en", "@value": "language-tagged string A", "@index": "A" }, { "@value": "simple string B", "@index": "B" }, { "@id": "http://example.org/nodeWithoutIndexC" }, { "@id": "http://example.org/nodeWithIndexC" }, { "@value": 3, "@index": "C" }, { "@value": true, "@index": "C" }, { "@value": false, "@index": "C" }, { "@value": "simple string C", "@index": "C" }, { "@type": "http://example.org/type", "@value": "typed literal C", "@index": "C" }, { "@language": "en", "@value": "language-tagged string C", "@index": "C" } ], "http://example.com/property": [ { "@id": "http://example.org/nodeWithoutIndexProp" }, { "@id": "http://example.org/nodeWithIndexProp" }, { "@index": "prop", "@value": 3 }, { "@index": "prop", "@value": true }, { "@index": "prop", "@value": false }, { "@value": "simple string no index" }, { "@index": "prop", "@type": "http://example.org/type", "@value": "typed literal Prop" }, { "@index": "prop", "@language": "en", "@value": "language-tagged string Prop" } ] }, { "@id": "http://example.org/nodeWithIndexA", "@index": "this overrides the 'A' index from the container" }, { "@id": "http://example.org/nodeWithIndexC", "@index": "this overrides the 'C' index from the container" }, { "@id": "http://example.org/nodeWithIndexProp", "@index": "prop" }, { "@id": "http://example.org/nodeWithoutIndexA", "@index": "A" }, { "@id": "http://example.org/nodeWithoutIndexC", "@index": "C" } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0037-in.jsonld000066400000000000000000000005401452212752100265200ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/dave" }, { "@id": "http://example.com/people/gregg" } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0037-out.jsonld000066400000000000000000000006451452212752100267270ustar00rootroot00000000000000[ { "@id": "http://example.com/people/dave", "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/markus" } ] }, { "@id": "http://example.com/people/gregg", "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/markus" } ] }, { "@id": "http://example.com/people/markus", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0038-in.jsonld000066400000000000000000000010711452212752100265210ustar00rootroot00000000000000{ "@context": { "term": "_:term", "termId": { "@id": "term", "@type": "@id" } }, "@id": "_:term", "@type": "_:term", "term": [ { "@id": "_:term", "@type": "term" }, { "@id": "_:Bx", "term": "term" }, "plain value", { "@id": "_:term" } ], "termId": [ { "@id": "_:term", "@type": "term" }, { "@id": "_:Cx", "term": "termId" }, "term:AppendedToBlankNode", "_:termAppendedToBlankNode", "relativeIri", { "@id": "_:term" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0038-out.jsonld000066400000000000000000000014061452212752100267240ustar00rootroot00000000000000[ { "@id": "_:b0", "@type": [ "_:b0" ], "_:b0": [ { "@id": "_:b0" }, { "@id": "_:b1" }, { "@value": "plain value" }, { "@id": "_:b2" }, { "@id": "_:b3" }, { "@id": "http://json-ld.org/test-suite/tests/relativeIri" } ] }, { "@id": "_:b1", "_:b0": [ { "@value": "term" } ] }, { "@id": "_:b2", "_:b0": [ { "@value": "termId" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0039-in.jsonld000066400000000000000000000005621452212752100265260ustar00rootroot00000000000000[ { "@id": "http://example.com/people/markus", "@reverse": { "http://xmlns.com/foaf/0.1/knows": [ { "http://xmlns.com/foaf/0.1/name": "Dave Longley" }, { "http://xmlns.com/foaf/0.1/name": "Gregg Kellogg" } ] }, "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0039-out.jsonld000066400000000000000000000010011452212752100267140ustar00rootroot00000000000000[ { "@id": "_:b0", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ], "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/markus" } ] }, { "@id": "_:b1", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ], "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/markus" } ] }, { "@id": "http://example.com/people/markus", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0040-in.jsonld000066400000000000000000000006021452212752100265110ustar00rootroot00000000000000{ "@context": { "vocab": "http://example.com/vocab/", "label": { "@id": "vocab:label", "@container": "@language" }, "indexes": { "@id": "vocab:index", "@container": "@index" } }, "@id": "http://example.com/queen", "label": [ "The Queen" ], "indexes": [ "No", "indexes", { "@id": "asTheValueIsntAnObject" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0040-out.jsonld000066400000000000000000000007271452212752100267220ustar00rootroot00000000000000[ { "@id": "http://example.com/queen", "http://example.com/vocab/index": [ { "@value": "No" }, { "@value": "indexes" }, { "@id": "http://json-ld.org/test-suite/tests/asTheValueIsntAnObject" } ], "http://example.com/vocab/label": [ { "@value": "The Queen" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0041-in.jsonld000066400000000000000000000012351452212752100265150ustar00rootroot00000000000000{ "@context": { "property": "http://example.com/property" }, "@graph": [ { "@set": [ "free-floating strings in set objects are removed", { "@id": "http://example.com/free-floating-node" }, { "@id": "http://example.com/node", "property": "nodes with properties are not removed" } ] }, { "@list": [ "lists are removed even though they represent an invisible linked structure, they have no real meaning" ] } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0041-out.jsonld000066400000000000000000000003131452212752100267120ustar00rootroot00000000000000[ { "@id": "http://example.com/node", "http://example.com/property": [ { "@value": "nodes with properties are not removed" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0042-in.jsonld000066400000000000000000000002561452212752100265200ustar00rootroot00000000000000{ "@context": { "test": "http://example.com/list" }, "@id": "list-equivalence-test", "test": [ { "@list": [ "1", "2" ] }, { "@list": [ "1", "2" ] } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0042-out.jsonld000066400000000000000000000004201452212752100267120ustar00rootroot00000000000000[ { "@id": "http://json-ld.org/test-suite/tests/list-equivalence-test", "http://example.com/list": [ { "@list": [ { "@value": "1" }, { "@value": "2" } ] }, { "@list": [ { "@value": "1" }, { "@value": "2" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0043-in.jsonld000066400000000000000000000003641452212752100265210ustar00rootroot00000000000000{ "@id": "", "http://example/sequence": {"@list": [ { "@id": "#t0001", "http://example/name": "Keywords cannot be aliased to other keywords", "http://example/input": {"@id": "error-expand-0001-in.jsonld"} } ]} } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0043-out.jsonld000066400000000000000000000010151452212752100267140ustar00rootroot00000000000000[ { "@id": "http://json-ld.org/test-suite/tests/flatten-0043-in.jsonld", "http://example/sequence": [ {"@list": [{"@id": "http://json-ld.org/test-suite/tests/flatten-0043-in.jsonld#t0001"}]} ] }, { "@id": "http://json-ld.org/test-suite/tests/flatten-0043-in.jsonld#t0001", "http://example/input": [ {"@id": "http://json-ld.org/test-suite/tests/error-expand-0001-in.jsonld"} ], "http://example/name": [ {"@value": "Keywords cannot be aliased to other keywords"} ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0044-context.jsonld000066400000000000000000000000711452212752100275730ustar00rootroot00000000000000{ "@context": { "term": "http://example/term" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0044-in.jsonld000066400000000000000000000001241452212752100265140ustar00rootroot00000000000000[{ "@id": "http://example/foo", "http://example/term": [{"@value": "value"}] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0044-out.jsonld000066400000000000000000000002061452212752100267160ustar00rootroot00000000000000{ "@context": { "term": "http://example/term" }, "@graph": [{ "@id": "http://example/foo", "term": ["value"] }] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0045-in.jsonld000066400000000000000000000003031452212752100265140ustar00rootroot00000000000000{ "@context": { "foo": "http://example.org/foo", "bar": { "@reverse": "http://example.org/bar", "@type": "@id" } }, "foo": "Foo", "bar": [ "http://example.org/origin", "_:b0" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-0045-out.jsonld000066400000000000000000000004121452212752100267160ustar00rootroot00000000000000[ { "@id": "_:b0", "http://example.org/foo": [ { "@value": "Foo" } ] }, { "@id": "_:b1", "http://example.org/bar": [ { "@id": "_:b0" } ] }, { "@id": "http://example.org/origin", "http://example.org/bar": [ { "@id": "_:b0" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/flatten-manifest.jsonld000066400000000000000000000340021452212752100273310ustar00rootroot00000000000000{ "@context": "http://json-ld.org/test-suite/context.jsonld", "@id": "", "@type": "mf:Manifest", "name": "Flattening", "description": "JSON-LD flattening tests use object comparison.", "baseIri": "http://json-ld.org/test-suite/tests/", "sequence": [ { "@id": "#t0001", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "drop free-floating nodes", "purpose": "Flattening drops unreferenced nodes having only @id", "input": "flatten-0001-in.jsonld", "expect": "flatten-0001-out.jsonld" }, { "@id": "#t0002", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "basic", "purpose": "Flattening terms with different types of values", "input": "flatten-0002-in.jsonld", "expect": "flatten-0002-out.jsonld" }, { "@id": "#t0003", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "drop null and unmapped properties", "purpose": "Verifies that null values and unmapped properties are removed from expanded output", "input": "flatten-0003-in.jsonld", "expect": "flatten-0003-out.jsonld" }, { "@id": "#t0004", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "optimize @set, keep empty arrays", "purpose": "Uses of @set are removed in expansion; values of @set, or just plain values which are empty arrays are retained", "input": "flatten-0004-in.jsonld", "expect": "flatten-0004-out.jsonld" }, { "@id": "#t0005", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "do not expand aliased @id/@type", "purpose": "If a keyword is aliased, it is not used when flattening", "input": "flatten-0005-in.jsonld", "expect": "flatten-0005-out.jsonld" }, { "@id": "#t0006", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "alias keywords", "purpose": "Aliased keywords expand in resulting document", "input": "flatten-0006-in.jsonld", "expect": "flatten-0006-out.jsonld" }, { "@id": "#t0007", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "date type-coercion", "purpose": "Expand strings to expanded value with @type: xsd:dateTime", "input": "flatten-0007-in.jsonld", "expect": "flatten-0007-out.jsonld" }, { "@id": "#t0008", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "@value with @language", "purpose": "Keep expanded values with @language, drop non-conforming value objects containing just @language", "input": "flatten-0008-in.jsonld", "expect": "flatten-0008-out.jsonld" }, { "@id": "#t0009", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "@graph with terms", "purpose": "Use of @graph to contain multiple nodes within array", "input": "flatten-0009-in.jsonld", "expect": "flatten-0009-out.jsonld" }, { "@id": "#t0010", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "native types", "purpose": "Flattening native scalar retains native scalar within expanded value", "input": "flatten-0010-in.jsonld", "expect": "flatten-0010-out.jsonld" }, { "@id": "#t0011", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "coerced @id", "purpose": "A value of a property with @type: @id coercion expands to a node reference", "input": "flatten-0011-in.jsonld", "expect": "flatten-0011-out.jsonld" }, { "@id": "#t0012", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "@graph with embed", "purpose": "Flattening objects containing chained objects flattens all objects", "input": "flatten-0012-in.jsonld", "expect": "flatten-0012-out.jsonld" }, { "@id": "#t0013", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "flatten already expanded", "purpose": "Flattening an expanded/flattened document maintains input document", "input": "flatten-0013-in.jsonld", "expect": "flatten-0013-out.jsonld" }, { "@id": "#t0014", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "@set of @value objects with keyword aliases", "purpose": "Flattening aliased @set and @value", "input": "flatten-0014-in.jsonld", "expect": "flatten-0014-out.jsonld" }, { "@id": "#t0015", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "collapse set of sets, keep empty lists", "purpose": "An array of multiple @set nodes are collapsed into a single array", "input": "flatten-0015-in.jsonld", "expect": "flatten-0015-out.jsonld" }, { "@id": "#t0016", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "context reset", "purpose": "Setting @context to null within an embedded object resets back to initial context state", "input": "flatten-0016-in.jsonld", "expect": "flatten-0016-out.jsonld" }, { "@id": "#t0017", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "@graph and @id aliased", "purpose": "Flattening with @graph and @id aliases", "input": "flatten-0017-in.jsonld", "expect": "flatten-0017-out.jsonld" }, { "@id": "#t0018", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "override default @language", "purpose": "override default @language in terms; only language-tag strings", "input": "flatten-0018-in.jsonld", "expect": "flatten-0018-out.jsonld" }, { "@id": "#t0019", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "remove @value = null", "purpose": "Flattening a value of null removes the value", "input": "flatten-0019-in.jsonld", "expect": "flatten-0019-out.jsonld" }, { "@id": "#t0020", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "do not remove @graph if not at top-level", "purpose": "@graph used under a node is retained", "input": "flatten-0020-in.jsonld", "expect": "flatten-0020-out.jsonld" }, { "@id": "#t0021", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "do not remove @graph at top-level if not only property", "purpose": "@graph used at the top level is retained if there are other properties", "input": "flatten-0021-in.jsonld", "expect": "flatten-0021-out.jsonld" }, { "@id": "#t0022", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "flatten value with default language", "purpose": "Flattening with a default language applies that language to string values", "input": "flatten-0022-in.jsonld", "expect": "flatten-0022-out.jsonld" }, { "@id": "#t0023", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Flattening list/set with coercion", "purpose": "Flattening lists and sets with properties having coercion coerces list/set values", "input": "flatten-0023-in.jsonld", "expect": "flatten-0023-out.jsonld" }, { "@id": "#t0024", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Multiple contexts", "purpose": "Tests that contexts in an array are merged", "input": "flatten-0024-in.jsonld", "expect": "flatten-0024-out.jsonld" }, { "@id": "#t0025", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Problematic IRI flattening tests", "purpose": "Flattening different kinds of terms and Compact IRIs", "input": "flatten-0025-in.jsonld", "expect": "flatten-0025-out.jsonld" }, { "@id": "#t0026", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Term definition with @id: @type", "purpose": "Flattening term mapping to @type uses @type syntax", "input": "flatten-0026-in.jsonld", "expect": "flatten-0026-out.jsonld" }, { "@id": "#t0027", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Duplicate values in @list and @set", "purpose": "Duplicate values in @list and @set are not merged", "input": "flatten-0027-in.jsonld", "expect": "flatten-0027-out.jsonld" }, { "@id": "#t0028", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Use @vocab in properties and @type but not in @id", "purpose": "@vocab is used to compact properties and @type, but is not used for @id", "input": "flatten-0028-in.jsonld", "expect": "flatten-0028-out.jsonld" }, { "@id": "#t0029", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Relative IRIs", "purpose": "@base is used to compact @id; test with different relative IRIs", "input": "flatten-0029-in.jsonld", "expect": "flatten-0029-out.jsonld" }, { "@id": "#t0030", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Language maps", "purpose": "Language Maps expand values to include @language", "input": "flatten-0030-in.jsonld", "expect": "flatten-0030-out.jsonld" }, { "@id": "#t0031", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "type-coercion of native types", "purpose": "Flattening native types with type coercion adds the coerced type to an expanded value representation and retains the native value representation", "input": "flatten-0031-in.jsonld", "expect": "flatten-0031-out.jsonld" }, { "@id": "#t0032", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Null term and @vocab", "purpose": "Mapping a term to null decouples it from @vocab", "input": "flatten-0032-in.jsonld", "expect": "flatten-0032-out.jsonld" }, { "@id": "#t0033", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Using @vocab with with type-coercion", "purpose": "Verifies that terms can be defined using @vocab", "input": "flatten-0033-in.jsonld", "expect": "flatten-0033-out.jsonld" }, { "@id": "#t0034", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Multiple properties expanding to the same IRI", "purpose": "Verifies multiple values from separate terms are deterministically made multiple values of the IRI associated with the terms", "input": "flatten-0034-in.jsonld", "expect": "flatten-0034-out.jsonld" }, { "@id": "#t0035", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Language maps with @vocab, default language, and colliding property", "purpose": "Pathological tests of language maps", "input": "flatten-0035-in.jsonld", "expect": "flatten-0035-out.jsonld" }, { "@id": "#t0036", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Flattening @index", "purpose": "Flattening index maps for terms defined with @container: @index", "input": "flatten-0036-in.jsonld", "expect": "flatten-0036-out.jsonld" }, { "@id": "#t0037", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Flattening reverse properties", "purpose": "Flattening @reverse keeps @reverse", "input": "flatten-0037-in.jsonld", "expect": "flatten-0037-out.jsonld" }, { "@id": "#t0038", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Flattening blank node labels", "purpose": "Blank nodes are not relabeled during expansion", "input": "flatten-0038-in.jsonld", "expect": "flatten-0038-out.jsonld" }, { "@id": "#t0039", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Using terms in a reverse-maps", "purpose": "Terms within @reverse are expanded", "input": "flatten-0039-in.jsonld", "expect": "flatten-0039-out.jsonld" }, { "@id": "#t0040", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "language and index expansion on non-objects", "purpose": "Only invoke language and index map expansion if the value is a JSON object", "input": "flatten-0040-in.jsonld", "expect": "flatten-0040-out.jsonld" }, { "@id": "#t0041", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Free-floating sets and lists", "purpose": "Free-floating values in sets are removed, free-floating lists are removed completely", "input": "flatten-0041-in.jsonld", "expect": "flatten-0041-out.jsonld" }, { "@id": "#t0042", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "List objects not equivalent", "purpose": "Lists objects are implicit unlabeled blank nodes and thus never equivalent", "input": "flatten-0042-in.jsonld", "expect": "flatten-0042-out.jsonld" }, { "@id": "#t0043", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Sample test manifest extract", "purpose": "Flatten a test manifest", "input": "flatten-0043-in.jsonld", "expect": "flatten-0043-out.jsonld" }, { "@id": "#t0044", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "compactArrays option", "purpose": "Setting compactArrays to false causes single element arrays to be retained", "option": { "compactArrays": false }, "input": "flatten-0044-in.jsonld", "context": "flatten-0044-context.jsonld", "expect": "flatten-0044-out.jsonld" }, { "@id": "#t0045", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Blank nodes with reverse properties", "purpose": "Proper (re-)labeling of blank nodes if used with reverse properties.", "input": "flatten-0045-in.jsonld", "expect": "flatten-0045-out.jsonld" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0001-frame.jsonld000066400000000000000000000003531452212752100266320ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@type": "ex:Library", "ex:contains": { "@type": "ex:Book", "ex:contains": { "@type": "ex:Chapter" } } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0001-in.jsonld000066400000000000000000000012241452212752100261440ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": {"@type": "@id"} }, "@graph": [ { "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": "http://example.org/test#book" }, { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": "http://example.org/test#chapter" }, { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:description": "Fun", "dc:title": "Chapter One" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0001-out.jsonld000066400000000000000000000010361452212752100263460ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@graph": [{ "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:description": "Fun", "dc:title": "Chapter One" } } }] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0002-frame.jsonld000066400000000000000000000003531452212752100266330ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@type": "ex:Library", "ex:contains": { "@type": "ex:Book", "ex:contains": { "@type": "ex:Chapter" } } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0002-in.jsonld000066400000000000000000000012611452212752100261460ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": {"@type": "@id"} }, "@graph": [ { "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": "http://example.org/test#book" }, { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": "http://example.org/test#chapter" }, { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:description": "Fun", "dc:title": "Chapter One", "ex:act": "ex:ActOne" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0002-out.jsonld000066400000000000000000000010751452212752100263520ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@graph": [{ "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:description": "Fun", "dc:title": "Chapter One", "ex:act": "ex:ActOne" } } }] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0003-frame.jsonld000066400000000000000000000002111452212752100266250ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@type": "ex:DoesNotExist" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0003-in.jsonld000066400000000000000000000012401452212752100261440ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": { "@type": "@id" } }, "@graph": [ { "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": "http://example.org/test#book" }, { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": "http://example.org/test#chapter" }, { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:description": "Fun", "dc:title": "Chapter One" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0003-out.jsonld000066400000000000000000000001731452212752100263510ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@graph": [] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0004-frame.jsonld000066400000000000000000000002511452212752100266320ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": {"@type": "@id"} }, "@type": "ex:Library" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0004-in.jsonld000066400000000000000000000012241452212752100261470ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": {"@type": "@id"} }, "@graph": [ { "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": "http://example.org/test#book" }, { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": "http://example.org/test#chapter" }, { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:description": "Fun", "dc:title": "Chapter One" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0004-out.jsonld000066400000000000000000000011031452212752100263440ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": {"@type": "@id"} }, "@graph": [{ "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:description": "Fun", "dc:title": "Chapter One" } } }] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0005-frame.jsonld000066400000000000000000000005571452212752100266440ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@explicit": true, "@type": "ex:Library", "ex:contains": { "@explicit": true, "@type": "ex:Book", "dc:title": {}, "ex:contains": { "@explicit": true, "@type": "ex:Chapter", "dc:title": {}, "ex:null": {} } } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0005-in.jsonld000066400000000000000000000012401452212752100261460ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": { "@type": "@id" } }, "@graph": [ { "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": "http://example.org/test#book" }, { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": "http://example.org/test#chapter" }, { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:description": "Fun", "dc:title": "Chapter One" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0005-out.jsonld000066400000000000000000000007651452212752100263620ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@graph": [{ "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:title": "My Book", "ex:contains": { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:title": "Chapter One", "ex:null": null } } }] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0006-frame.jsonld000066400000000000000000000003531452212752100266370ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@type": "ex:Library", "ex:contains": { "@type": "ex:Book", "ex:contains": { "@type": "ex:Chapter" } } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0006-in.jsonld000066400000000000000000000013201452212752100261460ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": { "@type": "@id" }, "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@graph": [ { "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": "http://example.org/test#book" }, { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": "http://example.org/test#chapter" }, { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:description": "Fun", "dc:title": "Chapter One" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0006-out.jsonld000066400000000000000000000010361452212752100263530ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@graph": [{ "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:description": "Fun", "dc:title": "Chapter One" } } }] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0007-frame.jsonld000066400000000000000000000003531452212752100266400ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@type": "ex:Library", "ex:contains": { "@type": "ex:Book", "ex:contains": { "@type": "ex:Chapter" } } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0007-in.jsonld000066400000000000000000000013111452212752100261470ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": { "@type": "@id" } }, "@graph": [ { "@id": "http://example.org/test/#library", "@type": [ "ex:Library", "ex:Building" ], "ex:contains": "http://example.org/test#book" }, { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": "http://example.org/test#chapter" }, { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:description": "Fun", "dc:title": "Chapter One" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0007-out.jsonld000066400000000000000000000011011452212752100263450ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@graph": [{ "@id": "http://example.org/test/#library", "@type": [ "ex:Library", "ex:Building" ], "ex:contains": { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:description": "Fun", "dc:title": "Chapter One" } } }] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0008-frame.jsonld000066400000000000000000000005311452212752100266370ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:embedded": {"@container": "@set"}, "ex:literal": {"@container": "@set"}, "ex:mixed": {"@container": "@set"}, "ex:single": {"@container": "@set"} }, "@type": "ex:Example", "ex:embedded": {}, "ex:literal": {}, "ex:mixed": {"@embed": false}, "ex:single": {} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0008-in.jsonld000066400000000000000000000013701452212752100261550ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" }, "@graph": [ { "@id": "http://example.org/test/#example", "@type": "ex:Example", "ex:embedded": { "@id": "http://example.org/test#subject1" }, "ex:literal": [ "str1", "str2", "str3" ], "ex:mixed": [ { "@id": "http://example.org/test#iri1" }, "literal1", { "@id": "http://example.org/test#iri2" }, "literal2", { "@id": "http://example.org/test#subject2", "ex:prop": "property" } ], "ex:single": "single" }, { "@id": "http://example.org/test#subject1", "ex:prop": "property" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0008-out.jsonld000066400000000000000000000014501452212752100263550ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:embedded": {"@container": "@set"}, "ex:literal": {"@container": "@set"}, "ex:mixed": {"@container": "@set"}, "ex:single": {"@container": "@set"} }, "@graph": [{ "@id": "http://example.org/test/#example", "@type": "ex:Example", "ex:embedded": [ { "@id": "http://example.org/test#subject1", "ex:prop": "property" } ], "ex:literal": [ "str1", "str2", "str3" ], "ex:mixed": [ { "@id": "http://example.org/test#iri1" }, "literal1", { "@id": "http://example.org/test#iri2" }, "literal2", { "@id": "http://example.org/test#subject2" } ], "ex:single": [ "single" ] }] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0009-frame.jsonld000066400000000000000000000006111452212752100266370ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:p7": {"@container": "@set"} }, "@type": "ex:Example1", "ex:p2": { "@default": "custom-default" }, "ex:p3": { "@default": 3 }, "ex:p4": { "@omitDefault": true }, "ex:p5": {}, "ex:p6": { "@type": "ex:Example2", "ex:p3": { "@default": 4 } }, "ex:p7": {"@type": "ex:Example3"} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0009-in.jsonld000066400000000000000000000005621452212752100261600ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" }, "@graph": [ { "@id": "http://example.org/test/#example1", "@type": "ex:Example1", "ex:p1": "non-default", "ex:p6": { "@id": "http://example.org/test/#example2" } }, { "@id": "http://example.org/test/#example2", "@type": "ex:Example2" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0009-out.jsonld000066400000000000000000000006511452212752100263600ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:p7": {"@container": "@set"} }, "@graph": [{ "@id": "http://example.org/test/#example1", "@type": "ex:Example1", "ex:p1": "non-default", "ex:p2": "custom-default", "ex:p3": 3, "ex:p5": null, "ex:p6": { "@id": "http://example.org/test/#example2", "@type": "ex:Example2", "ex:p3": 4 }, "ex:p7": [] }] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0010-frame.jsonld000066400000000000000000000004161452212752100266320ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/terms/", "dc:creator": { "@type": "@id" }, "foaf": "http://xmlns.com/foaf/0.1/", "ps": "http://purl.org/payswarm#" }, "@id": "http://example.com/asset", "@type": "ps:Asset", "dc:creator": {} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0010-in.jsonld000066400000000000000000000004561452212752100261520ustar00rootroot00000000000000{ "@context": { "dc0": "http://purl.org/dc/terms/", "dc:creator": { "@type": "@id" }, "foaf": "http://xmlns.com/foaf/0.1/", "ps": "http://purl.org/payswarm#" }, "@id": "http://example.com/asset", "@type": "ps:Asset", "dc:creator": { "foaf:name": "John Doe" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0010-out.jsonld000066400000000000000000000005411452212752100263460ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/terms/", "dc:creator": { "@type": "@id" }, "foaf": "http://xmlns.com/foaf/0.1/", "ps": "http://purl.org/payswarm#" }, "@graph": [{ "@id": "http://example.com/asset", "@type": "ps:Asset", "dc:creator": { "@id": "_:b0", "foaf:name": "John Doe" } }] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0011-frame.jsonld000066400000000000000000000002461452212752100266340ustar00rootroot00000000000000{ "@context": { "ex": "http://www.example.com/#" }, "@type": "ex:Thing", "ex:embed": { "@embed": true }, "ex:noembed": { "@embed": false } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0011-in.jsonld000066400000000000000000000004071452212752100261470ustar00rootroot00000000000000{ "@context": { "ex": "http://www.example.com/#" }, "@id": "ex:subject", "@type": "ex:Thing", "ex:embed": { "@id": "ex:embedded", "ex:title": "Embedded" }, "ex:noembed": { "@id": "ex:notembedded", "ex:title": "Not Embedded" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0011-out.jsonld000066400000000000000000000004151452212752100263470ustar00rootroot00000000000000{ "@context": { "ex": "http://www.example.com/#" }, "@graph": [{ "@id": "ex:subject", "@type": "ex:Thing", "ex:embed": { "@id": "ex:embedded", "ex:title": "Embedded" }, "ex:noembed": { "@id": "ex:notembedded" } }] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0012-frame.jsonld000066400000000000000000000003631452212752100266350ustar00rootroot00000000000000{ "@context": { "sp": "http://smartplatforms.org/terms#" }, "@type": ["sp:Medication", "sp:Fulfillment"], "sp:hasFulfillment": {"@omitDefault": true, "@embed": false}, "sp:hasMedication": {"@omitDefault": true, "@embed": false} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0012-in.jsonld000066400000000000000000000011301452212752100261420ustar00rootroot00000000000000{ "@graph": [ { "@id": "http://example.org/med-1", "@type": "http://smartplatforms.org/terms#Medication", "http://smartplatforms.org/terms#hasFulfillment": { "@id": "http://example.org/fill-1" }, "http://smartplatforms.org/terms#label": "Lisinopril" }, { "@id": "http://example.org/fill-1", "@type": "http://smartplatforms.org/terms#Fulfillment", "http://smartplatforms.org/terms#hasMedication": { "@id": "http://example.org/med-1" }, "http://smartplatforms.org/terms#label": "30 pills on 2/2/2011" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0012-out.jsonld000066400000000000000000000007051452212752100263520ustar00rootroot00000000000000{ "@context": { "sp": "http://smartplatforms.org/terms#" }, "@graph": [{ "@id": "http://example.org/fill-1", "@type": "sp:Fulfillment", "sp:hasMedication": { "@id": "http://example.org/med-1" }, "sp:label": "30 pills on 2/2/2011" }, { "@id": "http://example.org/med-1", "@type": "sp:Medication", "sp:hasFulfillment": { "@id": "http://example.org/fill-1" }, "sp:label": "Lisinopril" }] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0013-frame.jsonld000066400000000000000000000000671452212752100266370ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0013-in.jsonld000066400000000000000000000004331452212752100261500ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/" }, "@graph": [ { "@id": "ex:looker", "ex:canSee": [ { "@id": "ex:forgotten" }, { "@id": "ex:spotted" } ] }, { "@id": "ex:spotted" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0013-out.jsonld000066400000000000000000000004311452212752100263470ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/" }, "@graph": [{ "@id": "ex:forgotten" }, { "@id": "ex:looker", "ex:canSee": [ { "@id": "ex:forgotten" }, { "@id": "ex:spotted" } ] }, { "@id": "ex:spotted" }] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0014-frame.jsonld000066400000000000000000000001201452212752100266260ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/" }, "@type": ["ex:Node"] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0014-in.jsonld000066400000000000000000000003571452212752100261560ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/" }, "@id": "ex:a", "@type": "ex:Node", "ex:sees": { "@id": "ex:b", "@type": "ex:Node", "ex:sees": { "ex:remember_me": "This value should not disappear." } } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0014-out.jsonld000066400000000000000000000007061452212752100263550ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/" }, "@graph": [{ "@id": "ex:a", "@type": "ex:Node", "ex:sees": { "@id": "ex:b", "@type": "ex:Node", "ex:sees": { "@id": "_:b0", "ex:remember_me": "This value should not disappear." } } }, { "@id": "ex:b", "@type": "ex:Node", "ex:sees": { "@id": "_:b0", "ex:remember_me": "This value should not disappear." } }] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0015-frame.jsonld000066400000000000000000000064501452212752100266430ustar00rootroot00000000000000{ "@context": { "api": "http://smartplatforms.org/terms/api#", "dcterms": "http://purl.org/dc/terms/", "foaf": "http://xmlns.com/foaf/0.1/", "owl": "http://www.w3.org/2002/07/owl#", "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "sp": "http://smartplatforms.org/terms#", "sp:abnormalInterpretation": {"@type": "@id"}, "sp:address": {"@type": "@id"}, "sp:alertLevel": {"@type": "@id"}, "sp:allergicReaction": {"@type": "@id"}, "sp:allergyExclusionName": {"@type": "@id"}, "sp:belongsTo": {"@type": "@id"}, "sp:bloodPressure": {"@type": "@id"}, "sp:bodyMassIndex": {"@type": "@id"}, "sp:bodyPosition": {"@type": "@id"}, "sp:bodySite": {"@type": "@id"}, "sp:category": {"@type": "@id"}, "sp:code": {"@type": "@id"}, "sp:created": {"@type": "@id"}, "sp:denominator": {"@type": "@id"}, "sp:diastolic": {"@type": "@id"}, "sp:drugAllergen": {"@type": "@id"}, "sp:drugClass": {"@type": "@id"}, "sp:drugClassAllergen": {"@type": "@id"}, "sp:drugName": {"@type": "@id"}, "sp:encounter": {"@type": "@id"}, "sp:encounterType": {"@type": "@id"}, "sp:facility": {"@type": "@id"}, "sp:foodAllergen": {"@type": "@id"}, "sp:frequency": {"@type": "@id"}, "sp:fulfillment": {"@type": "@id"}, "sp:hasStatement": {"@type": "@id"}, "sp:heartRate": {"@type": "@id"}, "sp:height": {"@type": "@id"}, "sp:labName": {"@type": "@id"}, "sp:labResult": {"@type": "@id"}, "sp:labSpecimenCollected": {"@type": "@id"}, "sp:labStatus": {"@type": "@id"}, "sp:maximum": {"@type": "@id"}, "sp:medicalRecordNumber": {"@type": "@id"}, "sp:medication": {"@type": "@id"}, "sp:method": {"@type": "@id"}, "sp:minimum": {"@type": "@id"}, "sp:narrativeResult": {"@type": "@id"}, "sp:nominalResult": {"@type": "@id"}, "sp:nonCriticalRange": {"@type": "@id"}, "sp:normalRange": {"@type": "@id"}, "sp:numerator": {"@type": "@id"}, "sp:ordinalResult": {"@type": "@id"}, "sp:organization": {"@type": "@id"}, "sp:oxygenSaturation": {"@type": "@id"}, "sp:participant": {"@type": "@id"}, "sp:person": {"@type": "@id"}, "sp:pharmacy": {"@type": "@id"}, "sp:problemName": {"@type": "@id"}, "sp:provenance": {"@type": "@id"}, "sp:provider": {"@type": "@id"}, "sp:quantitativeResult": {"@type": "@id"}, "sp:quantity": {"@type": "@id"}, "sp:quantityDispensed": {"@type": "@id"}, "sp:respiratoryRate": {"@type": "@id"}, "sp:severity": {"@type": "@id"}, "sp:specimenCollected": {"@type": "@id"}, "sp:systolic": {"@type": "@id"}, "sp:temperature": {"@type": "@id"}, "sp:translationFidelity": {"@type": "@id"}, "sp:valueAndUnit": {"@type": "@id"}, "sp:vitalName": {"@type": "@id"}, "sp:weight": {"@type": "@id"}, "spcode": "http://smartplatforms.org/terms/codes/", "vcard": "http://www.w3.org/2006/vcard/ns#", "vcard:adr": {"@type": "@id"}, "vcard:n": {"@type": "@id"}, "vcard:tel": {"@type": "@id"} }, "@type": [ "sp:Statement", "sp:Fulfillment", "sp:Alert", "sp:AllergyExclusion", "sp:Demographics", "sp:Problem", "sp:Medication", "sp:VitalSigns", "sp:MedicalRecord", "sp:LabResult", "sp:Allergy", "sp:Encounter" ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0015-in.jsonld000066400000000000000000000035331452212752100261560ustar00rootroot00000000000000[ { "@id": "http://localhost:7000/records/999888", "@type": "http://smartplatforms.org/terms#MedicalRecord" }, { "@id": "http://localhost:7000/records/999888", "http://smartplatforms.org/terms#hasStatement": { "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6" } }, { "@id": "_:uDkkVEva509", "@type": "http://smartplatforms.org/terms#VitalSign" }, { "@id": "_:uDkkVEva509", "http://smartplatforms.org/terms#vitalName": { "@id": "_:uDkkVEva510" } }, { "@id": "_:uDkkVEva509", "http://smartplatforms.org/terms#value": "111.226458141" }, { "@id": "_:uDkkVEva509", "http://smartplatforms.org/terms#unit": "mm[Hg]" }, { "@id": "_:uDkkVEva508", "@type": "http://smartplatforms.org/terms#BloodPressure" }, { "@id": "_:uDkkVEva508", "http://smartplatforms.org/terms#systolic": { "@id": "_:uDkkVEva509" } }, { "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", "http://smartplatforms.org/terms#bloodPressure": { "@id": "_:uDkkVEva508" } }, { "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", "@type": "http://smartplatforms.org/terms#VitalSigns" }, { "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", "http://smartplatforms.org/terms#belongsTo": { "@id": "http://localhost:7000/records/999888" } }, { "@id": "_:uDkkVEva510", "http://purl.org/dc/terms/title": "Systolic blood pressure" }, { "@id": "_:uDkkVEva510", "@type": "http://smartplatforms.org/terms#CodedValue" }, { "@id": "_:uDkkVEva510", "http://smartplatforms.org/terms#code": { "@id": "http://loinc.org/codes/8480-6" } } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0015-out.jsonld000066400000000000000000000111631452212752100263550ustar00rootroot00000000000000{ "@context": { "api": "http://smartplatforms.org/terms/api#", "dcterms": "http://purl.org/dc/terms/", "foaf": "http://xmlns.com/foaf/0.1/", "owl": "http://www.w3.org/2002/07/owl#", "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "sp": "http://smartplatforms.org/terms#", "sp:abnormalInterpretation": {"@type": "@id"}, "sp:address": {"@type": "@id"}, "sp:alertLevel": {"@type": "@id"}, "sp:allergicReaction": {"@type": "@id"}, "sp:allergyExclusionName": {"@type": "@id"}, "sp:belongsTo": {"@type": "@id"}, "sp:bloodPressure": {"@type": "@id"}, "sp:bodyMassIndex": {"@type": "@id"}, "sp:bodyPosition": {"@type": "@id"}, "sp:bodySite": {"@type": "@id"}, "sp:category": {"@type": "@id"}, "sp:code": {"@type": "@id"}, "sp:created": {"@type": "@id"}, "sp:denominator": {"@type": "@id"}, "sp:diastolic": {"@type": "@id"}, "sp:drugAllergen": {"@type": "@id"}, "sp:drugClass": {"@type": "@id"}, "sp:drugClassAllergen": {"@type": "@id"}, "sp:drugName": {"@type": "@id"}, "sp:encounter": {"@type": "@id"}, "sp:encounterType": {"@type": "@id"}, "sp:facility": {"@type": "@id"}, "sp:foodAllergen": {"@type": "@id"}, "sp:frequency": {"@type": "@id"}, "sp:fulfillment": {"@type": "@id"}, "sp:hasStatement": {"@type": "@id"}, "sp:heartRate": {"@type": "@id"}, "sp:height": {"@type": "@id"}, "sp:labName": {"@type": "@id"}, "sp:labResult": {"@type": "@id"}, "sp:labSpecimenCollected": {"@type": "@id"}, "sp:labStatus": {"@type": "@id"}, "sp:maximum": {"@type": "@id"}, "sp:medicalRecordNumber": {"@type": "@id"}, "sp:medication": {"@type": "@id"}, "sp:method": {"@type": "@id"}, "sp:minimum": {"@type": "@id"}, "sp:narrativeResult": {"@type": "@id"}, "sp:nominalResult": {"@type": "@id"}, "sp:nonCriticalRange": {"@type": "@id"}, "sp:normalRange": {"@type": "@id"}, "sp:numerator": {"@type": "@id"}, "sp:ordinalResult": {"@type": "@id"}, "sp:organization": {"@type": "@id"}, "sp:oxygenSaturation": {"@type": "@id"}, "sp:participant": {"@type": "@id"}, "sp:person": {"@type": "@id"}, "sp:pharmacy": {"@type": "@id"}, "sp:problemName": {"@type": "@id"}, "sp:provenance": {"@type": "@id"}, "sp:provider": {"@type": "@id"}, "sp:quantitativeResult": {"@type": "@id"}, "sp:quantity": {"@type": "@id"}, "sp:quantityDispensed": {"@type": "@id"}, "sp:respiratoryRate": {"@type": "@id"}, "sp:severity": {"@type": "@id"}, "sp:specimenCollected": {"@type": "@id"}, "sp:systolic": {"@type": "@id"}, "sp:temperature": {"@type": "@id"}, "sp:translationFidelity": {"@type": "@id"}, "sp:valueAndUnit": {"@type": "@id"}, "sp:vitalName": {"@type": "@id"}, "sp:weight": {"@type": "@id"}, "spcode": "http://smartplatforms.org/terms/codes/", "vcard": "http://www.w3.org/2006/vcard/ns#", "vcard:adr": {"@type": "@id"}, "vcard:n": {"@type": "@id"}, "vcard:tel": {"@type": "@id"} }, "@graph": [{ "@id": "http://localhost:7000/records/999888", "@type": "sp:MedicalRecord", "sp:hasStatement": { "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", "@type": "sp:VitalSigns", "sp:belongsTo": "http://localhost:7000/records/999888", "sp:bloodPressure": { "@id": "_:b2", "@type": "sp:BloodPressure", "sp:systolic": { "@id": "_:b0", "@type": "sp:VitalSign", "sp:vitalName": { "@id": "_:b1", "dcterms:title": "Systolic blood pressure", "@type": "sp:CodedValue", "sp:code": "http://loinc.org/codes/8480-6" }, "sp:value": "111.226458141", "sp:unit": "mm[Hg]" } } } }, { "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", "@type": "sp:VitalSigns", "sp:belongsTo": { "@id": "http://localhost:7000/records/999888", "@type": "sp:MedicalRecord", "sp:hasStatement": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6" }, "sp:bloodPressure": { "@id": "_:b2", "@type": "sp:BloodPressure", "sp:systolic": { "@id": "_:b0", "@type": "sp:VitalSign", "sp:unit": "mm[Hg]", "sp:value": "111.226458141", "sp:vitalName": { "@id": "_:b1", "@type": "sp:CodedValue", "dcterms:title": "Systolic blood pressure", "sp:code": "http://loinc.org/codes/8480-6" } } } }] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0016-frame.jsonld000066400000000000000000000002171452212752100266370ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@type": {}, "ex:contains": {} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0016-in.jsonld000066400000000000000000000006571452212752100261630ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": {"@type": "@id"} }, "@graph": [ { "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": "http://example.org/test#untyped" }, { "@id": "http://example.org/test#untyped", "dc:contributor": "Writer", "dc:title": "My Book" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0016-out.jsonld000066400000000000000000000005231452212752100263540ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@graph": [{ "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": { "@id": "http://example.org/test#untyped", "dc:contributor": "Writer", "dc:title": "My Book" } }] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0017-frame.jsonld000066400000000000000000000003531452212752100266410ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@type": "ex:Library", "ex:contains": { "@type": "ex:Book", "ex:contains": { "@type": "ex:Chapter" } } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0017-in.jsonld000066400000000000000000000010231452212752100261500ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": {"@type": "@id"} }, "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:description": "Fun", "dc:title": "Chapter One" } } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0017-out.jsonld000066400000000000000000000010361452212752100263550ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@graph": [{ "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:description": "Fun", "dc:title": "Chapter One" } } }] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0018-frame.jsonld000066400000000000000000000001401452212752100266340ustar00rootroot00000000000000{ "@type": ["http://example.org/vocab#Library"], "http://example.org/vocab#contains": [{}] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0018-in.jsonld000066400000000000000000000004741452212752100261620ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:contains": {"@type": "@id"} }, "@graph": [ { "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": "http://example.org/test#book" }, { "@id": "http://example.org/test#book" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0018-out.jsonld000066400000000000000000000003101452212752100263500ustar00rootroot00000000000000{ "@graph": [{ "@id": "http://example.org/test/#library", "@type": "http://example.org/vocab#Library", "http://example.org/vocab#contains": {"@id": "http://example.org/test#book"} }] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0019-frame.jsonld000066400000000000000000000001231452212752100266360ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/terms#" }, "@type": "ex:Node" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0019-in.jsonld000066400000000000000000000005121452212752100261540ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/terms#", "ex:sees": { "@type": "@id" } }, "@graph": [ { "@id": "ex:node1", "@type": "ex:Node", "ex:sees": "ex:node2", "ex:color": "blue" }, { "@id": "ex:node2", "@type": "ex:Node", "ex:sees": "ex:node1", "ex:color": "red" }] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0019-out.jsonld000066400000000000000000000012311452212752100263540ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/terms#" }, "@graph": [{ "@id": "ex:node1", "@type": "ex:Node", "ex:color": "blue", "ex:sees": { "@id": "ex:node2", "@type": "ex:Node", "ex:sees": { "@id": "ex:node1" }, "ex:color": "red" } }, { "@id": "ex:node2", "@type": "ex:Node", "ex:color": "red", "ex:sees": { "@id": "ex:node1", "@type": "ex:Node", "ex:sees": { "@id": "ex:node2" }, "ex:color": "blue" } }] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0020-frame.jsonld000066400000000000000000000000021452212752100266220ustar00rootroot00000000000000{}jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0020-in.jsonld000066400000000000000000000021311452212752100261430ustar00rootroot00000000000000{ "@context": { "name": "http://rdf.data-vocabulary.org/#name", "ingredient": "http://rdf.data-vocabulary.org/#ingredients", "yield": "http://rdf.data-vocabulary.org/#yield", "instructions": "http://rdf.data-vocabulary.org/#instructions", "step": { "@id": "http://rdf.data-vocabulary.org/#step", "@type": "xsd:integer" }, "description": "http://rdf.data-vocabulary.org/#description", "xsd": "http://www.w3.org/2001/XMLSchema#" }, "name": "Mojito", "ingredient": ["12 fresh mint leaves", "1/2 lime, juiced with pulp", "1 tablespoons white sugar", "1 cup ice cubes", "2 fluid ounces white rum", "1/2 cup club soda"], "yield": "1 cocktail", "instructions": [ { "step": 1, "description": "Crush lime juice, mint and sugar together in glass." }, { "step": 2, "description": "Fill glass to top with ice cubes." }, { "step": 3, "description": "Pour white rum over ice." }, { "step": 4, "description": "Fill the rest of glass with club soda, stir." }, { "step": 5, "description": "Garnish with a lime wedge." }] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0020-out.jsonld000066400000000000000000000055761452212752100263640ustar00rootroot00000000000000{ "@graph": [ { "@id": "_:b0", "http://rdf.data-vocabulary.org/#ingredients": ["12 fresh mint leaves", "1/2 lime, juiced with pulp", "1 tablespoons white sugar", "1 cup ice cubes", "2 fluid ounces white rum", "1/2 cup club soda"], "http://rdf.data-vocabulary.org/#instructions": [{ "@id": "_:b1", "http://rdf.data-vocabulary.org/#description": "Crush lime juice, mint and sugar together in glass.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 1 } }, { "@id": "_:b2", "http://rdf.data-vocabulary.org/#description": "Fill glass to top with ice cubes.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 2 } }, { "@id": "_:b3", "http://rdf.data-vocabulary.org/#description": "Pour white rum over ice.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 3 } }, { "@id": "_:b4", "http://rdf.data-vocabulary.org/#description": "Fill the rest of glass with club soda, stir.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 4 } }, { "@id": "_:b5", "http://rdf.data-vocabulary.org/#description": "Garnish with a lime wedge.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 5 } }], "http://rdf.data-vocabulary.org/#name": "Mojito", "http://rdf.data-vocabulary.org/#yield": "1 cocktail" }, { "@id": "_:b1", "http://rdf.data-vocabulary.org/#description": "Crush lime juice, mint and sugar together in glass.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 1 } }, { "@id": "_:b2", "http://rdf.data-vocabulary.org/#description": "Fill glass to top with ice cubes.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 2 } }, { "@id": "_:b3", "http://rdf.data-vocabulary.org/#description": "Pour white rum over ice.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 3 } }, { "@id": "_:b4", "http://rdf.data-vocabulary.org/#description": "Fill the rest of glass with club soda, stir.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 4 } }, { "@id": "_:b5", "http://rdf.data-vocabulary.org/#description": "Garnish with a lime wedge.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 5 } }] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0021-frame.jsonld000066400000000000000000000002231452212752100266300ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:list": {"@container": "@list"} } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0021-in.jsonld000066400000000000000000000016161452212752100261530ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "xsd": "http://www.w3.org/2001/XMLSchema#", "ex:contains": { "@type": "@id" }, "ex:list": {"@container": "@list"} }, "@graph": [ { "@id": "_:Book", "dc:title": "Book type" }, { "@id": "http://example.org/library", "@type": "ex:Library", "ex:contains": "http://example.org/library/the-republic" }, { "@id": "http://example.org/library/the-republic", "@type": "_:Book", "dc:creator": "Plato", "dc:title": "The Republic", "ex:contains": "http://example.org/library/the-republic#introduction" }, { "@id": "http://example.org/library/the-republic#introduction", "@type": "ex:Chapter", "dc:description": "An introductory chapter on The Republic.", "dc:title": "The Introduction", "ex:list": [1, 2, 3, 4, 4, 4, 5] }] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0021-out.jsonld000066400000000000000000000025661452212752100263610ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:list": {"@container": "@list"} }, "@graph": [ { "@id": "_:b0", "dc:title": "Book type" }, { "@id": "http://example.org/library", "@type": "ex:Library", "ex:contains": { "@id": "http://example.org/library/the-republic", "@type": "_:b0", "dc:creator": "Plato", "dc:title": "The Republic", "ex:contains": { "@id": "http://example.org/library/the-republic#introduction", "@type": "ex:Chapter", "dc:description": "An introductory chapter on The Republic.", "dc:title": "The Introduction", "ex:list": [1, 2, 3, 4, 4, 4, 5] } } }, { "@id": "http://example.org/library/the-republic", "@type": "_:b0", "ex:contains": { "@id": "http://example.org/library/the-republic#introduction", "@type": "ex:Chapter", "dc:description": "An introductory chapter on The Republic.", "dc:title": "The Introduction", "ex:list": [1, 2, 3, 4, 4, 4, 5] }, "dc:creator": "Plato", "dc:title": "The Republic" }, { "@id": "http://example.org/library/the-republic#introduction", "@type": "ex:Chapter", "dc:description": "An introductory chapter on The Republic.", "ex:list": [1, 2, 3, 4, 4, 4, 5], "dc:title": "The Introduction" }] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0022-frame.jsonld000066400000000000000000000001041452212752100266270ustar00rootroot00000000000000{ "@context": {"ex": "http://example.org/"}, "@id": "ex:Sub1" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0022-in.jsonld000066400000000000000000000002501452212752100261450ustar00rootroot00000000000000{ "@context": {"ex": "http://example.org/"}, "@graph": [{ "@id": "ex:Sub1", "@type": "ex:Type1" }, { "@id": "ex:Sub2", "@type": "ex:Type2" }] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0022-out.jsonld000066400000000000000000000001631452212752100263510ustar00rootroot00000000000000{ "@context": {"ex": "http://example.org/"}, "@graph": [{ "@id": "ex:Sub1", "@type": "ex:Type1" }] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0030-frame.jsonld000066400000000000000000000002561452212752100266360ustar00rootroot00000000000000{ "@context": { "ex": "http://www.example.com/#" }, "@type": "ex:Thing", "ex:embed": { "@embed": "@always" }, "ex:noembed": { "@embed": "@never" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0030-in.jsonld000066400000000000000000000004071452212752100261500ustar00rootroot00000000000000{ "@context": { "ex": "http://www.example.com/#" }, "@id": "ex:subject", "@type": "ex:Thing", "ex:embed": { "@id": "ex:embedded", "ex:title": "Embedded" }, "ex:noembed": { "@id": "ex:notembedded", "ex:title": "Not Embedded" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0030-out.jsonld000066400000000000000000000004151452212752100263500ustar00rootroot00000000000000{ "@context": { "ex": "http://www.example.com/#" }, "@graph": [{ "@id": "ex:subject", "@type": "ex:Thing", "ex:embed": { "@id": "ex:embedded", "ex:title": "Embedded" }, "ex:noembed": { "@id": "ex:notembedded" } }] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0046-frame.jsonld000066400000000000000000000000701452212752100266370ustar00rootroot00000000000000{ "@context": {"@vocab": "urn:"}, "@type": "Class" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-0046-in.jsonld000066400000000000000000000002461452212752100261600ustar00rootroot00000000000000{ "@context": {"@vocab": "urn:"}, "@id": "urn:id-1", "@type": "Class", "preserve": { "@graph": { "@id": "urn:id-2", "term": "data" } } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-g001-frame.jsonld000066400000000000000000000003531452212752100267210ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@type": "ex:Library", "ex:contains": { "@type": "ex:Book", "ex:contains": { "@type": "ex:Chapter" } } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-g001-in.jsonld000066400000000000000000000012241452212752100262330ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": {"@type": "@id"} }, "@graph": [ { "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": "http://example.org/test#book" }, { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": "http://example.org/test#chapter" }, { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:description": "Fun", "dc:title": "Chapter One" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-g001-out.jsonld000066400000000000000000000007561452212752100264450ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#" }, "@id": "http://example.org/test/#library", "@type": "ex:Library", "ex:contains": { "@id": "http://example.org/test#book", "@type": "ex:Book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": { "@id": "http://example.org/test#chapter", "@type": "ex:Chapter", "dc:description": "Fun", "dc:title": "Chapter One" } } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-manifest.jsonld000066400000000000000000000207621452212752100267760ustar00rootroot00000000000000{ "@context": "http://json-ld.org/test-suite/context.jsonld", "@id": "", "@type": "mf:Manifest", "name": "Framing", "description": "JSON-LD framing tests use object comparison.", "baseIri": "http://json-ld.org/test-suite/tests/", "sequence": [{ "@id": "#t0001", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "simple", "input": "frame-0001-in.jsonld", "frame": "frame-0001-frame.jsonld", "expect": "frame-0001-out.jsonld" }, { "@id": "#t0002", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "reframe w/extra CURIE value", "input": "frame-0002-in.jsonld", "frame": "frame-0002-frame.jsonld", "expect": "frame-0002-out.jsonld" }, { "@id": "#t0003", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "reframe (null)", "input": "frame-0003-in.jsonld", "frame": "frame-0003-frame.jsonld", "expect": "frame-0003-out.jsonld" }, { "@id": "#t0004", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "reframe (type)", "input": "frame-0004-in.jsonld", "frame": "frame-0004-frame.jsonld", "expect": "frame-0004-out.jsonld" }, { "@id": "#t0005", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "reframe (explicit)", "input": "frame-0005-in.jsonld", "frame": "frame-0005-frame.jsonld", "expect": "frame-0005-out.jsonld" }, { "@id": "#t0006", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "reframe (non-explicit)", "input": "frame-0006-in.jsonld", "frame": "frame-0006-frame.jsonld", "expect": "frame-0006-out.jsonld" }, { "@id": "#t0007", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "input has multiple types", "input": "frame-0007-in.jsonld", "frame": "frame-0007-frame.jsonld", "expect": "frame-0007-out.jsonld" }, { "@id": "#t0008", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "array framing cases", "input": "frame-0008-in.jsonld", "frame": "frame-0008-frame.jsonld", "expect": "frame-0008-out.jsonld" }, { "@id": "#t0009", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "default value", "input": "frame-0009-in.jsonld", "frame": "frame-0009-frame.jsonld", "expect": "frame-0009-out.jsonld" }, { "@id": "#t0010", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "property CURIE conflict", "input": "frame-0010-in.jsonld", "frame": "frame-0010-frame.jsonld", "expect": "frame-0010-out.jsonld" }, { "@id": "#t0011", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "@embed", "input": "frame-0011-in.jsonld", "frame": "frame-0011-frame.jsonld", "expect": "frame-0011-out.jsonld" }, { "@id": "#t0012", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Array frame", "input": "frame-0012-in.jsonld", "frame": "frame-0012-frame.jsonld", "expect": "frame-0012-out.jsonld" }, { "@id": "#t0013", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Replace existing embed", "input": "frame-0013-in.jsonld", "frame": "frame-0013-frame.jsonld", "expect": "frame-0013-out.jsonld" }, { "@id": "#t0014", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Replace existing embed on 2nd pass", "input": "frame-0014-in.jsonld", "frame": "frame-0014-frame.jsonld", "expect": "frame-0014-out.jsonld" }, { "@id": "#t0015", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Replace deeply-nested embed", "input": "frame-0015-in.jsonld", "frame": "frame-0015-frame.jsonld", "expect": "frame-0015-out.jsonld" }, { "@id": "#t0016", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Use @type in ducktype filter", "input": "frame-0016-in.jsonld", "frame": "frame-0016-frame.jsonld", "expect": "frame-0016-out.jsonld" }, { "@id": "#t0017", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Non-flat input", "input": "frame-0017-in.jsonld", "frame": "frame-0017-frame.jsonld", "expect": "frame-0017-out.jsonld" }, { "@id": "#t0018", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "no frame @context but @graph output", "input": "frame-0018-in.jsonld", "frame": "frame-0018-frame.jsonld", "expect": "frame-0018-out.jsonld" }, { "@id": "#t0019", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Resources can be re-embedded again in each top-level frame match", "input": "frame-0019-in.jsonld", "frame": "frame-0019-frame.jsonld", "expect": "frame-0019-out.jsonld" }, { "@id": "#t0020", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Blank nodes in an array", "input": "frame-0020-in.jsonld", "frame": "frame-0020-frame.jsonld", "expect": "frame-0020-out.jsonld" }, { "@id": "#t0021", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Blank nodes in @type", "input": "frame-0021-in.jsonld", "frame": "frame-0021-frame.jsonld", "expect": "frame-0021-out.jsonld", "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"} } , { "@id": "#t0022", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Default inside sets", "input": "frame-0022-in.jsonld", "frame": "frame-0022-frame.jsonld", "expect": "frame-0022-out.jsonld" } , { "@id": "#t0030", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "@embed", "input": "frame-0030-in.jsonld", "frame": "frame-0030-frame.jsonld", "expect": "frame-0030-out.jsonld" }, { "@id": "#tg001", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Library framing example with @graph and omitGraph is true.", "purpose": "Basic example used in playground and spec examples.", "input": "frame-g001-in.jsonld", "frame": "frame-g001-frame.jsonld", "expect": "frame-g001-out.jsonld", "option": {"specVersion": "json-ld-1.1", "omitGraph": true} }, { "@id": "#tp010", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Property CURIE conflict (prune bnodes)", "purpose": "(Not really framing) A term looking like a CURIE becomes a CURIE when framing/compacting if defined as such in frame/context.", "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, "input": "frame-0010-in.jsonld", "frame": "frame-0010-frame.jsonld", "expect": "frame-p010-out.jsonld" }, { "@id": "#tp020", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Blank nodes in an array (prune bnodes)", "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, "input": "frame-0020-in.jsonld", "frame": "frame-0020-frame.jsonld", "expect": "frame-p020-out.jsonld" }, { "@id": "#tp021", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Blank nodes in @type (prune bnodes)", "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, "input": "frame-0021-in.jsonld", "frame": "frame-0021-frame.jsonld", "expect": "frame-p021-out.jsonld" }, { "@id": "#tp046", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Merge graphs if no outer @graph is used (prune bnodes)", "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, "input": "frame-0046-in.jsonld", "frame": "frame-0046-frame.jsonld", "expect": "frame-p046-out.jsonld" }, { "@id": "#tp050", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Prune blank nodes with alias of @id", "purpose": "If @id is aliased in a frame, an unreferenced blank node is still pruned.", "input": "frame-p050-in.jsonld", "frame": "frame-p050-frame.jsonld", "expect": "frame-p050-out.jsonld", "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} }] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-p010-out.jsonld000066400000000000000000000004551452212752100264520ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/terms/", "dc:creator": { "@type": "@id" }, "foaf": "http://xmlns.com/foaf/0.1/", "ps": "http://purl.org/payswarm#" }, "@id": "http://example.com/asset", "@type": "ps:Asset", "dc:creator": { "foaf:name": "John Doe" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-p020-out.jsonld000066400000000000000000000055531452212752100264570ustar00rootroot00000000000000{ "@graph": [ { "http://rdf.data-vocabulary.org/#ingredients": ["12 fresh mint leaves", "1/2 lime, juiced with pulp", "1 tablespoons white sugar", "1 cup ice cubes", "2 fluid ounces white rum", "1/2 cup club soda"], "http://rdf.data-vocabulary.org/#instructions": [{ "@id": "_:b1", "http://rdf.data-vocabulary.org/#description": "Crush lime juice, mint and sugar together in glass.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 1 } }, { "@id": "_:b2", "http://rdf.data-vocabulary.org/#description": "Fill glass to top with ice cubes.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 2 } }, { "@id": "_:b3", "http://rdf.data-vocabulary.org/#description": "Pour white rum over ice.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 3 } }, { "@id": "_:b4", "http://rdf.data-vocabulary.org/#description": "Fill the rest of glass with club soda, stir.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 4 } }, { "@id": "_:b5", "http://rdf.data-vocabulary.org/#description": "Garnish with a lime wedge.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 5 } }], "http://rdf.data-vocabulary.org/#name": "Mojito", "http://rdf.data-vocabulary.org/#yield": "1 cocktail" }, { "@id": "_:b1", "http://rdf.data-vocabulary.org/#description": "Crush lime juice, mint and sugar together in glass.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 1 } }, { "@id": "_:b2", "http://rdf.data-vocabulary.org/#description": "Fill glass to top with ice cubes.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 2 } }, { "@id": "_:b3", "http://rdf.data-vocabulary.org/#description": "Pour white rum over ice.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 3 } }, { "@id": "_:b4", "http://rdf.data-vocabulary.org/#description": "Fill the rest of glass with club soda, stir.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 4 } }, { "@id": "_:b5", "http://rdf.data-vocabulary.org/#description": "Garnish with a lime wedge.", "http://rdf.data-vocabulary.org/#step": { "@type": "http://www.w3.org/2001/XMLSchema#integer", "@value": 5 } }] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-p021-out.jsonld000066400000000000000000000025661452212752100264610ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:list": {"@container": "@list"} }, "@graph": [ { "@id": "_:b0", "dc:title": "Book type" }, { "@id": "http://example.org/library", "@type": "ex:Library", "ex:contains": { "@id": "http://example.org/library/the-republic", "@type": "_:b0", "dc:creator": "Plato", "dc:title": "The Republic", "ex:contains": { "@id": "http://example.org/library/the-republic#introduction", "@type": "ex:Chapter", "dc:description": "An introductory chapter on The Republic.", "dc:title": "The Introduction", "ex:list": [1, 2, 3, 4, 4, 4, 5] } } }, { "@id": "http://example.org/library/the-republic", "@type": "_:b0", "ex:contains": { "@id": "http://example.org/library/the-republic#introduction", "@type": "ex:Chapter", "dc:description": "An introductory chapter on The Republic.", "dc:title": "The Introduction", "ex:list": [1, 2, 3, 4, 4, 4, 5] }, "dc:creator": "Plato", "dc:title": "The Republic" }, { "@id": "http://example.org/library/the-republic#introduction", "@type": "ex:Chapter", "dc:description": "An introductory chapter on The Republic.", "ex:list": [1, 2, 3, 4, 4, 4, 5], "dc:title": "The Introduction" }] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-p046-out.jsonld000066400000000000000000000001371452212752100264600ustar00rootroot00000000000000{ "@context": {"@vocab": "urn:"}, "@id": "urn:id-1", "@type": "Class", "preserve": {} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-p050-frame.jsonld000066400000000000000000000001421452212752100267320ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example/", "id": "@id" }, "id": {}, "name": {} }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-p050-in.jsonld000066400000000000000000000001551452212752100262520ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example/", "id": "@id" }, "id": "_:bnode0", "name": "foo" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/frame-p050-out.jsonld000066400000000000000000000001241452212752100264470ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example/", "id": "@id" }, "name": "foo" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0001-in.nq000066400000000000000000000006561452212752100256060ustar00rootroot00000000000000 . . "Plain" . "2012-05-12"^^ . "English"@en . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0001-out.jsonld000066400000000000000000000005471452212752100266610ustar00rootroot00000000000000[ { "@id": "http://example.com/Subj1", "@type": ["http://example.com/Type"], "http://example.com/prop1": [{"@id": "http://example.com/Obj1"}], "http://example.com/prop2": [ {"@value": "Plain"}, {"@value": "2012-05-12", "@type": "http://www.w3.org/2001/XMLSchema#date"}, {"@value": "English", "@language": "en"} ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0002-in.nq000066400000000000000000000010201452212752100255710ustar00rootroot00000000000000 "true"^^ . "false"^^ . "1"^^ . "1.1"^^ . "1.1E-1"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0002-out.jsonld000066400000000000000000000011321452212752100266510ustar00rootroot00000000000000[ { "@id": "http://example.com/Subj1", "http://example.com/prop": [ { "@value": "true", "@type": "http://www.w3.org/2001/XMLSchema#boolean" }, { "@value": "false", "@type": "http://www.w3.org/2001/XMLSchema#boolean" }, { "@value": "1", "@type": "http://www.w3.org/2001/XMLSchema#integer" }, { "@value": "1.1", "@type": "http://www.w3.org/2001/XMLSchema#decimal" }, { "@value": "1.1E-1", "@type": "http://www.w3.org/2001/XMLSchema#double" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0003-in.nq000066400000000000000000000010031452212752100255730ustar00rootroot00000000000000 . _:a . _:a . . . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0003-out.jsonld000066400000000000000000000006501452212752100266560ustar00rootroot00000000000000[ { "@id": "_:a", "@type": ["http://example.com/SubType"] }, { "@id": "http://example.com/Subj1", "@type": ["http://example.com/Type"], "http://example.com/ref": [ {"@id": "_:a"}, {"@id": "http://example.com/Subj2"} ] }, { "@id": "http://example.com/Subj2", "@type": ["http://example.com/Type"], "http://example.com/ref": [{"@id": "http://example.com/Subj1"}] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0004-in.nq000066400000000000000000000014721452212752100256060ustar00rootroot00000000000000 . _:a "apple" . _:a _:b . _:b "bananna" . _:b . _:a . . _:c . _:c . _:c . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0004-out.jsonld000066400000000000000000000006021452212752100266540ustar00rootroot00000000000000[ { "@id": "http://example.com/Subj1", "@type": ["http://example.com/Type"], "http://example.com/literalList": [{ "@list": [ {"@value": "apple"}, {"@value": "bananna"} ] }], "http://example.com/emptyList": [{ "@list": [] }], "http://example.com/iriList": [{ "@list": [{"@id": "http://example.com/iri"}] }] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0005-in.nq000066400000000000000000000015221452212752100256030ustar00rootroot00000000000000 . . _:a "a" . _:a _:b . _:b "b" . _:b . _:a . . "Graph" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0005-out.jsonld000066400000000000000000000007371452212752100266660ustar00rootroot00000000000000[ { "@id": "http://example.com/U", "@graph": [ { "@id": "http://example.com/Subj1", "@type": ["http://example.com/Type"], "http://example.com/ref": [{"@id": "http://example.com/U"}], "http://example.com/list": [{ "@list": [ {"@value": "a"}, {"@value": "b"} ] }] } ], "@type": ["http://example.com/Graph"], "http://example.com/name": [{"@value": "Graph"}] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0006-in.nq000066400000000000000000000025431452212752100256100ustar00rootroot00000000000000 . . _:a . _:a "a" . _:a _:b . _:b "b" . _:b . . . _:c . _:c "c" . _:c _:d . _:d "d" . _:d . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0006-out.jsonld000066400000000000000000000013721452212752100266630ustar00rootroot00000000000000[ { "@id": "http://example.com/U", "@graph": [ { "@id": "http://example.com/Subj1", "@type": ["http://example.com/Type"], "http://example.com/ref": [{"@id": "http://example.com/U"}], "http://example.com/list": [{ "@list": [ {"@value": "a"}, {"@value": "b"} ] }] } ] }, { "@id": "http://example.com/V", "@graph": [ { "@id": "http://example.com/Subj1", "@type": ["http://example.com/Type2"], "http://example.com/ref": [{"@id": "http://example.com/V"}], "http://example.com/list": [{ "@list": [ {"@value": "c"}, {"@value": "d"} ] }] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0007-in.nq000066400000000000000000000014541452212752100256110ustar00rootroot00000000000000 . "http://gregkellogg.net/foaf#me" . . "http://www.statistik-berlin-brandenburg.de/" . "3499879"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0007-out.jsonld000066400000000000000000000014651452212752100266670ustar00rootroot00000000000000[ { "@id": "http://data.wikipedia.org/snaks/Assertions", "@type": ["http://data.wikipedia.org/vocab#SnakSet"], "http://data.wikipedia.org/vocab#assertedBy": [{"@value": "http://gregkellogg.net/foaf#me"} ], "@graph": [ { "@id": "http://data.wikipedia.org/snaks/BerlinFact", "@type": ["http://data.wikipedia.org/vocab#Snak"], "http://data.wikipedia.org/vocab#assertedBy": [{"@value": "http://www.statistik-berlin-brandenburg.de/"}] } ] }, { "@id": "http://data.wikipedia.org/snaks/BerlinFact", "@graph": [ { "@id": "http://en.wikipedia.org/wiki/Berlin", "http://data.wikipedia.org/vocab#population": [{ "@value": "3499879", "@type": "http://www.w3.org/2001/XMLSchema#integer" }] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0008-in.nq000066400000000000000000000033471452212752100256150ustar00rootroot00000000000000 _:outerlist . _:outerlist _:lista . _:outerlist _:b0 . _:lista "a1" . _:lista _:a2 . _:a2 "a2" . _:a2 _:a3 . _:a3 "a3" . _:a3 . _:c0 _:c1 . _:c0 . _:c1 "c1" . _:c1 _:c2 . _:c2 "c2" . _:c2 _:c3 . _:c3 "c3" . _:c3 . _:b0 _:b1 . _:b0 _:c0 . _:b1 "b1" . _:b1 _:b2 . _:b2 "b2" . _:b2 _:b3 . _:b3 "b3" . _:b3 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0008-out.jsonld000066400000000000000000000020321452212752100266570ustar00rootroot00000000000000[ { "@id": "_:b1", "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "b1" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@list": [ { "@value": "b2" }, { "@value": "b3" } ] } ] }, { "@id": "_:c1", "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "c1" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@list": [ { "@value": "c2" }, { "@value": "c3" } ] } ] }, { "@id": "_:lista", "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "a1" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@list": [ { "@value": "a2" }, { "@value": "a3" } ] } ] }, { "@id": "http://example.com", "http://example.com/property": [ { "@list": [ { "@id": "_:lista" }, { "@id": "_:b1" }, { "@id": "_:c1" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0009-in.nq000066400000000000000000000010231452212752100256030ustar00rootroot00000000000000 . "a" . _:b . _:b "b" . _:b _:c . _:c "c" . _:c . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0009-out.jsonld000066400000000000000000000006341452212752100266660ustar00rootroot00000000000000[ { "@id": "http://example.com", "http://example.com/property": [ { "@id": "http://example.com/list" } ] }, { "@id": "http://example.com/list", "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "a" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@list": [ { "@value": "b" }, { "@value": "c" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0010-in.nq000066400000000000000000000005501452212752100255770ustar00rootroot00000000000000 _:a . _:a "a" . _:a _:b . _:b "b" . _:b _:c . _:c "c" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0010-out.jsonld000066400000000000000000000010751452212752100266560ustar00rootroot00000000000000[ { "@id": "_:a", "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "a" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@id": "_:b" } ] }, { "@id": "_:b", "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "b" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@id": "_:c" } ] }, { "@id": "_:c", "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "c" } ] }, { "@id": "http://example.com", "http://example.com/property": [ { "@id": "_:a" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0011-in.nq000066400000000000000000000011021452212752100255720ustar00rootroot00000000000000 _:a . _:a "a" . _:a _:b . _:b "b" . _:b "This list node has also properties other than rdf:first and rdf:rest" . _:b _:c . _:c "c" . _:c . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0011-out.jsonld000066400000000000000000000012321452212752100266520ustar00rootroot00000000000000[ { "@id": "_:a", "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "a" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@id": "_:b" } ] }, { "@id": "_:b", "http://example.com/other-property": [ { "@value": "This list node has also properties other than rdf:first and rdf:rest" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "b" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@list": [ { "@value": "c" } ] } ] }, { "@id": "http://example.com", "http://example.com/property": [ { "@id": "_:a" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0012-in.nq000066400000000000000000000006441452212752100256050ustar00rootroot00000000000000 _:a . _:a "a" . _:a _:b . _:b "b" . _:b _:c . _:c "c" . _:c _:b . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0012-out.jsonld000066400000000000000000000012131452212752100266520ustar00rootroot00000000000000[ { "@id": "_:a", "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "a" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@id": "_:b" } ] }, { "@id": "_:b", "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "b" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@id": "_:c" } ] }, { "@id": "_:c", "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "c" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@id": "_:b" } ] }, { "@id": "http://example.com", "http://example.com/property": [ { "@id": "_:a" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0013-in.nq000066400000000000000000000010201452212752100255730ustar00rootroot00000000000000 _:a . _:a "a" . _:a _:b . _:b "b1" . _:b "b2" . _:b _:c . _:c "c" . _:c . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0013-out.jsonld000066400000000000000000000011101452212752100266470ustar00rootroot00000000000000[ { "@id": "_:a", "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "a" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@id": "_:b" } ] }, { "@id": "_:b", "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "b1" }, { "@value": "b2" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@list": [ { "@value": "c" } ] } ] }, { "@id": "http://example.com", "http://example.com/property": [ { "@id": "_:a" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0014-in.nq000066400000000000000000000012631452212752100256050ustar00rootroot00000000000000 _:a . _:a "a" . _:a _:b . _:b "b" . _:b _:c . _:b _:d . _:c "c" . _:c . _:d "d" . _:d . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0014-out.jsonld000066400000000000000000000010271452212752100266570ustar00rootroot00000000000000[ { "@id": "_:a", "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "a" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@id": "_:b" } ] }, { "@id": "_:b", "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "b" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@list": [ { "@value": "c" } ] }, { "@list": [ { "@value": "d" } ] } ] }, { "@id": "http://example.com", "http://example.com/property": [ { "@id": "_:a" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0015-in.nq000066400000000000000000000002621452212752100256040ustar00rootroot00000000000000 _:a . _:a "a" . _:a "b" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0015-out.jsonld000066400000000000000000000004361452212752100266630ustar00rootroot00000000000000[ { "@id": "_:a", "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "a" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@value": "b" } ] }, { "@id": "http://example.com", "http://example.com/property": [ { "@id": "_:a" } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0016-in.nq000066400000000000000000000016031452212752100256050ustar00rootroot00000000000000 _:b0 . _:b0 . _:b0 "A" . _:b0 _:b1 . _:b1 "B" . _:b1 _:b2 . _:b1 . _:b1 . _:b1 . _:b2 "C" . _:b2 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0016-out.jsonld000066400000000000000000000004321452212752100266600ustar00rootroot00000000000000[ { "@id": "http://example.com/", "http://example.com/list": [ { "@list": [ { "@value": "A" }, { "@value": "B" }, { "@value": "C" } ] } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0017-in.nq000066400000000000000000000014761452212752100256160ustar00rootroot00000000000000 "1" . "1" . "2"^^ . "2"^^ . . . . . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0017-out.jsonld000066400000000000000000000004641452212752100266660ustar00rootroot00000000000000[ { "@id": "http://example.com/nodeA", "http://example.com/property": [ { "@value": "1" }, { "@value": "2", "@type": "http://www.w3.org/2001/XMLSchema#integer" }, { "@id": "http://example.com/nodeB" } ], "@type": [ "http://example.com/TypeA" ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0018-in.nq000066400000000000000000000010201452212752100256000ustar00rootroot00000000000000 "true"^^ . "false"^^ . "1"^^ . "1.1"^^ . "1.1E-1"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0018-out.jsonld000066400000000000000000000004161452212752100266640ustar00rootroot00000000000000[ { "@id": "http://example.com/Subj1", "http://example.com/prop": [ { "@value": true }, { "@value": false }, { "@value": 1 }, { "@value": "1.1", "@type": "http://www.w3.org/2001/XMLSchema#decimal"}, { "@value": 0.11 } ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0019-in.nq000066400000000000000000000006561452212752100256170ustar00rootroot00000000000000 . . "Plain" . "2012-05-12"^^ . "English"@en . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0019-out.jsonld000066400000000000000000000006461452212752100266720ustar00rootroot00000000000000[ { "@id": "http://example.com/Subj1", "http://example.com/prop1": [{"@id": "http://example.com/Obj1"}], "http://example.com/prop2": [ {"@value": "Plain"}, {"@value": "2012-05-12", "@type": "http://www.w3.org/2001/XMLSchema#date"}, {"@value": "English", "@language": "en"} ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ {"@id": "http://example.com/Type"} ] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0020-in.nq000066400000000000000000000011641452212752100256020ustar00rootroot00000000000000 . "myLabel" . "2012-05-12"^^ . . "Plain" . "2012-05-12"^^ . "English"@en . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-0020-out.jsonld000066400000000000000000000012241452212752100266530ustar00rootroot00000000000000[ { "@id": "http://example.com/Subj1", "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" : [{ "@id": "http://example.com/Type" }], "http://example.com/prop1": [{"@id": "http://example.com/Obj1"}], "http://example.com/prop2": [ {"@value": "Plain"}, {"@value": "2012-05-12", "@type": "http://www.w3.org/2001/XMLSchema#date"}, {"@value": "English", "@language": "en"} ] }, { "@id": "http://example.com/Type", "http://www.w3.org/1999/02/22-rdf-syntax-ns#label": [{"@value": "myLabel"}], "http://example.com/prop2": [{"@value": "2012-05-12", "@type": "http://www.w3.org/2001/XMLSchema#date"}] } ] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/fromRdf-manifest.jsonld000066400000000000000000000150631452212752100273010ustar00rootroot00000000000000{ "@context": "http://json-ld.org/test-suite/context.jsonld", "@id": "", "@type": "mf:Manifest", "name": "Transform RDF to JSON-LD", "description": "Transform RDF to JSON-LD tests take N-Quads input and use object comparison.", "baseIri": "http://json-ld.org/test-suite/tests/", "sequence": [ { "@id": "#t0001", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "Object Lists", "purpose": "Tests generation using different types of objects.", "input": "fromRdf-0001-in.nq", "expect": "fromRdf-0001-out.jsonld" }, { "@id": "#t0002", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "Native Types", "purpose": "Do not use native datatypes for xsd:boolean, xsd:integer, and xsd:double by default.", "input": "fromRdf-0002-in.nq", "expect": "fromRdf-0002-out.jsonld" }, { "@id": "#t0003", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "BNodes and references", "purpose": "BNode name generation and references between resources.", "input": "fromRdf-0003-in.nq", "expect": "fromRdf-0003-out.jsonld" }, { "@id": "#t0004", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "Lists", "purpose": "Multiple lists with different types of element.", "input": "fromRdf-0004-in.nq", "expect": "fromRdf-0004-out.jsonld" }, { "@id": "#t0005", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "Document with list", "purpose": "Uses a named graph containing a list.", "input": "fromRdf-0005-in.nq", "expect": "fromRdf-0005-out.jsonld" }, { "@id": "#t0006", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "Two graphs having same subject but different values", "purpose": "Ensure that properties and list elements aren't confused between graphs.", "input": "fromRdf-0006-in.nq", "expect": "fromRdf-0006-out.jsonld" }, { "@id": "#t0007", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "Graph with multiple named graphs", "purpose": "Testing @graph recursion.", "input": "fromRdf-0007-in.nq", "expect": "fromRdf-0007-out.jsonld" }, { "@id": "#t0008", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "List conversion", "purpose": "Conversion of lists of lists (the triples in the input are only partially ordered on purpose", "input": "fromRdf-0008-in.nq", "expect": "fromRdf-0008-out.jsonld" }, { "@id": "#t0009", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "List conversion with IRI nodes", "purpose": "Preserve IRI list nodes (i.e., not blank nodes) when converting to @list", "input": "fromRdf-0009-in.nq", "expect": "fromRdf-0009-out.jsonld" }, { "@id": "#t0010", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "List pattern without rdf:nil", "purpose": "Do not convert lists that are not terminated by rdf:nil to @list.", "input": "fromRdf-0010-in.nq", "expect": "fromRdf-0010-out.jsonld" }, { "@id": "#t0011", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "List pattern with extra properties", "purpose": "If additional properties are associated to a list node, the list is only partially converted to @list.", "input": "fromRdf-0011-in.nq", "expect": "fromRdf-0011-out.jsonld" }, { "@id": "#t0012", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "List pattern with cycles", "purpose": "Detect lists containing cycles and do not convert them to @list.", "input": "fromRdf-0012-in.nq", "expect": "fromRdf-0012-out.jsonld" }, { "@id": "#t0013", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "List pattern with multiple values of rdf:first", "purpose": "Do not convert list nodes to @list if nodes contain more than one value for rdf:first.", "input": "fromRdf-0013-in.nq", "expect": "fromRdf-0013-out.jsonld" }, { "@id": "#t0014", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "List pattern with multiple values of rdf:rest", "purpose": "Do not convert list nodes to @list if nodes contain more than one value for rdf:rest.", "input": "fromRdf-0014-in.nq", "expect": "fromRdf-0014-out.jsonld" }, { "@id": "#t0015", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "List pattern with IRI rdf:rest", "purpose": "Do not convert lists to @list if a list node's rdf:rest is an IRI.", "input": "fromRdf-0015-in.nq", "expect": "fromRdf-0015-out.jsonld" }, { "@id": "#t0016", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "List pattern with type rdf:List", "purpose": "List nodes may have a rdf:type rdf:List.", "input": "fromRdf-0016-in.nq", "expect": "fromRdf-0016-out.jsonld" }, { "@id": "#t0017", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "Remove duplicate triples", "purpose": "Equivalent triples are used only once", "input": "fromRdf-0017-in.nq", "expect": "fromRdf-0017-out.jsonld" }, { "@id": "#t0018", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "use native types flag set to true", "purpose": "Literals with datatype xsd:boolean, xsd:integer, and xsd:double are serialized using native scalar values", "option": { "useNativeTypes": true }, "input": "fromRdf-0018-in.nq", "expect": "fromRdf-0018-out.jsonld" }, { "@id": "#t0019", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "use rdf:type flag set to false", "purpose": "Setting useRdfType to true causes an rdf:type predicate to be treated like a normal property, not @type", "option": { "useRdfType": true }, "input": "fromRdf-0019-in.nq", "expect": "fromRdf-0019-out.jsonld" }, { "@id": "#t0020", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "rdf:type as an @id with values", "purpose": "Tests the proper formatting of @type (even with useRdfType to false) into rdf:type when the object contains more triples.", "input": "fromRdf-0020-in.nq", "expect": "fromRdf-0020-out.jsonld" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0001-in.jsonld000066400000000000000000000000561452212752100270540ustar00rootroot00000000000000{ "@id": "http://example.org/test#example" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0001-out.nq000066400000000000000000000000001452212752100263670ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0002-in.jsonld000066400000000000000000000003641452212752100270570ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" }, "@id": "http://example.org/test#example1", "ex:p": [ { "@id": "http://example.org/test#example2" }, { "@id": "http://example.org/test#example2" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0002-out.nq000066400000000000000000000001451452212752100264020ustar00rootroot00000000000000 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0003-in.jsonld000066400000000000000000000001221452212752100270500ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" }, "@type": "ex:Foo" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0003-out.nq000066400000000000000000000001331452212752100264000ustar00rootroot00000000000000_:c14n0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0004-in.jsonld000066400000000000000000000002241452212752100270540ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" }, "@type": "ex:Foo", "ex:embed": { "@id": "http://example.org/test#example" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0004-out.nq000066400000000000000000000002501452212752100264010ustar00rootroot00000000000000_:c14n0 . _:c14n0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0005-in.jsonld000066400000000000000000000002511452212752100270550ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" }, "@id": "http://example.org/test#example", "@type": "ex:Foo", "ex:embed": { "@type": "ex:Bar" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0005-out.nq000066400000000000000000000004351452212752100264070ustar00rootroot00000000000000 _:c14n0 . . _:c14n0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0006-in.jsonld000066400000000000000000000002261452212752100270600ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" }, "@id": "http://example.org/test#example", "@type": [ "ex:Foo", "ex:Bar" ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0006-out.nq000066400000000000000000000003521452212752100264060ustar00rootroot00000000000000 . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0007-in.jsonld000066400000000000000000000002641452212752100270630ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:foo": {"@type": "@id"} }, "@id": "http://example.org/test#example", "@type": "ex:Foo", "ex:foo": "ex:Bar" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0007-out.nq000066400000000000000000000003271452212752100264110ustar00rootroot00000000000000 . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0008-in.jsonld000066400000000000000000000007201452212752100270610ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": { "@type": "@id" } }, "@id": "http://example.org/test#library", "ex:contains": { "@id": "http://example.org/test#book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": { "@id": "http://example.org/test#chapter", "dc:description": "Fun", "dc:title": "Chapter One" } } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0008-out.nq000066400000000000000000000010531452212752100264070ustar00rootroot00000000000000 . "Writer" . "My Book" . "Fun" . "Chapter One" . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0009-in.jsonld000066400000000000000000000016341452212752100270670ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:authored": { "@type": "@id" }, "ex:contains": { "@type": "@id" }, "foaf": "http://xmlns.com/foaf/0.1/", "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@graph": [ { "@id": "http://example.org/test#chapter", "dc:description": "Fun", "dc:title": "Chapter One" }, { "@id": "http://example.org/test#jane", "ex:authored": "http://example.org/test#chapter", "foaf:name": "Jane" }, { "@id": "http://example.org/test#john", "foaf:name": "John" }, { "@id": "http://example.org/test#library", "ex:contains": { "@id": "http://example.org/test#book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": "http://example.org/test#chapter" } } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0009-out.nq000066400000000000000000000014441452212752100264140ustar00rootroot00000000000000 . "Writer" . "My Book" . "Fun" . "Chapter One" . . "Jane" . "John" . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0010-in.jsonld000066400000000000000000000004021452212752100270470ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:validFrom": { "@type": "xsd:dateTime" }, "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@id": "http://example.org/test#example", "ex:validFrom": "2011-01-25T00:00:00+0000" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0010-out.nq000066400000000000000000000002211452212752100263740ustar00rootroot00000000000000 "2011-01-25T00:00:00+0000"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0011-in.jsonld000066400000000000000000000003761452212752100270620ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:validFrom": { "@type": "xsd:dateTime" }, "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@id": "http://example.org/test#example", "ex:validFrom": "2011-01-25T00:00:00Z" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0011-out.nq000066400000000000000000000002151452212752100264000ustar00rootroot00000000000000 "2011-01-25T00:00:00Z"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0012-in.jsonld000066400000000000000000000004321452212752100270540ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:date": { "@type": "xsd:dateTime" }, "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@id": "http://example.org/test#example", "ex:date": [ "2011-01-25T00:00:00Z", "2011-01-25T00:00:00Z" ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0012-out.nq000066400000000000000000000002101452212752100263740ustar00rootroot00000000000000 "2011-01-25T00:00:00Z"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0013-in.jsonld000066400000000000000000000006341452212752100270610ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:date": { "@type": "xsd:dateTime" }, "ex:parent": { "@type": "@id" }, "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@id": "http://example.org/test#example1", "ex:date": "2011-01-25T00:00:00Z", "ex:embed": { "@id": "http://example.org/test#example2", "ex:parent": "http://example.org/test#example1" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0013-out.nq000066400000000000000000000005341452212752100264060ustar00rootroot00000000000000 "2011-01-25T00:00:00Z"^^ . . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0014-in.jsonld000066400000000000000000000002261452212752100270570ustar00rootroot00000000000000{ "@context": { "e": "http://example.org/vocab#" }, "@id": "http://example.org/test", "e:bool": true, "e:double": 1.23, "e:int": 123 }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0014-out.nq000066400000000000000000000005161452212752100264070ustar00rootroot00000000000000 "true"^^ . "1.23E0"^^ . "123"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0015-in.jsonld000066400000000000000000000002161452212752100270570ustar00rootroot00000000000000{ "@context": { "e": "http://example.org/vocab#" }, "@graph": [ { "@id": "e:A" }, { "@id": "e:B" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0015-out.nq000066400000000000000000000000001452212752100263740ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0016-in.jsonld000066400000000000000000000003511452212752100270600ustar00rootroot00000000000000{ "@context": { "e": "http://example.org/vocab#", "e:B": {"@type": "@id"} }, "@id": "http://example.org/test", "e:A": { "@id": "_:b1" }, "e:B": "_:b1", "e:embed": { "@id": "_:b1", "name": "foo" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0016-out.nq000066400000000000000000000003071452212752100264070ustar00rootroot00000000000000 _:c14n0 . _:c14n0 . _:c14n0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0017-in.jsonld000066400000000000000000000004721452212752100270650ustar00rootroot00000000000000[ { "@context": { "e": "http://example.org/vocab#", "e:B": { "@type": "@id" }, "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@id": "http://example.org/test", "e:A": { "@id": "_:b1" }, "e:B": "_:b1" }, { "@id": "_:b1", "name": "foo" } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0017-out.nq000066400000000000000000000002021452212752100264020ustar00rootroot00000000000000 _:c14n0 . _:c14n0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0018-in.jsonld000066400000000000000000000002011452212752100270540ustar00rootroot00000000000000{ "@context": { "e": "http://example.org/vocab#", "e:self": {"@type": "@id"} }, "@id": "_:b0", "e:self": "_:b0" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0018-out.nq000066400000000000000000000000621452212752100264070ustar00rootroot00000000000000_:c14n0 _:c14n0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0019-in.jsonld000066400000000000000000000003401452212752100270610ustar00rootroot00000000000000{ "@context": { "e": "http://example.org/vocab#", "e:self": {"@type": "@id"} }, "@graph": [ { "@id": "_:b0", "e:self": "_:b0" }, { "@id": "_:b1", "e:self": "_:b1" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0019-out.nq000066400000000000000000000001441452212752100264110ustar00rootroot00000000000000_:c14n0 _:c14n0 . _:c14n1 _:c14n1 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0020-in.jsonld000066400000000000000000000006101452212752100270510ustar00rootroot00000000000000{ "@context": { "e": "http://example.org/vocab#", "e:A": {"@type": "@id"}, "e:B": {"@type": "@id"}, "e:next": {"@type": "@id"} }, "@graph": [ { "@id": "e:test", "e:A": "_:b1", "e:B": "_:b2" }, { "@id": "_:b1", "e:next": "_:b3" }, { "@id": "_:b2", "e:next": "_:b3" }, { "@id": "_:b3" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0020-out.nq000066400000000000000000000003621452212752100264030ustar00rootroot00000000000000 _:c14n2 . _:c14n1 . _:c14n1 _:c14n0 . _:c14n2 _:c14n0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0021-in.jsonld000066400000000000000000000003401452212752100270520ustar00rootroot00000000000000{ "@context": { "e": "http://example.org/vocab#", "e:next": {"@type": "@id"} }, "@graph": [ { "@id": "_:b1", "e:next": "_:b2" }, { "@id": "_:b2", "e:next": "_:b1" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0021-out.nq000066400000000000000000000001441452212752100264020ustar00rootroot00000000000000_:c14n0 _:c14n1 . _:c14n1 _:c14n0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0022-in.jsonld000066400000000000000000000004601452212752100270560ustar00rootroot00000000000000{ "@context": { "e": "http://example.org/vocab#", "e:next": {"@type": "@id"}, "e:prev": {"@type": "@id"} }, "@graph": [ { "@id": "_:b1", "e:next": "_:b2", "e:prev": "_:b2" }, { "@id": "_:b2", "e:next": "_:b1", "e:prev": "_:b1" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0022-out.nq000066400000000000000000000003101452212752100263760ustar00rootroot00000000000000_:c14n0 _:c14n1 . _:c14n0 _:c14n1 . _:c14n1 _:c14n0 . _:c14n1 _:c14n0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0023-in.jsonld000066400000000000000000000004311452212752100270550ustar00rootroot00000000000000{ "@context": { "e": "http://example.org/vocab#", "e:next": {"@type": "@id"} }, "@graph": [ { "@id": "_:b1", "e:next": "_:b2" }, { "@id": "_:b2", "e:next": "_:b3" }, { "@id": "_:b3", "e:next": "_:b1" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0023-out.nq000066400000000000000000000002261452212752100264050ustar00rootroot00000000000000_:c14n0 _:c14n2 . _:c14n1 _:c14n0 . _:c14n2 _:c14n1 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0024-in.jsonld000066400000000000000000000006311452212752100270600ustar00rootroot00000000000000{ "@context": { "e": "http://example.org/vocab#", "e:next": { "@type": "@id" }, "e:prev": { "@type": "@id" } }, "@graph": [ { "@id": "_:b1", "e:next": "_:b2", "e:prev": "_:b3" }, { "@id": "_:b2", "e:next": "_:b3", "e:prev": "_:b1" }, { "@id": "_:b3", "e:next": "_:b1", "e:prev": "_:b2" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0024-out.nq000066400000000000000000000004541452212752100264110ustar00rootroot00000000000000_:c14n0 _:c14n1 . _:c14n0 _:c14n2 . _:c14n1 _:c14n2 . _:c14n1 _:c14n0 . _:c14n2 _:c14n0 . _:c14n2 _:c14n1 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0025-in.jsonld000066400000000000000000000006311452212752100270610ustar00rootroot00000000000000{ "@context": { "e": "http://example.org/vocab#", "e:next": { "@type": "@id" }, "e:prev": { "@type": "@id" } }, "@graph": [ { "@id": "_:b1", "e:next": "_:b2", "e:prev": "_:b3" }, { "@id": "_:b3", "e:next": "_:b1", "e:prev": "_:b2" }, { "@id": "_:b2", "e:next": "_:b3", "e:prev": "_:b1" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0025-out.nq000066400000000000000000000004541452212752100264120ustar00rootroot00000000000000_:c14n0 _:c14n1 . _:c14n0 _:c14n2 . _:c14n1 _:c14n2 . _:c14n1 _:c14n0 . _:c14n2 _:c14n0 . _:c14n2 _:c14n1 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0026-in.jsonld000066400000000000000000000006311452212752100270620ustar00rootroot00000000000000{ "@context": { "e": "http://example.org/vocab#", "e:next": { "@type": "@id" }, "e:prev": { "@type": "@id" } }, "@graph": [ { "@id": "_:b2", "e:next": "_:b3", "e:prev": "_:b1" }, { "@id": "_:b1", "e:next": "_:b2", "e:prev": "_:b3" }, { "@id": "_:b3", "e:next": "_:b1", "e:prev": "_:b2" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0026-out.nq000066400000000000000000000004541452212752100264130ustar00rootroot00000000000000_:c14n0 _:c14n1 . _:c14n0 _:c14n2 . _:c14n1 _:c14n2 . _:c14n1 _:c14n0 . _:c14n2 _:c14n0 . _:c14n2 _:c14n1 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0027-in.jsonld000066400000000000000000000006311452212752100270630ustar00rootroot00000000000000{ "@context": { "e": "http://example.org/vocab#", "e:next": { "@type": "@id" }, "e:prev": { "@type": "@id" } }, "@graph": [ { "@id": "_:b2", "e:next": "_:b3", "e:prev": "_:b1" }, { "@id": "_:b3", "e:next": "_:b1", "e:prev": "_:b2" }, { "@id": "_:b1", "e:next": "_:b2", "e:prev": "_:b3" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0027-out.nq000066400000000000000000000004541452212752100264140ustar00rootroot00000000000000_:c14n0 _:c14n1 . _:c14n0 _:c14n2 . _:c14n1 _:c14n2 . _:c14n1 _:c14n0 . _:c14n2 _:c14n0 . _:c14n2 _:c14n1 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0028-in.jsonld000066400000000000000000000006311452212752100270640ustar00rootroot00000000000000{ "@context": { "e": "http://example.org/vocab#", "e:next": { "@type": "@id" }, "e:prev": { "@type": "@id" } }, "@graph": [ { "@id": "_:b3", "e:next": "_:b1", "e:prev": "_:b2" }, { "@id": "_:b2", "e:next": "_:b3", "e:prev": "_:b1" }, { "@id": "_:b1", "e:next": "_:b2", "e:prev": "_:b3" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0028-out.nq000066400000000000000000000004541452212752100264150ustar00rootroot00000000000000_:c14n0 _:c14n1 . _:c14n0 _:c14n2 . _:c14n1 _:c14n2 . _:c14n1 _:c14n0 . _:c14n2 _:c14n0 . _:c14n2 _:c14n1 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0029-in.jsonld000066400000000000000000000006311452212752100270650ustar00rootroot00000000000000{ "@context": { "e": "http://example.org/vocab#", "e:next": { "@type": "@id" }, "e:prev": { "@type": "@id" } }, "@graph": [ { "@id": "_:b3", "e:next": "_:b1", "e:prev": "_:b2" }, { "@id": "_:b1", "e:next": "_:b2", "e:prev": "_:b3" }, { "@id": "_:b2", "e:next": "_:b3", "e:prev": "_:b1" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0029-out.nq000066400000000000000000000004541452212752100264160ustar00rootroot00000000000000_:c14n0 _:c14n1 . _:c14n0 _:c14n2 . _:c14n1 _:c14n2 . _:c14n1 _:c14n0 . _:c14n2 _:c14n0 . _:c14n2 _:c14n1 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0030-in.jsonld000066400000000000000000000010021452212752100270460ustar00rootroot00000000000000{ "@context": { "e": "http://example.org/vocab#", "e:A": { "@type": "@id" }, "e:B": { "@type": "@id" }, "e:C": { "@type": "@id" }, "e:next": { "@type": "@id" } }, "@graph": [ { "@id": "e:test", "e:A": "_:b1", "e:B": "_:b2", "e:C": "_:b3" }, { "@id": "_:b1", "e:next": "_:b2" }, { "@id": "_:b2", "e:next": "_:b3" }, { "@id": "_:b3", "e:next": "_:b1" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0030-out.nq000066400000000000000000000005531452212752100264060ustar00rootroot00000000000000 _:c14n1 . _:c14n2 . _:c14n0 . _:c14n0 _:c14n1 . _:c14n1 _:c14n2 . _:c14n2 _:c14n0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0031-in.jsonld000066400000000000000000000001421452212752100270530ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" }, "@id": "_:a", "@type": "ex:Foo" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0031-out.nq000066400000000000000000000001331452212752100264010ustar00rootroot00000000000000_:c14n0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0032-in.jsonld000066400000000000000000000001421452212752100270540ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" }, "@id": "_:b", "@type": "ex:Foo" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0032-out.nq000066400000000000000000000001331452212752100264020ustar00rootroot00000000000000_:c14n0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0033-in.jsonld000066400000000000000000000003651452212752100270640ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" }, "@graph": [ { "@id": "_:a0", "ex:prop": { "@id": "_:a1" } }, { "@id": "_:b0", "ex:prop": { "@id": "_:b1" } } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0033-out.nq000066400000000000000000000001441452212752100264050ustar00rootroot00000000000000_:c14n1 _:c14n0 . _:c14n3 _:c14n2 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0034-in.jsonld000066400000000000000000000003651452212752100270650ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" }, "@graph": [ { "@id": "_:b0", "ex:prop": { "@id": "_:b1" } }, { "@id": "_:a0", "ex:prop": { "@id": "_:a1" } } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0034-out.nq000066400000000000000000000001441452212752100264060ustar00rootroot00000000000000_:c14n1 _:c14n0 . _:c14n3 _:c14n2 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0035-in.jsonld000066400000000000000000000005301452212752100270600ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:p1": { "@type": "@id" } }, "@graph": [ { "@id": "_:a1", "ex:p1": "_:a3" }, { "@id": "_:a2", "ex:p1": "_:a4" }, { "@id": "_:a3", "ex:p2": "Foo" }, { "@id": "_:a4", "ex:p2": "Foo" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0035-out.nq000066400000000000000000000002741452212752100264130ustar00rootroot00000000000000_:c14n0 _:c14n1 . _:c14n1 "Foo" . _:c14n2 _:c14n3 . _:c14n3 "Foo" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0036-in.jsonld000066400000000000000000000005301452212752100270610ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:p1": { "@type": "@id" } }, "@graph": [ { "@id": "_:a1", "ex:p1": "_:a4" }, { "@id": "_:a2", "ex:p1": "_:a3" }, { "@id": "_:a3", "ex:p2": "Foo" }, { "@id": "_:a4", "ex:p2": "Foo" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0036-out.nq000066400000000000000000000002741452212752100264140ustar00rootroot00000000000000_:c14n0 _:c14n1 . _:c14n1 "Foo" . _:c14n2 _:c14n3 . _:c14n3 "Foo" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0037-in.jsonld000066400000000000000000000005301452212752100270620ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:p1": { "@type": "@id" } }, "@graph": [ { "@id": "_:b1", "ex:p1": "_:b4" }, { "@id": "_:b2", "ex:p1": "_:b3" }, { "@id": "_:b3", "ex:p2": "Foo" }, { "@id": "_:b4", "ex:p2": "Foo" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0037-out.nq000066400000000000000000000002741452212752100264150ustar00rootroot00000000000000_:c14n0 _:c14n1 . _:c14n1 "Foo" . _:c14n2 _:c14n3 . _:c14n3 "Foo" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0038-in.jsonld000066400000000000000000000005161452212752100270670ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:p1": { "@type": "@id" } }, "@graph": [ { "@id": "_:a0", "ex:p1": [ "_:a1", "_:a2" ] }, { "@id": "_:a1", "ex:p1": "_:a3" }, { "@id": "_:a2" }, { "@id": "_:a3" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0038-out.nq000066400000000000000000000002201452212752100264050ustar00rootroot00000000000000_:c14n0 _:c14n1 . _:c14n0 _:c14n2 . _:c14n1 _:c14n3 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0039-in.jsonld000066400000000000000000000004041452212752100270640ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:p1": { "@type": "@id" } }, "@graph": [ { "@id": "_:b0", "ex:p1": [ {}, "_:b2" ] }, { "@id": "_:b2", "ex:p1": {} } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0039-out.nq000066400000000000000000000002201452212752100264060ustar00rootroot00000000000000_:c14n0 _:c14n1 . _:c14n0 _:c14n2 . _:c14n1 _:c14n3 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0040-in.jsonld000066400000000000000000000006341452212752100270610ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:p1": { "@type": "@id" } }, "@graph": [ { "@id": "_:b1", "ex:p1": "_:b2" }, { "@id": "_:b2", "ex:p1": "_:b3" }, { "@id": "_:b3" }, { "@id": "_:c1", "ex:p1": "_:c2" }, { "@id": "_:c2", "ex:p1": "_:c3" }, { "@id": "_:c3" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0040-out.nq000066400000000000000000000003001452212752100263750ustar00rootroot00000000000000_:c14n1 _:c14n0 . _:c14n2 _:c14n1 . _:c14n4 _:c14n3 . _:c14n5 _:c14n4 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0041-in.jsonld000066400000000000000000000006341452212752100270620ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:p1": { "@type": "@id" } }, "@graph": [ { "@id": "_:b1", "ex:p1": "_:b2" }, { "@id": "_:b2", "ex:p1": "_:b3" }, { "@id": "_:b3" }, { "@id": "_:b4", "ex:p1": "_:b5" }, { "@id": "_:b5", "ex:p1": "_:b6" }, { "@id": "_:b6" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0041-out.nq000066400000000000000000000003001452212752100263760ustar00rootroot00000000000000_:c14n1 _:c14n0 . _:c14n2 _:c14n1 . _:c14n4 _:c14n3 . _:c14n5 _:c14n4 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0042-in.jsonld000066400000000000000000000005221452212752100270570ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:p1": { "@type": "@id" } }, "@graph": [ { "@id": "_:b1", "ex:p1": "_:b3" }, { "@id": "_:b3", "ex:p1": {} }, { "@id": "_:b5", "ex:p1": "_:b6" }, { "@id": "_:b6", "ex:p1": {} } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0042-out.nq000066400000000000000000000003001452212752100263770ustar00rootroot00000000000000_:c14n1 _:c14n0 . _:c14n2 _:c14n1 . _:c14n4 _:c14n3 . _:c14n5 _:c14n4 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0043-in.jsonld000066400000000000000000000002411452212752100270560ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" }, "@id": "http://example.org/test", "ex:test": { "@language": "en", "@value": "test" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0043-out.nq000066400000000000000000000001061452212752100264040ustar00rootroot00000000000000 "test"@en . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0044-in.jsonld000066400000000000000000000025311452212752100270630ustar00rootroot00000000000000{ "@context": { "eg": "http://example.org/vocab#", "eg:p": {"@type": "@id"} }, "@graph": [ { "@id": "_:b1", "eg:p": [ "_:b2", "_:b4", "_:b3" ] }, { "@id": "_:b2", "eg:p": [ "_:b1", "_:b3", "_:b5" ] }, { "@id": "_:b3", "eg:p": [ "_:b1", "_:b2", "_:b6" ] }, { "@id": "_:b4", "eg:p": [ "_:b1", "_:b5", "_:b6" ] }, { "@id": "_:b5", "eg:p": [ "_:b2", "_:b4", "_:b6" ] }, { "@id": "_:b6", "eg:p": [ "_:b3", "_:b4", "_:b5" ] }, { "@id": "_:c1", "eg:p": [ "_:c4", "_:c5", "_:c6" ] }, { "@id": "_:c2", "eg:p": [ "_:c4", "_:c5", "_:c6" ] }, { "@id": "_:c3", "eg:p": [ "_:c4", "_:c5", "_:c6" ] }, { "@id": "_:c4", "eg:p": [ "_:c1", "_:c2", "_:c3" ] }, { "@id": "_:c5", "eg:p": [ "_:c1", "_:c2", "_:c3" ] }, { "@id": "_:c6", "eg:p": [ "_:c1", "_:c2", "_:c3" ] } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0044-out.nq000066400000000000000000000032501452212752100264100ustar00rootroot00000000000000_:c14n0 _:c14n1 . _:c14n0 _:c14n2 . _:c14n0 _:c14n3 . _:c14n1 _:c14n0 . _:c14n1 _:c14n4 . _:c14n1 _:c14n5 . _:c14n10 _:c14n11 . _:c14n10 _:c14n7 . _:c14n10 _:c14n9 . _:c14n11 _:c14n10 . _:c14n11 _:c14n8 . _:c14n11 _:c14n9 . _:c14n2 _:c14n0 . _:c14n2 _:c14n4 . _:c14n2 _:c14n5 . _:c14n3 _:c14n0 . _:c14n3 _:c14n4 . _:c14n3 _:c14n5 . _:c14n4 _:c14n1 . _:c14n4 _:c14n2 . _:c14n4 _:c14n3 . _:c14n5 _:c14n1 . _:c14n5 _:c14n2 . _:c14n5 _:c14n3 . _:c14n6 _:c14n7 . _:c14n6 _:c14n8 . _:c14n6 _:c14n9 . _:c14n7 _:c14n10 . _:c14n7 _:c14n6 . _:c14n7 _:c14n8 . _:c14n8 _:c14n11 . _:c14n8 _:c14n6 . _:c14n8 _:c14n7 . _:c14n9 _:c14n10 . _:c14n9 _:c14n11 . _:c14n9 _:c14n6 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0045-in.jsonld000066400000000000000000000025311452212752100270640ustar00rootroot00000000000000{ "@context": { "eg": "http://example.org/vocab#", "eg:p": {"@type": "@id"} }, "@graph": [ { "@id": "_:c1", "eg:p": [ "_:c4", "_:c5", "_:c6" ] }, { "@id": "_:c2", "eg:p": [ "_:c4", "_:c5", "_:c6" ] }, { "@id": "_:c3", "eg:p": [ "_:c4", "_:c5", "_:c6" ] }, { "@id": "_:c4", "eg:p": [ "_:c1", "_:c2", "_:c3" ] }, { "@id": "_:c5", "eg:p": [ "_:c1", "_:c2", "_:c3" ] }, { "@id": "_:c6", "eg:p": [ "_:c1", "_:c2", "_:c3" ] }, { "@id": "_:b1", "eg:p": [ "_:b2", "_:b4", "_:b3" ] }, { "@id": "_:b2", "eg:p": [ "_:b1", "_:b3", "_:b5" ] }, { "@id": "_:b3", "eg:p": [ "_:b1", "_:b2", "_:b6" ] }, { "@id": "_:b4", "eg:p": [ "_:b1", "_:b5", "_:b6" ] }, { "@id": "_:b5", "eg:p": [ "_:b2", "_:b4", "_:b6" ] }, { "@id": "_:b6", "eg:p": [ "_:b3", "_:b4", "_:b5" ] } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0045-out.nq000066400000000000000000000032501452212752100264110ustar00rootroot00000000000000_:c14n0 _:c14n1 . _:c14n0 _:c14n2 . _:c14n0 _:c14n3 . _:c14n1 _:c14n0 . _:c14n1 _:c14n4 . _:c14n1 _:c14n5 . _:c14n10 _:c14n11 . _:c14n10 _:c14n7 . _:c14n10 _:c14n9 . _:c14n11 _:c14n10 . _:c14n11 _:c14n8 . _:c14n11 _:c14n9 . _:c14n2 _:c14n0 . _:c14n2 _:c14n4 . _:c14n2 _:c14n5 . _:c14n3 _:c14n0 . _:c14n3 _:c14n4 . _:c14n3 _:c14n5 . _:c14n4 _:c14n1 . _:c14n4 _:c14n2 . _:c14n4 _:c14n3 . _:c14n5 _:c14n1 . _:c14n5 _:c14n2 . _:c14n5 _:c14n3 . _:c14n6 _:c14n7 . _:c14n6 _:c14n8 . _:c14n6 _:c14n9 . _:c14n7 _:c14n10 . _:c14n7 _:c14n6 . _:c14n7 _:c14n8 . _:c14n8 _:c14n11 . _:c14n8 _:c14n6 . _:c14n8 _:c14n7 . _:c14n9 _:c14n10 . _:c14n9 _:c14n11 . _:c14n9 _:c14n6 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0046-in.jsonld000066400000000000000000000025311452212752100270650ustar00rootroot00000000000000{ "@context": { "eg": "http://example.org/vocab#", "eg:p": {"@type": "@id"} }, "@graph": [ { "@id": "_:b6", "eg:p": [ "_:b3", "_:b4", "_:b5" ] }, { "@id": "_:c1", "eg:p": [ "_:c6", "_:c5", "_:c4" ] }, { "@id": "_:b1", "eg:p": [ "_:b3", "_:b4", "_:b2" ] }, { "@id": "_:c4", "eg:p": [ "_:c3", "_:c2", "_:c1" ] }, { "@id": "_:c5", "eg:p": [ "_:c1", "_:c2", "_:c3" ] }, { "@id": "_:c6", "eg:p": [ "_:c3", "_:c1", "_:c2" ] }, { "@id": "_:b2", "eg:p": [ "_:b1", "_:b5", "_:b3" ] }, { "@id": "_:c2", "eg:p": [ "_:c6", "_:c5", "_:c4" ] }, { "@id": "_:b5", "eg:p": [ "_:b6", "_:b4", "_:b2" ] }, { "@id": "_:b3", "eg:p": [ "_:b6", "_:b2", "_:b1" ] }, { "@id": "_:b4", "eg:p": [ "_:b5", "_:b1", "_:b6" ] }, { "@id": "_:c3", "eg:p": [ "_:c5", "_:c4", "_:c6" ] } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0046-out.nq000066400000000000000000000032501452212752100264120ustar00rootroot00000000000000_:c14n0 _:c14n1 . _:c14n0 _:c14n2 . _:c14n0 _:c14n3 . _:c14n1 _:c14n0 . _:c14n1 _:c14n4 . _:c14n1 _:c14n5 . _:c14n10 _:c14n11 . _:c14n10 _:c14n7 . _:c14n10 _:c14n9 . _:c14n11 _:c14n10 . _:c14n11 _:c14n8 . _:c14n11 _:c14n9 . _:c14n2 _:c14n0 . _:c14n2 _:c14n4 . _:c14n2 _:c14n5 . _:c14n3 _:c14n0 . _:c14n3 _:c14n4 . _:c14n3 _:c14n5 . _:c14n4 _:c14n1 . _:c14n4 _:c14n2 . _:c14n4 _:c14n3 . _:c14n5 _:c14n1 . _:c14n5 _:c14n2 . _:c14n5 _:c14n3 . _:c14n6 _:c14n7 . _:c14n6 _:c14n8 . _:c14n6 _:c14n9 . _:c14n7 _:c14n10 . _:c14n7 _:c14n6 . _:c14n7 _:c14n8 . _:c14n8 _:c14n11 . _:c14n8 _:c14n6 . _:c14n8 _:c14n7 . _:c14n9 _:c14n10 . _:c14n9 _:c14n11 . _:c14n9 _:c14n6 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0047-in.jsonld000066400000000000000000000011031452212752100270600ustar00rootroot00000000000000{ "@context": { "eg": "http://example.org/vocab#", "eg:p": {"@type": "@id"} }, "@graph": [ { "@id": "_:b1", "eg:p": [ "_:b2" ] }, { "@id": "_:b2", "eg:p": [ "_:b3" ] }, { "@id": "_:b3", "eg:z": [ "foo1", "foo2" ] }, { "@id": "_:c1", "eg:p": [ "_:c2" ] }, { "@id": "_:c2", "eg:p": [ "_:c3" ] }, { "@id": "_:c3", "eg:z": [ "bar1", "bar2" ] } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0047-out.nq000066400000000000000000000005641452212752100264200ustar00rootroot00000000000000_:c14n0 "bar1" . _:c14n0 "bar2" . _:c14n1 "foo1" . _:c14n1 "foo2" . _:c14n2 _:c14n0 . _:c14n3 _:c14n2 . _:c14n4 _:c14n1 . _:c14n5 _:c14n4 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0048-in.jsonld000066400000000000000000000011031452212752100270610ustar00rootroot00000000000000{ "@context": { "eg": "http://example.org/vocab#", "eg:p": {"@type": "@id"} }, "@graph": [ { "@id": "_:c1", "eg:p": [ "_:c2" ] }, { "@id": "_:c2", "eg:p": [ "_:c3" ] }, { "@id": "_:c3", "eg:z": [ "bar1", "bar2" ] }, { "@id": "_:b1", "eg:p": [ "_:b2" ] }, { "@id": "_:b2", "eg:p": [ "_:b3" ] }, { "@id": "_:b3", "eg:z": [ "foo1", "foo2" ] } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0048-out.nq000066400000000000000000000005641452212752100264210ustar00rootroot00000000000000_:c14n0 "bar1" . _:c14n0 "bar2" . _:c14n1 "foo1" . _:c14n1 "foo2" . _:c14n2 _:c14n0 . _:c14n3 _:c14n2 . _:c14n4 _:c14n1 . _:c14n5 _:c14n4 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0049-in.jsonld000066400000000000000000000002271452212752100270700ustar00rootroot00000000000000{ "@context": { "eg": "http://example.org/vocab#", "eg:p": {"@type": "@id"} }, "@id": "http://example.org/test#example", "eg:p": null }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0049-out.nq000066400000000000000000000000001452212752100264030ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0050-in.jsonld000066400000000000000000000003571452212752100270640ustar00rootroot00000000000000{ "@context": { "eg": "http://example.org/vocab#" }, "@id": "_:c1", "eg:array": ["value", null], "eg:doc": "Test 'null' in various locations", "eg:null": null, "eg:object": { "prop1": "value1", "prop2": null } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0050-out.nq000066400000000000000000000002631452212752100264060ustar00rootroot00000000000000_:c14n1 "value" . _:c14n1 "Test 'null' in various locations" . _:c14n1 _:c14n0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0051-in.jsonld000066400000000000000000000004751452212752100270660ustar00rootroot00000000000000[ { "@id": "http://example.org/test#example", "http://example.org/test#property": "object1" }, { "@id": "http://example.org/test#example", "http://example.org/test#property": "object2" }, { "@id": "http://example.org/test#example", "http://example.org/test#property": "object3" } ]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0051-out.nq000066400000000000000000000003631452212752100264100ustar00rootroot00000000000000 "object1" . "object2" . "object3" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0052-in.jsonld000066400000000000000000000007761452212752100270730ustar00rootroot00000000000000{ "@context": { "http://example.org/test#property1": {"@type": "@id"}, "http://example.org/test#property2": {"@type": "@id"}, "uri": "@id" }, "http://example.org/test#property1": { "http://example.org/test#property4": "foo", "uri": "http://example.org/test#example2" }, "http://example.org/test#property2": "http://example.org/test#example3", "http://example.org/test#property3": { "uri": "http://example.org/test#example4" }, "uri": "http://example.org/test#example1" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0052-out.nq000066400000000000000000000006231452212752100264100ustar00rootroot00000000000000 . . . "foo" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0053-in.jsonld000066400000000000000000000003311452212752100270570ustar00rootroot00000000000000{ "@context": { "prop1": "http://example.org/test#property1", "prop2": {"@id": "http://example.org/test#property2", "@container": "@list"} }, "prop1": {"@list": ["1","2","3"]}, "prop2": ["4","5","6"] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0053-out.nq000066400000000000000000000017341452212752100264150ustar00rootroot00000000000000_:c14n0 _:c14n2 . _:c14n0 _:c14n3 . _:c14n1 "2" . _:c14n1 _:c14n5 . _:c14n2 "1" . _:c14n2 _:c14n1 . _:c14n3 "4" . _:c14n3 _:c14n6 . _:c14n4 "6" . _:c14n4 . _:c14n5 "3" . _:c14n5 . _:c14n6 "5" . _:c14n6 _:c14n4 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0054-in.jsonld000066400000000000000000000015341452212752100270660ustar00rootroot00000000000000{ "@context": { "eg": "http://example.org/vocab#", "eg:p": {"@type": "@id"} }, "@graph": [ { "@id": "_:a", "eg:p": "_:b" }, { "@id": "_:b", "eg:p": "_:c" }, { "@id": "_:c", "eg:p": ["_:d","_:z"] }, { "@id": "_:d", "eg:p": "_:e" }, { "@id": "_:e", "eg:p": "_:f" }, { "@id": "_:f", "eg:p": "_:g" }, { "@id": "_:g", "eg:p": "_:h" }, { "@id": "_:h", "eg:p": "_:i" }, { "@id": "_:z", "eg:p": "_:w" }, { "@id": "_:w", "eg:p": "_:x" }, { "@id": "_:x", "eg:p": "_:y" }, { "@id": "_:y", "eg:p": "_:v" }, { "@id": "_:v", "eg:p": "_:u" }, { "@id": "_:u", "eg:p": "_:t" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0054-out.nq000066400000000000000000000013151452212752100264110ustar00rootroot00000000000000_:c14n0 _:c14n14 . _:c14n0 _:c14n7 . _:c14n1 _:c14n15 . _:c14n10 _:c14n9 . _:c14n11 _:c14n10 . _:c14n12 _:c14n11 . _:c14n13 _:c14n12 . _:c14n14 _:c14n13 . _:c14n15 _:c14n0 . _:c14n3 _:c14n2 . _:c14n4 _:c14n3 . _:c14n5 _:c14n4 . _:c14n6 _:c14n5 . _:c14n7 _:c14n6 . _:c14n9 _:c14n8 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0055-in.jsonld000066400000000000000000000003771452212752100270730ustar00rootroot00000000000000{ "@context": { "eg": "http://example.org/vocab#", "eg:p": {"@type": "@id"} }, "@graph": [ { "@id": "_:a", "eg:p": ["_:b", "http://example.com"] }, { "@id": "_:b", "eg:p": "http://example.org" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0055-out.nq000066400000000000000000000002471452212752100264150ustar00rootroot00000000000000_:c14n0 . _:c14n0 _:c14n1 . _:c14n1 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0056-in.jsonld000066400000000000000000000003771452212752100270740ustar00rootroot00000000000000{ "@context": { "eg": "http://example.org/vocab#", "eg:p": {"@type": "@id"} }, "@graph": [ { "@id": "_:b", "eg:p": "http://example.org" }, { "@id": "_:a", "eg:p": ["_:b", "http://example.com"] } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0056-out.nq000066400000000000000000000002471452212752100264160ustar00rootroot00000000000000_:c14n0 . _:c14n0 _:c14n1 . _:c14n1 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0057-in.jsonld000066400000000000000000000004221452212752100270640ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "homepage": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id" } }, "@id": "_:graph1", "@graph": { "name": "Manu Sporny", "homepage": "http://manu.sporny.org/" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-0057-out.nq000066400000000000000000000002221452212752100264100ustar00rootroot00000000000000_:c14n1 _:c14n0 . _:c14n1 "Manu Sporny" _:c14n0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/normalize-manifest.jsonld000066400000000000000000000313251452212752100277010ustar00rootroot00000000000000{ "@context": "http://json-ld.org/test-suite/context.jsonld", "@id": "", "@type": "mf:Manifest", "name": "Normalization", "description": "JSON-LD to normalized RDF tests output N-Quads and use string comparison.", "baseIri": "http://json-ld.org/test-suite/tests/", "sequence": [ { "@id": "#t0001", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "simple id", "input": "normalize-0001-in.jsonld", "expect": "normalize-0001-out.nq" }, { "@id": "#t0002", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "duplicate property iri values", "input": "normalize-0002-in.jsonld", "expect": "normalize-0002-out.nq" }, { "@id": "#t0003", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "bnode", "input": "normalize-0003-in.jsonld", "expect": "normalize-0003-out.nq" }, { "@id": "#t0004", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "bnode plus embed w/subject", "input": "normalize-0004-in.jsonld", "expect": "normalize-0004-out.nq" }, { "@id": "#t0005", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "bnode embed", "input": "normalize-0005-in.jsonld", "expect": "normalize-0005-out.nq" }, { "@id": "#t0006", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "multiple rdf types", "input": "normalize-0006-in.jsonld", "expect": "normalize-0006-out.nq" }, { "@id": "#t0007", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "coerce CURIE value", "input": "normalize-0007-in.jsonld", "expect": "normalize-0007-out.nq" }, { "@id": "#t0008", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "single subject complex", "input": "normalize-0008-in.jsonld", "expect": "normalize-0008-out.nq" }, { "@id": "#t0009", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "multiple subjects - complex", "input": "normalize-0009-in.jsonld", "expect": "normalize-0009-out.nq" }, { "@id": "#t0010", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "type", "input": "normalize-0010-in.jsonld", "expect": "normalize-0010-out.nq" }, { "@id": "#t0011", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "type-coerced type", "input": "normalize-0011-in.jsonld", "expect": "normalize-0011-out.nq" }, { "@id": "#t0012", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "type-coerced type, remove duplicate reference", "input": "normalize-0012-in.jsonld", "expect": "normalize-0012-out.nq" }, { "@id": "#t0013", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "type-coerced type, cycle", "input": "normalize-0013-in.jsonld", "expect": "normalize-0013-out.nq" }, { "@id": "#t0014", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "check types", "input": "normalize-0014-in.jsonld", "expect": "normalize-0014-out.nq" }, { "@id": "#t0015", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "top level context", "input": "normalize-0015-in.jsonld", "expect": "normalize-0015-out.nq" }, { "@id": "#t0016", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "blank node - dual link - embed", "input": "normalize-0016-in.jsonld", "expect": "normalize-0016-out.nq" }, { "@id": "#t0017", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "blank node - dual link - non-embed", "input": "normalize-0017-in.jsonld", "expect": "normalize-0017-out.nq" }, { "@id": "#t0018", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "blank node - self link", "input": "normalize-0018-in.jsonld", "expect": "normalize-0018-out.nq" }, { "@id": "#t0019", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "blank node - disjoint self links", "input": "normalize-0019-in.jsonld", "expect": "normalize-0019-out.nq" }, { "@id": "#t0020", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "blank node - diamond", "input": "normalize-0020-in.jsonld", "expect": "normalize-0020-out.nq" }, { "@id": "#t0021", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "blank node - circle of 2", "input": "normalize-0021-in.jsonld", "expect": "normalize-0021-out.nq" }, { "@id": "#t0022", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "blank node - double circle of 2", "input": "normalize-0022-in.jsonld", "expect": "normalize-0022-out.nq" }, { "@id": "#t0023", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "blank node - circle of 3", "input": "normalize-0023-in.jsonld", "expect": "normalize-0023-out.nq" }, { "@id": "#t0024", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "blank node - double circle of 3 (1-2-3)", "input": "normalize-0024-in.jsonld", "expect": "normalize-0024-out.nq" }, { "@id": "#t0025", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "blank node - double circle of 3 (1-3-2)", "input": "normalize-0025-in.jsonld", "expect": "normalize-0025-out.nq" }, { "@id": "#t0026", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "blank node - double circle of 3 (2-1-3)", "input": "normalize-0026-in.jsonld", "expect": "normalize-0026-out.nq" }, { "@id": "#t0027", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "blank node - double circle of 3 (2-3-1)", "input": "normalize-0027-in.jsonld", "expect": "normalize-0027-out.nq" }, { "@id": "#t0028", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "blank node - double circle of 3 (3-2-1)", "input": "normalize-0028-in.jsonld", "expect": "normalize-0028-out.nq" }, { "@id": "#t0029", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "blank node - double circle of 3 (3-1-2)", "input": "normalize-0029-in.jsonld", "expect": "normalize-0029-out.nq" }, { "@id": "#t0030", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "blank node - point at circle of 3", "input": "normalize-0030-in.jsonld", "expect": "normalize-0030-out.nq" }, { "@id": "#t0031", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "bnode (1)", "input": "normalize-0031-in.jsonld", "expect": "normalize-0031-out.nq" }, { "@id": "#t0032", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "bnode (2)", "input": "normalize-0032-in.jsonld", "expect": "normalize-0032-out.nq" }, { "@id": "#t0033", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "disjoint identical subgraphs (1)", "input": "normalize-0033-in.jsonld", "expect": "normalize-0033-out.nq" }, { "@id": "#t0034", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "disjoint identical subgraphs (2)", "input": "normalize-0034-in.jsonld", "expect": "normalize-0034-out.nq" }, { "@id": "#t0035", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "reordered w/strings (1)", "input": "normalize-0035-in.jsonld", "expect": "normalize-0035-out.nq" }, { "@id": "#t0036", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "reordered w/strings (2)", "input": "normalize-0036-in.jsonld", "expect": "normalize-0036-out.nq" }, { "@id": "#t0037", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "reordered w/strings (3)", "input": "normalize-0037-in.jsonld", "expect": "normalize-0037-out.nq" }, { "@id": "#t0038", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "reordered 4 bnodes, reordered 2 properties (1)", "input": "normalize-0038-in.jsonld", "expect": "normalize-0038-out.nq" }, { "@id": "#t0039", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "reordered 4 bnodes, reordered 2 properties (2)", "input": "normalize-0039-in.jsonld", "expect": "normalize-0039-out.nq" }, { "@id": "#t0040", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "reordered 6 bnodes (1)", "input": "normalize-0040-in.jsonld", "expect": "normalize-0040-out.nq" }, { "@id": "#t0041", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "reordered 6 bnodes (2)", "input": "normalize-0041-in.jsonld", "expect": "normalize-0041-out.nq" }, { "@id": "#t0042", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "reordered 6 bnodes (3)", "input": "normalize-0042-in.jsonld", "expect": "normalize-0042-out.nq" }, { "@id": "#t0043", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "literal with language", "input": "normalize-0043-in.jsonld", "expect": "normalize-0043-out.nq" }, { "@id": "#t0044", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "evil (1)", "input": "normalize-0044-in.jsonld", "expect": "normalize-0044-out.nq" }, { "@id": "#t0045", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "evil (2)", "input": "normalize-0045-in.jsonld", "expect": "normalize-0045-out.nq" }, { "@id": "#t0046", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "evil (3)", "input": "normalize-0046-in.jsonld", "expect": "normalize-0046-out.nq" }, { "@id": "#t0047", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "deep diff (1)", "input": "normalize-0047-in.jsonld", "expect": "normalize-0047-out.nq" }, { "@id": "#t0048", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "deep diff (2)", "input": "normalize-0048-in.jsonld", "expect": "normalize-0048-out.nq" }, { "@id": "#t0049", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "remove null", "input": "normalize-0049-in.jsonld", "expect": "normalize-0049-out.nq" }, { "@id": "#t0050", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "nulls", "input": "normalize-0050-in.jsonld", "expect": "normalize-0050-out.nq" }, { "@id": "#t0051", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "merging subjects", "input": "normalize-0051-in.jsonld", "expect": "normalize-0051-out.nq" }, { "@id": "#t0052", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "alias keywords", "input": "normalize-0052-in.jsonld", "expect": "normalize-0052-out.nq" }, { "@id": "#t0053", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "@list", "input": "normalize-0053-in.jsonld", "expect": "normalize-0053-out.nq" }, { "@id": "#t0054", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "t-graph", "input": "normalize-0054-in.jsonld", "expect": "normalize-0054-out.nq" }, { "@id": "#t0055", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "simple reorder (1)", "input": "normalize-0055-in.jsonld", "expect": "normalize-0055-out.nq" }, { "@id": "#t0056", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "simple reorder (2)", "input": "normalize-0056-in.jsonld", "expect": "normalize-0056-out.nq" }, { "@id": "#t0057", "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], "name": "unnamed graph", "input": "normalize-0057-in.jsonld", "expect": "normalize-0057-out.nq" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0001-in.jsonld000066400000000000000000000001371452212752100271120ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example/vocab#" }, "@id": "", "term": "object" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0001-out.jsonld000066400000000000000000000002061452212752100273100ustar00rootroot00000000000000[{ "@id": "http://json-ld.org/test-suite/tests/remote-doc-0001-in.jsonld", "http://example/vocab#term": [{"@value": "object"}] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0002-in.json000066400000000000000000000001371452212752100265730ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example/vocab#" }, "@id": "", "term": "object" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0002-out.jsonld000066400000000000000000000002041452212752100273070ustar00rootroot00000000000000[{ "@id": "http://json-ld.org/test-suite/tests/remote-doc-0002-in.json", "http://example/vocab#term": [{"@value": "object"}] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0003-in.jldt000066400000000000000000000001371452212752100265600ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example/vocab#" }, "@id": "", "term": "object" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0003-out.jsonld000066400000000000000000000002041452212752100273100ustar00rootroot00000000000000[{ "@id": "http://json-ld.org/test-suite/tests/remote-doc-0003-in.jldt", "http://example/vocab#term": [{"@value": "object"}] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0004-in.jldte000066400000000000000000000000001452212752100267130ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0009-context.jsonld000066400000000000000000000000761452212752100302020ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example/vocab#" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0009-in.jsonld000066400000000000000000000001151452212752100271160ustar00rootroot00000000000000[{ "@id": "", "http://example/0009/term": "value1", "term": "value2" }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0009-out.jsonld000066400000000000000000000002041452212752100273160ustar00rootroot00000000000000[{ "@id": "http://json-ld.org/test-suite/tests/remote-doc-0009-in.jsonld", "http://example/0009/term": [{"@value": "value1"}] }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0010-context.jsonld000066400000000000000000000000761452212752100301720ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example/vocab#" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0010-in.json000066400000000000000000000000441452212752100265670ustar00rootroot00000000000000[{ "@id": "", "term": "value" }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0010-out.jsonld000066400000000000000000000002031452212752100273050ustar00rootroot00000000000000[{ "@id": "http://json-ld.org/test-suite/tests/remote-doc-0010-in.json", "http://example/vocab#term": [{"@value": "value"}] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0011-context.jsonld000066400000000000000000000000761452212752100301730ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example/vocab#" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0011-in.jldt000066400000000000000000000000441452212752100265540ustar00rootroot00000000000000[{ "@id": "", "term": "value" }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0011-out.jsonld000066400000000000000000000002031452212752100273060ustar00rootroot00000000000000[{ "@id": "http://json-ld.org/test-suite/tests/remote-doc-0011-in.jldt", "http://example/vocab#term": [{"@value": "value"}] }] jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0012-context1.jsonld000066400000000000000000000000761452212752100302550ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example/vocab#" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0012-context2.jsonld000066400000000000000000000000761452212752100302560ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example/vocab#" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-0012-in.json000066400000000000000000000000441452212752100265710ustar00rootroot00000000000000[{ "@id": "", "term": "value" }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/remote-doc-manifest.jsonld000066400000000000000000000123151452212752100277350ustar00rootroot00000000000000{ "@context": "http://json-ld.org/test-suite/context.jsonld", "@id": "", "@type": "mf:Manifest", "description": "Tests appropriate document loading behavior as defined in the API", "name": "Remote document", "baseIri": "http://json-ld.org/test-suite/tests/", "sequence": [ { "@id": "#t0001", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "load JSON-LD document", "purpose": "Document loader loads a JSON-LD document.", "input": "remote-doc-0001-in.jsonld", "expect": "remote-doc-0001-out.jsonld" }, { "@id": "#t0002", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "load JSON document", "purpose": "Document loader loads a JSON document.", "input": "remote-doc-0002-in.json", "expect": "remote-doc-0002-out.jsonld" }, { "@id": "#t0003", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "load JSON document with extension-type", "purpose": "Document loader loads a JSON document having an extension mime-subtype.", "option": { "contentType": "application/jldTest+json" }, "input": "remote-doc-0003-in.jldt", "expect": "remote-doc-0003-out.jsonld" }, { "@id": "#t0004", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], "name": "loading an unknown type raises loading document failed", "purpose": "Loading a document with a non-JSON mime type raises loading document failed", "option": { "contentType": "application/jldTest" }, "input": "remote-doc-0004-in.jldte", "expect": "loading document failed" }, { "@id": "#t0005", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Load JSON-LD through 301 redirect", "purpose": "Loading a document with a redirect should use the redirected URL as document base", "option": { "redirectTo": "remote-doc-0001-in.jsonld", "httpStatus": 301 }, "input": "remote-doc-0005-in.jsonld", "expect": "remote-doc-0001-out.jsonld" }, { "@id": "#t0006", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Load JSON-LD through 303 redirect", "purpose": "Loading a document with a redirect should use the redirected URL as document base", "option": { "redirectTo": "remote-doc-0001-in.jsonld", "httpStatus": 303 }, "input": "remote-doc-0006-in.jsonld", "expect": "remote-doc-0001-out.jsonld" }, { "@id": "#t0007", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Load JSON-LD through 307 redirect", "purpose": "Loading a document with a redirect should use the redirected URL as document base", "option": { "redirectTo": "remote-doc-0001-in.jsonld", "httpStatus": 307 }, "input": "remote-doc-0007-in.jsonld", "expect": "remote-doc-0001-out.jsonld" }, { "@id": "#t0008", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], "name": "Non-existant file (404)", "purpose": "Loading a non-existant file raises loading document failed error", "input": "remote-doc-0008-in.jsonld", "expect": "loading document failed" }, { "@id": "#t0009", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "load JSON-LD document with link", "purpose": "If a context is specified in a link header, it is not used for JSON-LD.", "option": { "httpLink": "; rel=\"http://www.w3.org/ns/json-ld#context\"" }, "input": "remote-doc-0009-in.jsonld", "expect": "remote-doc-0009-out.jsonld" }, { "@id": "#t0010", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "load JSON document with link", "purpose": "If a context is specified in a link header, it is used for JSON.", "option": { "httpLink": "; rel=\"http://www.w3.org/ns/json-ld#context\"" }, "input": "remote-doc-0010-in.json", "expect": "remote-doc-0010-out.jsonld" }, { "@id": "#t0011", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "load JSON document with extension-type with link", "purpose": "If a context is specified in a link header, it is used for a JSON extension type.", "input": "remote-doc-0011-in.jldt", "option": { "contentType": "application/jldTest+json", "httpLink": "; rel=\"http://www.w3.org/ns/json-ld#context\"" }, "expect": "remote-doc-0011-out.jsonld" }, { "@id": "#t0012", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], "name": "Multiple context link headers", "purpose": "Loading a file when multiple link headers are returned is an error", "option": { "httpLink": [ "; rel=\"http://www.w3.org/ns/json-ld#context\"", "; rel=\"http://www.w3.org/ns/json-ld#context\"" ] }, "input": "remote-doc-0012-in.json", "expect": "multiple context link headers" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0001-in.jsonld000066400000000000000000000001431452212752100261270ustar00rootroot00000000000000{ "@id": "http://greggkellogg.net/foaf#me", "http://xmlns.com/foaf/0.1/name": "Gregg Kellogg" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0001-out.nq000066400000000000000000000001251452212752100254550ustar00rootroot00000000000000 "Gregg Kellogg" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0002-in.jsonld000066400000000000000000000002041452212752100261260ustar00rootroot00000000000000{ "@context": {"foaf": "http://xmlns.com/foaf/0.1/"}, "@id": "http://greggkellogg.net/foaf#me", "foaf:name": "Gregg Kellogg" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0002-out.nq000066400000000000000000000001251452212752100254560ustar00rootroot00000000000000 "Gregg Kellogg" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0003-in.jsonld000066400000000000000000000001221452212752100261260ustar00rootroot00000000000000{ "@context": {"foaf": "http://xmlns.com/foaf/0.1/"}, "@type": "foaf:Person" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0003-out.nq000066400000000000000000000001341452212752100254570ustar00rootroot00000000000000_:b0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0004-in.jsonld000066400000000000000000000002041452212752100261300ustar00rootroot00000000000000{ "http://www.w3.org/2000/01/rdf-schema#label": { "@value": "A plain literal with a lang tag.", "@language": "en-us" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0004-out.nq000066400000000000000000000001351452212752100254610ustar00rootroot00000000000000_:b0 "A plain literal with a lang tag."@en-us . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0005-in.jsonld000066400000000000000000000002571452212752100261410ustar00rootroot00000000000000{ "@id": "http://greggkellogg.net/foaf#me", "http://xmlns.com/foaf/0.1/knows": { "http://xmlns.com/foaf/0.1/name": {"@value": "Herman Iván", "@language": "hu"} } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0005-out.nq000066400000000000000000000002051452212752100254600ustar00rootroot00000000000000 _:b0 . _:b0 "Herman Iván"@hu . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0006-in.jsonld000066400000000000000000000002571452212752100261420ustar00rootroot00000000000000{ "@id": "http://greggkellogg.net/foaf#me", "http://purl.org/dc/terms/created": { "@value": "1957-02-27", "@type": "http://www.w3.org/2001/XMLSchema#date" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0006-out.nq000066400000000000000000000001751452212752100254670ustar00rootroot00000000000000 "1957-02-27"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0007-in.jsonld000066400000000000000000000001351452212752100261360ustar00rootroot00000000000000{ "@id": "http://greggkellogg.net/foaf#me", "@type": "http://xmlns.com/foaf/0.1/Person" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0007-out.nq000066400000000000000000000001711452212752100254640ustar00rootroot00000000000000 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0008-in.jsonld000066400000000000000000000001111452212752100261310ustar00rootroot00000000000000{ "@context": {"d": "http://example.com/default#"}, "d:foo": "bar" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0008-out.nq000066400000000000000000000000561452212752100254670ustar00rootroot00000000000000_:b0 "bar" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0009-in.jsonld000066400000000000000000000001121452212752100261330ustar00rootroot00000000000000{ "@context": {"foo": "http://example.com/default#"}, "foo:": "bar" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0009-out.nq000066400000000000000000000000531452212752100254650ustar00rootroot00000000000000_:b0 "bar" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0010-in.jsonld000066400000000000000000000003041452212752100261260ustar00rootroot00000000000000{ "@context": {"foaf": "http://xmlns.com/foaf/0.1/"}, "@id": "http://greggkellogg.net/foaf#me", "foaf:knows": { "@id": "http://manu.sporny.org/#me", "foaf:name": "Manu Sporny" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0010-out.nq000066400000000000000000000002611452212752100254560ustar00rootroot00000000000000 . "Manu Sporny" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0011-in.jsonld000066400000000000000000000002441452212752100261320ustar00rootroot00000000000000{ "@context": { "foaf": "http://xmlns.com/foaf/0.1/" }, "@id": "http://greggkellogg.net/foaf#me", "foaf:knows": { "foaf:name": "Dave Longley" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0011-out.nq000066400000000000000000000002021452212752100254520ustar00rootroot00000000000000 _:b0 . _:b0 "Dave Longley" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0012-in.jsonld000066400000000000000000000002351452212752100261330ustar00rootroot00000000000000{ "@context": { "foaf": "http://xmlns.com/foaf/0.1/" }, "@id": "http://greggkellogg.net/foaf#me", "foaf:knows": ["Manu Sporny", "Dave Longley"] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0012-out.nq000066400000000000000000000002511452212752100254570ustar00rootroot00000000000000 "Dave Longley" . "Manu Sporny" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0013-in.jsonld000066400000000000000000000002141452212752100261310ustar00rootroot00000000000000{ "@context": { "foaf": "http://xmlns.com/foaf/0.1/" }, "@id": "http://greggkellogg.net/foaf#me", "foaf:knows": {"@list": []} } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0013-out.nq000066400000000000000000000001671452212752100254660ustar00rootroot00000000000000 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0014-in.jsonld000066400000000000000000000002311452212752100261310ustar00rootroot00000000000000{ "@context": { "foaf": "http://xmlns.com/foaf/0.1/" }, "@id": "http://greggkellogg.net/foaf#me", "foaf:knows": {"@list": ["Manu Sporny"]} } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0014-out.nq000066400000000000000000000003751452212752100254700ustar00rootroot00000000000000 _:b0 . _:b0 "Manu Sporny" . _:b0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0015-in.jsonld000066400000000000000000000002511452212752100261340ustar00rootroot00000000000000{ "@context": { "foaf": "http://xmlns.com/foaf/0.1/" }, "@id": "http://greggkellogg.net/foaf#me", "foaf:knows": {"@list": ["Manu Sporny", "Dave Longley"]} } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0015-out.nq000066400000000000000000000006041452212752100254640ustar00rootroot00000000000000 _:b0 . _:b0 "Manu Sporny" . _:b0 _:b1 . _:b1 "Dave Longley" . _:b1 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0016-in.jsonld000066400000000000000000000001131452212752100261320ustar00rootroot00000000000000{ "@id": "", "@type": "http://www.w3.org/2000/01/rdf-schema#Resource" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0016-out.nq000066400000000000000000000002371452212752100254670ustar00rootroot00000000000000 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0017-in.jsonld000066400000000000000000000001161452212752100261360ustar00rootroot00000000000000{ "@id": "a/b", "@type": "http://www.w3.org/2000/01/rdf-schema#Resource" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0017-out.nq000066400000000000000000000002161452212752100254650ustar00rootroot00000000000000 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0018-in.jsonld000066400000000000000000000001201452212752100261320ustar00rootroot00000000000000{ "@id": "#frag", "@type": "http://www.w3.org/2000/01/rdf-schema#Resource" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0018-out.nq000066400000000000000000000002441452212752100254670ustar00rootroot00000000000000 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0019-in.jsonld000066400000000000000000000003431452212752100261420ustar00rootroot00000000000000{ "@context": { "foaf": "http://xmlns.com/foaf/0.1/", "knows": {"@id": "http://xmlns.com/foaf/0.1/knows", "@type": "@id"} }, "@id": "http://greggkellogg.net/foaf#me", "knows": "http://manu.sporny.org/#me" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0019-out.nq000066400000000000000000000001431452212752100254660ustar00rootroot00000000000000 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0020-in.jsonld000066400000000000000000000003411452212752100261300ustar00rootroot00000000000000{ "@context": { "xsd": "http://www.w3.org/2001/XMLSchema#", "created": {"@id": "http://purl.org/dc/terms/created", "@type": "xsd:date"} }, "@id": "http://greggkellogg.net/foaf#me", "created": "1957-02-27" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0020-out.nq000066400000000000000000000001751452212752100254630ustar00rootroot00000000000000 "1957-02-27"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0022-in.jsonld000066400000000000000000000001211452212752100261260ustar00rootroot00000000000000{ "@context": { "measure": "http://example/measure#"}, "measure:cups": 5.3 } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0022-out.nq000066400000000000000000000001301452212752100254540ustar00rootroot00000000000000_:b0 "5.3E0"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0023-in.jsonld000066400000000000000000000001111452212752100261260ustar00rootroot00000000000000{ "@context": { "chem": "http://example/chem#"}, "chem:protons": 12 }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0023-out.nq000066400000000000000000000001261452212752100254620ustar00rootroot00000000000000_:b0 "12"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0024-in.jsonld000066400000000000000000000001201452212752100261270ustar00rootroot00000000000000{ "@context": { "sensor": "http://example/sensor#"}, "sensor:active": true }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0024-out.nq000066400000000000000000000001311452212752100254570ustar00rootroot00000000000000_:b0 "true"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0025-in.jsonld000066400000000000000000000002571452212752100261430ustar00rootroot00000000000000{ "@context": { "knows": {"@id": "http://xmlns.com/foaf/0.1/knows", "@container": "@list"} }, "@id": "http://greggkellogg.net/foaf#me", "knows": ["Manu Sporny"] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0025-out.nq000066400000000000000000000003751452212752100254720ustar00rootroot00000000000000 _:b0 . _:b0 "Manu Sporny" . _:b0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0026-in.jsonld000066400000000000000000000001601452212752100261350ustar00rootroot00000000000000{ "@context": {"rdfs": "http://www.w3.org/2000/01/rdf-schema#"}, "@type": ["rdfs:Resource", "rdfs:Class"] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0026-out.nq000066400000000000000000000003171452212752100254670ustar00rootroot00000000000000_:b0 . _:b0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0027-in.jsonld000066400000000000000000000016261452212752100261460ustar00rootroot00000000000000{ "@context": { "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "ex": "http://example.org/", "xsd": "http://www.w3.org/2001/XMLSchema#", "ex:locatedIn": {"@type": "@id"}, "ex:hasPopulaton": {"@type": "xsd:integer"}, "ex:hasReference": {"@type": "@id"} }, "@graph": [ { "@id": "http://example.org/ParisFact1", "@type": "rdf:Graph", "@graph": { "@id": "http://example.org/location/Paris#this", "ex:locatedIn": "http://example.org/location/France#this" }, "ex:hasReference": ["http://www.britannica.com/", "http://www.wikipedia.org/", "http://www.brockhaus.de/"] }, { "@id": "http://example.org/ParisFact2", "@type": "rdf:Graph", "@graph": { "@id": "http://example.org/location/Paris#this", "ex:hasPopulation": 7000000 }, "ex:hasReference": "http://www.wikipedia.org/" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0027-out.nq000066400000000000000000000017061452212752100254730ustar00rootroot00000000000000 . . . . . . "7000000"^^ . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0028-in.jsonld000066400000000000000000000012031452212752100261360ustar00rootroot00000000000000{ "@context": { "sec": "http://purl.org/security#", "xsd": "http://www.w3.org/2001/XMLSchema#", "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "dc": "http://purl.org/dc/terms/", "sec:signer": {"@type": "@id"}, "dc:created": {"@type": "xsd:dateTime"} }, "@id": "http://example.org/sig1", "@type": ["rdf:Graph", "sec:SignedGraph"], "dc:created": "2011-09-23T20:21:34Z", "sec:signer": "http://payswarm.example.com/i/john/keys/5", "sec:signatureValue": "OGQzNGVkMzVm4NTIyZTkZDYMmMzQzNmExMgoYzI43Q3ODIyOWM32NjI=", "@graph": { "@id": "http://example.org/fact1", "dc:title": "Hello World!" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0028-out.nq000066400000000000000000000013131452212752100254660ustar00rootroot00000000000000 "Hello World!" . "2011-09-23T20:21:34Z"^^ . "OGQzNGVkMzVm4NTIyZTkZDYMmMzQzNmExMgoYzI43Q3ODIyOWM32NjI=" . . . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0029-in.jsonld000066400000000000000000000006531452212752100261470ustar00rootroot00000000000000{ "@context": { "wd": "http://data.wikipedia.org/vocab#", "ws": "http://data.wikipedia.org/snaks/", "wp": "http://en.wikipedia.org/wiki/" }, "@id": "ws:Assertions", "@type": "wd:SnakSet", "@graph": { "@id": "ws:BerlinFact", "@type": "wd:Snak", "@graph": { "@id": "wp:Berlin", "wd:population": 3499879 }, "wd:assertedBy": "http://www.statistik-berlin-brandenburg.de/" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0029-out.nq000066400000000000000000000012571452212752100254760ustar00rootroot00000000000000 . "http://www.statistik-berlin-brandenburg.de/" . . "3499879"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0030-in.jsonld000066400000000000000000000013331452212752100261330ustar00rootroot00000000000000{ "@context": { "xsd": "http://www.w3.org/2001/XMLSchema#", "knows": "http://xmlns.com/foaf/0.1/knows", "name": "http://xmlns.com/foaf/0.1/name", "asOf": "http://example.org/asOf" }, "@id": "http://example.org/linked-data-graph", "asOf": {"@value": "2012-04-09", "@type": "xsd:date"}, "@graph": [ { "@id": "http://manu.sporny.org/i/public", "@type": "foaf:Person", "name": "Manu Sporny", "knows": "http://greggkellogg.net/foaf#me" }, { "@id": "http://greggkellogg.net/foaf#me", "@type": "foaf:Person", "name": "Gregg Kellogg", "knows": "http://manu.sporny.org/i/public" }, { "@id": "http://www.markus-lanthaler.com/" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0030-out.nq000066400000000000000000000016431452212752100254650ustar00rootroot00000000000000 "2012-04-09"^^ . . "http://manu.sporny.org/i/public" . "Gregg Kellogg" . . "http://greggkellogg.net/foaf#me" . "Manu Sporny" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0031-in.jsonld000066400000000000000000000005071452212752100261360ustar00rootroot00000000000000{ "@context": { "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "defines": { "@reverse": "rdfs:definedBy" }, "label": "rdfs:label" }, "@id": "http://example.com/vocab", "label": "My vocabulary", "defines": [ { "@id": "http://example.com/vocab#property", "label": "A property" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0031-out.nq000066400000000000000000000004541452212752100254650ustar00rootroot00000000000000 . "A property" . "My vocabulary" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0032-in.jsonld000066400000000000000000000005341452212752100261370ustar00rootroot00000000000000{ "@id": "ex:node1", "owl:sameAs": { "@id": "ex:node2", "rdfs:label": "Node 2", "link": "ex:node3", "@context": { "rdfs": "http://www.w3.org/2000/01/rdf-schema#" } }, "@context": { "ex": "http://example.org/", "owl": "http://www.w3.org/2002/07/owl#", "link": { "@id": "ex:link", "@type": "@id" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0032-out.nq000066400000000000000000000004041452212752100254610ustar00rootroot00000000000000 . . "Node 2" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0033-in.jsonld000066400000000000000000000005541452212752100261420ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/", "owl": "http://www.w3.org/2002/07/owl#", "link": { "@id": "ex:link", "@type": "@id" } }, "owl:sameAs": { "@context": { "rdfs": "http://www.w3.org/2000/01/rdf-schema#" }, "rdfs:label": "Node 2", "link": "ex:node3", "@id": "ex:node2" }, "@id": "ex:node1" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0033-out.nq000066400000000000000000000004041452212752100254620ustar00rootroot00000000000000 . . "Node 2" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0034-in.jsonld000066400000000000000000000005341452212752100261410ustar00rootroot00000000000000{ "@context": { "link": { "@id": "ex:link", "@type": "@id" }, "ex": "http://example.org/", "owl": "http://www.w3.org/2002/07/owl#" }, "@id": "ex:node1", "owl:sameAs": { "@context": { "rdfs": "http://www.w3.org/2000/01/rdf-schema#" }, "@id": "ex:node2", "rdfs:label": "Node 2", "link": "ex:node3" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0034-out.nq000066400000000000000000000004041452212752100254630ustar00rootroot00000000000000 . . "Node 2" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0035-in.jsonld000066400000000000000000000004751452212752100261460ustar00rootroot00000000000000{ "@context": { "double": { "@id": "http://example.com/double", "@type": "http://www.w3.org/2001/XMLSchema#double" }, "integer": { "@id": "http://example.com/integer", "@type": "http://www.w3.org/2001/XMLSchema#integer" } }, "double": [1, 2.2 ], "integer": [8, 9.9 ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0035-out.nq000066400000000000000000000005301452212752100254640ustar00rootroot00000000000000_:b0 "1.0E0"^^ . _:b0 "2.2E0"^^ . _:b0 "8"^^ . _:b0 "9.9E0"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0036-in.jsonld000066400000000000000000000002171452212752100261410ustar00rootroot00000000000000{ "@id": "http://example.com/", "ex:prop1": { "@list": [ { "@id": "_:x1" }, { "@id": "_:x2" } ] }, "ex:prop2": { "@id": "_:x3" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0036-out.nq000066400000000000000000000005661452212752100254760ustar00rootroot00000000000000 _:b3 . _:b2 . _:b3 _:b0 . _:b3 _:b4 . _:b4 _:b1 . _:b4 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0041-in.jsonld000066400000000000000000000000521452212752100261320ustar00rootroot00000000000000{"@id": "http://example.org/test#example"}jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0041-out.nq000066400000000000000000000000001452212752100254510ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0042-in.jsonld000066400000000000000000000007561452212752100261460ustar00rootroot00000000000000{ "@context": { "t1": "http://example.com/t1", "t2": "http://example.com/t2", "term1": "http://example.com/term1", "term2": "http://example.com/term2", "term3": "http://example.com/term3", "term4": "http://example.com/term4", "term5": "http://example.com/term5" }, "@id": "http://example.com/id1", "@type": "t1", "term1": "v1", "term2": {"@value": "v2", "@type": "t2"}, "term3": {"@value": "v3", "@language": "en"}, "term4": 4, "term5": [50, 51] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0042-out.nq000066400000000000000000000011461452212752100254660ustar00rootroot00000000000000 "v1" . "v2"^^ . "v3"@en . "4"^^ . "50"^^ . "51"^^ . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0043-in.jsonld000066400000000000000000000003051452212752100261350ustar00rootroot00000000000000{ "@id": "http://example.org/id", "http://example.org/property": null, "regularJson": { "nonJsonLd": "property", "deep": [{ "foo": "bar" }, { "bar": "foo" }] } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0043-out.nq000066400000000000000000000000001452212752100254530ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0044-in.jsonld000066400000000000000000000015251452212752100261430ustar00rootroot00000000000000{ "@context": { "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, "myset2": {"@id": "http://example.com/myset2", "@container": "@set"}, "myset3": {"@id": "http://example.com/myset3", "@container": "@set"} }, "@id": "http://example.org/id", "mylist1": { "@list": [ ] }, "mylist2": "one item", "myset2": { "@set": [ ] }, "myset3": [ "v1" ], "http://example.org/list1": { "@list": [ null ] }, "http://example.org/list2": { "@list": [ {"@value": null} ] }, "http://example.org/set1": { "@set": [ ] }, "http://example.org/set1": { "@set": [ null ] }, "http://example.org/set3": [ ], "http://example.org/set4": [ null ], "http://example.org/set5": "one item", "http://example.org/property": { "@list": "one item" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0044-out.nq000066400000000000000000000016051452212752100254700ustar00rootroot00000000000000 . _:b0 . "v1" . . . _:b1 . "one item" . _:b0 "one item" . _:b0 . _:b1 "one item" . _:b1 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0045-in.jsonld000066400000000000000000000007671452212752100261530ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "homepage": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id" }, "know": "http://xmlns.com/foaf/0.1/knows", "@iri": "@id" }, "@id": "#me", "know": [ { "@id": "http://example.com/bob#me", "name": "Bob", "homepage": "http://example.com/bob" }, { "@id": "http://example.com/alice#me", "name": "Alice", "homepage": "http://example.com/alice" } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0045-out.nq000066400000000000000000000011101452212752100254600ustar00rootroot00000000000000 . "Alice" . . "Bob" . . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0046-in.jsonld000066400000000000000000000010271452212752100261420ustar00rootroot00000000000000{ "@context": { "http://example.org/test#property1": { "@type": "@id" }, "http://example.org/test#property2": { "@type": "@id" }, "uri": "@id" }, "http://example.org/test#property1": { "http://example.org/test#property4": "foo", "uri": "http://example.org/test#example2" }, "http://example.org/test#property2": "http://example.org/test#example3", "http://example.org/test#property3": { "uri": "http://example.org/test#example4" }, "uri": "http://example.org/test#example1" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0046-out.nq000066400000000000000000000006231452212752100254710ustar00rootroot00000000000000 . . . "foo" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0047-in.jsonld000066400000000000000000000006341452212752100261460ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "ex:date": { "@type": "xsd:dateTime" }, "ex:parent": { "@type": "@id" }, "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@id": "http://example.org/test#example1", "ex:date": "2011-01-25T00:00:00Z", "ex:embed": { "@id": "http://example.org/test#example2", "ex:parent": "http://example.org/test#example1" } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0047-out.nq000066400000000000000000000005341452212752100254730ustar00rootroot00000000000000 "2011-01-25T00:00:00Z"^^ . . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0048-in.jsonld000066400000000000000000000003731452212752100261470ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#" }, "@id": "http://example.org/test", "ex:test": { "@value": "test", "@language": "en" }, "ex:drop-lang-only": { "@language": "en" }, "ex:keep-full-value": { "@value": "only value" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0048-out.nq000066400000000000000000000002321452212752100254670ustar00rootroot00000000000000 "only value" . "test"@en . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0049-in.jsonld000066400000000000000000000020511452212752100261430ustar00rootroot00000000000000{ "@context": { "authored": { "@id": "http://example.org/vocab#authored", "@type": "@id" }, "contains": { "@id": "http://example.org/vocab#contains", "@type": "@id" }, "contributor": "http://purl.org/dc/elements/1.1/contributor", "description": "http://purl.org/dc/elements/1.1/description", "name": "http://xmlns.com/foaf/0.1/name", "title": { "@id": "http://purl.org/dc/elements/1.1/title" } }, "@graph": [ { "@id": "http://example.org/test#chapter", "description": "Fun", "title": "Chapter One" }, { "@id": "http://example.org/test#jane", "authored": "http://example.org/test#chapter", "name": "Jane" }, { "@id": "http://example.org/test#john", "name": "John" }, { "@id": "http://example.org/test#library", "contains": { "@id": "http://example.org/test#book", "contains": "http://example.org/test#chapter", "contributor": "Writer", "title": "My Book" } } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0049-out.nq000066400000000000000000000014441452212752100254760ustar00rootroot00000000000000 . "Writer" . "My Book" . "Fun" . "Chapter One" . . "Jane" . "John" . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0050-in.jsonld000066400000000000000000000004061452212752100261350ustar00rootroot00000000000000{ "@context": { "d": "http://purl.org/dc/elements/1.1/", "e": "http://example.org/vocab#", "f": "http://xmlns.com/foaf/0.1/", "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@id": "http://example.org/test", "e:bool": true, "e:int": 123 }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0050-out.nq000066400000000000000000000003341452212752100254630ustar00rootroot00000000000000 "true"^^ . "123"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0051-in.jsonld000066400000000000000000000005001452212752100261310ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": { "@type": "@id" }, "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@id": "http://example.org/test#book", "dc:title": "Title", "ex:contains": "http://example.org/test#chapter" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0051-out.nq000066400000000000000000000002701452212752100254630ustar00rootroot00000000000000 . "Title" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0052-in.jsonld000066400000000000000000000016341452212752100261430ustar00rootroot00000000000000{ "@context": { "dc": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:authored": { "@type": "@id" }, "ex:contains": { "@type": "@id" }, "foaf": "http://xmlns.com/foaf/0.1/", "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@graph": [ { "@id": "http://example.org/test#chapter", "dc:description": "Fun", "dc:title": "Chapter One" }, { "@id": "http://example.org/test#jane", "ex:authored": "http://example.org/test#chapter", "foaf:name": "Jane" }, { "@id": "http://example.org/test#john", "foaf:name": "John" }, { "@id": "http://example.org/test#library", "ex:contains": { "@id": "http://example.org/test#book", "dc:contributor": "Writer", "dc:title": "My Book", "ex:contains": "http://example.org/test#chapter" } } ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0052-out.nq000066400000000000000000000014441452212752100254700ustar00rootroot00000000000000 . "Writer" . "My Book" . "Fun" . "Chapter One" . . "Jane" . "John" . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0053-in.jsonld000066400000000000000000000005271452212752100261440ustar00rootroot00000000000000[{ "@id": "http://example.com/id1", "@type": ["http://example.com/t1"], "http://example.com/term1": ["v1"], "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], "http://example.com/term3": [{"@value": "v3", "@language": "en"}], "http://example.com/term4": [4], "http://example.com/term5": [50, 51] }]jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0053-out.nq000066400000000000000000000011461452212752100254700ustar00rootroot00000000000000 "v1" . "v2"^^ . "v3"@en . "4"^^ . "50"^^ . "51"^^ . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0054-in.jsonld000066400000000000000000000017431452212752100261460ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/test#", "property1": { "@id": "http://example.org/test#property1", "@type": "@id" }, "property2": { "@id": "ex:property2", "@type": "@id" }, "uri": "@id", "set": "@set", "value": "@value", "type": "@type", "xsd": { "@id": "http://www.w3.org/2001/XMLSchema#" } }, "property1": { "uri": "ex:example2", "http://example.org/test#property4": "foo" }, "property2": "http://example.org/test#example3", "http://example.org/test#property3": { "uri": "http://example.org/test#example4" }, "ex:property4": { "uri": "ex:example4", "ex:property5": [ { "set": [ { "value": "2012-03-31", "type": "xsd:date" } ] } ] }, "ex:property6": [ { "set": [ { "value": null, "type": "xsd:date" } ] } ], "uri": "http://example.org/test#example1" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0054-out.nq000066400000000000000000000011761452212752100254740ustar00rootroot00000000000000 . . . . "foo" . "2012-03-31"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0055-in.jsonld000066400000000000000000000012011452212752100261340ustar00rootroot00000000000000{ "@context": { "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, "myset1": {"@id": "http://example.com/myset1", "@container": "@set" }, "myset2": {"@id": "http://example.com/myset2", "@container": "@set" }, "myset3": {"@id": "http://example.com/myset3", "@container": "@set" } }, "@id": "http://example.org/id", "mylist1": [], "myset1": { "@set": [] }, "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], "myset3": [ { "@set": [ "hello", "this" ] }, "will", { "@set": [ "be", "collapsed" ] } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0055-out.nq000066400000000000000000000006351452212752100254740ustar00rootroot00000000000000 . "be" . "collapsed" . "hello" . "this" . "will" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0056-in.jsonld000066400000000000000000000020231452212752100261400ustar00rootroot00000000000000{ "@context": { "myproperty": { "@id": "http://example.com/myproperty" }, "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, "myset1": {"@id": "http://example.com/myset1", "@container": "@set" }, "myset2": {"@id": "http://example.com/myset2", "@container": "@set" } }, "@id": "http://example.org/id1", "mylist1": [], "mylist2": [ 2, "hi" ], "myset1": { "@set": [] }, "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], "myproperty": { "@context": null, "@id": "http://example.org/id2", "mylist1": [], "mylist2": [ 2, "hi" ], "myset1": { "@set": [] }, "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], "http://example.org/myproperty2": "ok" }, "http://example.com/emptyobj": { "@context": null, "mylist1": [], "mylist2": [ 2, "hi" ], "myset1": { "@set": [] }, "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0056-out.nq000066400000000000000000000013121452212752100254660ustar00rootroot00000000000000 _:b0 . . _:b1 . . "ok" . _:b1 "2"^^ . _:b1 _:b2 . _:b2 "hi" . _:b2 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0057-in.jsonld000066400000000000000000000021141452212752100261420ustar00rootroot00000000000000{ "@context": { "authored": { "@id": "http://example.org/vocab#authored", "@type": "@id" }, "contains": { "@id": "http://example.org/vocab#contains", "@type": "@id" }, "contributor": "http://purl.org/dc/elements/1.1/contributor", "description": "http://purl.org/dc/elements/1.1/description", "name": "http://xmlns.com/foaf/0.1/name", "title": { "@id": "http://purl.org/dc/elements/1.1/title" }, "id": "@id", "data": "@graph" }, "data": [ { "id": "http://example.org/test#chapter", "description": "Fun", "title": "Chapter One" }, { "@id": "http://example.org/test#jane", "authored": "http://example.org/test#chapter", "name": "Jane" }, { "id": "http://example.org/test#john", "name": "John" }, { "id": "http://example.org/test#library", "contains": { "@id": "http://example.org/test#book", "contains": "http://example.org/test#chapter", "contributor": "Writer", "title": "My Book" } } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0057-out.nq000066400000000000000000000014441452212752100254750ustar00rootroot00000000000000 . "Writer" . "My Book" . "Fun" . "Chapter One" . . "Jane" . "John" . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0058-in.jsonld000066400000000000000000000006031452212752100261440ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "@language": "en", "de": { "@id": "ex:german", "@language": "de" }, "nolang": { "@id": "ex:nolang", "@language": null } }, "@id": "http://example.org/test", "ex:test-default": [ "hello", 1, true ], "de": [ "hallo", 2, true ], "nolang": [ "no language", 3, false ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0058-out.nq000066400000000000000000000016161452212752100254770ustar00rootroot00000000000000 "2"^^ . "hallo"@de . "true"^^ . "3"^^ . "false"^^ . "no language" . "1"^^ . "hello"@en . "true"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0059-in.jsonld000066400000000000000000000001571452212752100261510ustar00rootroot00000000000000{ "@context": { "myproperty": "http://example.com/myproperty" }, "myproperty": { "@value" : null } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0059-out.nq000066400000000000000000000000001452212752100254620ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0060-in.jsonld000066400000000000000000000023501452212752100261360ustar00rootroot00000000000000{ "@context": { "authored": { "@id": "http://example.org/vocab#authored", "@type": "@id" }, "contains": { "@id": "http://example.org/vocab#contains", "@type": "@id" }, "contributor": "http://purl.org/dc/elements/1.1/contributor", "description": "http://purl.org/dc/elements/1.1/description", "name": "http://xmlns.com/foaf/0.1/name", "title": { "@id": "http://purl.org/dc/elements/1.1/title" } }, "@graph": [ { "@id": "http://example.org/test#jane", "name": "Jane", "authored": { "@graph": [ { "@id": "http://example.org/test#chapter1", "description": "Fun", "title": "Chapter One" }, { "@id": "http://example.org/test#chapter2", "description": "More fun", "title": "Chapter Two" } ] } }, { "@id": "http://example.org/test#john", "name": "John" }, { "@id": "http://example.org/test#library", "contains": { "@id": "http://example.org/test#book", "contains": "http://example.org/test#chapter", "contributor": "Writer", "title": "My Book" } } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0060-out.nq000066400000000000000000000017261452212752100254720ustar00rootroot00000000000000 . "Writer" . "My Book" . "Fun" _:b0 . "Chapter One" _:b0 . "More fun" _:b0 . "Chapter Two" _:b0 . _:b0 . "Jane" . "John" . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0061-in.jsonld000066400000000000000000000025721452212752100261450ustar00rootroot00000000000000{ "@context": { "authored": { "@id": "http://example.org/vocab#authored", "@type": "@id" }, "contains": { "@id": "http://example.org/vocab#contains", "@type": "@id" }, "contributor": "http://purl.org/dc/elements/1.1/contributor", "description": "http://purl.org/dc/elements/1.1/description", "name": "http://xmlns.com/foaf/0.1/name", "title": { "@id": "http://purl.org/dc/elements/1.1/title" } }, "title": "My first graph", "@graph": [ { "@id": "http://example.org/test#jane", "name": "Jane", "authored": { "@graph": [ { "@id": "http://example.org/test#chapter1", "description": "Fun", "title": "Chapter One" }, { "@id": "http://example.org/test#chapter2", "description": "More fun", "title": "Chapter Two" }, { "@id": "http://example.org/test#chapter3", "title": "Chapter Three" } ] } }, { "@id": "http://example.org/test#john", "name": "John" }, { "@id": "http://example.org/test#library", "contains": { "@id": "http://example.org/test#book", "contains": "http://example.org/test#chapter", "contributor": "Writer", "title": "My Book" } } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0061-out.nq000066400000000000000000000022331452212752100254650ustar00rootroot00000000000000 _:b0 . "Writer" _:b0 . "My Book" _:b0 . "Fun" _:b1 . "Chapter One" _:b1 . "More fun" _:b1 . "Chapter Two" _:b1 . "Chapter Three" _:b1 . _:b1 _:b0 . "Jane" _:b0 . "John" _:b0 . _:b0 . _:b0 "My first graph" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0062-in.jsonld000066400000000000000000000001431452212752100261360ustar00rootroot00000000000000{ "@context": { "term": "http://example.com/term", "@language": "en" }, "term": "v" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0062-out.nq000066400000000000000000000000501452212752100254610ustar00rootroot00000000000000_:b0 "v"@en . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0063-in.jsonld000066400000000000000000000020471452212752100261440ustar00rootroot00000000000000{ "@context": { "xsd": "http://www.w3.org/2001/XMLSchema#", "idlist": {"@id": "http://example.com/idlist", "@container": "@list", "@type": "@id"}, "datelist": {"@id": "http://example.com/datelist", "@container": "@list", "@type": "xsd:date"}, "idset": {"@id": "http://example.com/idset", "@container": "@set", "@type": "@id"}, "dateset": {"@id": "http://example.com/dateset", "@container": "@set", "@type": "xsd:date"}, "idprop": {"@id": "http://example.com/idprop", "@type": "@id" }, "dateprop": {"@id": "http://example.com/dateprop", "@type": "xsd:date" }, "idprop2": {"@id": "http://example.com/idprop2", "@type": "@id" }, "dateprop2": {"@id": "http://example.com/dateprop2", "@type": "xsd:date" } }, "idlist": ["http://example.org/id"], "datelist": ["2012-04-12"], "idprop": {"@list": ["http://example.org/id"]}, "dateprop": {"@list": ["2012-04-12"]}, "idset": ["http://example.org/id"], "dateset": ["2012-04-12"], "idprop2": {"@set": ["http://example.org/id"]}, "dateprop2": {"@set": ["2012-04-12"]} } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0063-out.nq000066400000000000000000000023741452212752100254750ustar00rootroot00000000000000_:b0 _:b1 . _:b0 "2012-04-12"^^ . _:b0 _:b2 . _:b0 "2012-04-12"^^ . _:b0 _:b3 . _:b0 . _:b0 _:b4 . _:b0 . _:b1 "2012-04-12"^^ . _:b1 . _:b2 "2012-04-12"^^ . _:b2 . _:b3 . _:b3 . _:b4 . _:b4 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0064-in.jsonld000066400000000000000000000006311452212752100261420ustar00rootroot00000000000000{ "@context": [ { "name": "http://xmlns.com/foaf/0.1/name", "homepage": {"@id": "http://xmlns.com/foaf/0.1/homepage","@type": "@id"} }, {"ical": "http://www.w3.org/2002/12/cal/ical#"} ], "@id": "http://example.com/speakers#Alice", "name": "Alice", "homepage": "http://xkcd.com/177/", "ical:summary": "Alice Talk", "ical:location": "Lyon Convention Centre, Lyon, France" }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0064-out.nq000066400000000000000000000006141452212752100254710ustar00rootroot00000000000000 "Lyon Convention Centre, Lyon, France" . "Alice Talk" . . "Alice" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0065-in.jsonld000066400000000000000000000003461452212752100261460ustar00rootroot00000000000000{ "@context": { "foo": "http://example.com/foo/", "foo:bar": "http://example.com/bar", "bar": {"@id": "foo:bar", "@type": "@id"}, "_": "http://example.com/underscore/" }, "@type": [ "foo", "foo:bar", "_" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0065-out.nq000066400000000000000000000003771452212752100255000ustar00rootroot00000000000000_:b0 . _:b0 . _:b0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0066-in.jsonld000066400000000000000000000010621452212752100261430ustar00rootroot00000000000000{ "@context": { "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": {"@id": "@type", "@type": "@id"} }, "@graph": [ { "@id": "http://example.com/a", "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/b" }, { "@id": "http://example.com/c", "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ "http://example.com/d", "http://example.com/e" ] }, { "@id": "http://example.com/f", "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/g" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0066-out.nq000066400000000000000000000006101452212752100254670ustar00rootroot00000000000000 . . . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0067-in.jsonld000066400000000000000000000003771452212752100261540ustar00rootroot00000000000000{ "@context": { "mylist": {"@id": "http://example.com/mylist", "@container": "@list"}, "myset": {"@id": "http://example.com/myset", "@container": "@set"} }, "@id": "http://example.org/id", "mylist": [1, 2, 2, 3], "myset": [1, 2, 2, 3] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0067-out.nq000066400000000000000000000020661452212752100254770ustar00rootroot00000000000000 _:b0 . "1"^^ . "2"^^ . "3"^^ . _:b0 "1"^^ . _:b0 _:b1 . _:b1 "2"^^ . _:b1 _:b2 . _:b2 "2"^^ . _:b2 _:b3 . _:b3 "3"^^ . _:b3 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0068-in.jsonld000066400000000000000000000004501452212752100261450ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.org/vocab#", "date": { "@type": "dateTime" } }, "@id": "example1", "@type": "test", "date": "2011-01-25T00:00:00Z", "embed": { "@id": "example2", "expandedDate": { "@value": "2012-08-01T00:00:00Z", "@type": "dateTime" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0068-out.nq000066400000000000000000000010461452212752100254750ustar00rootroot00000000000000 "2011-01-25T00:00:00Z"^^ . . . "2012-08-01T00:00:00Z"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0069-in.jsonld000066400000000000000000000012731452212752100261520ustar00rootroot00000000000000{ "@context": { "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } }, "@id": "relativeIris", "@type": [ "link", "#fragment-works", "?query=works", "./", "../", "../parent", "../../parent-parent-eq-root", "../../../../../still-root", "../.././.././../../too-many-dots", "/absolute", "//example.org/scheme-relative" ], "links": [ "link", "#fragment-works", "?query=works", "./", "../", "../parent", "../../parent-parent-eq-root", "./../../../useless/../../../still-root", "../.././.././../../too-many-dots", "/absolute", "//example.org/scheme-relative" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0069-out.nq000066400000000000000000000067241452212752100255060ustar00rootroot00000000000000 _:b0 . . . . . . . . . . . . _:b0 . _:b0 _:b1 . _:b1 . _:b1 _:b2 . _:b10 . _:b10 . _:b2 . _:b2 _:b3 . _:b3 . _:b3 _:b4 . _:b4 . _:b4 _:b5 . _:b5 . _:b5 _:b6 . _:b6 . _:b6 _:b7 . _:b7 . _:b7 _:b8 . _:b8 . _:b8 _:b9 . _:b9 . _:b9 _:b10 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0070-in.jsonld000066400000000000000000000004201452212752100261330ustar00rootroot00000000000000{ "@context": { "vocab": "http://example.com/vocab/", "label": { "@id": "vocab:label", "@container": "@language" } }, "@id": "http://example.com/queen", "label": { "en": "The Queen", "de": [ "Die Königin", "Ihre Majestät" ] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0070-out.nq000066400000000000000000000003571452212752100254720ustar00rootroot00000000000000 "Die Königin"@de . "Ihre Majestät"@de . "The Queen"@en . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0071-in.jsonld000066400000000000000000000005431452212752100261420ustar00rootroot00000000000000{ "@context": { "ex": "http://example.org/vocab#", "xsd": "http://www.w3.org/2001/XMLSchema#", "ex:integer": { "@type": "xsd:integer" }, "ex:double": { "@type": "xsd:double" }, "ex:boolean": { "@type": "xsd:boolean" } }, "@id": "http://example.org/test#example1", "ex:integer": 1, "ex:double": 123.45, "ex:boolean": true } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0071-out.nq000066400000000000000000000005601452212752100254670ustar00rootroot00000000000000 "true"^^ . "1.2345E2"^^ . "1"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0072-in.jsonld000066400000000000000000000003601452212752100261400ustar00rootroot00000000000000{ "@context": { "@vocab": "http://xmlns.com/foaf/0.1/", "from": null, "university": { "@id": null } }, "@id": "http://me.markus-lanthaler.com/", "name": "Markus Lanthaler", "from": "Italy", "university": "TU Graz" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0072-out.nq000066400000000000000000000001301452212752100254610ustar00rootroot00000000000000 "Markus Lanthaler" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0073-in.jsonld000066400000000000000000000004601452212752100261420ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.com/vocab#", "homepage": { "@type": "@id" }, "created_at": { "@type": "http://www.w3.org/2001/XMLSchema#date" } }, "name": "Markus Lanthaler", "homepage": "http://www.markus-lanthaler.com/", "created_at": "2012-10-28" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0073-out.nq000066400000000000000000000003531452212752100254710ustar00rootroot00000000000000_:b0 "2012-10-28"^^ . _:b0 . _:b0 "Markus Lanthaler" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0074-in.jsonld000066400000000000000000000004611452212752100261440ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.com/vocab/", "colliding": "http://example.com/vocab/collidingTerm" }, "@id": "http://example.com/IriCollissions", "colliding": [ "value 1", 2 ], "collidingTerm": [ 3, "four" ], "http://example.com/vocab/collidingTerm": 5 } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0074-out.nq000066400000000000000000000010541452212752100254710ustar00rootroot00000000000000 "2"^^ . "3"^^ . "5"^^ . "four" . "value 1" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0075-in.jsonld000066400000000000000000000005641452212752100261510ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.com/vocab/", "@language": "it", "label": { "@container": "@language" } }, "@id": "http://example.com/queen", "label": { "en": "The Queen", "de": [ "Die Königin", "Ihre Majestät" ] }, "http://example.com/vocab/label": [ "Il re", { "@value": "The king", "@language": "en" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0075-out.nq000066400000000000000000000006041452212752100254720ustar00rootroot00000000000000 "Die Königin"@de . "Ihre Majestät"@de . "Il re"@it . "The Queen"@en . "The king"@en . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0076-in.jsonld000066400000000000000000000035271452212752100261540ustar00rootroot00000000000000{ "@context": { "property": "http://example.com/property", "indexContainer": { "@id": "http://example.com/container", "@container": "@index" } }, "@id": "http://example.org/indexTest", "indexContainer": { "A": [ { "@id": "http://example.org/nodeWithoutIndexA" }, { "@id": "http://example.org/nodeWithIndexA", "@index": "this overrides the 'A' index from the container" }, 1, true, false, null, "simple string A", { "@value": "typed literal A", "@type": "http://example.org/type" }, { "@value": "language-tagged string A", "@language": "en" } ], "B": "simple string B", "C": [ { "@id": "http://example.org/nodeWithoutIndexC" }, { "@id": "http://example.org/nodeWithIndexC", "@index": "this overrides the 'C' index from the container" }, 3, true, false, null, "simple string C", { "@value": "typed literal C", "@type": "http://example.org/type" }, { "@value": "language-tagged string C", "@language": "en" } ] }, "property": [ { "@id": "http://example.org/nodeWithoutIndexProp" }, { "@id": "http://example.org/nodeWithIndexProp", "@index": "prop" }, { "@value": 3, "@index": "prop" }, { "@value": true, "@index": "prop" }, { "@value": false, "@index": "prop" }, { "@value": null, "@index": "prop" }, "simple string no index", { "@value": "typed literal Prop", "@type": "http://example.org/type", "@index": "prop" }, { "@value": "language-tagged string Prop", "@language": "en", "@index": "prop" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0076-out.nq000066400000000000000000000050321452212752100254730ustar00rootroot00000000000000 "1"^^ . "3"^^ . "false"^^ . "false"^^ . "language-tagged string A"@en . "language-tagged string C"@en . "simple string A" . "simple string B" . "simple string C" . "true"^^ . "true"^^ . "typed literal A"^^ . "typed literal C"^^ . . . . . "3"^^ . "false"^^ . "language-tagged string Prop"@en . "simple string no index" . "true"^^ . "typed literal Prop"^^ . . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0077-in.jsonld000066400000000000000000000004401452212752100261440ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name" }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "@reverse": { "http://xmlns.com/foaf/0.1/knows": { "@id": "http://example.com/people/dave", "name": "Dave Longley" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0077-out.nq000066400000000000000000000004241452212752100254740ustar00rootroot00000000000000 . "Dave Longley" . "Markus Lanthaler" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0078-in.jsonld000066400000000000000000000010711452212752100261460ustar00rootroot00000000000000{ "@context": { "term": "_:term", "termId": { "@id": "term", "@type": "@id" } }, "@id": "_:term", "@type": "_:term", "term": [ { "@id": "_:term", "@type": "term" }, { "@id": "_:Bx", "term": "term" }, "plain value", { "@id": "_:term" } ], "termId": [ { "@id": "_:term", "@type": "term" }, { "@id": "_:Cx", "term": "termId" }, "term:AppendedToBlankNode", "_:termAppendedToBlankNode", "relativeIri", { "@id": "_:term" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0078-out.nq000066400000000000000000000000761452212752100255000ustar00rootroot00000000000000_:b0 _:b0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0079-in.jsonld000066400000000000000000000004661452212752100261560ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "knows": "http://xmlns.com/foaf/0.1/knows" }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "@reverse": { "knows": { "@id": "http://example.com/people/dave", "name": "Dave Longley" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0079-out.nq000066400000000000000000000004241452212752100254760ustar00rootroot00000000000000 . "Dave Longley" . "Markus Lanthaler" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0080-in.jsonld000066400000000000000000000006021452212752100261360ustar00rootroot00000000000000{ "@context": { "vocab": "http://example.com/vocab/", "label": { "@id": "vocab:label", "@container": "@language" }, "indexes": { "@id": "vocab:index", "@container": "@index" } }, "@id": "http://example.com/queen", "label": [ "The Queen" ], "indexes": [ "No", "indexes", { "@id": "asTheValueIsntAnObject" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0080-out.nq000066400000000000000000000005201452212752100254630ustar00rootroot00000000000000 "No" . "indexes" . . "The Queen" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0081-in.jsonld000066400000000000000000000004321452212752100261400ustar00rootroot00000000000000{ "@context": { "property": "http://example.com/property", "nested": "http://example.com/nested", "@language": "en" }, "property": "this is English", "nested": { "@context": { "@language": null }, "property": "and this is a plain string" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0081-out.nq000066400000000000000000000002441452212752100254670ustar00rootroot00000000000000_:b0 _:b1 . _:b0 "this is English"@en . _:b1 "and this is a plain string" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0082-in.jsonld000066400000000000000000000004621452212752100261440ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "isKnownBy": { "@id": "http://example.com/people/dave", "name": "Dave Longley" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0082-out.nq000066400000000000000000000004241452212752100254700ustar00rootroot00000000000000 . "Dave Longley" . "Markus Lanthaler" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0083-in.jsonld000066400000000000000000000007051452212752100261450ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "@reverse": { "isKnownBy": [ { "@id": "http://example.com/people/dave", "name": "Dave Longley" }, { "@id": "http://example.com/people/gregg", "name": "Gregg Kellogg" } ] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0083-out.nq000066400000000000000000000007221452212752100254720ustar00rootroot00000000000000 "Dave Longley" . "Gregg Kellogg" . . . "Markus Lanthaler" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0084-in.jsonld000066400000000000000000000006701452212752100261470ustar00rootroot00000000000000{ "@context": { "property": { "@id": "http://example.com/vocab/property", "@language": "de" }, "indexMap": { "@id": "http://example.com/vocab/indexMap", "@language": "en", "@container": "@index" } }, "@id": "http://example.com/node", "property": [ { "@id": "http://example.com/propertyValueNode", "indexMap": { "expands to english string": "simple string" } }, "einfacher String" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0084-out.nq000066400000000000000000000004351452212752100254740ustar00rootroot00000000000000 "einfacher String"@de . . "simple string"@en . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0085-in.jsonld000066400000000000000000000000501452212752100261400ustar00rootroot00000000000000{ "@value": "free-floating value" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0085-out.nq000066400000000000000000000000001452212752100254610ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0086-in.jsonld000066400000000000000000000006501452212752100261470ustar00rootroot00000000000000{ "@graph": [ { "@id": "http://example.com/free-floating-node" }, { "@value": "free-floating value object" }, { "@value": "free-floating value language-tagged string", "@language": "en" }, { "@value": "free-floating value typed value", "@type": "http://example.com/type" }, "free-floating plain string", true, false, null, 1, 1.5 ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0086-out.nq000066400000000000000000000000001452212752100254620ustar00rootroot00000000000000jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0087-in.jsonld000066400000000000000000000016141452212752100261510ustar00rootroot00000000000000{ "@context": { "property": "http://example.com/property" }, "@graph": [ { "@set": [ "free-floating strings in set objects are removed", { "@id": "http://example.com/free-floating-node" }, { "@id": "http://example.com/node", "property": "nodes with properties are not removed" } ] }, { "@list": [ "lists are removed even though they represent an invisible linked structure, they have no real meaning", { "@id": "http://example.com/node-in-free-floating-list", "property": "everything inside a free-floating list is removed with the list; also nodes with properties" } ] } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0087-out.nq000066400000000000000000000001421452212752100254720ustar00rootroot00000000000000 "nodes with properties are not removed" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0088-in.jsonld000066400000000000000000000010671452212752100261540ustar00rootroot00000000000000{ "@context": { "term": "http://example.com/terms-are-not-considered-in-id", "compact-iris": "http://example.com/compact-iris-", "property": "http://example.com/property", "@vocab": "http://example.org/vocab-is-not-considered-for-id" }, "@id": "term", "property": [ { "@id": "compact-iris:are-considered", "property": "@id supports the following values: relative, absolute, and compact IRIs" }, { "@id": "../parent-node", "property": "relative IRIs get resolved against the document's base IRI" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0088-out.nq000066400000000000000000000010271452212752100254760ustar00rootroot00000000000000 "@id supports the following values: relative, absolute, and compact IRIs" . "relative IRIs get resolved against the document's base IRI" . . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0089-in.jsonld000066400000000000000000000005061452212752100261520ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@type": "@id" } }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "isKnownBy": [ "http://example.com/people/dave", "http://example.com/people/gregg" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0089-out.nq000066400000000000000000000004521452212752100255000ustar00rootroot00000000000000 . . "Markus Lanthaler" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0090-in.jsonld000066400000000000000000000003011452212752100261330ustar00rootroot00000000000000{ "@context": { "issue": { "@id": "http://example.com/issue/", "@type": "@id" }, "issue:raisedBy": { "@container": "@set" } }, "issue": "/issue/1", "issue:raisedBy": "Markus" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0090-out.nq000066400000000000000000000001641452212752100254700ustar00rootroot00000000000000_:b0 . _:b0 "Markus" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0091-in.jsonld000066400000000000000000000001751452212752100261450ustar00rootroot00000000000000{ "@context": [ { "id": "@id" }, { "url": "id" } ], "url": "/issue/1", "http://example.com/property": "ok" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0091-out.nq000066400000000000000000000001021452212752100254610ustar00rootroot00000000000000 "ok" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0092-in.jsonld000066400000000000000000000003251452212752100261430ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.org/", "property": "vocabRelativeProperty" }, "property": "must expand to http://example.org/vocabRelativeProperty", "http://example.org/property": "ok" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0092-out.nq000066400000000000000000000002261452212752100254710ustar00rootroot00000000000000_:b0 "ok" . _:b0 "must expand to http://example.org/vocabRelativeProperty" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0093-in.jsonld000066400000000000000000000001771452212752100261510ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example.org/term", "@type": "@vocab"} }, "term": "http://example.org/enum" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0093-out.nq000066400000000000000000000000731452212752100254720ustar00rootroot00000000000000_:b0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0094-in.jsonld000066400000000000000000000002341452212752100261440ustar00rootroot00000000000000{ "@context": { "term": {"@id": "http://example.org/term", "@type": "@vocab"}, "enum": {"@id": "http://example.org/enum"} }, "term": "enum" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0094-out.nq000066400000000000000000000000731452212752100254730ustar00rootroot00000000000000_:b0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0095-in.jsonld000066400000000000000000000002211452212752100261410ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.org/", "term": {"@id": "http://example.org/term", "@type": "@vocab"} }, "term": "enum" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0095-out.nq000066400000000000000000000000731452212752100254740ustar00rootroot00000000000000_:b0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0096-in.jsonld000066400000000000000000000007421452212752100261520ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "homepage": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@vocab" }, "link": { "@id": "http://example.com/link", "@type": "@id" }, "MarkusHomepage": "http://www.markus-lanthaler.com/", "relative-iri": "http://example.com/error-if-this-is-used-for-link" }, "@id": "http://me.markus-lanthaler.com/", "name": "Markus Lanthaler", "homepage": "MarkusHomepage", "link": "relative-iri" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0096-out.nq000066400000000000000000000004651452212752100255020ustar00rootroot00000000000000 . . "Markus Lanthaler" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0097-in.jsonld000066400000000000000000000002101452212752100261410ustar00rootroot00000000000000{ "@context": { "term": { "@id": "http://example.org/term", "@type": "@vocab" } }, "term": "not-a-term-thus-a-relative-IRI" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0097-out.nq000066400000000000000000000001461452212752100254770ustar00rootroot00000000000000_:b0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0098-in.jsonld000066400000000000000000000002421452212752100261470ustar00rootroot00000000000000{ "@context": { "term": { "@id": "http://example.org/term", "@type": "@vocab" }, "prefix": "http://example.com/vocab#" }, "term": "prefix:suffix" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0098-out.nq000066400000000000000000000001031452212752100254710ustar00rootroot00000000000000_:b0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0099-in.jsonld000066400000000000000000000005531452212752100261550ustar00rootroot00000000000000{ "@context": { "@vocab": "http://example.org/vocab#" }, "@id": "example-with-vocab", "@type": "vocab-prefixed", "property": "property expanded using @vocab", "embed": { "@context": { "@vocab": null }, "@id": "example-vocab-reset", "@type": "document-relative", "property": "@vocab reset, property will be dropped" } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0099-out.nq000066400000000000000000000011231452212752100254750ustar00rootroot00000000000000 . . "property expanded using @vocab" . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0100-in.jsonld000066400000000000000000000013161452212752100261320ustar00rootroot00000000000000{ "@context": { "property": "http://example.com/vocab#property" }, "@id": "../document-relative", "@type": "#document-relative", "property": { "@context": { "@base": "http://example.org/test/" }, "@id": "../document-base-overwritten", "@type": "#document-base-overwritten", "property": [ { "@context": null, "@id": "../document-relative", "@type": "#document-relative", "property": "context completely reset, drops property" }, { "@context": { "@base": null }, "@id": "../document-relative", "@type": "#document-relative", "property": "@base is set to none" } ] } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0100-out.nq000066400000000000000000000011311452212752100254530ustar00rootroot00000000000000 . . . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0101-in.jsonld000066400000000000000000000002601452212752100261300ustar00rootroot00000000000000{ "@context": { "property": { "@id": "http://example.com/property", "@type": "http://example.com/datatype" } }, "property": [ 1, true, false, 5.1 ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0101-out.nq000066400000000000000000000004531452212752100254620ustar00rootroot00000000000000_:b0 "1"^^ . _:b0 "5.1E0"^^ . _:b0 "false"^^ . _:b0 "true"^^ . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0102-in.jsonld000066400000000000000000000015401452212752100261330ustar00rootroot00000000000000{ "@context": { "@base": "http://example.com/some/deep/directory/and/file#with-a-fragment", "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } }, "@id": "relativeIris", "@type": [ "link", "#fragment-works", "?query=works", "./", "../", "../parent", "../../parent-parent-eq-root", "../../../../../still-root", "../.././.././../../too-many-dots", "/absolute", "//example.org/scheme-relative" ], "links": [ "link", "#fragment-works", "?query=works", "./", "../", "../parent", "../../parent-parent-eq-root", "./../../../../../still-root", "../.././.././../../too-many-dots", "/absolute", "//example.org/scheme-relative", "//example.org/../scheme-relative", "//example.org/.././useless/../../scheme-relative" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0102-out.nq000066400000000000000000000076301452212752100254670ustar00rootroot00000000000000 _:b0 . . . . . . . . . . . . _:b0 . _:b0 _:b1 . _:b1 . _:b1 _:b2 . _:b10 . _:b10 _:b11 . _:b11 . _:b11 _:b12 . _:b12 . _:b12 . _:b2 . _:b2 _:b3 . _:b3 . _:b3 _:b4 . _:b4 . _:b4 _:b5 . _:b5 . _:b5 _:b6 . _:b6 . _:b6 _:b7 . _:b7 . _:b7 _:b8 . _:b8 . _:b8 _:b9 . _:b9 . _:b9 _:b10 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0103-in.jsonld000066400000000000000000000007061452212752100261370ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@index" } }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "isKnownBy": { "Dave": { "@id": "http://example.com/people/dave", "name": "Dave Longley" }, "Gregg": { "@id": "http://example.com/people/gregg", "name": "Gregg Kellogg" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0103-out.nq000066400000000000000000000007221452212752100254630ustar00rootroot00000000000000 . "Dave Longley" . . "Gregg Kellogg" . "Markus Lanthaler" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0104-in.jsonld000066400000000000000000000004761452212752100261440ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "isKnownBy": [ { "name": "Dave Longley" }, { "name": "Gregg Kellogg" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0104-out.nq000066400000000000000000000005401452212752100254620ustar00rootroot00000000000000 "Markus Lanthaler" . _:b0 . _:b0 "Dave Longley" . _:b1 . _:b1 "Gregg Kellogg" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0105-in.jsonld000066400000000000000000000007011452212752100261340ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "knows": "http://xmlns.com/foaf/0.1/knows" }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "@reverse": { "knows": { "@id": "http://example.com/people/dave", "name": "Dave Longley" }, "relative-iri": { "@id": "relative-node", "name": "Keys that are not mapped to an IRI in a reverse-map are dropped" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0105-out.nq000066400000000000000000000004241452212752100254640ustar00rootroot00000000000000 . "Dave Longley" . "Markus Lanthaler" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0106-in.jsonld000066400000000000000000000007001452212752100261340ustar00rootroot00000000000000{ "@context": { "name": "http://xmlns.com/foaf/0.1/name", "knows": "http://xmlns.com/foaf/0.1/knows", "@vocab": "http://example.com/vocab/" }, "@id": "http://example.com/people/markus", "name": "Markus Lanthaler", "@reverse": { "knows": { "@id": "http://example.com/people/dave", "name": "Dave Longley" }, "noTerm": { "@id": "relative-node", "name": "Compact keys using @vocab" } } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0106-out.nq000066400000000000000000000010021452212752100254560ustar00rootroot00000000000000 . "Dave Longley" . "Markus Lanthaler" . . "Compact keys using @vocab" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0107-in.jsonld000066400000000000000000000004401452212752100261360ustar00rootroot00000000000000{ "@context": { "http": "http://example.com/this-prefix-would-overwrite-all-http-iris" }, "@id": "http://example.org/node1", "@type": "http://example.org/type", "http://example.org/property": "all these IRIs remain unchanged because they are interpreted as absolute IRIs" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0107-out.nq000066400000000000000000000003641452212752100254710ustar00rootroot00000000000000 "all these IRIs remain unchanged because they are interpreted as absolute IRIs" . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0108-in.jsonld000066400000000000000000000004001452212752100261330ustar00rootroot00000000000000{ "@context": { "_": "http://example.com/this-prefix-would-overwrite-all-blank-node-identifiers" }, "@id": "_:node1", "@type": "_:type", "_:property": "all these IRIs remain unchanged because they are interpreted as blank node identifiers" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0108-out.nq000066400000000000000000000000761452212752100254720ustar00rootroot00000000000000_:b1 _:b0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0109-in.jsonld000066400000000000000000000004251452212752100261430ustar00rootroot00000000000000{ "@context": { "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "rdfs:subClassOf": { "@id": "rdfs:subClassOf", "@type": "@id" } }, "@id": "http://example.com/vocab#class", "@type": "rdfs:Class", "rdfs:subClassOf": "http://example.com/vocab#someOtherClass" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0109-out.nq000066400000000000000000000004011452212752100254630ustar00rootroot00000000000000 . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0110-in.jsonld000066400000000000000000000003001452212752100261230ustar00rootroot00000000000000{ "@context": { "prefix": "http://www.example.org/vocab#", "prefix:foo": "prefix:foo" }, "@id": "http://example.com/vocab#id", "@type": "prefix:Class", "prefix:foo": "bar" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0110-out.nq000066400000000000000000000003001452212752100254510ustar00rootroot00000000000000 "bar" . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0111-in.jsonld000066400000000000000000000004611452212752100261340ustar00rootroot00000000000000{ "@context": [ { "v": "http://example.com/vocab#", "v:term": "v:somethingElse", "v:termId": { "@id": "v:somethingElseId" } }, { "v:term": "v:term", "v:termId": { "@id": "v:termId" } } ], "v:term": "value of v:term", "v:termId": "value of v:termId" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0111-out.nq000066400000000000000000000001661452212752100254640ustar00rootroot00000000000000_:b0 "value of v:term" . _:b0 "value of v:termId" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0112-in.jsonld000066400000000000000000000003351452212752100261350ustar00rootroot00000000000000{ "@context": [ { "v": "http://example.com/vocab#", "term": "v:somethingElse" }, { "@vocab": "http://example.com/anotherVocab#", "term": "term" } ], "term": "value of term" } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0112-out.nq000066400000000000000000000000761452212752100254650ustar00rootroot00000000000000_:b0 "value of term" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0113-in.jsonld000066400000000000000000000002051452212752100261320ustar00rootroot00000000000000{ "@id": "http://example/g", "@graph": { "@id": "http://example/s", "http://example/p": {"@id": "http://example/o"} } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0113-out.nq000066400000000000000000000001161452212752100254610ustar00rootroot00000000000000 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0114-in.jsonld000066400000000000000000000001701452212752100261340ustar00rootroot00000000000000{ "@id": "_:g", "@graph": { "@id": "http://example/s", "http://example/p": {"@id": "http://example/o"} } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0114-out.nq000066400000000000000000000001001452212752100254530ustar00rootroot00000000000000 _:b0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0115-in.jsonld000066400000000000000000000006201452212752100261350ustar00rootroot00000000000000{ "@graph": [{ "@id": "http://example/s0", "http://example/p0": {"@id": "http://example/o0"} }, { "@id": "http://example/g", "@graph": { "@id": "http://example/s1", "http://example/p1": {"@id": "http://example/o1"} } }, { "@id": "_:g", "@graph": { "@id": "http://example/s2", "http://example/p2": {"@id": "http://example/o2"} } }] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0115-out.nq000066400000000000000000000003221452212752100254620ustar00rootroot00000000000000 . . _:b0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0116-in.jsonld000066400000000000000000000002761452212752100261450ustar00rootroot00000000000000{ "@id": "http://example/s0", "http://example/p0": {"@id": "http://example/o0"}, "@graph": { "@id": "http://example/s1", "http://example/p1": {"@id": "http://example/o1"} } }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0116-out.nq000066400000000000000000000002201452212752100254600ustar00rootroot00000000000000 . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0117-in.jsonld000066400000000000000000000002411452212752100261360ustar00rootroot00000000000000{ "http://example/p0": {"@id": "http://example/o0"}, "@graph": { "@id": "http://example/s1", "http://example/p1": {"@id": "http://example/o1"} } } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0117-out.nq000066400000000000000000000001621452212752100254660ustar00rootroot00000000000000 _:b0 . _:b0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0118-in.jsonld000066400000000000000000000010711452212752100261410ustar00rootroot00000000000000{ "@context": { "term": "_:term", "termId": { "@id": "term", "@type": "@id" } }, "@id": "_:term", "@type": "_:term", "term": [ { "@id": "_:term", "@type": "term" }, { "@id": "_:Bx", "term": "term" }, "plain value", { "@id": "_:term" } ], "termId": [ { "@id": "_:term", "@type": "term" }, { "@id": "_:Cx", "term": "termId" }, "term:AppendedToBlankNode", "_:termAppendedToBlankNode", "relativeIri", { "@id": "_:term" } ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0118-out.nq000066400000000000000000000004021452212752100254640ustar00rootroot00000000000000_:b0 _:b0 . _:b0 _:b0 "plain value" . _:b0 _:b0 . _:b0 _:b0 _:b0 . _:b0 _:b0 _:b1 . _:b0 _:b0 _:b2 . _:b0 _:b0 _:b3 . _:b1 _:b0 "term" . _:b2 _:b0 "termId" . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0119-in.jsonld000066400000000000000000000003031452212752100261370ustar00rootroot00000000000000{ "@context": { "foo": "http://example.org/foo", "bar": { "@reverse": "http://example.org/bar", "@type": "@id" } }, "foo": "Foo", "bar": [ "http://example.org/origin", "_:b0" ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0119-out.nq000066400000000000000000000002071452212752100254700ustar00rootroot00000000000000 _:b0 . _:b0 "Foo" . _:b1 _:b0 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0120-in.jsonld000066400000000000000000000041321452212752100261330ustar00rootroot00000000000000{ "@context": {"@base": "http://a/bb/ccc/d;p?q", "urn:ex:p": {"@type": "@id"}}, "@graph": [ {"@id": "urn:ex:s001", "urn:ex:p": "g:h"}, {"@id": "urn:ex:s002", "urn:ex:p": "g"}, {"@id": "urn:ex:s003", "urn:ex:p": "./g"}, {"@id": "urn:ex:s004", "urn:ex:p": "g/"}, {"@id": "urn:ex:s005", "urn:ex:p": "/g"}, {"@id": "urn:ex:s006", "urn:ex:p": "//g"}, {"@id": "urn:ex:s007", "urn:ex:p": "?y"}, {"@id": "urn:ex:s008", "urn:ex:p": "g?y"}, {"@id": "urn:ex:s009", "urn:ex:p": "#s"}, {"@id": "urn:ex:s010", "urn:ex:p": "g#s"}, {"@id": "urn:ex:s011", "urn:ex:p": "g?y#s"}, {"@id": "urn:ex:s012", "urn:ex:p": ";x"}, {"@id": "urn:ex:s013", "urn:ex:p": "g;x"}, {"@id": "urn:ex:s014", "urn:ex:p": "g;x?y#s"}, {"@id": "urn:ex:s015", "urn:ex:p": ""}, {"@id": "urn:ex:s016", "urn:ex:p": "."}, {"@id": "urn:ex:s017", "urn:ex:p": "./"}, {"@id": "urn:ex:s018", "urn:ex:p": ".."}, {"@id": "urn:ex:s019", "urn:ex:p": "../"}, {"@id": "urn:ex:s020", "urn:ex:p": "../g"}, {"@id": "urn:ex:s021", "urn:ex:p": "../.."}, {"@id": "urn:ex:s022", "urn:ex:p": "../../"}, {"@id": "urn:ex:s023", "urn:ex:p": "../../g"}, {"@id": "urn:ex:s024", "urn:ex:p": "../../../g"}, {"@id": "urn:ex:s025", "urn:ex:p": "../../../../g"}, {"@id": "urn:ex:s026", "urn:ex:p": "/./g"}, {"@id": "urn:ex:s027", "urn:ex:p": "/../g"}, {"@id": "urn:ex:s028", "urn:ex:p": "g."}, {"@id": "urn:ex:s029", "urn:ex:p": ".g"}, {"@id": "urn:ex:s030", "urn:ex:p": "g.."}, {"@id": "urn:ex:s031", "urn:ex:p": "..g"}, {"@id": "urn:ex:s032", "urn:ex:p": "./../g"}, {"@id": "urn:ex:s033", "urn:ex:p": "./g/."}, {"@id": "urn:ex:s034", "urn:ex:p": "g/./h"}, {"@id": "urn:ex:s035", "urn:ex:p": "g/../h"}, {"@id": "urn:ex:s036", "urn:ex:p": "g;x=1/./y"}, {"@id": "urn:ex:s037", "urn:ex:p": "g;x=1/../y"}, {"@id": "urn:ex:s038", "urn:ex:p": "g?y/./x"}, {"@id": "urn:ex:s039", "urn:ex:p": "g?y/../x"}, {"@id": "urn:ex:s040", "urn:ex:p": "g#s/./x"}, {"@id": "urn:ex:s041", "urn:ex:p": "g#s/../x"}, {"@id": "urn:ex:s042", "urn:ex:p": "http:g"} ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0120-out.nq000066400000000000000000000036171452212752100254700ustar00rootroot00000000000000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0121-in.jsonld000066400000000000000000000041271452212752100261400ustar00rootroot00000000000000{ "@context": {"@base": "http://a/bb/ccc/d/", "urn:ex:p": {"@type": "@id"}}, "@graph": [ {"@id": "urn:ex:s043", "urn:ex:p": "g:h"}, {"@id": "urn:ex:s044", "urn:ex:p": "g"}, {"@id": "urn:ex:s045", "urn:ex:p": "./g"}, {"@id": "urn:ex:s046", "urn:ex:p": "g/"}, {"@id": "urn:ex:s047", "urn:ex:p": "/g"}, {"@id": "urn:ex:s048", "urn:ex:p": "//g"}, {"@id": "urn:ex:s049", "urn:ex:p": "?y"}, {"@id": "urn:ex:s050", "urn:ex:p": "g?y"}, {"@id": "urn:ex:s051", "urn:ex:p": "#s"}, {"@id": "urn:ex:s052", "urn:ex:p": "g#s"}, {"@id": "urn:ex:s053", "urn:ex:p": "g?y#s"}, {"@id": "urn:ex:s054", "urn:ex:p": ";x"}, {"@id": "urn:ex:s055", "urn:ex:p": "g;x"}, {"@id": "urn:ex:s056", "urn:ex:p": "g;x?y#s"}, {"@id": "urn:ex:s057", "urn:ex:p": ""}, {"@id": "urn:ex:s058", "urn:ex:p": "."}, {"@id": "urn:ex:s059", "urn:ex:p": "./"}, {"@id": "urn:ex:s060", "urn:ex:p": ".."}, {"@id": "urn:ex:s061", "urn:ex:p": "../"}, {"@id": "urn:ex:s062", "urn:ex:p": "../g"}, {"@id": "urn:ex:s063", "urn:ex:p": "../.."}, {"@id": "urn:ex:s064", "urn:ex:p": "../../"}, {"@id": "urn:ex:s065", "urn:ex:p": "../../g"}, {"@id": "urn:ex:s066", "urn:ex:p": "../../../g"}, {"@id": "urn:ex:s067", "urn:ex:p": "../../../../g"}, {"@id": "urn:ex:s068", "urn:ex:p": "/./g"}, {"@id": "urn:ex:s069", "urn:ex:p": "/../g"}, {"@id": "urn:ex:s070", "urn:ex:p": "g."}, {"@id": "urn:ex:s071", "urn:ex:p": ".g"}, {"@id": "urn:ex:s072", "urn:ex:p": "g.."}, {"@id": "urn:ex:s073", "urn:ex:p": "..g"}, {"@id": "urn:ex:s074", "urn:ex:p": "./../g"}, {"@id": "urn:ex:s075", "urn:ex:p": "./g/."}, {"@id": "urn:ex:s076", "urn:ex:p": "g/./h"}, {"@id": "urn:ex:s077", "urn:ex:p": "g/../h"}, {"@id": "urn:ex:s078", "urn:ex:p": "g;x=1/./y"}, {"@id": "urn:ex:s079", "urn:ex:p": "g;x=1/../y"}, {"@id": "urn:ex:s080", "urn:ex:p": "g?y/./x"}, {"@id": "urn:ex:s081", "urn:ex:p": "g?y/../x"}, {"@id": "urn:ex:s082", "urn:ex:p": "g#s/./x"}, {"@id": "urn:ex:s083", "urn:ex:p": "g#s/../x"}, {"@id": "urn:ex:s084", "urn:ex:p": "http:g"} ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0121-out.nq000066400000000000000000000037211452212752100254650ustar00rootroot00000000000000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0122-in.jsonld000066400000000000000000000041341452212752100261370ustar00rootroot00000000000000{ "@context": {"@base": "http://a/bb/ccc/./d;p?q", "urn:ex:p": {"@type": "@id"}}, "@graph": [ {"@id": "urn:ex:s085", "urn:ex:p": "g:h"}, {"@id": "urn:ex:s086", "urn:ex:p": "g"}, {"@id": "urn:ex:s087", "urn:ex:p": "./g"}, {"@id": "urn:ex:s088", "urn:ex:p": "g/"}, {"@id": "urn:ex:s089", "urn:ex:p": "/g"}, {"@id": "urn:ex:s090", "urn:ex:p": "//g"}, {"@id": "urn:ex:s091", "urn:ex:p": "?y"}, {"@id": "urn:ex:s092", "urn:ex:p": "g?y"}, {"@id": "urn:ex:s093", "urn:ex:p": "#s"}, {"@id": "urn:ex:s094", "urn:ex:p": "g#s"}, {"@id": "urn:ex:s095", "urn:ex:p": "g?y#s"}, {"@id": "urn:ex:s096", "urn:ex:p": ";x"}, {"@id": "urn:ex:s097", "urn:ex:p": "g;x"}, {"@id": "urn:ex:s098", "urn:ex:p": "g;x?y#s"}, {"@id": "urn:ex:s099", "urn:ex:p": ""}, {"@id": "urn:ex:s100", "urn:ex:p": "."}, {"@id": "urn:ex:s101", "urn:ex:p": "./"}, {"@id": "urn:ex:s102", "urn:ex:p": ".."}, {"@id": "urn:ex:s103", "urn:ex:p": "../"}, {"@id": "urn:ex:s104", "urn:ex:p": "../g"}, {"@id": "urn:ex:s105", "urn:ex:p": "../.."}, {"@id": "urn:ex:s106", "urn:ex:p": "../../"}, {"@id": "urn:ex:s107", "urn:ex:p": "../../g"}, {"@id": "urn:ex:s108", "urn:ex:p": "../../../g"}, {"@id": "urn:ex:s109", "urn:ex:p": "../../../../g"}, {"@id": "urn:ex:s110", "urn:ex:p": "/./g"}, {"@id": "urn:ex:s111", "urn:ex:p": "/../g"}, {"@id": "urn:ex:s112", "urn:ex:p": "g."}, {"@id": "urn:ex:s113", "urn:ex:p": ".g"}, {"@id": "urn:ex:s114", "urn:ex:p": "g.."}, {"@id": "urn:ex:s115", "urn:ex:p": "..g"}, {"@id": "urn:ex:s116", "urn:ex:p": "./../g"}, {"@id": "urn:ex:s117", "urn:ex:p": "./g/."}, {"@id": "urn:ex:s118", "urn:ex:p": "g/./h"}, {"@id": "urn:ex:s119", "urn:ex:p": "g/../h"}, {"@id": "urn:ex:s120", "urn:ex:p": "g;x=1/./y"}, {"@id": "urn:ex:s121", "urn:ex:p": "g;x=1/../y"}, {"@id": "urn:ex:s122", "urn:ex:p": "g?y/./x"}, {"@id": "urn:ex:s123", "urn:ex:p": "g?y/../x"}, {"@id": "urn:ex:s124", "urn:ex:p": "g#s/./x"}, {"@id": "urn:ex:s125", "urn:ex:p": "g#s/../x"}, {"@id": "urn:ex:s126", "urn:ex:p": "http:g"} ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0122-out.nq000066400000000000000000000036251452212752100254710ustar00rootroot00000000000000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0123-in.jsonld000066400000000000000000000041351452212752100261410ustar00rootroot00000000000000{ "@context": {"@base": "http://a/bb/ccc/../d;p?q", "urn:ex:p": {"@type": "@id"}}, "@graph": [ {"@id": "urn:ex:s127", "urn:ex:p": "g:h"}, {"@id": "urn:ex:s128", "urn:ex:p": "g"}, {"@id": "urn:ex:s129", "urn:ex:p": "./g"}, {"@id": "urn:ex:s130", "urn:ex:p": "g/"}, {"@id": "urn:ex:s131", "urn:ex:p": "/g"}, {"@id": "urn:ex:s132", "urn:ex:p": "//g"}, {"@id": "urn:ex:s133", "urn:ex:p": "?y"}, {"@id": "urn:ex:s134", "urn:ex:p": "g?y"}, {"@id": "urn:ex:s135", "urn:ex:p": "#s"}, {"@id": "urn:ex:s136", "urn:ex:p": "g#s"}, {"@id": "urn:ex:s137", "urn:ex:p": "g?y#s"}, {"@id": "urn:ex:s138", "urn:ex:p": ";x"}, {"@id": "urn:ex:s139", "urn:ex:p": "g;x"}, {"@id": "urn:ex:s140", "urn:ex:p": "g;x?y#s"}, {"@id": "urn:ex:s141", "urn:ex:p": ""}, {"@id": "urn:ex:s142", "urn:ex:p": "."}, {"@id": "urn:ex:s143", "urn:ex:p": "./"}, {"@id": "urn:ex:s144", "urn:ex:p": ".."}, {"@id": "urn:ex:s145", "urn:ex:p": "../"}, {"@id": "urn:ex:s146", "urn:ex:p": "../g"}, {"@id": "urn:ex:s147", "urn:ex:p": "../.."}, {"@id": "urn:ex:s148", "urn:ex:p": "../../"}, {"@id": "urn:ex:s149", "urn:ex:p": "../../g"}, {"@id": "urn:ex:s150", "urn:ex:p": "../../../g"}, {"@id": "urn:ex:s151", "urn:ex:p": "../../../../g"}, {"@id": "urn:ex:s152", "urn:ex:p": "/./g"}, {"@id": "urn:ex:s153", "urn:ex:p": "/../g"}, {"@id": "urn:ex:s154", "urn:ex:p": "g."}, {"@id": "urn:ex:s155", "urn:ex:p": ".g"}, {"@id": "urn:ex:s156", "urn:ex:p": "g.."}, {"@id": "urn:ex:s157", "urn:ex:p": "..g"}, {"@id": "urn:ex:s158", "urn:ex:p": "./../g"}, {"@id": "urn:ex:s159", "urn:ex:p": "./g/."}, {"@id": "urn:ex:s160", "urn:ex:p": "g/./h"}, {"@id": "urn:ex:s161", "urn:ex:p": "g/../h"}, {"@id": "urn:ex:s162", "urn:ex:p": "g;x=1/./y"}, {"@id": "urn:ex:s163", "urn:ex:p": "g;x=1/../y"}, {"@id": "urn:ex:s164", "urn:ex:p": "g?y/./x"}, {"@id": "urn:ex:s165", "urn:ex:p": "g?y/../x"}, {"@id": "urn:ex:s166", "urn:ex:p": "g#s/./x"}, {"@id": "urn:ex:s167", "urn:ex:p": "g#s/../x"}, {"@id": "urn:ex:s168", "urn:ex:p": "http:g"} ] }jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0123-out.nq000066400000000000000000000034541452212752100254720ustar00rootroot00000000000000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0124-in.jsonld000066400000000000000000000041271452212752100261430ustar00rootroot00000000000000{ "@context": {"@base": "http://a/bb/ccc/.", "urn:ex:p": {"@type": "@id"}}, "@graph": [ {"@id": "urn:ex:s169", "urn:ex:p": "g:h"}, {"@id": "urn:ex:s170", "urn:ex:p": "g"}, {"@id": "urn:ex:s171", "urn:ex:p": "./g"}, {"@id": "urn:ex:s172", "urn:ex:p": "g/"}, {"@id": "urn:ex:s173", "urn:ex:p": "/g"}, {"@id": "urn:ex:s174", "urn:ex:p": "//g"}, {"@id": "urn:ex:s175", "urn:ex:p": "?y"}, {"@id": "urn:ex:s176", "urn:ex:p": "g?y"}, {"@id": "urn:ex:s177", "urn:ex:p": "#s"}, {"@id": "urn:ex:s178", "urn:ex:p": "g#s"}, {"@id": "urn:ex:s179", "urn:ex:p": "g?y#s"}, {"@id": "urn:ex:s180", "urn:ex:p": ";x"}, {"@id": "urn:ex:s181", "urn:ex:p": "g;x"}, {"@id": "urn:ex:s182", "urn:ex:p": "g;x?y#s"}, {"@id": "urn:ex:s183", "urn:ex:p": ""}, {"@id": "urn:ex:s184", "urn:ex:p": "."}, {"@id": "urn:ex:s185", "urn:ex:p": "./"}, {"@id": "urn:ex:s186", "urn:ex:p": ".."}, {"@id": "urn:ex:s187", "urn:ex:p": "../"}, {"@id": "urn:ex:s188", "urn:ex:p": "../g"}, {"@id": "urn:ex:s189", "urn:ex:p": "../.."}, {"@id": "urn:ex:s190", "urn:ex:p": "../../"}, {"@id": "urn:ex:s191", "urn:ex:p": "../../g"}, {"@id": "urn:ex:s192", "urn:ex:p": "../../../g"}, {"@id": "urn:ex:s193", "urn:ex:p": "../../../../g"}, {"@id": "urn:ex:s194", "urn:ex:p": "/./g"}, {"@id": "urn:ex:s195", "urn:ex:p": "/../g"}, {"@id": "urn:ex:s196", "urn:ex:p": "g."}, {"@id": "urn:ex:s197", "urn:ex:p": ".g"}, {"@id": "urn:ex:s198", "urn:ex:p": "g.."}, {"@id": "urn:ex:s199", "urn:ex:p": "..g"}, {"@id": "urn:ex:s200", "urn:ex:p": "./../g"}, {"@id": "urn:ex:s201", "urn:ex:p": "./g/."}, {"@id": "urn:ex:s202", "urn:ex:p": "g/./h"}, {"@id": "urn:ex:s203", "urn:ex:p": "g/../h"}, {"@id": "urn:ex:s204", "urn:ex:p": "g;x=1/./y"}, {"@id": "urn:ex:s205", "urn:ex:p": "g;x=1/../y"}, {"@id": "urn:ex:s206", "urn:ex:p": "g?y/./x"}, {"@id": "urn:ex:s207", "urn:ex:p": "g?y/../x"}, {"@id": "urn:ex:s208", "urn:ex:p": "g#s/./x"}, {"@id": "urn:ex:s209", "urn:ex:p": "g#s/../x"}, {"@id": "urn:ex:s210", "urn:ex:p": "http:g"} ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0124-out.nq000066400000000000000000000036051452212752100254710ustar00rootroot00000000000000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0125-in.jsonld000066400000000000000000000041301452212752100261360ustar00rootroot00000000000000{ "@context": {"@base": "http://a/bb/ccc/..", "urn:ex:p": {"@type": "@id"}}, "@graph": [ {"@id": "urn:ex:s211", "urn:ex:p": "g:h"}, {"@id": "urn:ex:s212", "urn:ex:p": "g"}, {"@id": "urn:ex:s213", "urn:ex:p": "./g"}, {"@id": "urn:ex:s214", "urn:ex:p": "g/"}, {"@id": "urn:ex:s215", "urn:ex:p": "/g"}, {"@id": "urn:ex:s216", "urn:ex:p": "//g"}, {"@id": "urn:ex:s217", "urn:ex:p": "?y"}, {"@id": "urn:ex:s218", "urn:ex:p": "g?y"}, {"@id": "urn:ex:s219", "urn:ex:p": "#s"}, {"@id": "urn:ex:s220", "urn:ex:p": "g#s"}, {"@id": "urn:ex:s221", "urn:ex:p": "g?y#s"}, {"@id": "urn:ex:s222", "urn:ex:p": ";x"}, {"@id": "urn:ex:s223", "urn:ex:p": "g;x"}, {"@id": "urn:ex:s224", "urn:ex:p": "g;x?y#s"}, {"@id": "urn:ex:s225", "urn:ex:p": ""}, {"@id": "urn:ex:s226", "urn:ex:p": "."}, {"@id": "urn:ex:s227", "urn:ex:p": "./"}, {"@id": "urn:ex:s228", "urn:ex:p": ".."}, {"@id": "urn:ex:s229", "urn:ex:p": "../"}, {"@id": "urn:ex:s230", "urn:ex:p": "../g"}, {"@id": "urn:ex:s231", "urn:ex:p": "../.."}, {"@id": "urn:ex:s232", "urn:ex:p": "../../"}, {"@id": "urn:ex:s233", "urn:ex:p": "../../g"}, {"@id": "urn:ex:s234", "urn:ex:p": "../../../g"}, {"@id": "urn:ex:s235", "urn:ex:p": "../../../../g"}, {"@id": "urn:ex:s236", "urn:ex:p": "/./g"}, {"@id": "urn:ex:s237", "urn:ex:p": "/../g"}, {"@id": "urn:ex:s238", "urn:ex:p": "g."}, {"@id": "urn:ex:s239", "urn:ex:p": ".g"}, {"@id": "urn:ex:s240", "urn:ex:p": "g.."}, {"@id": "urn:ex:s241", "urn:ex:p": "..g"}, {"@id": "urn:ex:s242", "urn:ex:p": "./../g"}, {"@id": "urn:ex:s243", "urn:ex:p": "./g/."}, {"@id": "urn:ex:s244", "urn:ex:p": "g/./h"}, {"@id": "urn:ex:s245", "urn:ex:p": "g/../h"}, {"@id": "urn:ex:s246", "urn:ex:p": "g;x=1/./y"}, {"@id": "urn:ex:s247", "urn:ex:p": "g;x=1/../y"}, {"@id": "urn:ex:s248", "urn:ex:p": "g?y/./x"}, {"@id": "urn:ex:s249", "urn:ex:p": "g?y/../x"}, {"@id": "urn:ex:s250", "urn:ex:p": "g#s/./x"}, {"@id": "urn:ex:s251", "urn:ex:p": "g#s/../x"}, {"@id": "urn:ex:s252", "urn:ex:p": "http:g"} ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0125-out.nq000066400000000000000000000036101452212752100254660ustar00rootroot00000000000000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0127-in.jsonld000066400000000000000000000006031452212752100261410ustar00rootroot00000000000000{ "@context": {"@base": "http://abc/def/ghi", "urn:ex:p": {"@type": "@id"}}, "@graph": [ {"@id": "urn:ex:s295", "urn:ex:p": "."}, {"@id": "urn:ex:s296", "urn:ex:p": ".?a=b"}, {"@id": "urn:ex:s297", "urn:ex:p": ".#a=b"}, {"@id": "urn:ex:s298", "urn:ex:p": ".."}, {"@id": "urn:ex:s299", "urn:ex:p": "..?a=b"}, {"@id": "urn:ex:s300", "urn:ex:p": "..#a=b"} ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0127-out.nq000066400000000000000000000004221452212752100254660ustar00rootroot00000000000000 . . . . . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0129-in.jsonld000066400000000000000000000003641452212752100261470ustar00rootroot00000000000000{ "@context": {"@base": "http://abc/d:f/ghi", "urn:ex:p": {"@type": "@id"}}, "@graph": [ {"@id": "urn:ex:s304", "urn:ex:p": "xyz"}, {"@id": "urn:ex:s305", "urn:ex:p": "./xyz"}, {"@id": "urn:ex:s306", "urn:ex:p": "../xyz"} ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0129-out.nq000066400000000000000000000002141452212752100254670ustar00rootroot00000000000000 . . . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0130-in.jsonld000066400000000000000000000002101452212752100261250ustar00rootroot00000000000000{ "@context": {"@base": "tag:example", "urn:ex:p": {"@type": "@id"}}, "@graph": [ {"@id": "urn:ex:s307", "urn:ex:p": "a"} ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0130-out.nq000066400000000000000000000000431452212752100254570ustar00rootroot00000000000000 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0131-in.jsonld000066400000000000000000000002141452212752100261320ustar00rootroot00000000000000{ "@context": {"@base": "tag:example/foo", "urn:ex:p": {"@type": "@id"}}, "@graph": [ {"@id": "urn:ex:s308", "urn:ex:p": "a"} ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0131-out.nq000066400000000000000000000000531452212752100254610ustar00rootroot00000000000000 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0132-in.jsonld000066400000000000000000000002151452212752100261340ustar00rootroot00000000000000{ "@context": {"@base": "tag:example/foo/", "urn:ex:p": {"@type": "@id"}}, "@graph": [ {"@id": "urn:ex:s309", "urn:ex:p": "a"} ] } jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-0132-out.nq000066400000000000000000000000571452212752100254660ustar00rootroot00000000000000 . jsonld-java-0.13.6/core/src/test/resources/json-ld.org/toRdf-manifest.jsonld000066400000000000000000001057311452212752100267620ustar00rootroot00000000000000{ "@context": "http://json-ld.org/test-suite/context.jsonld", "@id": "", "@type": "mf:Manifest", "name": "Transform JSON-LD to RDF", "description": "JSON-LD to RDF tests generate N-Quads output and use string comparison.", "baseIri": "http://json-ld.org/test-suite/tests/", "sequence": [ { "@id": "#t0001", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Plain literal with URIs", "purpose": "Tests generation of a triple using full URIs and a plain literal.", "input": "toRdf-0001-in.jsonld", "expect": "toRdf-0001-out.nq" }, { "@id": "#t0002", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Plain literal with CURIE from default context", "purpose": "Tests generation of a triple using a CURIE defined in the default context.", "input": "toRdf-0002-in.jsonld", "expect": "toRdf-0002-out.nq" }, { "@id": "#t0003", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Default subject is BNode", "purpose": "Tests that a BNode is created if no explicit subject is set.", "input": "toRdf-0003-in.jsonld", "expect": "toRdf-0003-out.nq" }, { "@id": "#t0004", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Literal with language tag", "purpose": "Tests that a plain literal is created with a language tag.", "input": "toRdf-0004-in.jsonld", "expect": "toRdf-0004-out.nq" }, { "@id": "#t0005", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Extended character set literal", "purpose": "Tests that a literal may be created using extended characters.", "input": "toRdf-0005-in.jsonld", "expect": "toRdf-0005-out.nq" }, { "@id": "#t0006", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Typed literal", "purpose": "Tests creation of a literal with a datatype.", "input": "toRdf-0006-in.jsonld", "expect": "toRdf-0006-out.nq" }, { "@id": "#t0007", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Tests 'a' generates rdf:type and object is implicit IRI", "purpose": "Verify that 'a' is an alias for rdf:type, and the object is created as an IRI.", "input": "toRdf-0007-in.jsonld", "expect": "toRdf-0007-out.nq" }, { "@id": "#t0008", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test prefix defined in @context", "purpose": "Generate an IRI using a prefix defined within an @context.", "input": "toRdf-0008-in.jsonld", "expect": "toRdf-0008-out.nq" }, { "@id": "#t0009", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test using an empty suffix", "purpose": "An empty suffix may be used.", "input": "toRdf-0009-in.jsonld", "expect": "toRdf-0009-out.nq" }, { "@id": "#t0010", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test object processing defines object", "purpose": "A property referencing an associative array gets object from subject of array.", "input": "toRdf-0010-in.jsonld", "expect": "toRdf-0010-out.nq" }, { "@id": "#t0011", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test object processing defines object with implicit BNode", "purpose": "If no @ is specified, a BNode is created, and will be used as the object of an enclosing property.", "input": "toRdf-0011-in.jsonld", "expect": "toRdf-0011-out.nq" }, { "@id": "#t0012", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Multiple Objects for a Single Property", "purpose": "Tests that Multiple Objects are for a Single Property using array syntax.", "input": "toRdf-0012-in.jsonld", "expect": "toRdf-0012-out.nq" }, { "@id": "#t0013", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Creation of an empty list", "purpose": "Tests that @list: [] generates an empty list.", "input": "toRdf-0013-in.jsonld", "expect": "toRdf-0013-out.nq" }, { "@id": "#t0014", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Creation of a list with single element", "purpose": "Tests that @list generates a list.", "input": "toRdf-0014-in.jsonld", "expect": "toRdf-0014-out.nq" }, { "@id": "#t0015", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Creation of a list with multiple elements", "purpose": "Tests that list with multiple elements.", "input": "toRdf-0015-in.jsonld", "expect": "toRdf-0015-out.nq" }, { "@id": "#t0016", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Empty IRI expands to resource location", "purpose": "Expanding an empty IRI uses the test file location.", "input": "toRdf-0016-in.jsonld", "expect": "toRdf-0016-out.nq" }, { "@id": "#t0017", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Relative IRI expands relative resource location", "purpose": "Expanding a relative IRI uses the test file location.", "input": "toRdf-0017-in.jsonld", "expect": "toRdf-0017-out.nq" }, { "@id": "#t0018", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Frag ID expands relative resource location", "purpose": "Expanding a fragment uses the test file location.", "input": "toRdf-0018-in.jsonld", "expect": "toRdf-0018-out.nq" }, { "@id": "#t0019", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test type coercion to anyURI", "purpose": "Tests coercion of object to anyURI when specified.", "input": "toRdf-0019-in.jsonld", "expect": "toRdf-0019-out.nq" }, { "@id": "#t0020", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test type coercion to typed literal", "purpose": "Tests coercion of object to a typed literal when specified.", "input": "toRdf-0020-in.jsonld", "expect": "toRdf-0020-out.nq" }, { "@id": "#t0022", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test coercion of double value", "purpose": "Tests that a decimal value generates a xsd:double typed literal;.", "input": "toRdf-0022-in.jsonld", "expect": "toRdf-0022-out.nq" }, { "@id": "#t0023", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test coercion of integer value", "purpose": "Tests that a decimal value generates a xsd:integer typed literal.", "input": "toRdf-0023-in.jsonld", "expect": "toRdf-0023-out.nq" }, { "@id": "#t0024", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test coercion of boolean value", "purpose": "Tests that a decimal value generates a xsd:boolean typed literal.", "input": "toRdf-0024-in.jsonld", "expect": "toRdf-0024-out.nq" }, { "@id": "#t0025", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test list coercion with single element", "purpose": "Tests that an array with a single element on a property with @list coercion creates an RDF Collection.", "input": "toRdf-0025-in.jsonld", "expect": "toRdf-0025-out.nq" }, { "@id": "#t0026", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test creation of multiple types", "purpose": "Tests that @type with an array of types creates multiple types.", "input": "toRdf-0026-in.jsonld", "expect": "toRdf-0026-out.nq" }, { "@id": "#t0027", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Simple named graph (Wikidata)", "purpose": "Using @graph with other keys places triples in a named graph.", "input": "toRdf-0027-in.jsonld", "expect": "toRdf-0027-out.nq" }, { "@id": "#t0028", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Simple named graph", "purpose": "Signing a graph.", "input": "toRdf-0028-in.jsonld", "expect": "toRdf-0028-out.nq" }, { "@id": "#t0029", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "named graph with embedded named graph", "purpose": "Tests that named graphs containing named graphs flatten to single level of graph naming.", "input": "toRdf-0029-in.jsonld", "expect": "toRdf-0029-out.nq" }, { "@id": "#t0030", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "top-level graph with string subject reference", "purpose": "Tests graphs containing subject references as strings.", "input": "toRdf-0030-in.jsonld", "expect": "toRdf-0030-out.nq" }, { "@id": "#t0031", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Reverse property", "purpose": "Tests conversion of reverse properties.", "input": "toRdf-0031-in.jsonld", "expect": "toRdf-0031-out.nq" }, { "@id": "#t0032", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@context reordering", "purpose": "Tests that generated triples do not depend on order of @context.", "input": "toRdf-0032-in.jsonld", "expect": "toRdf-0032-out.nq" }, { "@id": "#t0033", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@id reordering", "purpose": "Tests that generated triples do not depend on order of @id.", "input": "toRdf-0033-in.jsonld", "expect": "toRdf-0033-out.nq" }, { "@id": "#t0034", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "context properties reordering", "purpose": "Tests that generated triples do not depend on order of properties inside @context.", "input": "toRdf-0034-in.jsonld", "expect": "toRdf-0034-out.nq" }, { "@id": "#t0035", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "non-fractional numbers converted to xsd:double", "purpose": "xsd:double's canonical lexical is used when converting numbers without fraction that are coerced to xsd:double", "input": "toRdf-0035-in.jsonld", "expect": "toRdf-0035-out.nq" }, { "@id": "#t0036", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Use nodeMapGeneration bnode labels", "purpose": "The toRDF algorithm does not relabel blank nodes; it reuses the counter from the nodeMapGeneration to generate new ones", "input": "toRdf-0036-in.jsonld", "expect": "toRdf-0036-out.nq" }, { "@id": "#t0041", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "drop free-floating nodes", "purpose": "Free-floating nodes do not generate RDF triples", "input": "toRdf-0041-in.jsonld", "expect": "toRdf-0041-out.nq" }, { "@id": "#t0042", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "basic", "purpose": "Basic RDF conversion", "input": "toRdf-0042-in.jsonld", "expect": "toRdf-0042-out.nq" }, { "@id": "#t0043", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "drop null and unmapped properties", "purpose": "Properties mapped to null or which are never mapped are dropped", "input": "toRdf-0043-in.jsonld", "expect": "toRdf-0043-out.nq" }, { "@id": "#t0044", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "optimize @set, keep empty arrays", "purpose": "RDF version of expand-0004", "input": "toRdf-0044-in.jsonld", "expect": "toRdf-0044-out.nq" }, { "@id": "#t0045", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "do not expand aliased @id/@type", "purpose": "RDF version of expand-0005", "input": "toRdf-0045-in.jsonld", "expect": "toRdf-0045-out.nq" }, { "@id": "#t0046", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "alias keywords", "purpose": "RDF version of expand-0006", "input": "toRdf-0046-in.jsonld", "expect": "toRdf-0046-out.nq" }, { "@id": "#t0047", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "date type-coercion", "purpose": "Type-coerced dates generate typed literals", "input": "toRdf-0047-in.jsonld", "expect": "toRdf-0047-out.nq" }, { "@id": "#t0048", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@value with @language", "purpose": "RDF version of expand-0008", "input": "toRdf-0048-in.jsonld", "expect": "toRdf-0048-out.nq" }, { "@id": "#t0049", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@graph with terms", "purpose": "RDF version of expand-0009", "input": "toRdf-0049-in.jsonld", "expect": "toRdf-0049-out.nq" }, { "@id": "#t0050", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "native types", "purpose": "Native types generate typed literals", "input": "toRdf-0050-in.jsonld", "expect": "toRdf-0050-out.nq" }, { "@id": "#t0051", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "coerced @id", "purpose": "RDF version of expand-0011", "input": "toRdf-0051-in.jsonld", "expect": "toRdf-0051-out.nq" }, { "@id": "#t0052", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@graph with embed", "purpose": "RDF version of expand-0012", "input": "toRdf-0052-in.jsonld", "expect": "toRdf-0052-out.nq" }, { "@id": "#t0053", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "expand already expanded", "purpose": "RDF version of expand-0013", "input": "toRdf-0053-in.jsonld", "expect": "toRdf-0053-out.nq" }, { "@id": "#t0054", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@set of @value objects with keyword aliases", "purpose": "RDF version of expand-0014", "input": "toRdf-0054-in.jsonld", "expect": "toRdf-0054-out.nq" }, { "@id": "#t0055", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "collapse set of sets, keep empty lists", "purpose": "RDF version of expand-0015", "input": "toRdf-0055-in.jsonld", "expect": "toRdf-0055-out.nq" }, { "@id": "#t0056", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "context reset", "purpose": "RDF version of expand-0016", "input": "toRdf-0056-in.jsonld", "expect": "toRdf-0056-out.nq" }, { "@id": "#t0057", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@graph and @id aliased", "purpose": "RDF version of expand-0017", "input": "toRdf-0057-in.jsonld", "expect": "toRdf-0057-out.nq" }, { "@id": "#t0058", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "override default @language", "purpose": "RDF version of expand-0018", "input": "toRdf-0058-in.jsonld", "expect": "toRdf-0058-out.nq" }, { "@id": "#t0059", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "remove @value = null", "purpose": "RDF version of expand-0019", "input": "toRdf-0059-in.jsonld", "expect": "toRdf-0059-out.nq" }, { "@id": "#t0060", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "do not remove @graph if not at top-level", "purpose": "Embedded @graph without @id creates BNode-labeled named graph", "input": "toRdf-0060-in.jsonld", "expect": "toRdf-0060-out.nq" }, { "@id": "#t0061", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "do not remove @graph at top-level if not only property", "purpose": "RDF version of expand-0021", "input": "toRdf-0061-in.jsonld", "expect": "toRdf-0061-out.nq" }, { "@id": "#t0062", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "expand value with default language", "purpose": "RDF version of expand-0022", "input": "toRdf-0062-in.jsonld", "expect": "toRdf-0062-out.nq" }, { "@id": "#t0063", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Lists and sets of properties with list/set coercion", "purpose": "RDF version of expand-0023", "input": "toRdf-0063-in.jsonld", "expect": "toRdf-0063-out.nq" }, { "@id": "#t0064", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Multiple contexts", "purpose": "RDF version of expand-0024", "input": "toRdf-0064-in.jsonld", "expect": "toRdf-0064-out.nq" }, { "@id": "#t0065", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Problematic IRI expansion tests", "purpose": "RDF version of expand-0025", "input": "toRdf-0065-in.jsonld", "expect": "toRdf-0065-out.nq" }, { "@id": "#t0066", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expanding term mapping to @type uses @type syntax", "purpose": "RDF version of expand-0026", "input": "toRdf-0066-in.jsonld", "expect": "toRdf-0066-out.nq" }, { "@id": "#t0067", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Keep duplicate values in @list and @set", "purpose": "RDF version of expand-0027", "input": "toRdf-0067-in.jsonld", "expect": "toRdf-0067-out.nq" }, { "@id": "#t0068", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Use @vocab in properties and @type but not in @id", "purpose": "RDF version of expand-0028", "input": "toRdf-0068-in.jsonld", "expect": "toRdf-0068-out.nq" }, { "@id": "#t0069", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Relative IRIs", "purpose": "RDF version of expand-0029", "input": "toRdf-0069-in.jsonld", "expect": "toRdf-0069-out.nq" }, { "@id": "#t0070", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Language maps", "purpose": "RDF version of expand-0030", "input": "toRdf-0070-in.jsonld", "expect": "toRdf-0070-out.nq" }, { "@id": "#t0071", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "type-coercion of native types", "purpose": "RDF version of expand-0031", "input": "toRdf-0071-in.jsonld", "expect": "toRdf-0071-out.nq" }, { "@id": "#t0072", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Mapping a term to null decouples it from @vocab", "purpose": "RDF version of expand-0032", "input": "toRdf-0072-in.jsonld", "expect": "toRdf-0072-out.nq" }, { "@id": "#t0073", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Using @vocab with with type-coercion", "purpose": "RDF version of expand-0033", "input": "toRdf-0073-in.jsonld", "expect": "toRdf-0073-out.nq" }, { "@id": "#t0074", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Multiple properties expanding to the same IRI", "purpose": "RDF version of expand-0034", "input": "toRdf-0074-in.jsonld", "expect": "toRdf-0074-out.nq" }, { "@id": "#t0075", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Language maps with @vocab, default language, and colliding property", "purpose": "RDF version of expand-0035", "input": "toRdf-0075-in.jsonld", "expect": "toRdf-0075-out.nq" }, { "@id": "#t0076", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expanding @index", "purpose": "RDF version of expand-0036", "input": "toRdf-0076-in.jsonld", "expect": "toRdf-0076-out.nq" }, { "@id": "#t0077", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expanding @reverse", "purpose": "RDF version of expand-0037", "input": "toRdf-0077-in.jsonld", "expect": "toRdf-0077-out.nq" }, { "@id": "#t0078", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Drop blank node predicates by default", "purpose": "Triples with blank node predicates are dropped by default.", "input": "toRdf-0078-in.jsonld", "expect": "toRdf-0078-out.nq" }, { "@id": "#t0079", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Using terms in a reverse-maps", "purpose": "RDF version of expand-0039", "input": "toRdf-0079-in.jsonld", "expect": "toRdf-0079-out.nq" }, { "@id": "#t0080", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "language and index expansion on non-objects", "purpose": "RDF version of expand-0040", "input": "toRdf-0080-in.jsonld", "expect": "toRdf-0080-out.nq" }, { "@id": "#t0081", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Reset the default language", "purpose": "RDF version of expand-0041", "input": "toRdf-0081-in.jsonld", "expect": "toRdf-0081-out.nq" }, { "@id": "#t0082", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expanding reverse properties", "purpose": "RDF version of expand-0042", "input": "toRdf-0082-in.jsonld", "expect": "toRdf-0082-out.nq" }, { "@id": "#t0083", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Using reverse properties inside a @reverse-container", "purpose": "RDF version of expand-0043", "input": "toRdf-0083-in.jsonld", "expect": "toRdf-0083-out.nq" }, { "@id": "#t0084", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Ensure index maps use language mapping", "purpose": "RDF version of expand-0044", "input": "toRdf-0084-in.jsonld", "expect": "toRdf-0084-out.nq" }, { "@id": "#t0085", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Top-level value objects are removed", "purpose": "RDF version of expand-0045", "input": "toRdf-0085-in.jsonld", "expect": "toRdf-0085-out.nq" }, { "@id": "#t0086", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Free-floating nodes are removed", "purpose": "RDF version of expand-0046", "input": "toRdf-0086-in.jsonld", "expect": "toRdf-0086-out.nq" }, { "@id": "#t0087", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Remove free-floating set values and lists", "purpose": "RDF version of expand-0047", "input": "toRdf-0087-in.jsonld", "expect": "toRdf-0087-out.nq" }, { "@id": "#t0088", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Terms are ignored in @id", "purpose": "RDF version of expand-0048", "input": "toRdf-0088-in.jsonld", "expect": "toRdf-0088-out.nq" }, { "@id": "#t0089", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Using strings as value of a reverse property", "purpose": "RDF version of expand-0049", "input": "toRdf-0089-in.jsonld", "expect": "toRdf-0089-out.nq" }, { "@id": "#t0090", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Term definitions with prefix separate from prefix definitions", "purpose": "RDF version of expand-0050", "input": "toRdf-0090-in.jsonld", "expect": "toRdf-0090-out.nq" }, { "@id": "#t0091", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expansion of keyword aliases in term definitions", "purpose": "RDF version of expand-0051", "input": "toRdf-0091-in.jsonld", "expect": "toRdf-0091-out.nq" }, { "@id": "#t0092", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@vocab-relative IRIs in term definitions", "purpose": "RDF version of expand-0052", "input": "toRdf-0092-in.jsonld", "expect": "toRdf-0092-out.nq" }, { "@id": "#t0093", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand absolute IRI with @type: @vocab", "purpose": "RDF version of expand-0053", "input": "toRdf-0093-in.jsonld", "expect": "toRdf-0093-out.nq" }, { "@id": "#t0094", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand term with @type: @vocab", "purpose": "RDF version of expand-0054", "input": "toRdf-0094-in.jsonld", "expect": "toRdf-0094-out.nq" }, { "@id": "#t0095", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand @vocab-relative term with @type: @vocab", "purpose": "RDF version of expand-0055", "input": "toRdf-0095-in.jsonld", "expect": "toRdf-0095-out.nq" }, { "@id": "#t0096", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Use terms with @type: @vocab but not with @type: @id", "purpose": "RDF version of expand-0056", "input": "toRdf-0096-in.jsonld", "expect": "toRdf-0096-out.nq" }, { "@id": "#t0097", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand relative IRI with @type: @vocab", "purpose": "RDF version of expand-0057", "input": "toRdf-0097-in.jsonld", "expect": "toRdf-0097-out.nq" }, { "@id": "#t0098", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand compact IRI with @type: @vocab", "purpose": "RDF version of expand-0058", "input": "toRdf-0098-in.jsonld", "expect": "toRdf-0098-out.nq" }, { "@id": "#t0099", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Reset @vocab by setting it to null", "purpose": "RDF version of expand-0059", "input": "toRdf-0099-in.jsonld", "expect": "toRdf-0099-out.nq" }, { "@id": "#t0100", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Overwrite document base with @base and reset it again", "purpose": "RDF version of expand-0060", "input": "toRdf-0100-in.jsonld", "expect": "toRdf-0100-out.nq" }, { "@id": "#t0101", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Coercing native types to arbitrary datatypes", "purpose": "RDF version of expand-0061", "input": "toRdf-0101-in.jsonld", "expect": "toRdf-0101-out.nq" }, { "@id": "#t0102", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Various relative IRIs with with @base", "purpose": "RDF version of expand-0062", "input": "toRdf-0102-in.jsonld", "expect": "toRdf-0102-out.nq" }, { "@id": "#t0103", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand a reverse property with an index-container", "purpose": "RDF version of expand-0063", "input": "toRdf-0103-in.jsonld", "expect": "toRdf-0103-out.nq" }, { "@id": "#t0104", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand reverse property whose values are unlabeled blank nodes", "purpose": "RDF version of expand-0064", "input": "toRdf-0104-in.jsonld", "expect": "toRdf-0104-out.nq" }, { "@id": "#t0105", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Keys that are not mapped to an IRI in a reverse-map are dropped", "purpose": "RDF version of expand-0065", "input": "toRdf-0105-in.jsonld", "expect": "toRdf-0105-out.nq" }, { "@id": "#t0106", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Use @vocab to expand keys in reverse-maps", "purpose": "RDF version of expand-0066", "input": "toRdf-0106-in.jsonld", "expect": "toRdf-0106-out.nq" }, { "@id": "#t0107", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "prefix:://sufffix not a compact IRI", "purpose": "RDF version of expand-0067", "input": "toRdf-0107-in.jsonld", "expect": "toRdf-0107-out.nq" }, { "@id": "#t0108", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "_::sufffix not a compact IRI", "purpose": "RDF version of expand-0068", "input": "toRdf-0108-in.jsonld", "expect": "toRdf-0108-out.nq" }, { "@id": "#t0109", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Compact IRI as term with type mapping", "purpose": "RDF version of expand-0069", "input": "toRdf-0109-in.jsonld", "expect": "toRdf-0109-out.nq" }, { "@id": "#t0110", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Redefine compact IRI with itself", "purpose": "RDF version of expand-0070", "input": "toRdf-0110-in.jsonld", "expect": "toRdf-0110-out.nq" }, { "@id": "#t0111", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Redefine terms looking like compact IRIs", "purpose": "RDF version of expand-0071", "input": "toRdf-0111-in.jsonld", "expect": "toRdf-0111-out.nq" }, { "@id": "#t0112", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Redefine term using @vocab, not itself", "purpose": "RDF version of expand-0072", "input": "toRdf-0112-in.jsonld", "expect": "toRdf-0112-out.nq" }, { "@id": "#t0113", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Dataset with a IRI named graph", "purpose": "Basic use of creating a named graph using an IRI name", "input": "toRdf-0113-in.jsonld", "expect": "toRdf-0113-out.nq" }, { "@id": "#t0114", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Dataset with a IRI named graph", "purpose": "Basic use of creating a named graph using a BNode name", "input": "toRdf-0114-in.jsonld", "expect": "toRdf-0114-out.nq" }, { "@id": "#t0115", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Dataset with a default and two named graphs", "purpose": "Dataset with a default and two named graphs (IRI and BNode)", "input": "toRdf-0115-in.jsonld", "expect": "toRdf-0115-out.nq" }, { "@id": "#t0116", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Dataset from node with embedded named graph", "purpose": "Embedding @graph in a node creates a named graph", "input": "toRdf-0116-in.jsonld", "expect": "toRdf-0116-out.nq" }, { "@id": "#t0117", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Dataset from node with embedded named graph (bnode)", "purpose": "Embedding @graph in a node creates a named graph. Graph name is created if there is no subject", "input": "toRdf-0117-in.jsonld", "expect": "toRdf-0117-out.nq" }, { "@id": "#t0118", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "produce generalized RDF flag", "purpose": "Triples with blank node predicates are not dropped if the produce generalized RDF flag is true.", "option": { "produceGeneralizedRdf": true }, "input": "toRdf-0118-in.jsonld", "expect": "toRdf-0118-out.nq" }, { "@id": "#t0119", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Blank nodes with reverse properties", "purpose": "Proper (re-)labeling of blank nodes if used with reverse properties.", "input": "toRdf-0119-in.jsonld", "expect": "toRdf-0119-out.nq" }, { "@id": "#t0120", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "IRI Resolution (0)", "purpose": "IRI resolution according to RFC3986.", "input": "toRdf-0120-in.jsonld", "expect": "toRdf-0120-out.nq" }, { "@id": "#t0121", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "IRI Resolution (1)", "purpose": "IRI resolution according to RFC3986.", "input": "toRdf-0121-in.jsonld", "expect": "toRdf-0121-out.nq" }, { "@id": "#t0122", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "IRI Resolution (2)", "purpose": "IRI resolution according to RFC3986.", "input": "toRdf-0122-in.jsonld", "expect": "toRdf-0122-out.nq" }, { "@id": "#t0123", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "IRI Resolution (3)", "purpose": "IRI resolution according to RFC3986.", "input": "toRdf-0123-in.jsonld", "expect": "toRdf-0123-out.nq" }, { "@id": "#t0124", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "IRI Resolution (4)", "purpose": "IRI resolution according to RFC3986.", "input": "toRdf-0124-in.jsonld", "expect": "toRdf-0124-out.nq" }, { "@id": "#t0125", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "IRI Resolution (5)", "purpose": "IRI resolution according to RFC3986.", "input": "toRdf-0125-in.jsonld", "expect": "toRdf-0125-out.nq" }, { "@id": "#t0127", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "IRI Resolution (7)", "purpose": "IRI resolution according to RFC3986.", "input": "toRdf-0127-in.jsonld", "expect": "toRdf-0127-out.nq" }, { "@id": "#t0129", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "IRI Resolution (9)", "purpose": "IRI resolution according to RFC3986.", "input": "toRdf-0129-in.jsonld", "expect": "toRdf-0129-out.nq" }, { "@id": "#t0130", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "IRI Resolution (10)", "purpose": "IRI resolution according to RFC3986.", "input": "toRdf-0130-in.jsonld", "expect": "toRdf-0130-out.nq" }, { "@id": "#t0131", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "IRI Resolution (11)", "purpose": "IRI resolution according to RFC3986.", "input": "toRdf-0131-in.jsonld", "expect": "toRdf-0131-out.nq" }, { "@id": "#t0132", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "IRI Resolution (12)", "purpose": "IRI resolution according to RFC3986.", "input": "toRdf-0132-in.jsonld", "expect": "toRdf-0132-out.nq" } ] } jsonld-java-0.13.6/core/src/test/resources/nested.jar000066400000000000000000000015361452212752100225070ustar00rootroot00000000000000PK{gD META-INF/PK{gD@CDMETA-INF/MANIFEST.MFMLK-. K-*ϳR03r.JM,IMu ě*h%&*8%krrPK bgDsubdir/PKtrDL5g} jarcache.jsonUT UZ(SVZ(Sux U103;+qp5 )09|ۓku'*gfBYT  a΢8q?Da J!kۗ(QcCjwv2l.2|U1+PK trDl@'subdir/hello.jsonUT ;Z(S;Z(Sux { "Hello": "World!" } PK{gD META-INF/PK{gD@CD-META-INF/MANIFEST.MFPK bgDsubdir/PKtrDL5g} jarcache.jsonUTUZ(Sux PK trDl@'subdir/hello.jsonUT;Z(Sux PK\jsonld-java-0.13.6/pom.xml000077500000000000000000000362021452212752100153350ustar00rootroot00000000000000 4.0.0 com.github.jsonld-java jsonld-java-parent 0.13.6 JSONLD Java :: Parent Json-LD Java Parent POM pom http://github.com/jsonld-java/jsonld-java/ Revised BSD License https://raw.github.com/jsonld-java/jsonld-java/master/LICENCE repo git@github.com:jsonld-java/jsonld-java.git scm:git:git@github.com:jsonld-java/jsonld-java.git scm:git:git@github.com:jsonld-java/jsonld-java.git Tristan King Peter Ansell core UTF-8 UTF-8 4.5.13 4.4.14 2.12.7 2.12.7.1 4.13.2 1.7.32 1.2.7 0.11.0 com.fasterxml.jackson jackson-bom ${jackson.version} pom import com.fasterxml.jackson.core jackson-core ${jackson.version} com.fasterxml.jackson.core jackson-databind ${jackson-databind.version} com.fasterxml.jackson.core jackson-annotations ${jackson.version} junit junit ${junit.version} test commons-logging commons-logging org.slf4j slf4j-api ${slf4j.version} org.slf4j jcl-over-slf4j ${slf4j.version} runtime ch.qos.logback logback-classic ${logback.version} test org.apache.httpcomponents httpclient-osgi ${httpclient.version} commons-logging commons-logging org.apache.httpcomponents httpclient ${httpclient.version} commons-logging commons-logging org.apache.httpcomponents httpclient-cache ${httpclient.version} commons-logging commons-logging org.apache.httpcomponents fluent-hc ${httpclient.version} commons-logging commons-logging org.apache.httpcomponents httpmime ${httpclient.version} commons-logging commons-logging org.apache.httpcomponents httpcore-osgi ${httpcore.version} commons-logging commons-logging org.apache.httpcomponents httpcore ${httpcore.version} commons-logging commons-logging org.apache.httpcomponents httpcore-nio ${httpcore.version} commons-logging commons-logging commons-codec commons-codec 1.15 org.mockito mockito-core 2.28.2 test commons-io commons-io 2.8.0 com.google.guava guava 32.1.3-jre org.apache.maven.plugins maven-enforcer-plugin org.codehaus.mojo animal-sniffer-maven-plugin org.apache.maven.plugins maven-enforcer-plugin 3.0.0-M3 enforce-maven-3 enforce [3.0.5,) [1.8,) enforce-bytecode-version enforce 1.8 true org.codehaus.mojo extra-enforcer-rules 1.3 org.apache.maven.plugins maven-compiler-plugin 3.8.1 1.8 1.8 org.apache.maven.plugins maven-assembly-plugin 3.2.0 org.apache.maven.plugins maven-shade-plugin 3.2.1 org.apache.maven.plugins maven-dependency-plugin 3.1.1 org.apache.maven.plugins maven-antrun-plugin 1.8 org.apache.maven.plugins maven-javadoc-plugin 3.1.1 org.apache.maven.plugins maven-deploy-plugin 2.8.2 org.apache.maven.plugins maven-resources-plugin 3.1.0 org.apache.maven.plugins maven-release-plugin 2.5.3 org.apache.maven.plugins maven-install-plugin 2.5.2 org.apache.maven.plugins maven-clean-plugin 3.1.0 org.apache.maven.plugins maven-gpg-plugin 1.6 org.apache.maven.plugins maven-jar-plugin 3.2.0 test-jar org.apache.maven.plugins maven-source-plugin 3.2.1 attach-source jar attach-test-sources test-jar-no-fork org.apache.maven.plugins maven-surefire-plugin 2.22.2 org.apache.maven.plugins maven-site-plugin 3.8.2 org.codehaus.mojo animal-sniffer-maven-plugin 1.18 check-jdk-compliance test check org.codehaus.mojo.signature java18 1.0 com.github.siom79.japicmp japicmp-maven-plugin 0.14.4 ${project.groupId} ${project.artifactId} ${last-compare-version} jar ${project.build.directory}/${project.artifactId}-${project.version}.jar true verify cmp org.codehaus.mojo appassembler-maven-plugin 2.1.0 org.apache.felix maven-bundle-plugin 3.5.1 org.eluder.coveralls coveralls-maven-plugin 4.3.0 org.jacoco jacoco-maven-plugin 0.8.6 prepare-agent prepare-agent org.codehaus.mojo versions-maven-plugin 2.7 sonatype-nexus-snapshots Sonatype Nexus Snapshots https://oss.sonatype.org/content/repositories/snapshots false true sonatype-nexus-snapshots Sonatype Nexus Snapshots https://oss.sonatype.org/content/repositories/snapshots/ sonatype-nexus-staging Nexus Release Repository https://oss.sonatype.org/service/local/staging/deploy/maven2/ sonatype-oss-release org.apache.maven.plugins maven-source-plugin attach-sources jar-no-fork org.apache.maven.plugins maven-javadoc-plugin attach-javadocs jar org.apache.maven.plugins maven-gpg-plugin sign-artifacts verify sign