Hi,

Tags are workflows/working copies, so I guess you’re not using them.

Blank nodes are perfectly normal in the result of a query. You just don't put 
them into SPARQL when writing a new query. It’s only the data at the other end 
of something with a blank node subject that is of interest. Just leave the 
places with blank node values as ?<something> in a single larger query and move 
on to find the items of interest via their predicate (aka property 

e.g. so to find what was added by a change:

?change teamwork:added ?added .
?added teamwork:subject <http://example/ <http://example/>something>
?added teamwork:predicate skos:prefLabel 
?added teamwork:object “Antartica_Updated”.

Where ?added is a variable that just happens to result in a blank node if 
returned. Don’t return the blank node, just return the data of interest.

The above tells you that:

 <http://example/ <http://example/>something> skos:prefLabel 
“Antartica_Updated” .

was added to the graph. Delete works in a similar way.

FWIW the little SPARQL I sent you was just so you couild query the data and see 
what data exists and what properties they have and write the SPARQL you need, 
it was not in any way a solution to your problem as only you know your 
requirements.

Cheers,
David

> On 6 Sep 2021, at 14:20, [email protected] <[email protected]> 
> wrote:
> 
> The classes teamwork:Tag & teamwork:tag don't return any results. The class 
> teamwork:Change returns some results but getting the actual change details is 
> depending on those blank nodes (ex: <@8c7d6ecd-b8cf-44e6-9b4a-cfc3e60974d9>, 
> Please check the attached screenshot). Actually what I am trying to do is 
> that I updated a node/class(Antarctica) in the taxonomy(Geography Taxonomy) 
> and trying to get the change log for that.
> 
> SPARQLs:
> 1) SELECT *
> WHERE {
>     GRAPH <urn:x-evn-master:geo.tch>
>     {
>         ?tag a teamwork:Tag .
>         ?tag ?tagp ?tago .
>     }
> }
> 
> Output: No results
> 
> 2) SELECT *
> WHERE {
>     GRAPH <urn:x-evn-master:geo.tch>
>     {
>         ?tag a teamwork:Tag .
>         ?change teamwork:tag ?tag . 
>         ?change a  teamwork:Change .
>         ?change ?chgp ?chgo .
>     }
> }
> 
> Output: No results 
> 
> 3)SELECT *
> WHERE {
>     GRAPH <urn:x-evn-master:geo.tch>
>     {
>         ?change a  teamwork:Change .
>         ?change ?chgp ?chgo .
>     }
> }
> Output: Returns some results.
> 
> 
> Thanks,
> Sanjeev
> 
> 
> On Friday, September 3, 2021 at 8:37:50 PM UTC+5:30 David Price wrote:
> Sounds like those are blank nodes (i.e. anonymous).
> 
> Start with something more focused like
> 
> ?tag a teamwork:Tag .
> ?tag ?tagp ?tago .
> 
> and then
> 
> ?tag a teamwork:Tag .
> ?change teamwork:tag ?tag . 
> ?change a  teamwork:Change .
> ?change ?chgp ?chgo .
> 
> and see what’s related to the tag (i.e. workflow) and individual changes.
> 
> Cheers,
> David
> 
> 
>> On 3 Sep 2021, at 15:50, [email protected] <http://gmail.com/> 
>> <[email protected] 
>> <applewebdata://4E20FC3C-FD3C-44F9-BCB5-97EBDC81940F>> wrote:
>> 
> 
>> Thanks David for your response.
>> 
>> When I run the above SPARQL then I see some values under Subject/Object 
>> column as <@118b602b-d663-4152-ac2c-628d36c9e2d6>. What kind/type of values 
>> are those? Why am I asking is that when I use them in another SPARQL(as 
>> below) then no results are returned. May be I am referring/using to them in 
>> a wrong way. Could you please give an example on this?
>> 
>> SELECT *
>> WHERE {
>>     GRAPH <urn:x-evn-master:geo.tch>
>>     { 
>>     <@118b602b-d663-4152-ac2c-628d36c9e2d6> ?p ?o . 
>> }
>> }
>> 
>> Thanks,
>> Sanjeev
>> 
>> On Friday, September 3, 2021 at 5:04:37 PM UTC+5:30 David Price wrote:
>> The change history graph can be queried using SPARQL. The graph name is is 
>> the EDG identier for the graph plus .tch (e.g. 
>> urn:x-evn-master:my_schema.tch ).
>> 
>> SELECT *
>> WHERE {
>>     GRAPH <urn:x-evn-master: my_schema.tch >
>>   { ?s ?p ?o . }
>> }
>> 
>> will find everything and from their you can see the data available to query.
>> 
>> The key classes are teamwork:Tag and teamwork:Change and the link between 
>> them is ?change teamwork:tag ?tag . 
>> 
>> The link to actual changes made is via ?change teamwork:added ?added . and 
>> ?change teamwork:deleted ?deleted .
>> 
>> Make a SPARQL query to deliver whatever you need based on those, and then 
>> save your SPARQL query which will make a service available via an HTTP link.
>> 
>> Cheers,
>> David
>> 
>> 
>>> On 3 Sep 2021, at 10:46, [email protected] <http://gmail.com/> 
>>> <[email protected] <>> wrote:
>>> 
>> 
>>> Hi,
>>>    We are looking to generate reports on change history of a taxonomy from 
>>> TopBraid EDG. I see that there is a view(please check the attachment) in 
>>> EDG that shows change history of the taxonomy. Now my question is that is 
>>> there an out of box service to fetch those change history details or could 
>>> you please share the SPARQL/GraphQL that is used for the "Change History" 
>>> view in EDG UI? Could some one please help?
>>> 
>>> Thanks,
>>> Sanjeev
>>> 
>> 
>>> -- 
>>> 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] <>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/topbraid-users/08254afa-c076-468d-9cea-573eb5fad4d0n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/topbraid-users/08254afa-c076-468d-9cea-573eb5fad4d0n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>> <Change History.PNG>
>> 
>> UK +44 (0) 7788 561308 <tel:+44%207788%20561308>
>> US +1 (336) 283-0808 <tel:(336)%20283-0808>‬
>> 
>> 
>> -- 
>> 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] 
>> <applewebdata://4E20FC3C-FD3C-44F9-BCB5-97EBDC81940F>.
> 
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/topbraid-users/95f8cb26-b30a-40c3-9cdb-8d3c072eef0bn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/topbraid-users/95f8cb26-b30a-40c3-9cdb-8d3c072eef0bn%40googlegroups.com?utm_medium=email&utm_source=footer>.
> 
> 
> UK +44 (0) 7788 561308 <tel:+44%207788%20561308>
> US +1 (336) 283-0808 <tel:(336)%20283-0808>‬
> 
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/ee906ccf-356f-400c-9751-44727d31f738n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/ee906ccf-356f-400c-9751-44727d31f738n%40googlegroups.com?utm_medium=email&utm_source=footer>.
> <Geo_Antarctica.PNG>

UK +44 (0) 7788 561308
US +1 (336) 283-0808‬

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/3D3ABC90-E0B6-4245-BF95-C36E035EEBF6%40topquadrant.com.

Reply via email to