Skip to content

data-extend property filter #35

Description

@saumier

In the context of making a generic batch reconcile tool like the W3C Reconciliation Test Bench, when using the data-extend service, how can the returned data be filtered on the server side?

The user performing a batch reconcile should be able to use a web form to configure their data-extend service to show specific data, such as Wikidata URIs.

Use case: Wikidata sameAs

The user wishes to see Wikidata URIs. They are not interested in other sameAs URIs such as those from social media. In Artsdata the sameAs URIs are stored all together; there is no separate property for Wikidata URIs. The user wants to select the property schema:sameAs with a filter to obtain only Wikidata.org URIs.

Use Case: Address Region

The user wishes to see address regions of places. In Artsdata the schema:PostalAddress is nested in schema:Place. The user wants to select the property schema:address/schema:addressRegion to obtain only regions.

Implementation

Can this use a regex like ^http://www.wikidata.org or a wildcard like http://www.wikidata.org/* ?

For the address region, can the data-extend id be a path like schema:address/schema:addressRegion?

General question: how does the property id know which prefix to use? It looks like the current implementation assumes schema.org, but what if the property domain is a Wikidata property like country of citizenship (P27)?

Note: it looks like the Reconciliation spec wants the data extension property setting, like "content":"literal" to be nested inside settings : {}. Please confirm.

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