Open cygri opened 11 years ago
Anecdotal evidence has it that people look for the dump at /all.ttl
. That's not a bad place for it. The page at /popular/all
could then go to /all
too.
There would be some logic to /all.vann.ttl
too, assuming that /all.ttl
would be the pure declarations.
The RDF/XML file uses blank nodes for the prefix mappings, which makes it hard to make 5-star references back to prefix.cc.
Suggest to change what is currently provided:
bash-3.2$ rapper -i rdfxml -o turtle http://prefix.cc/popular/all.file.vann | head -25
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix vann: <http://purl.org/vocab/vann/> .
<http://prefix.cc/popular/all.file.vann>
a foaf:Document ;
foaf:topic [
vann:preferredNamespacePrefix "rdf" ;
vann:preferredNamespaceUri "http://www.w3.org/1999/02/22-rdf-syntax-ns#" ;
a owl:Ontology
], [
vann:preferredNamespacePrefix "owl" ;
vann:preferredNamespaceUri "http://www.w3.org/2002/07/owl#" ;
a owl:Ontology
],
to similar to the following to provide meaningful cool IRIs such as:
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix vann: <http://purl.org/vocab/vann/> .
<http://prefix.cc/popular/all.file.vann>
a foaf:Document ;
foaf:topic <http://prefix.cc/rdf>, <http://prefix.cc/owl> .
<http://prefix.cc/rdf>
vann:preferredNamespacePrefix "rdf" ;
vann:preferredNamespaceUri "http://www.w3.org/1999/02/22-rdf-syntax-ns#" ;
a owl:Ontology .
<http://prefix.cc/owl>
vann:preferredNamespacePrefix "owl" ;
vann:preferredNamespaceUri "http://www.w3.org/2002/07/owl#" ;
a owl:Ontology .
Is there reason to hide the namespaces within a literal? The following could be nicer:
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix vann: <http://purl.org/vocab/vann/> .
<http://prefix.cc/popular/all.file.vann>
a foaf:Document ;
foaf:topic <http://prefix.cc/rdf>, <http://prefix.cc/owl> .
<http://prefix.cc/rdf>
vann:preferredNamespacePrefix "rdf" ;
prov:specializationOf <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
a owl:Ontology .
<http://prefix.cc/owl>
vann:preferredNamespacePrefix "owl" ;
prov:specializationOf <http://www.w3.org/2002/07/owl#> ;
a owl:Ontology .
We already have ways of accessing all mappings through the links in the footer at http://prefix.cc/popular/all , but there are some problems with that:
.file.vann
one).rdf
and.ttl
extensions rather than.vann
, otherwise we confuse stupid processors that only look at the file extension