Skip to content

Commit

Permalink
gc:ModeToggleMode in gc:ThumbnailMode header
Browse files Browse the repository at this point in the history
  • Loading branch information
Martynas committed Jan 17, 2015
1 parent 8c1f2cb commit 533ba24
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -39,7 +39,7 @@ For full documentation, see the [wiki index](../../wiki).
No permanent storage!
---------------------

Graphity Client does *not* include a permanent RDF storage. Therefore creating/updating data will have no effect.
Graphity Client does *not* include permanent RDF storage. By default it is configured to read the dataset from a file, therefore creating/updating data will have no effect.

In order to store data permanently, you need to set up a [triplestore](http://en.wikipedia.org/wiki/Triplestore) and configure the webapp with its SPARQL endpoint.
For open-source, we recommend trying Jena's [TDB](http://jena.apache.org/documentation/tdb/); for commercial, see [Dydra](http://dydra.com).
Expand All @@ -49,8 +49,8 @@ Demonstration

![Graphity screenshot](https://raw.github.com/Graphity/graphity-client/master/screenshot.jpg)

An instance of Graphity Client runs for demonstration purposes on [semanticreports.com](http://semanticreports.com).
See the DBPedia Linked Data description of Sir [Tim Berners-Lee](http://semanticreports.com/?uri=http%3A%2F%2Fdbpedia.org%2Fresource%2FTim_Berners-Lee).
An instance of Graphity Client runs for demonstration purposes on [Linked Data Hub](http://linkeddatahub.com).
See the DBPedia Linked Data description of Sir [Tim Berners-Lee](http://linkeddatahub.com/?uri=http%3A%2F%2Fdbpedia.org%2Fresource%2FTim_Berners-Lee).

_Note: the server is not production-grade and DBPedia is often unstable._

Expand Down
Expand Up @@ -186,8 +186,6 @@ public void init()
queryBuilder = QueryBuilder.fromQuery(query, getModel());
}

//if (log.isDebugEnabled()) log.debug("Constructing ResourceBase with QueryBuilder: {}", queryBuilder);
//getQueryBuilder().build(); // sets sp:text value
if (log.isDebugEnabled()) log.debug("OntResource {} gets explicit spin:query value {}", this, queryBuilder);
addProperty(SPIN.query, getQueryBuilder());

Expand Down
2 changes: 0 additions & 2 deletions src/main/webapp/WEB-INF/web.xml
Expand Up @@ -17,7 +17,6 @@
<param-name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>
<param-value>org.graphity.client.filter.PostReplaceFilter</param-value>
</init-param>
<!--
<init-param>
<param-name>http://www.w3.org/ns/sparql-service-description#endpoint</param-name>
<param-value>http://graphity.dydra.com/graphity/client/sparql</param-value>
Expand All @@ -38,7 +37,6 @@
<param-name>http://graphity.org/gs#preemptiveAuth</param-name>
<param-value>true</param-value>
</init-param>
-->
<init-param>
<param-name>http://graphity.org/gp#datasetLocation</param-name>
<param-value>/org/graphity/client/dataset/dataset.trig</param-value>
Expand Down
2 changes: 2 additions & 0 deletions src/main/webapp/static/org/graphity/client/xsl/layout.xsl
Expand Up @@ -842,6 +842,8 @@ exclude-result-prefixes="#all">
<xsl:apply-templates select="." mode="gc:ImageMode"/>

<div class="caption">
<xsl:apply-templates select="." mode="gc:ModeToggleMode"/>

<xsl:apply-templates select="@rdf:about | @rdf:nodeID" mode="#current"/>

<xsl:apply-templates select="." mode="gc:DescriptionMode"/>
Expand Down

0 comments on commit 533ba24

Please sign in to comment.