Skip to main content

Interface: RdfDataProviderOptions

Options for RdfDataProvider.

See

RdfDataProvider

Properties

PropertyModifierTypeDescription

acceptBlankNodes?

readonly

boolean

Whether to support blank node terms when accessing the data.

Default

true

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

Default

"https://schema.org/thumbnailUrl"

labelPredicate?

readonly

null | string

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

Default

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