Is 'title' a com.hp.hpl.jena.rdf.model.Property? It should be an
UriRef. As in Jena.uriref(title)
Scardf methods use Scardf types. You could make an implicit conversion
method Jena->Scardf, probably.
Hrvoje
1. Yes
2. No
3. No
Scardf API doesn't depend on Jena. It just has an extension for
accessing Jena structures.
com.hp.hpl.jena.vocabulary.DC_11.title is a Jena object and NodeBag's
slash method doesn't work with Jena objects directly.
So you should create your own fields:
val title = Jena.uriref(com.hp.hpl.jena.vocabulary.DC_11.title)
or you can make an implicit conversion to do this automatically for
you (within the scope of implicits):
implicit def toUriRef( jenaRes: Resource ) = Jena.uriref( jenaRes )
All code is written from the top of my head, so beware of errors.
Hrvoje
Hrvoje
2011/7/22 Andreas Wundsam <andreas...@teleteach.de>:
Hrvoje
2011/7/25 Andreas Wundsam <andreas...@teleteach.de>: