[Activerdf] SQL syntax error setting up rails + activerdf +
sqllite
Benjamin Heitmann
benjamin.heitmann at deri.org
Tue Nov 21 11:53:01 GMT 2006
Lee Feigenbaum wrote:
> Any idea what's up? Should I file a bug? (Figure I'd post here while
> waiting for my launchpad registration email to arrive, in any case.)
>
How do you add your data sources to Rails ? (Maybe you declare them in
your databases.yaml which is currently not supported)
I think normally running a rails generator should not invoke any
ActiveRDF adapter, because you cant generate a scaffold from something
in ActiveRDF.
> PS -- When I installed the activerdf gems on my DreamHost account using a
> local gems install, something went screwy with the rdoc installation such
> that I don't seem to have any docs for the activerdf classes and rdflite
> adaptor. Is this available online somewhere?
>
I will have to look if it is available somewhere.
> PPS -- http://sw.deri.org/wiki/ActiveRDF/rdfbasics explains how Active RDF
> uses existing seed data to figure out what predicates are intended when
> coding with abbreviations. I had thought that a previous version of Active
> RDF could learn the available predicates from an RDFS or OWL vocabulary.
> Was this ever the case? Is it still the case? If so, are there any
> examples or documentation of this?
>
>
The mentioned seed data, is an RDF Schema (using OWL to a certain degree
is also possible).
If you create an empty instance of an RDFLite or Redland adapter, you
can then in environment.rb load the schema information like this:
myAdapter.load("/path/to/schema-or-data-file.nt")
More information about the Activerdf
mailing list