%%sparql --display-properties #647
-
I am using %%sparql to show a business oriented graph display. The nodes and edges should use names and labels, not URI. (note the names are not unique). I have tried every variation of --display-property I can think of and nothing works. Please post an example of this feature. The construct portion of my query is as follows:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @CoryCasanave , thank you for reaching out! The effectiveness of the To demonstrate, let's use bindings returned by a construct query from the EPL-SPARQL sample notebook:
For vertexes representing an Example binding:
For By default, the visualizer will use the URI given by For example, with the above object URI: If you would like to set the For vertexes representing a
By default, the graph visualizer will always try to find and use the value of the
Then the visualizer will set the default displayed label as If you would like to set the subject vertex's displayed label to a different literal property's value, you will need to prepend the For example, with the following binding for literal property
The full predicate value is
Let me know if this helped, and of any additional questions! |
Beta Was this translation helpful? Give feedback.
Hi @CoryCasanave , thank you for reaching out!
The effectiveness of the
-d
/--display-property
and-de
/--edge-display-property
options for%%sparql
can vary, depending on how much information is returned for each individual element in the query results. In this respect, visualized vertexes created from thesubject
of a returned binding are typically more flexible thanobject
vertexes.To demonstrate, let's use bindings returned by a construct query from the EPL-SPARQL sample notebook: