On 1/04/2017 0:37, sanjeev devireddy wrote:
Hi,
We started looking at SPARQL Web Pages (SWP) components given
in the SWP Application Component Library (SWA) documentation
(http://localhost:8083/tbl/swp?_viewClass=swadoc:Index). But when we
try to copy those examples to our local composer then we see some
errors and most of them are related to prefixes.
Below are the some examples that we tried. I hope it may be something
to do with configuration or importing some rdf/tdb file into work
space. Could some one please help us here to resolve these errors?
These seem to be all about namespaces used in the examples. If you
create your own examples, you may want to (of course) substitute them
with your own namespaces. To simulate exactly the same scenario as in
the swadoc namespace, simply owl:import the swadoc.ui.ttlx file into
your example.
And we also want to try these examples with our own Vocabularies
loaded in our local EVN or in a remote EVN instance. Could you please
let us know is there any configuration or so to be done to work with
our own vocabularies(loade in local EVN or in a remote EVN instance)
in these SPARQL Web Pages (SWP) components examples?
I think I'd need more specific context to help with that. There are too
many scenarios in which such components could be used, e.g. as widget on
a customized form or as a plugin to the regular EVN navigation pages.
Holger
*_Default Application example_*
This example shows the SWA default application in action.
<ui:group let:instanceSelectedEvent="org.widgetapp.instanceSelected">
<ui:setContext ui:queryGraph="{=
ui:graphWithImports(<http://topbraid.org/examples/kennedys>) }">
<defaultapp:Application/>
</ui:setContext>
</ui:group>
Undefined prefix element name defaultapp:Application
_*Example: Customized view form for a Person*_
<swa:ViewForm arg:resource="swadoc:RobertKennedy"/>
Malformed qname swadoc:RobertKennedy
_*Generic tree example*_
Malformed SWP expression: Generic Tree for the class {=
ui:label(kennedys:Person) } - java.lang.IllegalArgumentException:
Malformed SWP expression: {= ui:label(kennedys:Person) } -
org.apache.jena.query.QueryParseException: Line 1, column 30:
Unresolved prefixed name: kennedys:Person
_*3.4 Customizing Forms with swa:Objects*_
Malformed qname swadoc:firstName
Thanks,
--
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include the TopBraid
Suite family of products and its base technologies such as
SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to topbraid-users@googlegroups.com
---
You received this message because you are subscribed to the Google
Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to topbraid-users+unsubscr...@googlegroups.com
<mailto:topbraid-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Group "TopBraid
Suite Users", the topics of which include the TopBraid Suite family of products and
its base technologies such as SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to topbraid-users@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.