ruby-rdf / rdf-vocab

Common RDF Vocabularies
The Unlicense
50 stars 29 forks source link

Add SWEET from JPL #28

Closed jcoyne closed 9 years ago

jcoyne commented 9 years ago

http://sweet.jpl.nasa.gov

I'm not sure how to do add this one, because its broken up into several owl files:

http://sweet.jpl.nasa.gov/2.3/reprDataFormat.owl http://sweet.jpl.nasa.gov/2.3/repr.owl http://sweet.jpl.nasa.gov/2.3/reprMathSolution.owl http://sweet.jpl.nasa.gov/2.3/reprMath.owl http://sweet.jpl.nasa.gov/2.3/relaMath.owl (and many more)

gkellogg commented 9 years ago

Probably want to render them into a single local file, and build from that.

artob commented 9 years ago

That looks like a substantial ontology. We'll need to begin considering size limitations, or this gem will become a multi-megabyte download.

gkellogg commented 9 years ago

Maybe this one should go in it's own gem.

The real issue isn't so much the gem size, but the fact that Vocabulary.each faults them all in. Still, some mechanism which would allow vocabularies to be defined, and then loaded when required could improve this, perhaps by using micro-gems for larger vocabularies.

artob commented 9 years ago

Load time and memory requirements do matter more, but gem size will be a particular concern to, say, Heroku users--as well as anybody who needs to deploy often, re-downloading from RubyGems.org.

Perhaps the solution is indeed to have large vocabularies (DBpedia, SWEET) be their own gems, so that these vocabularies don't adversely affect the 80% (or 99%, even) use cases.