Catmandu::Fix::rdf_ldf_statements(3pm)

Catmandu::Fix::rdf_ldf_statements3pm

Lookup an object into a ldf endpoint

Usage

    # 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

Overview

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.

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

Releases

4 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10–11
  2. 12–13

From libcatmandu-rdf-perl 0.32-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.