You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to integrate Green Turtle with an XForms application (XSLTForms) and would like to be able to merge Turtle data that has been dynamically loaded within an embedded <script type="text/turtle"> tag. With RDFa-encoded data, it's possible to update the default graph by calling GreenTurtle.attach(document). Is it possible to do the same with embedded Turtle that has been dynamically added after the initial page load?
The text was updated successfully, but these errors were encountered:
Thanks, that's what I thought. My problem seems to have been with DBpedia's default Turtle output, which interweaves prefixes and triples. For example, querying http://dbpedia.org/sparql with
DESCRIBE <http://dbpedia.org/resource/Turtle_(syntax)> WHERE {<http://dbpedia.org/resource/Turtle_(syntax)> ?p ?o} ORDER BY ?p LIMIT 1
2: No prefix mapping for dbpprop
2: Terminating: Cannot parse predicate IRI.
2: Missing end . triples. Found: ...
DBpedia does offer a pretty-printed Turtle serialization (which they qualify as "slow!"), but this "alternative" format doesn't have a standard MIME type that can be requested (as far as I can tell).
I am trying to integrate Green Turtle with an XForms application (XSLTForms) and would like to be able to merge Turtle data that has been dynamically loaded within an embedded
<script type="text/turtle">
tag. With RDFa-encoded data, it's possible to update the default graph by callingGreenTurtle.attach(document)
. Is it possible to do the same with embedded Turtle that has been dynamically added after the initial page load?The text was updated successfully, but these errors were encountered: