[topbraid-users] Formal definition of GraphQL mutations

2024-07-17 Thread Davide Sottara
Hi! I have been using the out of the box GraphQL mutations, "createX", "addToX", "updateX" where X is one of my class/shapes. I have been observing some behaviors that are not immediately evident from the documentation here: https://www.topquadrant.com/doc/7.8/graphql/mutations.html For example

Re: [topbraid-users] Materialized inferred values in GraphQL queries

2024-02-08 Thread Davide Sottara
se of the rules. > > What sort of inferences do you need to query? Maybe there is a way to > optimize those... > > Holger > > > On 6 Feb 2024, at 5:12 pm, Davide Sottara wrote: > > Hi Holger, Michael, > I have a related question. In the following query:

Re: [topbraid-users] Materialized inferred values in GraphQL queries

2024-02-06 Thread Davide Sottara
Hi Holger, Michael, I have a related question. In the following query: query myQuery($id : ID, $value: String) { myClass( uri: $id inferred: $value ) { label } } if "inferred" is a property with an inference rule, is it possible that the inference is executed for all i

Re: [topbraid-users] Does EDG support modeling Attributes of Properties?

2023-12-11 Thread Davide Sottara
he values of a focus node for a given property or path."@en ; > rdfs:subClassOf sh:Shape ; > rdfs:isDefinedBy sh: . > > > How does your definition of tosh:NodeShape-applicableToClass look like? > > Holger > > > On 11 Dec 2023, at 6:17 pm, Davide Sottara wrote: > > Fr

Re: [topbraid-users] Does EDG support modeling Attributes of Properties?

2023-12-11 Thread Davide Sottara
>From the "info": Constraint of type ClassConstraintComponent defined at shape tosh:NodeShape-applicableToClass Davide On Monday, December 11, 2023 at 11:03:06 AM UTC-6 Holger Knublauch wrote: > > On 11 Dec 2023, at 6:00 pm, Davide Sottara wrote: > > Hi Holger,

Re: [topbraid-users] Does EDG support modeling Attributes of Properties?

2023-12-11 Thread Davide Sottara
. Maybe try adding > dash:applicableToClass sh:PropertyShape or sh:targetClass? > > Holger > > > On 11 Dec 2023, at 4:24 pm, Davide Sottara wrote: > > I am trying to query the tosh: shapes via GraphQL. I have exposed them as > publicShapes, so that they show up in the GraphQL schema &g

Re: [topbraid-users] Does EDG support modeling Attributes of Properties?

2023-12-11 Thread Davide Sottara
I am trying to query the tosh: shapes via GraphQL. I have exposed them as publicShapes, so that they show up in the GraphQL schema rdfsowlclassViews { uri } works as expected objectPropertyShapeViews { uri } returns an empty collection Are there any constraints for the ObjectPropertyShapes to be

Re: [topbraid-users] GraphQL ...on SubClass/SubShape

2023-11-28 Thread Davide Sottara
} > }, > { > "uri": " > http://ontology.mayo.edu/data-graphs/HierarchicalDataGraphTest#c1";, > "asBBB": { > "propB": "valueBC" > } > } > ] > } > } > > N

Re: [topbraid-users] GraphQL ...on SubClass/SubShape

2023-11-28 Thread Davide Sottara
plete, self-contained > example. > > Thanks > Holger > > > On 22 Nov 2023, at 3:59 am, Davide Sottara wrote: > > Unfortunately I get an error > "Fragment cannot be spread here as objects of type (super) can never be of > type (sub) > > On Tuesday, November

Re: [topbraid-users] GraphQL ...on SubClass/SubShape

2023-11-21 Thread Davide Sottara
Unfortunately I get an error "Fragment cannot be spread here as objects of type (super) can never be of type (sub) On Tuesday, November 21, 2023 at 2:55:51 PM UTC-6 Holger Knublauch wrote: > Have you tried it out? What happened? > > Holger > > > On 21 Nov 2023, at 5:35 am

[topbraid-users] GraphQL ...on SubClass/SubShape

2023-11-20 Thread Davide Sottara
I have a class hierarchy, where the classes are also node shapes with property shapes class AA propA :String class BB subClassOf AA propB : String Is a query like the following supported? aaas { propA ... on bbb { propB } } Thank you -- The topics of this mailing list inc

Re: [topbraid-users] dash:InstancesSelectEditor with included graphs

2023-10-21 Thread Davide Sottara
hing 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 wrote: > > Hi > I have a system with 3 graphs - Schema, Values and Ca

[topbraid-users] dash:InstancesSelectEditor with included graphs

2023-10-20 Thread Davide Sottara
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 da