You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@clerezza.apache.org by re...@apache.org on 2015/04/23 22:41:09 UTC
[05/14] clerezza git commit: CLEREZZA-966: moved stable serializer to
rdf folder
http://git-wip-us.apache.org/repos/asf/clerezza/blob/d7fb079c/rdf/stable.serializer/src/test/resources/org/apache/clerezza/rdf/stable/serializer/css3deps.rdf
----------------------------------------------------------------------
diff --git a/rdf/stable.serializer/src/test/resources/org/apache/clerezza/rdf/stable/serializer/css3deps.rdf b/rdf/stable.serializer/src/test/resources/org/apache/clerezza/rdf/stable/serializer/css3deps.rdf
new file mode 100644
index 0000000..8e9208f
--- /dev/null
+++ b/rdf/stable.serializer/src/test/resources/org/apache/clerezza/rdf/stable/serializer/css3deps.rdf
@@ -0,0 +1,165 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:doc="http://www.w3.org/2000/10/swap/pim/doc#" xmlns:org="http://www.w3.org/2001/04/roadmap/org#" xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#" xmlns:dep="http://www.example.org/dep#" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <rdf:Description rdf:about="http://www.w3.org/1999/06/25/WD-css3-namespace-19990625"/>
+ <rdf:Description rdf:about="http://www.w3.org/TR/1999/WD-acss-19990902"/>
+ <rdf:Description rdf:about="http://www.w3.org/TR/1999/WD-becss-19990804"/>
+ <rdf:Description rdf:about="http://www.w3.org/TR/1999/WD-positioning-19990902"/>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2001/CR-css3-selectors-20011113/">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/WD-css3-syntax-20030813"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2001/WD-css3-values-20010713/"/>
+
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/WD-css3-content-20030514"/>
+
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2004/CR-css3-ui-20040511"/>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2001/WD-css3-multicol-20010118/">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2002/WD-css3-box-20021024"/>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2001/WD-css3-roadmap-20010523"/>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2001/WD-css3-values-20010713/">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2001/WD-css3-values-20010713/"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/WD-css3-syntax-20030813"/>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2002/CR-css-mobile-20020725"/>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2002/CR-css3-mediaqueries-20020708"/>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2002/WD-css-style-attr-20020515"/>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2002/WD-css3-border-20021107">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/WD-css3-syntax-20030813"/>
+
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2001/WD-css3-values-20010713/"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2002/WD-css3-box-20021024"/>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2002/WD-css3-box-20021024">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/CR-css3-text-20030514"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2002/WD-css3-linebox-20020515"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/WD-css3-syntax-20030813"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2001/WD-css3-values-20010713/"/>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2002/WD-css3-cascade-20020219/">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2001/CR-css3-selectors-20011113/"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/WD-css3-syntax-20030813"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2001/WD-css3-values-20010713/"/>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2002/WD-css3-fonts-20020802">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2002/WD-css3-webfonts-20020802"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/CR-css3-text-20030514"/>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2002/WD-css3-linebox-20020515">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2002/WD-css3-fonts-20020802"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/CR-css3-text-20030514"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/WD-css3-syntax-20030813"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2001/WD-css3-values-20010713/"/>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2002/WD-css3-lists-20021107">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/WD-css3-syntax-20030813"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2001/WD-css3-values-20010713/"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2001/CR-css3-selectors-20011113/"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/WD-css3-content-20030514"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2002/WD-css3-box-20021024"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2002/WD-css3-linebox-20020515"/>
+
+ </rdf:Description>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2002/WD-css3-userint-20020802"/>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2002/WD-css3-webfonts-20020802"/>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2003/CR-css-tv-20030514"/>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2003/CR-css3-color-20030514">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/WD-css3-syntax-20030813"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2001/WD-css3-values-20010713/"/>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2003/CR-css3-ruby-20030514">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/CR-css3-text-20030514"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2002/WD-css3-linebox-20020515"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/WD-css3-syntax-20030813"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2001/WD-css3-values-20010713/"/>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2003/CR-css3-text-20030514">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2002/WD-css3-fonts-20020802"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2002/WD-css3-linebox-20020515"/>
+
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/WD-css3-syntax-20030813"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2001/WD-css3-values-20010713/"/>
+
+ </rdf:Description>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2003/WD-css3-content-20030514">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/WD-css3-syntax-20030813"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2001/WD-css3-values-20010713/"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2001/CR-css3-selectors-20011113/"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2002/WD-css3-lists-20021107"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2002/WD-css3-box-20021024"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2002/WD-css3-linebox-20020515"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2004/CR-css3-page-20040225"/>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2003/WD-css3-preslev-20030813"/>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2003/WD-css3-syntax-20030813">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2001/CR-css3-selectors-20011113/"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2001/WD-css3-values-20010713/"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2002/WD-css3-cascade-20020219/"/>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2004/CR-css-print-20040225"/>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2004/CR-css3-page-20040225">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2002/WD-css3-box-20021024"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/WD-css3-content-20030514"/>
+
+ </rdf:Description>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2004/CR-css3-ui-20040511">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2001/CR-css3-selectors-20011113/"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/CR-css3-color-20030514"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2004/CR-CSS21-20040225"/>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2004/WD-css3-hyperlinks-20040224">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2004/CR-CSS21-20040225"/>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2004/WD-css3-reader-20040224">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2004/CR-CSS21-20040225"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2002/CR-css3-mediaqueries-20020708"/>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2004/WD-sXBL-20041122"/>
+ <rdf:Description rdf:about="http://www.w3.org/TR/2005/WD-css3-background-20050216">
+<!--found dependencies section-->
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/WD-css3-syntax-20030813"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2001/WD-css3-values-20010713/"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2002/WD-css3-cascade-20020219/"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2002/WD-css3-box-20021024"/>
+ <dep:dependsOn rdf:resource="http://www.w3.org/TR/2003/CR-css3-color-20030514"/>
+ <dep:dependsOn rdf:resource="#CSS3POS"/>
+ </rdf:Description>
+</rdf:RDF>
http://git-wip-us.apache.org/repos/asf/clerezza/blob/d7fb079c/rdf/stable.serializer/src/test/resources/org/apache/clerezza/rdf/stable/serializer/datatypes-test001.rdf
----------------------------------------------------------------------
diff --git a/rdf/stable.serializer/src/test/resources/org/apache/clerezza/rdf/stable/serializer/datatypes-test001.rdf b/rdf/stable.serializer/src/test/resources/org/apache/clerezza/rdf/stable/serializer/datatypes-test001.rdf
new file mode 100644
index 0000000..b2c56dd
--- /dev/null
+++ b/rdf/stable.serializer/src/test/resources/org/apache/clerezza/rdf/stable/serializer/datatypes-test001.rdf
@@ -0,0 +1,50 @@
+<?xml version="1.0"?>
+<!--
+
+ 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.
+
+-->
+
+
+<!--
+ Copyright World Wide Web Consortium, (Massachusetts Institute of
+ Technology, Institut National de Recherche en Informatique et en
+ Automatique, Keio University).
+
+ All Rights Reserved.
+
+ Please see the full Copyright clause at
+ <http://www.w3.org/Consortium/Legal/copyright-software.html>
+
+ Description: A simple datatype production; a language+
+ datatype production. Simply duplicate the constructs under
+ http://www.w3.org/2000/10/rdf-tests/rdfcore/ntriples/test.nt
+
+ $Id: test001.rdf,v 1.2 2002/11/20 14:51:34 jgrant Exp $
+
+-->
+
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:eg="http://example.org/">
+
+ <rdf:Description rdf:about="http://example.org/foo">
+ <eg:bar rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">10</eg:bar>
+ <eg:baz rdf:datatype="http://www.w3.org/2001/XMLSchema#integer" xml:lang="fr">10</eg:baz>
+ </rdf:Description>
+
+</rdf:RDF>
http://git-wip-us.apache.org/repos/asf/clerezza/blob/d7fb079c/rdf/stable.serializer/src/test/resources/org/apache/clerezza/rdf/stable/serializer/datatypes-test002.rdf
----------------------------------------------------------------------
diff --git a/rdf/stable.serializer/src/test/resources/org/apache/clerezza/rdf/stable/serializer/datatypes-test002.rdf b/rdf/stable.serializer/src/test/resources/org/apache/clerezza/rdf/stable/serializer/datatypes-test002.rdf
new file mode 100644
index 0000000..0cc2d96
--- /dev/null
+++ b/rdf/stable.serializer/src/test/resources/org/apache/clerezza/rdf/stable/serializer/datatypes-test002.rdf
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<!--
+
+ 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.
+
+-->
+
+
+<!--
+ Copyright World Wide Web Consortium, (Massachusetts Institute of
+ Technology, Institut National de Recherche en Informatique et en
+ Automatique, Keio University).
+
+ All Rights Reserved.
+
+ Please see the full Copyright clause at
+ <http://www.w3.org/Consortium/Legal/copyright-software.html>
+
+ Description: A parser is not required to know about well-formed
+ datatyped literals.
+
+ $Id: test002.rdf,v 1.1 2002/11/19 14:04:16 jgrant Exp $
+
+-->
+
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:eg="http://example.org/">
+
+ <rdf:Description rdf:about="http://example.org/foo">
+ <eg:bar rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">flargh</eg:bar>
+ </rdf:Description>
+
+</rdf:RDF>
http://git-wip-us.apache.org/repos/asf/clerezza/blob/d7fb079c/rdf/stable.serializer/src/test/resources/org/apache/clerezza/rdf/stable/serializer/documentation-example.nt
----------------------------------------------------------------------
diff --git a/rdf/stable.serializer/src/test/resources/org/apache/clerezza/rdf/stable/serializer/documentation-example.nt b/rdf/stable.serializer/src/test/resources/org/apache/clerezza/rdf/stable/serializer/documentation-example.nt
new file mode 100644
index 0000000..155d7c5
--- /dev/null
+++ b/rdf/stable.serializer/src/test/resources/org/apache/clerezza/rdf/stable/serializer/documentation-example.nt
@@ -0,0 +1,25 @@
+<bundle:///intro-content-el/0> <http://discobits.org/ontology#infoBit> "The documentation viewer provides access to the documentation (provided by the different modules) at <a xmlns=\"http://www.w3.org/1999/xhtml\" href=\"/documentation\">/documentation</a>."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<bundle:///intro-content-el/0> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+<bundle:///intro-content-el/1> <http://discobits.org/ontology#infoBit> "The documentation is ordered so that the after properties http://clerezza.org/2009/08/documentation#after are satisfied. When the documentation is written with the discobits editor such a property is typically set by adding something like the folleowing in the RDF editing mode to the xml element representing the resource: <after xmlns=\"http://clerezza.org/2009/08/documentation#\" rdf:resource=\"bundle://org.apache.clerezza.platform.content/discobits-editor\"/ />"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<bundle:///intro-content-el/1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+<bundle:///intro-content> <http://discobits.org/ontology#contains> _:1e27a3b4f21eada7ec61fd7c55f2bd221 .
+<bundle:///intro-content> <http://discobits.org/ontology#contains> _:86e4309edd82a6d415338546caff2d551 .
+<bundle:///intro-content> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#OrderedContent> .
+<bundle:///intro-title> <http://discobits.org/ontology#infoBit> "Documentation Viewer"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<bundle:///intro-title> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+<bundle:///intro> <http://clerezza.org/2009/08/documentation#after> <bundle://org.apache.clerezza.platform.content/discobits-editor> .
+<bundle:///intro> <http://discobits.org/ontology#contains> _:cc06f094ff0d735a332291b856b0d4ae1 .
+<bundle:///intro> <http://discobits.org/ontology#contains> _:ccd6d577f99d82c53d5323fdbe4b6ba31 .
+<bundle:///intro> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#TitledContent> .
+_:1e27a3b4f21eada7ec61fd7c55f2bd221 <http://discobits.org/ontology#holds> <bundle:///intro-content-el/0> .
+_:1e27a3b4f21eada7ec61fd7c55f2bd221 <http://discobits.org/ontology#pos> "0" .
+_:1e27a3b4f21eada7ec61fd7c55f2bd221 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
+_:86e4309edd82a6d415338546caff2d551 <http://discobits.org/ontology#holds> <bundle:///intro-content-el/1> .
+_:86e4309edd82a6d415338546caff2d551 <http://discobits.org/ontology#pos> "1" .
+_:86e4309edd82a6d415338546caff2d551 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
+_:cc06f094ff0d735a332291b856b0d4ae1 <http://discobits.org/ontology#holds> <bundle:///intro-content> .
+_:cc06f094ff0d735a332291b856b0d4ae1 <http://discobits.org/ontology#pos> "1" .
+_:cc06f094ff0d735a332291b856b0d4ae1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
+_:ccd6d577f99d82c53d5323fdbe4b6ba31 <http://discobits.org/ontology#holds> <bundle:///intro-title> .
+_:ccd6d577f99d82c53d5323fdbe4b6ba31 <http://discobits.org/ontology#pos> "0" .
+_:ccd6d577f99d82c53d5323fdbe4b6ba31 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .