Hi Dan,
When performing an insert with Stardog Groovy, the < > characters are
not needed to denote a URI. In fact, for the subject and predicate, it
is assumed that the string being passed in represents a URI. In the
case of the object, it will assume it it being given a literal unless
you denote a URI by passing in a java.net.URI. The following insert
should give you the results you want:
stardog.insert(["
http://www.stainlesscode.com/rdfbb#Washington_Nationals",
"
http://www.w3.org/1999/02/22-rdf-syntax-ns#type", new
java.net.URI("
http://www.stainlesscode.com/rdfbb#Team")])
Hope this helps!
-Stephen
> --
> -- --
> You received this message because you are subscribed to the C&P
> "Stardog" group.
> To post to this group, send email to
sta...@clarkparsia.com
> To unsubscribe from this group, send email to
>
stardog+u...@clarkparsia.com
> For more options, visit this group at
>
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
>
>