From 7822f8eda35118d766cb34f3ffc833d0a8e8b055 Mon Sep 17 00:00:00 2001 From: oyvind <oyvindlg@gmail.com> Date: Wed, 20 Apr 2016 12:49:20 +0200 Subject: [PATCH] foaf:person tatt vekk for windows --- .../types/foaf:Person/html.template | 38 ------------------- .../types/foaf:Person/queries/attendees.query | 12 ------ .../foaf:Person/queries/birthplace.query | 8 ---- .../queries/endpoint.dbpedia/geo.query | 9 ----- .../queries/endpoint.dbpedia/location.query | 7 ---- .../types/foaf:Person/queries/main.query | 10 ----- .../foaf:Person/queries/personalDetails.query | 12 ------ 7 files changed, 96 deletions(-) delete mode 100644 doc/examples/components/types/foaf:Person/html.template delete mode 100644 doc/examples/components/types/foaf:Person/queries/attendees.query delete mode 100644 doc/examples/components/types/foaf:Person/queries/birthplace.query delete mode 100644 doc/examples/components/types/foaf:Person/queries/endpoint.dbpedia/geo.query delete mode 100644 doc/examples/components/types/foaf:Person/queries/endpoint.dbpedia/location.query delete mode 100644 doc/examples/components/types/foaf:Person/queries/main.query delete mode 100644 doc/examples/components/types/foaf:Person/queries/personalDetails.query diff --git a/doc/examples/components/types/foaf:Person/html.template b/doc/examples/components/types/foaf:Person/html.template deleted file mode 100644 index 5d3b254b..00000000 --- a/doc/examples/components/types/foaf:Person/html.template +++ /dev/null @@ -1,38 +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" version="XHTML+RDFa 1.0" xml:lang="en"> - <head> - <title>Page about {{lodspk.this.value}}</title> - <link href="{{lodspk.baseUrl}}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> - <img style='float:right;width:200px' src='{{first.personalDetails.pic.mirroredUri}}'/> - <h1>{{first.personalDetails.name.value}}</h1> - <p>{{first.personalDetails.desc.value}} - </p> - <div> - <h2>{{first.personalDetails.name.value}} has attended meetings with</h2> - <ul> - {% for row in models.attendees %} - <li><a href="{{row.attendee.value}}">{%if row.attendeeName.value%}{{row.attendeeName.value}}{%else%}{{row.attendee.curie}}{%endif%}</a></li> - {%endfor%} - </ul> - </div> - {%if first.dbpedia.bplace == null%} - <div> - {{first.dbpedia.birthplace.bplace.value}} - <h3>Born in: {{first.dbpedia.location.name.value}}</h3> - <div> - <div style="float:left"> - </div><p style="float:left">{{first.dbpedia.location.abstract.value}}</p> - {{models.dbpedia.geo|googlemaps:"lat,lon,name"}} - </div> - {%endif%} - </div> - </body> -</html> diff --git a/doc/examples/components/types/foaf:Person/queries/attendees.query b/doc/examples/components/types/foaf:Person/queries/attendees.query deleted file mode 100644 index 19b4390d..00000000 --- a/doc/examples/components/types/foaf:Person/queries/attendees.query +++ /dev/null @@ -1,12 +0,0 @@ -PREFIX twc: <http://tw.rpi.edu/schema/> -PREFIX foaf: <http://xmlns.com/foaf/0.1/> -SELECT DISTINCT ?attendee ?attendeeName WHERE { - GRAPH <http://tw.rpi.edu:2020/books>{ - ?event twc:hasAttendee <{{uri}}> . - ?event twc:hasAttendee ?attendee . - OPTIONAL{ - ?attendee foaf:name ?attendeeName . - } - FILTER(str(?attendee) != "{{uri}}") - } -} diff --git a/doc/examples/components/types/foaf:Person/queries/birthplace.query b/doc/examples/components/types/foaf:Person/queries/birthplace.query deleted file mode 100644 index 526417f8..00000000 --- a/doc/examples/components/types/foaf:Person/queries/birthplace.query +++ /dev/null @@ -1,8 +0,0 @@ -PREFIX twc: <http://tw.rpi.edu/schema/> -PREFIX foaf: <http://xmlns.com/foaf/0.1/> -PREFIX dbp: <http://dbpedia.org/ontology/> -SELECT distinct ?bplace WHERE { - GRAPH <http://tw.rpi.edu:2020/books>{ - <{{uri}}> dbp:birthPlace ?bplace - } -} diff --git a/doc/examples/components/types/foaf:Person/queries/endpoint.dbpedia/geo.query b/doc/examples/components/types/foaf:Person/queries/endpoint.dbpedia/geo.query deleted file mode 100644 index b895676d..00000000 --- a/doc/examples/components/types/foaf:Person/queries/endpoint.dbpedia/geo.query +++ /dev/null @@ -1,9 +0,0 @@ -PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> -PREFIX dbp: <http://dbpedia.org/ontology/> -PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> - -SELECT distinct ?lat ?lon ?name WHERE { -<{{first.birthplace.bplace.value}}> rdfs:label ?name ; - geo:lat ?lat; - geo:long ?lon. -}limit 1 diff --git a/doc/examples/components/types/foaf:Person/queries/endpoint.dbpedia/location.query b/doc/examples/components/types/foaf:Person/queries/endpoint.dbpedia/location.query deleted file mode 100644 index f76659a1..00000000 --- a/doc/examples/components/types/foaf:Person/queries/endpoint.dbpedia/location.query +++ /dev/null @@ -1,7 +0,0 @@ -PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> -PREFIX dbp: <http://dbpedia.org/ontology/> -SELECT distinct ?name ?abstract WHERE { -<{{first.birthplace.bplace.value}}> dbp:abstract ?abstract; -rdfs:label ?name . -FILTER(lang(?abstract) = "en") -}limit 1 diff --git a/doc/examples/components/types/foaf:Person/queries/main.query b/doc/examples/components/types/foaf:Person/queries/main.query deleted file mode 100644 index 1b878b62..00000000 --- a/doc/examples/components/types/foaf:Person/queries/main.query +++ /dev/null @@ -1,10 +0,0 @@ -PREFIX twc: <http://tw.rpi.edu/schema/> -PREFIX foaf: <http://xmlns.com/foaf/0.1/> -SELECT ?event ?eventName WHERE { - GRAPH <http://tw.rpi.edu:2020/books>{ - ?event twc:hasAttendee <{{uri}}> . - OPTIONAL{ - ?event foaf:name ?eventName . - } - } -} diff --git a/doc/examples/components/types/foaf:Person/queries/personalDetails.query b/doc/examples/components/types/foaf:Person/queries/personalDetails.query deleted file mode 100644 index cf35f160..00000000 --- a/doc/examples/components/types/foaf:Person/queries/personalDetails.query +++ /dev/null @@ -1,12 +0,0 @@ -PREFIX twc: <http://tw.rpi.edu/schema/> -PREFIX foaf: <http://xmlns.com/foaf/0.1/> -PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> -PREFIX dcterms: <http://purl.org/dc/terms/> - -SELECT ?name ?desc ?pic WHERE { - GRAPH <http://tw.rpi.edu:2020/books>{ - <{{uri}}> foaf:name ?name ; - foaf:depiction ?pic ; - dcterms:description ?desc. - } -} -- GitLab