Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect N3 syntax on DC terms #3

Open
timrdf opened this issue Dec 31, 2017 · 0 comments
Open

Incorrect N3 syntax on DC terms #3

timrdf opened this issue Dec 31, 2017 · 0 comments

Comments

@timrdf
Copy link

timrdf commented Dec 31, 2017

In http://lov.okfn.org/lov.n3.gz, the following appears:

@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix owl:   <http://www.w3.org/2002/07/owl#> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix lov:   <http://lov.okfn.org/dataset/lov/> .

<https://w3id.org/seas/QUDTAlignment>
        <http://purl.org/dc/terms/title>
                "QUDT Alignment."@en ;
        <http://purl.org/stuff/rev#hasReview>
                [ a                  <http://purl.org/stuff/rev#Review> ;
                  <dcterms:creator>  <http://google.com/+GhislainAtemezing> ;
                  <dcterms:date>     "2016-12-09"^^xsd:date ;
                  <http://purl.org/stuff/rev#text>
                          "Alignment of SEAS with QUDT in a different vocabulary"
                ] ;

Converting it to NTriples highlights the syntax bug on e.g. <dcterms:creator>:

rapper -g -o ntriples manual/lov.n3 | grep '<dcterms:creator>' returns:

_:genid5041 <dcterms:creator> <http://google.com/+BernardVatant> .

But I think you wanted it to return:

_:genid5041 <http://purl.org/dc/terms/creator> <http://google.com/+BernardVatant> .

The fix would be to either 1) Add the dcterms prefix and remove the angles, or 2) replace the "dcterms:" with its true base IRI ("http://purl.org/dc/terms/").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant