Skip to content
Snippets Groups Projects
Commit 5956ae55 authored by alangrafu's avatar alangrafu
Browse files

Cleaning a bit

parent 39a83589
No related branches found
No related tags found
No related merge requests found
lodspeakr - Simple Publishing Kit for Linked Open Data
author: Alvaro Graves (alvaro@graves.cl)
version: 20110717
version: 20110925
Simple Installation
-------------------
......
No preview for this file type
SELECT ?s ?o WHERE{
?s a ?o .
}LIMIT 3
SELECT ?instances WHERE{
?instances a %u .
}
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?class WHERE{
%u a ?class .
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" {% for i, ns in base.ns %}xmlns:{{i}}="{{ns}}"
{%endfor%}version="XHTML+RDFa 1.0" xml:lang="en">
<link href="{{base.baseUrl}}/lodspeakr/css/basic.css" rel="stylesheet" type="text/css" media="screen" />
<head>
<title>Page about {{base.this.value}}</title>
</head>
<body>
<h1>Page about <a href='{{base.this.value}}'>{{base.this.curie}}</a></h1>
<div>
<h2>Instances of {{base.this.curie}}</h2>
<ul>
{% for row in r.instances %}
{% if row.value.instances != null %}
<li><a href='{{ row.value.instances }}'>{{row.curie.instances}}</a></li>
{% endif %}
{% endfor %}
</ul>
</div>
<div>
<h2>Superclass of {{base.this.curie}}</h2>
<ul>
{% for row in r.superclasses %}
{% if row.value.class != null %}
<li><a href='{{ row.value.class }}'>{{row.curie.class}}</a></li>
{% endif %}
{% endfor %}
</ul>
</div>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment