Skip to content

Commit

Permalink
Version 1.3.0
Browse files Browse the repository at this point in the history
Release of version 1.3.0. See changelog -
http://xtriples.spatialhumanities.de/changelog.html
  • Loading branch information
Tesselation committed Mar 13, 2016
1 parent 2695b30 commit 41e8375
Show file tree
Hide file tree
Showing 84 changed files with 63,622 additions and 308 deletions.
Empty file modified LICENSE.txt
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion README.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This repository contains the source code of the XTriples webservice.

The webservice is distributed as a single .xar file, which can be installed into an eXist-db instance via the package manager.

You can download the latest version right here: http://download.spatialhumanities.de/ibr/xtriples-1.2.0.xar
You can download the latest version right here: http://download.spatialhumanities.de/ibr/xtriples-1.3.0.xar

Read the documentation on how to setup your own instance of XTriples: http://xtriples.spatialhumanities.de/documentation.html#setup

Expand Down
11 changes: 10 additions & 1 deletion build.xml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
<project default="xar" name="xtriples"><property name="project.version" value="1.2"/><property name="project.app" value="xtriples"/><property name="build.dir" value="build"/><target name="xar"><mkdir dir="${build.dir}"/><zip basedir="." destfile="${build.dir}/${project.app}-${project.version}.xar" excludes="${build.dir}/*"/></target></project>
<?xml version="1.0" encoding="UTF-8"?>
<project default="xar" name="xtriples">
<property name="project.version" value="1.3"/>
<property name="project.app" value="xtriples"/>
<property name="build.dir" value="build"/>
<target name="xar">
<mkdir dir="${build.dir}"/>
<zip basedir="." destfile="${build.dir}/${project.app}-${project.version}.xar" excludes="${build.dir}/*"/>
</target>
</project>
152 changes: 80 additions & 72 deletions changelog.html
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,74 +1,82 @@
<?xml version="1.0" encoding="UTF-8"?>
<div xmlns="http://www.w3.org/1999/xhtml" data-template="templates:surround" data-template-with="templates/page.html" data-template-at="content">
<div class="row-fluid">
<div class="span16">
<div class="page-header">
<h1 data-template="config:app-title">Generated page</h1>
<p>A generic webservice to extract RDF statements from XML resources.</p>
</div>
<div class="row-fluid">
<div class="span8">
<h2>Changelog</h2>
<h3>1.2.1</h3>
<ul>
<li>BUGFIX: Return error message if a resource contains no content</li>
</ul>
<h3>1.2.0</h3>
<ul>
<li>INFO: Minor changes to documentation.</li>
<li>BUGFIX: Avoid type error in expressionBasedResourceResolver if resources are a sequence of atomic values</li>
<li>FEATURE: Allow multiple &lt;collection&gt; tags per &lt;xtriples&gt; configuration</li>
<li>FEATURE: Allow mixing of &lt;resource&gt; types (literal, static, expression) per &lt;collection&gt;</li>
<li>FEATURE: Modified internal xtriples result format to also include the crawled resources for debugging</li>
</ul>
<h3>1.1.0</h3>
<ul>
<li>INFO: Change in context variable name: $resource is now $currentResource</li>
<li>INFO: Change in context variable name: $index is now $repeatIndex</li>
<li>INFO: New XML examples from several Digital Humanities projects</li>
<li>INFO: Modifications, illustrations and corrections in documentation</li>
<li>FEATURE: Introduce $resourceIndex variable that contains the number of the resource currently crawled</li>
</ul>
<h3>1.0.0</h3>
<ul>
<li>INFO: Feature complete first stable version</li>
<li>INFO: Finished documentation</li>
<li>INFO: Added many XML examples</li>
<li>FEATURE: Better error handling. Errors are now caught and do not lead to query termination. Error descriptions can be comfortably looked up by setting the output format to "xtriples"</li>
<li>BUGFIXES: Several smaller bugfixes</li>
</ul>
<h3>0.5.0</h3>
<ul>
<li>FEATURE: Possibilty to dynamically construct full resources (and not only resource uris) out of a collection by expression</li>
<li>FEATURE (experimental): Introduced m:n combination with &lt;statement type="mn"&gt;</li>
</ul>
<h3>0.4.0</h3>
<ul>
<li>FEATURE: Dynamic namespace declaration; all configured vocabularies are also declared als XML namespaces for the XPATH statements</li>
<li>FEATURE: Allow an expression based syntax in the resource attribute making it possible to construct dynamic uris to external resources</li>
<li>FEATURE: First steps towards a RELAX NG schema for the xtriples configuration</li>
</ul>
<h3>0.3.0</h3>
<ul>
<li>FEATURE: Add more response formats from any23; the webservice can now respond with rdf,turtle,ntriples,nquads,json,trix,svg and xtriples</li>
<li>FEATURE: Allow the resource attribute also for &lt;subject&gt; and &lt;predicate&gt; tags; makes it possible to extract values from external resources during statement extraction</li>
<li>FEATURE: Allow and evaluate XPATH expressions for &lt;predicate&gt; tags</li>
<li>FEATURE: Simple strings are now also allowed within &lt;subject&gt;, &lt;predicate&gt; and &lt;object&gt; tags; it will not be evaluated and just transferred to the extraction result</li>
<li>BUGFIX: Plaintext formats (turtle, ntriples etc.) are now correctly streamed as plaintext by eXist and need not be urlencoded any longer</li>
</ul>
<h3>0.2.0</h3>
<ul>
<li>FEATURE: Allow nodesets for subjects and objects. Makes it possible to create 1:n and n:1 triples with a single statement declaration.</li>
<li>FEATURE: Extract/create blank nodes: set value of type attribute for &lt;subject&gt; and &lt;object&gt; tags to "bnode"</li>
<li>FEATURE: Typed object literals: set datatype attribute in &lt;object&gt; tag to one of the XSD datatypes (integer, float etc)</li>
<li>FEATURE: Language tagged object literals: set lang attribute in &lt;object&gt; tag to a value according to <a href="http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry">RFC 3066</a>
</li>
</ul>
<h3>0.1.0</h3>
<ul>
<li>INFO: First public version of the service</li>
</ul>
</div>
</div>
</div>
</div>
<div class="row-fluid">
<div class="span16">
<div class="page-header">
<h1 data-template="config:app-title">Generated page</h1>
<p>A generic webservice to extract RDF statements from XML resources.</p>
</div>
<div class="row-fluid">
<div class="span8">
<h2>Changelog</h2>
<h3>1.3.0</h3>
<ul>
<li>FEATURE: Allow XPATH/XQuery expressions in &lt;statement repeat="{XPATH}"&gt; to dynamically generate an integer count for $repeatIndex</li>
<li>FEATURE: Removed absolute links from HTML pages. Now all examples fully work in local contexts</li>
<li>CHANGE: Put the service configuration (URLs to XTriples, any23, rdf2svg) into config.xqm; extract.xql now does not need to get touched when configuring the service in local or other contexts</li>
<li>BUGFIX: Correctly escaped some regex expressions in extractTriples function</li>
</ul>
<h3>1.2.1</h3>
<ul>
<li>BUGFIX: Return error message if a resource contains no content</li>
</ul>
<h3>1.2.0</h3>
<ul>
<li>INFO: Minor changes to documentation.</li>
<li>BUGFIX: Avoid type error in expressionBasedResourceResolver if resources are a sequence of atomic values</li>
<li>FEATURE: Allow multiple &lt;collection&gt; tags per &lt;xtriples&gt; configuration</li>
<li>FEATURE: Allow mixing of &lt;resource&gt; types (literal, static, expression) per &lt;collection&gt;</li>
<li>FEATURE: Modified internal xtriples result format to also include the crawled resources for debugging</li>
</ul>
<h3>1.1.0</h3>
<ul>
<li>INFO: Change in context variable name: $resource is now $currentResource</li>
<li>INFO: Change in context variable name: $index is now $repeatIndex</li>
<li>INFO: New XML examples from several Digital Humanities projects</li>
<li>INFO: Modifications, illustrations and corrections in documentation</li>
<li>FEATURE: Introduce $resourceIndex variable that contains the number of the resource currently crawled</li>
</ul>
<h3>1.0.0</h3>
<ul>
<li>INFO: Feature complete first stable version</li>
<li>INFO: Finished documentation</li>
<li>INFO: Added many XML examples</li>
<li>FEATURE: Better error handling. Errors are now caught and do not lead to query termination. Error descriptions can be comfortably looked up by setting the output format to "xtriples"</li>
<li>BUGFIXES: Several smaller bugfixes</li>
</ul>
<h3>0.5.0</h3>
<ul>
<li>FEATURE: Possibilty to dynamically construct full resources (and not only resource uris) out of a collection by expression</li>
<li>FEATURE (experimental): Introduced m:n combination with &lt;statement type="mn"&gt;</li>
</ul>
<h3>0.4.0</h3>
<ul>
<li>FEATURE: Dynamic namespace declaration; all configured vocabularies are also declared als XML namespaces for the XPATH statements</li>
<li>FEATURE: Allow an expression based syntax in the resource attribute making it possible to construct dynamic uris to external resources</li>
<li>FEATURE: First steps towards a RELAX NG schema for the xtriples configuration</li>
</ul>
<h3>0.3.0</h3>
<ul>
<li>FEATURE: Add more response formats from any23; the webservice can now respond with rdf,turtle,ntriples,nquads,json,trix,svg and xtriples</li>
<li>FEATURE: Allow the resource attribute also for &lt;subject&gt; and &lt;predicate&gt; tags; makes it possible to extract values from external resources during statement extraction</li>
<li>FEATURE: Allow and evaluate XPATH expressions for &lt;predicate&gt; tags</li>
<li>FEATURE: Simple strings are now also allowed within &lt;subject&gt;, &lt;predicate&gt; and &lt;object&gt; tags; it will not be evaluated and just transferred to the extraction result</li>
<li>BUGFIX: Plaintext formats (turtle, ntriples etc.) are now correctly streamed as plaintext by eXist and need not be urlencoded any longer</li>
</ul>
<h3>0.2.0</h3>
<ul>
<li>FEATURE: Allow nodesets for subjects and objects. Makes it possible to create 1:n and n:1 triples with a single statement declaration.</li>
<li>FEATURE: Extract/create blank nodes: set value of type attribute for &lt;subject&gt; and &lt;object&gt; tags to "bnode"</li>
<li>FEATURE: Typed object literals: set datatype attribute in &lt;object&gt; tag to one of the XSD datatypes (integer, float etc)</li>
<li>FEATURE: Language tagged object literals: set lang attribute in &lt;object&gt; tag to a value according to <a href="http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry">RFC 3066</a>
</li>
</ul>
<h3>0.1.0</h3>
<ul>
<li>INFO: First public version of the service</li>
</ul>
</div>
</div>
</div>
</div>
</div>
7 changes: 6 additions & 1 deletion collection.xconf
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
<collection xmlns="http://exist-db.org/collection-config/1.0"><index xmlns:xs="http://www.w3.org/2001/XMLSchema"><fulltext default="none" attributes="false"/></index></collection>
<?xml version="1.0" encoding="UTF-8"?>
<collection xmlns="http://exist-db.org/collection-config/1.0">
<index xmlns:xs="http://www.w3.org/2001/XMLSchema">
<fulltext default="none" attributes="false"/>
</index>
</collection>
24 changes: 23 additions & 1 deletion configuration.xml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
<xtriples><configuration><vocabularies><vocabulary name="xtriples" uri="http://xtriples.spatialhumanities.de/"/><vocabulary name="rdf" uri="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/></vocabularies><triples><statement><subject prefix="xtriples">/string("configuration.xml")</subject><predicate prefix="xtriples">message</predicate><object type="literal">//text</object></statement></triples></configuration><collection><resource><message><text>No configuration submitted</text></message></resource></collection></xtriples>
<?xml version="1.0" encoding="UTF-8"?>
<xtriples>
<configuration>
<vocabularies>
<vocabulary name="xtriples" uri="http://xtriples.spatialhumanities.de/"/>
<vocabulary name="rdf" uri="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
</vocabularies>
<triples>
<statement>
<subject prefix="xtriples">/string("configuration.xml")</subject>
<predicate prefix="xtriples">message</predicate>
<object type="literal">//text</object>
</statement>
</triples>
</configuration>
<collection>
<resource>
<message>
<text>No configuration submitted</text>
</message>
</resource>
</collection>
</xtriples>
Empty file modified controller.xql
100755 → 100644
Empty file.
Loading

0 comments on commit 41e8375

Please sign in to comment.