Function jsonSchema2Select
jsonSchema2Select( rootSchema: JSONSchema7, typeIRI?: string, excludeProperties?: string[], includedProperties?: string[], sparqlSelectOptions?: SPARQLSelectOptions, countResults?: boolean, flavour?: SPARQLFlavour, minimal?: boolean,): string Parameters
- rootSchema: JSONSchema7
OptionaltypeIRI: stringOptionalexcludeProperties: string[]OptionalincludedProperties: string[]OptionalsparqlSelectOptions: SPARQLSelectOptionsOptionalcountResults: booleanOptionalflavour: SPARQLFlavourOptionalminimal: boolean
Returns string
creates the WHERE clause of a SPARQL SELECT query from a JSON Schema
it will create a query that will return all the properties of instances of the given type
primitive properties will be returned as is for sub-object properties will be build recursively lists will be counted: