Skip to main content

Interface: RdfDataProviderOptions

Defined in: data/rdf/rdfDataProvider.ts:22

Options for RdfDataProvider.

See

RdfDataProvider

Properties

PropertyModifierTypeDescription

acceptBlankNodes?

readonly

boolean

Whether to support blank node terms when accessing the data.

Default

true

datatypePredicates?

readonly

readonly string[]

RDF graph predicates which should be treated as "datatype properties" for entities and relations.

Default

[]

elementSubtypePredicate?

readonly

null | string

Default

"http://www.w3.org/2000/01/rdf-schema#subClassOf"

elementTypeBaseTypes?

readonly

readonly string[]

Default:

[
"http://www.w3.org/2002/07/owl#Class",
"http://www.w3.org/2000/01/rdf-schema#Class"
]

factory?

readonly

DataFactory

RDF/JS-compatible term factory to create RDF terms.

imagePredicate?

readonly

null | string

RDF graph predicate for entity thumbnail IRIs.

Default

"https://schema.org/thumbnailUrl"

labelPredicate?

readonly

null | string

RDF graph predicate for entity, type and property labels.

Default

"http://www.w3.org/2000/01/rdf-schema#label"

linkTypeBaseTypes?

readonly

readonly string[]

Default:

[
"http://www.w3.org/2002/07/owl#ObjectProperty",
"http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
]

typePredicate?

readonly

string

RDF graph predicate to determine resource types.

Default

"http://www.w3.org/1999/02/22-rdf-syntax-ns#type"