Re: [topbraid-users] Content tag set - tag display fails

2021-05-18 Thread robatki...@gmail.com

version 6.4, and its a new workspace built under there.  I also searched 
but couldnt find it - yet network sniffing showed it being called... so I'm 
guessing its in Java code somewhere..

Given i can make it work, with just a warning, there must still be 
something else not quite right - I replicated the imports, metadata, 
namespaces etc from the CreateTaggerProjectService and AFIACT it works 
exactly as expected except this one glitch..

On Wednesday, 19 May 2021 at 12:44:06 UTC+10 Holger Knublauch wrote:

> Hi Rob,
>
> I cannot find the string currentContentRootClass anymore in our code base, 
> yet I can see it was used in some older versions of taggerprojects.ui.ttlx 
> last year. Is there a mismatch between your workspace and the version of 
> the UI code? What version are you on?
>
> Holger
>
>
> On 2021-05-18 11:00 pm, robatki...@gmail.com wrote:
>
>
> If I use the UI to create a tagset, when I display a tagged property the 
> error log shows a warning:
>
> URI  
>  has no 
> registered function factory
>
> when I try to programmitically recreate the tagset, even though all 
> metadata looks the same, all namespaces look the same it behaves 
> differently - and the tag display call fails with:
>
> *Invalid SPARQL query string: Line 3, column 78: Unresolved prefixed name: 
> tagger:currentContentRootClass.*
>
> and the tag doesnt display..
>
> I cant find this function defined anywhere, but if I run the SPARQL query 
> in the editor on the graph it appears happy, but shows no result
>
> PREFIX arg:  
> PREFIX dash:  
> PREFIX dc:  
> 
> PREFIX dcterms:  
> PREFIX defn:  
> 
> PREFIX deo:  
> PREFIX doco_sop_shapes:  
> 
> PREFIX edg:  
> 
> PREFIX graphql:  
> 
> PREFIX imported:  
> 
> PREFIX metadata:  
> 
> PREFIX orb:  
> PREFIX owl2xml:  
> 
> PREFIX owl:  
> 
> PREFIX pattern:  
> 
> PREFIX rdf:  
> 
> PREFIX rdfs:  
> 
> PREFIX sh:  
> PREFIX skos:  
> 
> PREFIX skosshapes:  
> 
> PREFIX skosxl:  
> 
> PREFIX smf:  
> 
> PREFIX sp:  
> PREFIX spar:  
> PREFIX spin:  
> PREFIX spl:  
> PREFIX sro:  
> 
> PREFIX swa:  
> PREFIX swrl:  
> 
> PREFIX swrlb:  
> 
> PREFIX tagger:  
> 
> PREFIX taggershapes:  
> 
> PREFIX teamwork:  
> 
> PREFIX teamworkconstraints:  
> 
> PREFIX tosh:  
> PREFIX ui:  
> PREFIX xml:  
> 
> PREFIX xsd:  
> 
>
> SELECT ?predicate ?predic

Re: [topbraid-users] Content tag set - tag display fails

2021-05-18 Thread Holger Knublauch

Hi Rob,

I cannot find the string currentContentRootClass anymore in our code 
base, yet I can see it was used in some older versions of 
taggerprojects.ui.ttlx last year. Is there a mismatch between your 
workspace and the version of the UI code? What version are you on?


Holger


On 2021-05-18 11:00 pm, robatki...@gmail.com wrote:


If I use the UI to create a tagset, when I display a tagged property 
the error log shows a warning:


URI  has 
no registered function factory


when I try to programmitically recreate the tagset, even though all 
metadata looks the same, all namespaces look the same it behaves 
differently - and the tag display call fails with:


*Invalid SPARQL query string: Line 3, column 78: Unresolved prefixed 
name: tagger:currentContentRootClass.*

*
*
and the tag doesnt display..

I cant find this function defined anywhere, but if I run the SPARQL 
query in the editor on the graph it appears happy, but shows no result


PREFIX arg: 
PREFIX dash: 
PREFIX dc: 
PREFIX dcterms: 
PREFIX defn: 
PREFIX deo: 
PREFIX doco_sop_shapes: 
PREFIX edg: 
PREFIX graphql: 
PREFIX imported: 
PREFIX metadata: 
PREFIX orb: 
PREFIX owl2xml: 
PREFIX owl: 
PREFIX pattern: 
PREFIX rdf: 
PREFIX rdfs: 
PREFIX sh: 
PREFIX skos: 
PREFIX skosshapes: 
PREFIX skosxl: 
PREFIX smf: 
PREFIX sp: 
PREFIX spar: 
PREFIX spin: 
PREFIX spl: 
PREFIX sro: 
PREFIX swa: 
PREFIX swrl: 
PREFIX swrlb: 
PREFIX tagger: 
PREFIX taggershapes: 
PREFIX teamwork: 
PREFIX teamworkconstraints: 
PREFIX tosh: 
PREFIX ui: 
PREFIX xml: 
PREFIX xsd: 

SELECT ?predicate ?predicateLabel ?object WHERE {
                    ?subject ?predicate ?object.
                    BIND 
(swa:propertyLabelAtClassOrShapeInGraph(?predicate, 
tagger:currentContentRootClass(), ?labelGraph) AS ?predicateLabel) .

                }

or even this cut down version:

SELECT ?predicateLabel  WHERE {
                    ?subject ?predicate ?object.
                    BIND ( tagger:currentContentRootClass() AS 
?predicateLabel) .

                }

has no results, but doesnt fail..

What is this expecting to find that it cannot?



--
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 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/2ea51bc2-2d6b-401b-91e4-7244eedb3a40n%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/dfa74e8d-cf26-5c6f-76e1-37072b228365%40topquadrant.com.


Re: [topbraid-users] XML fromn RDF wizard in TBCME (tutorial anywhere?)

2021-05-18 Thread Holger Knublauch

Hi Jack,

there are many ways of mapping RDF to XML. What output would you like to 
produce? Do you mean RDF/XML, XML based on our Semantic XML technology 
or some arbitrary XML?


One new technique to produce arbitrary XML is Active Data Shapes (ADS), 
see the last example in


    http://datashapes.org/active/tutorial.html#getting-started

which produces HTML yet the same approach works for XML.

Holger


On 2021-05-19 3:04 am, Jack Hodges wrote:
I have created an OWL/RDFS model and populated it with some data 
(manually). I want to export this data to XML so that I can test an 
ingest SPARQL MOTION script. There is a TBCME export wizard called XML 
from RDF which asks for an output file and an instance, and it tries 
to work but produces empty files. Clearly I am not using it properly. 
Is there one of Holger's videos that shows how to make this work, or a 
tutorial? I've been wandering the site and the forum looking and I 
don't really want to write a SPARQL MOTION script to do it if there is 
already an export utility that does it. Thanks for pointers.


Jack
--
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 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/9a2b523e-a8f3-4eb5-ac81-91404b1997c3n%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/fd966e6b-ff04-86f2-199a-df94a2c8890b%40topquadrant.com.


[topbraid-users] XML fromn RDF wizard in TBCME (tutorial anywhere?)

2021-05-18 Thread Jack Hodges
I have created an OWL/RDFS model and populated it with some data 
(manually). I want to export this data to XML so that I can test an ingest 
SPARQL MOTION script. There is a TBCME export wizard called XML from RDF 
which asks for an output file and an instance, and it tries to work but 
produces empty files. Clearly I am not using it properly. Is there one of 
Holger's videos that shows how to make this work, or a tutorial? I've been 
wandering the site and the forum looking and I don't really want to write a 
SPARQL MOTION script to do it if there is already an export utility that 
does it. Thanks for pointers.

Jack

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/9a2b523e-a8f3-4eb5-ac81-91404b1997c3n%40googlegroups.com.


[topbraid-users] Content tag set - tag display fails

2021-05-18 Thread robatki...@gmail.com

If I use the UI to create a tagset, when I display a tagged property the 
error log shows a warning:

URI  has no 
registered function factory

when I try to programmitically recreate the tagset, even though all 
metadata looks the same, all namespaces look the same it behaves 
differently - and the tag display call fails with:

*Invalid SPARQL query string: Line 3, column 78: Unresolved prefixed name: 
tagger:currentContentRootClass.*

and the tag doesnt display..

I cant find this function defined anywhere, but if I run the SPARQL query 
in the editor on the graph it appears happy, but shows no result

PREFIX arg: 
PREFIX dash: 
PREFIX dc: 
PREFIX dcterms: 
PREFIX defn: 
PREFIX deo: 
PREFIX doco_sop_shapes: 
PREFIX edg: 
PREFIX graphql: 
PREFIX imported: 
PREFIX metadata: 
PREFIX orb: 
PREFIX owl2xml: 
PREFIX owl: 
PREFIX pattern: 
PREFIX rdf: 
PREFIX rdfs: 
PREFIX sh: 
PREFIX skos: 
PREFIX skosshapes: 
PREFIX skosxl: 
PREFIX smf: 
PREFIX sp: 
PREFIX spar: 
PREFIX spin: 
PREFIX spl: 
PREFIX sro: 
PREFIX swa: 
PREFIX swrl: 
PREFIX swrlb: 
PREFIX tagger: 
PREFIX taggershapes: 
PREFIX teamwork: 
PREFIX teamworkconstraints: 
PREFIX tosh: 
PREFIX ui: 
PREFIX xml: 
PREFIX xsd: 

SELECT ?predicate ?predicateLabel ?object WHERE {
?subject ?predicate ?object.
BIND 
(swa:propertyLabelAtClassOrShapeInGraph(?predicate, 
tagger:currentContentRootClass(), ?labelGraph) AS ?predicateLabel) .
}

or even this cut down version: 

SELECT ?predicateLabel  WHERE {
?subject ?predicate ?object.
BIND ( tagger:currentContentRootClass() AS 
?predicateLabel) .
}

has no results, but doesnt fail..

What is this expecting to find that it cannot?



-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/2ea51bc2-2d6b-401b-91e4-7244eedb3a40n%40googlegroups.com.