Avoid tripping over JSONLD serialisations co-existing with TTL

25 views
Skip to first unread message

robatki...@gmail.com

unread,
Mar 18, 2021, 12:44:26 AM3/18/21
to TopBraid Suite Users

Hi

I want to work in an existing repository where there are large numbers of TTL files, but also there are JSONLD serialisations of these also present.

TBC complains "The base URI X  from X.jsonld is already used in file X.ttl , so use of this base URI may cause difficulties. Please change one or other. (TBC case)"

Also, there is a case where the JSONLD is experimental, and may or may not be broken (I want to explore different JSON-LD serialisation patterns) - and I dont want TBC to pay attention to these.

Another related case is where I have many XSD files and want to generate OWL or SHACL views of these schemas.

In all cases I want to tell TBC to only look at .ttl sources. 

Is there some tweak or trick I can use to configure this?  

Holger Knublauch

unread,
Mar 18, 2021, 12:56:02 AM3/18/21
to topbrai...@googlegroups.com

I cannot think of a solution for that. There is no way to deactivate certain file types.

Holger

--
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 topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/fa1c73e5-d72d-4773-b90d-c0a5b737deb0n%40googlegroups.com.

Rob Atkinson

unread,
Mar 18, 2021, 1:36:34 AM3/18/21
to topbrai...@googlegroups.com
is this an eclipse thing?  

is there perhaps some blacklist strategy possible  like .gitignore 



robatki...@gmail.com

unread,
Mar 18, 2021, 1:42:24 AM3/18/21
to TopBraid Suite Users


OK did a little experiment - it is possible to set a resource filter on the project..

<filteredResources>
        <filter>
            <id>1616045897719</id>
            <name></name>
            <type>5</type>
            <matcher>
                <id>org.eclipse.ui.ide.multiFilter</id>
                <arguments>1.0-name-matches-false-false-*.ttl*</arguments>
            </matcher>
        </filter>
    </filteredResources>

TBC then opens it OK and shows only .ttl*  files.  

I havent yet explored what this means when deploying the project to an EDG server - any ideas? 

Holger Knublauch

unread,
Mar 18, 2021, 1:48:45 AM3/18/21
to topbrai...@googlegroups.com

You cannot rely on Eclipse for this moving forward. EDG (server-side) will already use a different workspace implementation that goes against the file system directly.

Holger

Rob Atkinson

unread,
Mar 18, 2021, 1:58:06 AM3/18/21
to topbrai...@googlegroups.com
OK - thanks for the warning.  You might want to consider the issue of deploying a project with resources that you dont want to introspect over automatically then :-)

Pat Doyle

unread,
Mar 18, 2021, 7:48:43 AM3/18/21
to TopBraid Suite Users
We have a yarn script in our UI extension example project that prepares it for EDG server upload, excluding all of the unnecessary config files and node modules and such. 

        "zip": "(cd ../; zip sample-app.zip -r sample-app -x \"*README*\" -x \"*assets*\" -x \"*.yarnrc\" -x \"*yarn.lock*\" -x \"*babel.config.js*\" -x \"*package.json*\" -x \"*.eslintrc.js\"  -x \"*.prettierrc\" -x \"*webpack.*.js*\" -x \"*webpackConfig.js*\"  -x\"*.keep*\" -x \"*node_modules*\" -x \"*.DS_Store\"  -x \"*.gitignore\" -x\"*.git*\" )"

You could use a similar process to filter out the .jsonld ones.

Reply all
Reply to author
Forward
0 new messages