diff --git a/models/service.classes/html.queries/main.query b/models/service.classes/html.queries/main.query deleted file mode 100644 index 0157430d87fd46e5665a7bfd17a72b9122102cbb..0000000000000000000000000000000000000000 --- a/models/service.classes/html.queries/main.query +++ /dev/null @@ -1,12 +0,0 @@ -{%for h in base.header %} -PREFIX {{h.prefix}}: <{{h.ns}}> -{%endfor%} -SELECT DISTINCT ?resource WHERE { - { - {%if base.args.arg0 %}GRAPH <{{base.args.arg0}}>{%else%} GRAPH ?g {%endif%} { - ?x a ?resource . - } - }UNION{ - ?x a ?resource . - } -}order by ?resource diff --git a/models/service.instances/html.queries/main.query b/models/service.instances/html.queries/main.query deleted file mode 100644 index a93cf3679adc9bede7577cb91870bc0cfdb7a600..0000000000000000000000000000000000000000 --- a/models/service.instances/html.queries/main.query +++ /dev/null @@ -1,13 +0,0 @@ -{%for h in lodspk.header %} -PREFIX {{h.prefix}}: <{{h.ns}}> -{%endfor%} -SELECT DISTINCT ?resource WHERE { - { - GRAPH ?g{ - ?resource a {{lodspk.args.arg0}} - } - }UNION{ - ?resource a {{lodspk.args.arg0}} - } -}order by ?resource -limit 1000 diff --git a/models/service.namedGraphs/html.queries/main.query b/models/service.namedGraphs/html.queries/main.query deleted file mode 100644 index c0ec090ec217ee8faced00975ed230a19e57aa43..0000000000000000000000000000000000000000 --- a/models/service.namedGraphs/html.queries/main.query +++ /dev/null @@ -1,6 +0,0 @@ -SELECT DISTINCT ?g WHERE { - GRAPH ?g{ - [] ?p ?resource . - } -} - order by ?g diff --git a/models/type.rdfs:Resource/html.queries/po.query b/models/type.rdfs:Resource/html.queries/po.query deleted file mode 100644 index f573aab3fcafc3c5e00ee35cea1f50dcb8bb1598..0000000000000000000000000000000000000000 --- a/models/type.rdfs:Resource/html.queries/po.query +++ /dev/null @@ -1,9 +0,0 @@ -SELECT ?p ?o WHERE { - { - GRAPH ?g{ - <{{uri}}> ?p ?o. - } - }UNION{ - <{{uri}}> ?p ?o . - } -} diff --git a/models/type.rdfs:Resource/html.queries/sp.query b/models/type.rdfs:Resource/html.queries/sp.query deleted file mode 100644 index 3b5b69fb13293b740abd2407957cad96b2f9866f..0000000000000000000000000000000000000000 --- a/models/type.rdfs:Resource/html.queries/sp.query +++ /dev/null @@ -1,9 +0,0 @@ -SELECT ?s ?p WHERE { - { - GRAPH ?g{ - ?s ?p <{{uri}}> . - } - }UNION{ - ?s ?p <{{uri}}> . - } -} diff --git a/views/header.inc b/views/header.inc deleted file mode 100644 index 2c90255a3a3475d2c9157d0ce43379ba7f1d6b0c..0000000000000000000000000000000000000000 --- a/views/header.inc +++ /dev/null @@ -1,5 +0,0 @@ -<h4>Endpoint: {{lodspk.endpoint.local}}</h4> -<div style='float:center'> -<a href='{{lodspk.home}}'>Home</a> | <a href='{{lodspk.home}}classes'>Classes</a> | <a href='{{lodspk.home}}namedGraphs'>Named Graphs</a> -</div> - diff --git a/views/service.classes/html.template b/views/service.classes/html.template deleted file mode 100644 index 3c75a1c865f4f8252068bfc661900169f1ad498f..0000000000000000000000000000000000000000 --- a/views/service.classes/html.template +++ /dev/null @@ -1,19 +0,0 @@ -<?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 lodspk.ns %}xmlns:{{i}}="{{ns}}" - {%endfor%}version="XHTML+RDFa 1.0" xml:lang="en"> - <head> - <title>My new Service</title> - <link href="css/basic.css" rel="stylesheet" type="text/css" media="screen" /> - </head> - <body> - <h1>Classes available</h1> -{%include "../header.inc"%} - <ul> - {% for row in models.main %} - <li><a href="{{lodspk.baseUrl}}instances/{{ row.resource.curie }}">{{row.resource.curie}}</a></li> - {% endfor %} - </ul> - </body> -</html> diff --git a/views/service.instances/html.template b/views/service.instances/html.template deleted file mode 100644 index c4b5de63882277515e3df3223f9a5dd5e8b7524f..0000000000000000000000000000000000000000 --- a/views/service.instances/html.template +++ /dev/null @@ -1,19 +0,0 @@ -<?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"> - <head> - <title>Instances of {{lodspk.args.arg0}}</title> - <link href="../css/basic.css" rel="stylesheet" type="text/css" media="screen" /> - </head> - <body> - <h1>Instances of class {{lodspk.args.arg0}}</h1> -{%include "../header.inc"%} - <ul> - {% for row in models.main %} - <li><a href="{{ row.resource.value }}">{{row.resource.curie}}</a></li> - {% endfor %} - </ul> - </body> -</html> diff --git a/views/service.namedGraphs/html.template b/views/service.namedGraphs/html.template deleted file mode 100644 index 1df5c5d4124b3a8a4fb86774acf38a31e52755d7..0000000000000000000000000000000000000000 --- a/views/service.namedGraphs/html.template +++ /dev/null @@ -1,19 +0,0 @@ -<?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"> - <head> - <title>Named Graphs</title> - <link href="css/basic.css" rel="stylesheet" type="text/css" media="screen" /> - </head> - <body> - <h1>Named graphs available</h1> -{%include "../header.inc"%} - <ul> - {% for row in models.main %} - <li>{{row.g.value}}</li> - {% endfor %} - </ul> - </body> -</html> diff --git a/views/type.rdfs:Resource/html.template b/views/type.rdfs:Resource/html.template deleted file mode 100644 index 7639943f31c1db95cf503b5e278368513c8e0142..0000000000000000000000000000000000000000 --- a/views/type.rdfs:Resource/html.template +++ /dev/null @@ -1,54 +0,0 @@ -<?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 lodspk.ns %}xmlns:{{i}}="{{ns}}" - {%endfor%}version="XHTML+RDFa 1.0" xml:lang="en"> - <head> - <title>Page about {{lodspk.this.value}}</title> - <link href="{{lodspk.home}}css/basic.css" rel="stylesheet" type="text/css" media="screen" /> - <link rel="alternate" type="application/rdf+xml" title="RDF/XML Version" href="{{lodspk.this.value}}.rdf" /> - <link rel="alternate" type="text/turtle" title="Turtle Version" href="{{lodspk.this.value}}.ttl" /> - <link rel="alternate" type="text/plain" title="N-Triples Version" href="{{lodspk.this.value}}.nt" /> - <link rel="alternate" type="application/json" title="RDFJSON Version" href="{{lodspk.this.value}}.json" /> - </head> - <body about="{{lodspk.this.value}}"> - <h1>Default view</h1> - - <div style='margin-top: 40px'> - <table> - <tr><th>Subject</th><th>Predicate</th><th>Object</th></tr> - {% for row in models.po %} - <tr> -<td>{%if forloop.first%}<a href='{{lodspk.this.value}}'>{{lodspk.this.curie}}</a>{%endif%}</td> - <td style='background-color:#c9f9c9'><a href='{{row.p.value}}'>{{row.p.curie}}</a></td> - - <td style='background-color:#c9f9c9'> - {%if row.o.uri == 1%} - <a rev='[{{row.p.curie}}]' href='{{row.o.value}}'>{{row.o.curie}}</a> - {%else%} - {{row.o.value}} - {%endif%} - </td> - - </tr> - {% endfor %} -<tr><td></td><td><a href='{{lodspk.this.value}}'>{{lodspk.this.curie}}</a></td><td></td></tr> - - {% for row in models.sp %} - <tr> - <td style='background-color:#c9f9c9'><a href='{{row.s.value}}'>{{row.s.curie}}</a></td> - - <td style='background-color:#c9f9c9'><a rel='{{row.s.curie}}' href='{{row.p.value}}'>{{row.p.curie}}</a></td> -<td>{%if forloop.first%}<a href='{{lodspk.this.value}}'>{{lodspk.this.curie}}</a>{%endif%}</td> - </tr> - {% endfor %} - <tr><th>Subject</th><th>Predicate</th><th>Object</th></tr> - - </table> - </div> - </div> - - - <br/> - </body> -</html>