Giter Site home page Giter Site logo

Comments (10)

ktk avatar ktk commented on May 30, 2024 1
  • dcterms:description
  • rdfs:isDefinedBy vs. rdfa:uri: From what I read they aim at the same thing IMO. I would prefer rdfs: as I rarely see the rdfa one in the wild.
  • dbo:filename sounds close enough!

from rdf-vocabularies.

vhf avatar vhf commented on May 30, 2024

I think this would be a "big" change to what this package provides. The triples from the ontologies are currently provided as-is, nothing gets added or removed or modified.

What about providing a separate file with all the metadata as RDF instead? It could provide the base IRI, prefix, and filename.

from rdf-vocabularies.

ktk avatar ktk commented on May 30, 2024

That would be perfectly fine for me. Sole question is what URI would we use as subject for this. In RDFa initial context it's a blank node, maybe that's the best bet. But then we should probably also add a class as in the example, they use rdfa:PrefixMapping

from rdf-vocabularies.

vhf avatar vhf commented on May 30, 2024

Alright so something like:

[] a rdfa:PrefixMapping ;
  dcterms:description "The W3C Linked Data Platform (LDP) Vocabulary" ;
  rdfs:isDefinedBy <http://www.w3.org/2012/ldp> ;
  rdfa:prefix "ldp" ;
  rdfa:uri "http://www.w3.org/ns/ldp#" .

and one more thing for the local filename I guess

from rdf-vocabularies.

ktk avatar ktk commented on May 30, 2024

Looks good! For file the only ontology I know is infamous Nepomuk File Ontology, which was once part of KDE: http://oscaf.sourceforge.net/nfo.html#nfo:fileName.

Could not find something else with a quick search for file*

from rdf-vocabularies.

vhf avatar vhf commented on May 30, 2024

What about dbo:filename?

More questions on this example:

[] a rdfa:PrefixMapping ;
  dcterms:description "The W3C Linked Data Platform (LDP) Vocabulary" ;
  rdfs:isDefinedBy <http://www.w3.org/2012/ldp> ;
  rdfa:prefix "ldp" ;
  rdfa:uri "http://www.w3.org/ns/ldp#" ;
  dbo:filename "ontologies/ldp.nq" .
  • What's the difference between the content we would put in rdfs:isDefinedBy and rdfa:uri?
  • Where can I find what to put in dcterms:description?

My idea is to add these to https://github.com/zazuko/rdf-vocabularies/blob/master/overrides.js or to a file similar to this one, to then be able to generate the above data.

from rdf-vocabularies.

vhf avatar vhf commented on May 30, 2024

Thoughts on: https://github.com/zazuko/rdf-vocabularies/blob/b939bd4b5d50d08f1994ab75e885159af99eacf0/ontologies/_index.nq ?

from rdf-vocabularies.

vhf avatar vhf commented on May 30, 2024

Ping @ktk @semanticfire

from rdf-vocabularies.

ktk avatar ktk commented on May 30, 2024

From triple POV looks good to me!

from rdf-vocabularies.

vhf avatar vhf commented on May 30, 2024

v2019.12.23

from rdf-vocabularies.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.