logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Catmandu::Fix::rdf_ldf_statements - lookup an object into a LDF endpoint

Arguments

       subject
           Optional subject URI to be used in the LDF query

       predicate
           Optional predicate URI to be used in the LDF query

       url Required URL to the Linked Data Fragments endpoint

Description

       This Catmandu::Fix can be used to find at a Linked Data Fragments endpoint all subject URIs for which the
       object has a specific value found at a path. E.g.

          rdf_ldf_statements(name,url:"http://data.linkedatafragments.org/viaf")

        means, search at the endpoint http://data.linkedatafragments.org/viaf all the
        subjects for which the object is the value found in 'name', and replace the name value
        with all the found subjects.

Name

       Catmandu::Fix::rdf_ldf_statements - lookup an object into a LDF endpoint

See Also

       Catmandu::Fix

perl v5.36.0                                       2022-12-06             Catmandu::Fix::rdf_ldf_statements(3pm)

Synopsis

           # Replace a name with an array of matching VIAF records
           # name: "\"Einstein, Albert, 1879-1955\""
           rdf_ldf_statements(name,url:"http://data.linkedatafragments.org/viaf",predicate:"http://schema.org/alternateName")

           # name:
           #   - http://viaf.org/viaf/75121530

See Also