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 exampleThis 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:ApplicationExample: Customized view form for a Person<swa:ViewForm arg:resource="swadoc:RobertKennedy"/>
Malformed qname swadoc:RobertKennedyGeneric tree exampleMalformed 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,