S = I ∪ B
P = I
O = I ∪ B ∪ L
<?xml version='1.0' encoding='utf-8'?> | |
<Server port="8005" shutdown="SHUTDOWN"> | |
<Service name="Catalina"> | |
<Engine name="Catalina" defaultHost="localhost"> | |
<Host name="localhost" appBase="webapps" | |
unpackWARs="true" autoDeploy="true"> | |
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" | |
prefix="localhost_access_log." suffix=".ttl" | |
pattern="[ a <http://www.w3.org/2011/http#Connection> ; <http://semantic-web.dk/ontologies/http#remoteAuthority> "%a" ; <http://www.w3.org/2011/http#connectionAuthority> "%v:%p" ; <http://www.w3.org/2011/http#requests> ([ a <http://www.w3.org/2011/http#Request> ; <http://purl.org/dc/terms/date> "%{yyyy-MM-dd}tT%{HH:mm:ss}t"^^<http://www.w3.org/2001/XMLSchema#dateTime> ; <http://www.w3.org/2011/http#methodName> "%m" ; <http://www.w3.org/2011/http#mthd> <http://www.w3.org/2011/http-methods#%m> ; <ht |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:output method="text" indent="yes"/> | |
<xsl:template match="@*"> | |
<xsl:text> </xsl:text> | |
<xsl:value-of select="."/> | |
</xsl:template> | |
<xsl:template match="*"> |
#!/bin/bash | |
curl https://id.myopenlink.net/DAV/home/KingsleyUyiIdehen/Public/kingsley.ttl -H "Accept: application/rdf+xml; charset=UTF-8,application/n-quads; charset=UTF-8,text/rdf+n3; charset=UTF-8,application/n-triples; charset=UTF-8,text/csv; charset=UTF-8,application/ld+json; charset=UTF-8,application/rdf+xml; charset=UTF-8,application/rdf+x-www-form-urlencoded; charset=UTF-8,application/rdf+thrift; charset=UTF-8,text/turtle; charset=UTF-8,application/rdf+json; charset=UTF-8,text/trig; charset=UTF-8" -i |
S = I ∪ B
P = I
O = I ∪ B ∪ L
INSERT { | |
GRAPH ?graph { | |
?s ?p ?o . | |
} | |
} | |
WHERE | |
{ { SELECT DISTINCT ?s | |
WHERE | |
{ ?s ?p ?o } | |
} |
SELECT (SHA1(GROUP_CONCAT(?tripleStr)) AS ?graphHash) | |
WHERE | |
{ { SELECT DISTINCT ?s ?p ?o | |
WHERE | |
{ ?s ?p ?o } | |
} | |
BIND(concat(str(?s), " ", str(?p), " ", str(?o)) AS ?tripleStr) | |
} |
Returns Turtle:
curl -L -i https://ld.zdb-services.de/data/organisations/DE-1a -H "Accept: text/turtle"
Returns HTML:
curl -L -i https://ld.zdb-services.de/data/organisations/DE-1a -H "Accept: application/rdf+xml;q=0.8,application/n-triples;q=0.9,application/trix;q=0.8,application/ld+json;q=0.8,text/shaclc;q=0.8,application/rdf+thrift,text/turtle;q=0.8,text/rdf+n3;q=0.8,application/rdf+json;q=0.8,application/sparql-results+xml,application/sparql-results+json"
@prefix : <http://vocabularies.unesco.org/thesaurus/> . | |
@prefix ann: <http://art.uniroma2.it/ontologies/annotation#> . | |
@prefix owl: <http://www.w3.org/2002/07/owl#> . | |
@prefix skosxl: <http://www.w3.org/2008/05/skos-xl#> . | |
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix geo-ont: <http://www.geonames.org/ontology#> . | |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix geo-pos: <http://www.w3.org/2003/01/geo/wgs84_pos#> . |
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
PREFIX bd: <http://www.bigdata.com/rdf#> | |
PREFIX wdt: <http://www.wikidata.org/prop/direct/> | |
PREFIX wikibase: <http://wikiba.se/ontology#> | |
SELECT ?filmLabel ?score | |
WHERE | |
{ ?film wdt:P136 <http://www.wikidata.org/entity/Q471839> ; | |
wdt:P444 ?reviewScore | |
FILTER contains(?reviewScore, "%") |