Hi Davide,

I checked the source code and this component uses the auto-complete index to 
load the values. That index requires that all resources have an rdfs:label (or 
skos:prefLabel etc) and *the label needs to be in the same graph as the 
rdf:type triple*.

So could you please confirm that it works when you have something like

foo:Value1
    a ex:Target ;
    rdfs:label "Value 1" ;
.

in the imported graph.

Holger


> On 20 Oct 2023, at 9:59 pm, Davide Sottara <[email protected]> wrote:
> 
> Hi
> I have a system with 3 graphs - Schema, Values and Catalog
> 
> Schema is an Ontology that defines a NodeShape/Class "MyClass" with a 
> PropertyShape "prop", which targets a NodeShape/Class "Target", also defined 
> in Schema.
> 
> ex:MyClass-prop
>   a sh:PropertyShape ;
>   sh:path ex:prop ;
>   dash:editor dash:InstancesSelectEditor ;
>   dash:viewer dash:DetailsViewer ;
>   sh:class ex:Target;
> .
> 
> Values is Data Graph that contains a few instances of "Target"
> 
> foo:Value1
>   a ex:Target ;
> .
> foo:Value2
>   a ex:Target ;
> .
> 
> and Catalog is a Data Graph that contains the instances of MyClass.
> I need to assert, e.g.: 
> 
> my:Test001
>   a ex:MyClass ;
>   prop foo:Value1
> .
> 
> In the Edit UI for MyClass, the Instance Selector 
> <https://datashapes.org/forms.html#InstancesSelectEditor> does not seem to 
> recognize the "Value" individuals coming from the included graph.
> If I move them into the Catalog graph, instead, the selector works.
> 
> For maintainability purposes, I would prefer to keep the Values in a 
> dedicated graph.
> Topologically:
> Values imports Schema
> Catalog imports Values
> Catalog imports Schema
> 
> Am I missing something?
> 
> Thank you in advance
> Davide
> 
> Note: I do not currently have access to "Reference Dataset" assets
> 
> 
> -- 
> The topics of this mailing list include TopBraid EDG and related technologies 
> such as SHACL.
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/a6971d4d-374e-42fa-8e41-051148b6202en%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/a6971d4d-374e-42fa-8e41-051148b6202en%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
The topics of this mailing list include TopBraid EDG and related technologies 
such as SHACL.
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/2B81CCAA-4169-4659-AFA5-C6FF05118275%40topquadrant.com.

Reply via email to