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?

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?


*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(&lt;http://topbraid.org/examples/kennedys&gt;) }">
    <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 [email protected]
--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to