Skip to content

LODStats extracts wrong namespace for <http://dbpedia.org/resource/Torgny_T:son_Segerstedt> #17

@larsgsvensson

Description

@larsgsvensson

When lodstats/util/namespace.py extracts the namespace from http://dbpedia.org/resource/Torgny_T:son_Segerstedt, the result is http://dbpedia.org/resource/Torgny_T and not http://dbpedia.org/resource/.
If I change the line

for sep in ['#', ':', '/']:

to

for sep in ['#', '/', ':']:

it extracts the namespace correctly (but possibly creates a problem with other namespaces...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions