8000 use of spaces in local names results in invalid URIs · Issue #11 · tdwg/abcd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
use of spaces in local names results in invalid URIs #11
Open
@baskaufs

Description

@baskaufs

In the abcd_concepts.owl file, values for vann:termGroup have local names that contain spaces. For example, line 20 has:

<vann:termGroup rdf:resource="Specimen Unit"/>

When combined with the base namespace for the ontology (http://rs.tdwg.org/abcd/terms/), this forms a URI object for the triple with a space in it: http://rs.tdwg.org/abcd/terms/Specimen Unit. This can be seen when the OWL file is loaded into a triplestore and queried. Here's an example:

        <result>
            <binding name='term'>
                <uri>http://rs.tdwg.org/abcd/terms/Accession</uri>
            </binding>
            <binding name='group'>
                <uri>http://rs.tdwg.org/abcd/terms/Specimen Unit</uri>
            </binding>
        </result>

Sinc 549E e URIs with unescaped spaces are invalid, it would be safer to replace the local names having spaces with ones using CamelCase.

I didn't check for other places where this happens, so it might be in other places than the values of vann:termGroup. That's just where I noticed it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0