From 9a2710e8356927c7f27b906962a7160d599bbc22 Mon Sep 17 00:00:00 2001 From: Vladimir Alexiev Date: Fri, 11 May 2018 12:32:38 +0300 Subject: [PATCH 1/6] allow schema:domain/rangeIncludes and rdfs:Class --- src/main/webapp/extraction.xsl | 77 +++++++++++++++++++++------------- 1 file changed, 48 insertions(+), 29 deletions(-) diff --git a/src/main/webapp/extraction.xsl b/src/main/webapp/extraction.xsl index a01d064..8e8fa74 100644 --- a/src/main/webapp/extraction.xsl +++ b/src/main/webapp/extraction.xsl @@ -19,6 +19,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" + xmlns:schema="http://schema.org/" xmlns:swrl="http://www.w3.org/2003/11/swrl#" xmlns:owl2xml="http://www.w3.org/2006/12/owl2-xml#" xmlns:owl="http://www.w3.org/2002/07/owl#" @@ -343,7 +344,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - +
@@ -382,7 +383,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- +
@@ -590,7 +591,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - + @@ -687,7 +688,8 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - +

@@ -702,7 +704,8 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

- +

@@ -1077,13 +1080,21 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

- +
+ + + + + , + + +
- +
@@ -1100,7 +1111,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - +
@@ -1119,7 +1130,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - +
@@ -1138,7 +1149,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - +
@@ -1156,7 +1167,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - +
@@ -1221,14 +1232,22 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- +
+ + + + + , + + +
- +
@@ -1244,16 +1263,16 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - +
- +
- +
- +
@@ -1387,7 +1406,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  • - +
  • @@ -1402,7 +1421,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  • - +
  • @@ -1422,10 +1441,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - +

    - +
    @@ -1461,11 +1480,11 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - +

    - + @@ -1476,7 +1495,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
      - + @@ -1585,7 +1604,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - + c @@ -1694,7 +1713,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - + @@ -1704,18 +1723,18 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - + - + - + From e20fe7ede8f4d14dea035ab703f2b216eda1a279 Mon Sep 17 00:00:00 2001 From: Vladimir Alexiev Date: Fri, 11 May 2018 14:02:43 +0300 Subject: [PATCH 2/6] add "./" to import file names --- src/main/webapp/extraction.xsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/extraction.xsl b/src/main/webapp/extraction.xsl index 8e8fa74..e2f8fd8 100644 --- a/src/main/webapp/extraction.xsl +++ b/src/main/webapp/extraction.xsl @@ -30,9 +30,9 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. xmlns:dcterms="http://purl.org/dc/terms/" xmlns="http://www.w3.org/1999/xhtml"> - - - + + + From cdbcd7187c6194bae12a5b83b775d887e32a7097 Mon Sep 17 00:00:00 2001 From: Vladimir Alexiev Date: Fri, 11 May 2018 14:16:22 +0300 Subject: [PATCH 3/6] xml:base="." --- src/main/webapp/extraction.xsl | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/main/webapp/extraction.xsl b/src/main/webapp/extraction.xsl index e2f8fd8..7317185 100644 --- a/src/main/webapp/extraction.xsl +++ b/src/main/webapp/extraction.xsl @@ -14,8 +14,9 @@ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --> - + xmlns="http://www.w3.org/1999/xhtml" + xml:base="."> - - - + + + From 67eb7686196d3f2f21b510317c866701c1589bac Mon Sep 17 00:00:00 2001 From: Vladimir Alexiev Date: Fri, 11 May 2018 14:28:57 +0300 Subject: [PATCH 4/6] Revert "add "./" to import file names" This reverts commit e20fe7ede8f4d14dea035ab703f2b216eda1a279. --- src/main/webapp/extraction.xsl | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/extraction.xsl b/src/main/webapp/extraction.xsl index 7317185..8e8fa74 100644 --- a/src/main/webapp/extraction.xsl +++ b/src/main/webapp/extraction.xsl @@ -14,9 +14,8 @@ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --> - + xmlns="http://www.w3.org/1999/xhtml"> From 7e824dd5410339c68bd1f491a1dfc74747451df2 Mon Sep 17 00:00:00 2001 From: Vladimir Alexiev Date: Fri, 11 May 2018 14:29:43 +0300 Subject: [PATCH 5/6] add "schema" to exclude-result-prefixesx --- src/main/webapp/extraction.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/extraction.xsl b/src/main/webapp/extraction.xsl index 8e8fa74..a51ff47 100644 --- a/src/main/webapp/extraction.xsl +++ b/src/main/webapp/extraction.xsl @@ -15,7 +15,7 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --> Date: Wed, 23 May 2018 14:29:51 +0300 Subject: [PATCH 6/6] emit rdfs:domain and schema:domainIncludes separately, and same for range --- src/main/webapp/en.xml | 4 +++- src/main/webapp/extraction.xsl | 26 +++++++++++++++++++++----- src/main/webapp/fr.xml | 2 ++ src/main/webapp/it.xml | 2 ++ 4 files changed, 28 insertions(+), 6 deletions(-) diff --git a/src/main/webapp/en.xml b/src/main/webapp/en.xml index 1c20b90..c1cbf18 100644 --- a/src/main/webapp/en.xml +++ b/src/main/webapp/en.xml @@ -41,6 +41,8 @@ has sub-properties has domain has range + domain includes + range includes Imported Ontologies has facts Authors @@ -75,4 +77,4 @@ Annotation Property ToC Named Individual ToC has characteristics - \ No newline at end of file + diff --git a/src/main/webapp/extraction.xsl b/src/main/webapp/extraction.xsl index a51ff47..b08cb4a 100644 --- a/src/main/webapp/extraction.xsl +++ b/src/main/webapp/extraction.xsl @@ -383,7 +383,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
    - +
    @@ -1175,7 +1175,9 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + @@ -1263,16 +1265,30 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - +
    - + +
    + + + + +
    +
    - +
    - + +
    +
    + + + +
    +
    diff --git a/src/main/webapp/fr.xml b/src/main/webapp/fr.xml index 0d8d462..57ce28b 100644 --- a/src/main/webapp/fr.xml +++ b/src/main/webapp/fr.xml @@ -41,6 +41,8 @@ a pour sous-propriétés a pour domaines a pour cibles + domain includes + range includes Ontologies importées a pour assertions Auteurs diff --git a/src/main/webapp/it.xml b/src/main/webapp/it.xml index 5af1a54..e16b2ff 100644 --- a/src/main/webapp/it.xml +++ b/src/main/webapp/it.xml @@ -39,6 +39,8 @@ ha come sotto-proprietà ha come dominio ha come codominio + domain includes + range includes Ontologie importate ha come fatti Autori