commonsrdf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject [3/6] incubator-commonsrdf git commit: example RDF files in different formats
Date Mon, 05 Sep 2016 15:36:09 GMT
example RDF files in different formats

generated with vim and Apache Jena's riot


Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/1ceb2007
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/1ceb2007
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/1ceb2007

Branch: refs/heads/rdf4j-jena-compat
Commit: 1ceb20072874d6263c4e310d47287c563c3ff9aa
Parents: 504a0e9
Author: Stian Soiland-Reyes <stain@apache.org>
Authored: Mon Jun 20 18:30:36 2016 +0100
Committer: Stian Soiland-Reyes <stain@apache.org>
Committed: Mon Jun 20 18:30:36 2016 +0100

----------------------------------------------------------------------
 .../test/resources/example-rdf/example.jsonld   | 25 ++++++++++++++++++++
 api/src/test/resources/example-rdf/example.nq   |  3 +++
 api/src/test/resources/example-rdf/example.nt   |  2 ++
 api/src/test/resources/example-rdf/example.rdf  | 23 ++++++++++++++++++
 api/src/test/resources/example-rdf/example.trig |  3 +++
 api/src/test/resources/example-rdf/example.ttl  |  2 ++
 6 files changed, 58 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/1ceb2007/api/src/test/resources/example-rdf/example.jsonld
----------------------------------------------------------------------
diff --git a/api/src/test/resources/example-rdf/example.jsonld b/api/src/test/resources/example-rdf/example.jsonld
new file mode 100644
index 0000000..d6fb670
--- /dev/null
+++ b/api/src/test/resources/example-rdf/example.jsonld
@@ -0,0 +1,25 @@
+{
+  "@graph" : [ {
+    "@id" : "_:b0",
+    "license" : "http://www.apache.org/licenses/LICENSE-2.0",
+    "rights" : {
+      "@language" : "en",
+      "@value" : "Licensed to the Apache Software Foundation (ASF) under one\n or more contributor
license agreements. See the NOTICE file\n distributed with this work for additional information\n
regarding copyright ownership. The ASF licenses this file\n to you under the Apache License,
Version 2.0 (the\n \"License\"); you may not use this file except in compliance\n with the
License.  You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n
\n Unless required by applicable law or agreed to in writing, software\n distributed under
the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.\n See the License for the specific language governing permissions
and\n limitations under the License.\n"
+    }
+  }, {
+    "@graph" : [ {
+      "@id" : "_:b0",
+      "license" : "http://example.com/LICENSE"
+    } ],
+    "@id" : "http://example.com"
+  } ],
+  "@context" : {
+    "rights" : {
+      "@id" : "http://purl.org/dc/terms/rights"
+    },
+    "license" : {
+      "@id" : "http://purl.org/dc/terms/license",
+      "@type" : "@id"
+    }
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/1ceb2007/api/src/test/resources/example-rdf/example.nq
----------------------------------------------------------------------
diff --git a/api/src/test/resources/example-rdf/example.nq b/api/src/test/resources/example-rdf/example.nq
new file mode 100644
index 0000000..9c5e749
--- /dev/null
+++ b/api/src/test/resources/example-rdf/example.nq
@@ -0,0 +1,3 @@
+_:b1 <http://purl.org/dc/terms/license> <http://www.apache.org/licenses/LICENSE-2.0>
.
+_:b1 <http://purl.org/dc/terms/rights> "Licensed to the Apache Software Foundation
(ASF) under one\n or more contributor license agreements. See the NOTICE file\n distributed
with this work for additional information\n regarding copyright ownership. The ASF licenses
this file\n to you under the Apache License, Version 2.0 (the\n \"License\"); you may not
use this file except in compliance\n with the License.  You may obtain a copy of the License
at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law
or agreed to in writing, software\n distributed under the License is distributed on an \"AS
IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See
the License for the specific language governing permissions and\n limitations under the License.\n"@en
.
+_:b1 <http://purl.org/dc/terms/license> <http://example.com/LICENSE> <http://example.com>
.

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/1ceb2007/api/src/test/resources/example-rdf/example.nt
----------------------------------------------------------------------
diff --git a/api/src/test/resources/example-rdf/example.nt b/api/src/test/resources/example-rdf/example.nt
new file mode 100644
index 0000000..53d3f94
--- /dev/null
+++ b/api/src/test/resources/example-rdf/example.nt
@@ -0,0 +1,2 @@
+_:b1 <http://purl.org/dc/terms/license> <http://www.apache.org/licenses/LICENSE-2.0>
.
+_:b1 <http://purl.org/dc/terms/rights> "Licensed to the Apache Software Foundation
(ASF) under one\n or more contributor license agreements. See the NOTICE file\n distributed
with this work for additional information\n regarding copyright ownership. The ASF licenses
this file\n to you under the Apache License, Version 2.0 (the\n \"License\"); you may not
use this file except in compliance\n with the License.  You may obtain a copy of the License
at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law
or agreed to in writing, software\n distributed under the License is distributed on an \"AS
IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See
the License for the specific language governing permissions and\n limitations under the License.\n"@en
.

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/1ceb2007/api/src/test/resources/example-rdf/example.rdf
----------------------------------------------------------------------
diff --git a/api/src/test/resources/example-rdf/example.rdf b/api/src/test/resources/example-rdf/example.rdf
new file mode 100644
index 0000000..44adfbc
--- /dev/null
+++ b/api/src/test/resources/example-rdf/example.rdf
@@ -0,0 +1,23 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://purl.org/dc/terms/">
+  <rdf:Description>
+    <j.0:rights xml:lang="en">Licensed to the Apache Software Foundation (ASF) under
one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+</j.0:rights>
+    <j.0:license rdf:resource="http://www.apache.org/licenses/LICENSE-2.0"/>
+  </rdf:Description>
+</rdf:RDF>

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/1ceb2007/api/src/test/resources/example-rdf/example.trig
----------------------------------------------------------------------
diff --git a/api/src/test/resources/example-rdf/example.trig b/api/src/test/resources/example-rdf/example.trig
new file mode 100644
index 0000000..9d433ce
--- /dev/null
+++ b/api/src/test/resources/example-rdf/example.trig
@@ -0,0 +1,3 @@
+{ _:b0    <http://purl.org/dc/terms/license>  <http://www.apache.org/licenses/LICENSE-2.0>
;
+          <http://purl.org/dc/terms/rights>  "Licensed to the Apache Software Foundation
(ASF) under one\n or more contributor license agreements. See the NOTICE file\n distributed
with this work for additional information\n regarding copyright ownership. The ASF licenses
this file\n to you under the Apache License, Version 2.0 (the\n \"License\"); you may not
use this file except in compliance\n with the License.  You may obtain a copy of the License
at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law
or agreed to in writing, software\n distributed under the License is distributed on an \"AS
IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See
the License for the specific language governing permissions and\n limitations under the License.\n"@en
.
+}

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/1ceb2007/api/src/test/resources/example-rdf/example.ttl
----------------------------------------------------------------------
diff --git a/api/src/test/resources/example-rdf/example.ttl b/api/src/test/resources/example-rdf/example.ttl
new file mode 100644
index 0000000..48b97af
--- /dev/null
+++ b/api/src/test/resources/example-rdf/example.ttl
@@ -0,0 +1,2 @@
+_:b0    <http://purl.org/dc/terms/license>  <http://www.apache.org/licenses/LICENSE-2.0>
;
+        <http://purl.org/dc/terms/rights>  "Licensed to the Apache Software Foundation
(ASF) under one\n or more contributor license agreements. See the NOTICE file\n distributed
with this work for additional information\n regarding copyright ownership. The ASF licenses
this file\n to you under the Apache License, Version 2.0 (the\n \"License\"); you may not
use this file except in compliance\n with the License.  You may obtain a copy of the License
at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law
or agreed to in writing, software\n distributed under the License is distributed on an \"AS
IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See
the License for the specific language governing permissions and\n limitations under the License.\n"@en
.


Mime
View raw message