Skip to content

document location used in ttl #3

@xiaofengleo

Description

@xiaofengleo

The triple with local absolute path (see code below) was generated by graph.parse() method without specifying the parameter 'publicID'

graph.parse(data=ld_string, format='json-ld')

publicID: the logical URI to use as the document base. If None specified the document location is used (at least in the case where there is a document location).

<file:///C:/Users/z370170/Projects/TWOC/TWOCdemonstrator/tools/Su_2020_prepare_ISA_metadata/#process/37a3b51a-62cd-4daa-8aa7-248477ac7018> a <http://schema.orgAction/> ;
    ns1:schema.orgagent ""^^<http://schema.orgPerson/.> ;
    ns1:schema.orgname ""^^<http://schema.orgText/.> ;
    ns1:schema.orgnextItem <file:///C:/Users/z370170/Projects/TWOC/TWOCdemonstrator/tools/Su_2020_prepare_ISA_metadata/#process/3410ef87-e818-45c9-8aa1-916eac6a72c3> ;
    ns1:schema.orgusesDevice <file:///C:/Users/z370170/Projects/TWOC/TWOCdemonstrator/tools/Su_2020_prepare_ISA_metadata/#protocol/2d2b1d0e-cc99-4203-bb01-75c8300cb9f9> ;
    ns1:schema.orgvalue [ ],

See https://rdflib.readthedocs.io/en/stable/apidocs/rdflib.html#rdflib.graph.Graph.parse for more detail of the parse() method.

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