> On 7 Jul 2022, at 3:31 pm, Tim Smith <[email protected]> wrote:
> 
> A few weeks ago, as I shared here, I exported all graphs and imported them 
> into a fresh EDG Studio install to fix a Lucene indexing issue.  This caused 
> every prefix in EDG to be assigned to every graph.  (Thanks jena!)  (EDG 7.2, 
> I know this has been addressed in 7.3)
> 
> I am still trying to recover from this disaster.  I have been slowly going 
> through each graph, changing the prefixes to the the correct set. 

I assume this was done through the Settings > Namespaces and Prefixes feature 
(which is the right place)?

> I have also ensured the EDG-wide defaults are correct.
> 
> However, even when creating a new Data Graph, importing an N-Triples file  
> (no prefixes!), ensuring that only the correct prefixes are in Settings, I am 
> still seeing the incorrect prefixes on forms, in the source code panel, in 
> the SPARQL panel, etc...
> 
> Looking at the Source Code and SPARQL panels and expanding the prefix twisty, 
> I see the 200+ prefixes listed.  How do I force the prefixes listed there to 
> reflect the EDG and graph defaults?  Are the prefixes used by these panels 
> stored somewhere?

I have just created an empty DataGraph and it produces and shows only those 
prefixes:

PREFIX dash: <http://datashapes.org/dash#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX edg: <http://edg.topbraid.solutions/model/>
PREFIX graphql: <http://datashapes.org/graphql#>
PREFIX metadata: <http://topbraid.org/metadata#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX sh: <http://www.w3.org/ns/shacl#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX skosxl: <http://www.w3.org/2008/05/skos-xl#>
PREFIX teamwork: <http://topbraid.org/teamwork#>
PREFIX test_data_graph: <http://example.org/data-graphs/Test_Data_Graph#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

Could it be that your data graph owl:imports a file or Ontology that defines 
all the other prefixes? The various panels will use the union of all prefixes 
from all subgraphs. Also, do the prefixes already exist before you import the 
N-Triples file?

> 
> Thanks in advance for your help.  This is getting super annoying.  I'm 
> getting questions from others as to why there are "crazy" prefixes showing up.

I can sympathise with your frustration, mate.

Holger


> 
> Tim
> 
> -- 
> 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/1266198e-bf8d-4343-aa2b-cd1925839952n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/1266198e-bf8d-4343-aa2b-cd1925839952n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/61153BC5-FA81-4846-8A81-8AE52C2B3AE3%40topquadrant.com.

Reply via email to