Skip to content

Commit 7c46ced

Browse files
committed
Removed DBPedia's prefix mapping
1 parent 752fe6b commit 7c46ced

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,13 @@
140140
<dependency>
141141
<groupId>${project.groupId}</groupId>
142142
<artifactId>client</artifactId>
143-
<version>4.2.5-SNAPSHOT</version>
143+
<version>4.2.6-SNAPSHOT</version>
144144
<classifier>classes</classifier>
145145
</dependency>
146146
<dependency>
147147
<groupId>${project.groupId}</groupId>
148148
<artifactId>client</artifactId>
149-
<version>4.2.5-SNAPSHOT</version>
149+
<version>4.2.6-SNAPSHOT</version>
150150
<type>war</type>
151151
</dependency>
152152
<!-- required by jsonld-java - version same as Jersey's HTTP Client -->

src/main/resources/prefix-mapping.ttl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
[ lm:name "http://purl.org/dc/elements/1.1/" ; lm:altName "com/atomgraph/client/dcelements.rdf" ] ,
3434
[ lm:name "http://purl.org/dc/terms/" ; lm:altName "com/atomgraph/client/dcterms.rdf" ] ,
3535
[ lm:name "http://purl.org/goodrelations/v1#" ; lm:altName "com/atomgraph/client/goodrelations.owl" ] ,
36-
[ lm:name "http://dbpedia.org/ontology/" ; lm:altName "com/atomgraph/client/dbpedia-owl.owl" ] ,
3736
[ lm:name "http://usefulinc.com/ns/doap#" ; lm:altName "com/atomgraph/client/doap.owl" ] ,
3837
[ lm:name "http://spinrdf.org/sp#" ; lm:altName "etc/sp.ttl" ] ,
3938
[ lm:name "http://spinrdf.org/spin#" ; lm:altName "etc/spin.ttl" ] ,
@@ -72,7 +71,6 @@
7271
[ lm:prefix "http://purl.org/dc/elements/1.1/" ; lm:altName "com/atomgraph/client/dcelements.rdf" ] ,
7372
[ lm:prefix "http://purl.org/dc/terms/" ; lm:altName "com/atomgraph/client/dcterms.rdf" ] ,
7473
[ lm:prefix "http://purl.org/goodrelations/v1" ; lm:altName "com/atomgraph/client/goodrelations.owl" ] ,
75-
[ lm:prefix "http://dbpedia.org/ontology/" ; lm:altName "com/atomgraph/client/dbpedia-owl.owl" ] ,
7674
[ lm:prefix "http://spinrdf.org/sp" ; lm:altName "etc/sp.ttl" ] ,
7775
[ lm:prefix "http://spinrdf.org/spin" ; lm:altName "etc/spin.ttl" ] ,
7876
[ lm:prefix "http://spinrdf.org/spl" ; lm:altName "etc/spl.spin.ttl" ]

src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/resource.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ extension-element-prefixes="ixsl"
592592
<xsl:template match="*[not($ldh:renderSystemResources)][@rdf:about = ac:absolute-path(ldh:base-uri(.)) and rdf:type/@rdf:resource = ('&def;Root', '&dh;Container', '&dh;Item')]" mode="bs2:Row" priority="1" use-when="system-property('xsl:product-name') = 'SAXON'"/>
593593

594594
<!-- overriding template used to inject ldh:template blocks (server-side only) -->
595-
<xsl:template match="*[*][@rdf:about] | *[*][@rdf:nodeID]" mode="bs2:Row" priority="0.7" use-when="system-property('xsl:product-name') = 'SAXON'">
595+
<xsl:template match="*[*][@rdf:about][not(rdf:type/@rdf:resource = '&http;Response')] | *[*][@rdf:nodeID][not(rdf:type/@rdf:resource = '&http;Response')]" mode="bs2:Row" priority="0.7" use-when="system-property('xsl:product-name') = 'SAXON'">
596596
<!-- TO-DO: use $ldh:requestUri to resolve URIs server-side -->
597597
<xsl:param name="id" select="if (contains(@rdf:about, ac:absolute-path(ldh:base-uri(.)) || '#')) then substring-after(@rdf:about, ac:absolute-path(ldh:base-uri(.)) || '#') else generate-id()" as="xs:string?"/>
598598
<xsl:param name="class" select="'row-fluid block'" as="xs:string?"/>

0 commit comments

Comments
 (0)