language en fr

Sparnatural Config - Datasources

Latest version:
http://data.sparna.fr/ontologies/sparnatural-config-datasources
Authors:
Thomas Francart, (Sparna)
Publisher:
Thomas Francart, (Sparna)
Download serialization:
JSON-LD RDF/XML N-Triples TTL
License:
https://github.com/sparna-git/Sparnatural/blob/master/LICENSE
Provenance of this page

Sparnatural configuration datasources ontology: Overview back to ToC

This ontology has the following classes and properties.

Classes

Object Properties

Data Properties

Annotation Properties

Named Individuals

Cross-reference for Sparnatural configuration datasources ontology classes, object properties and data properties back to ToC

This section provides details for each class and property defined by Sparnatural configuration datasources ontology.

Classes

Datasourcec back to ToC or Class ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#Datasource

A source of data to populate Sparnatural widgets (list, search fields, trees, etc.)
has sub-classes
SPARQL datasource c
is in range of
datasource

SPARQL datasourcec back to ToC or Class ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#SparqlDatasource

A source of data for a Sparnatural widget implemented as a SPARQL query.
has super-classes
Datasource c
has sub-classes
SPARQL list datasource c, SPARQL search datasource c, SPARQL tree datasource for children of a node c, SPARQL tree datasource for the roots of the tree c
is in domain of
SPARQL endpoint URL dp, force sort dp, label path, label property, no sort, query template op

SPARQL list datasourcec back to ToC or Class ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#SparqlListDatasource

A datasource to populate a list widget, implemented as a SPARQL query. The SPARQL query MUST return 2 variables : ?label and either ?uri or ?value (if returning a literal). It can return other variables as well. The following variables, if present in the SPARQL query, are automatically bound in the query : - $domain: bound to the URI of the subject class of the criteria - $property: bound to the URI or property path of the property of the criteria - $range: bound to the URI of the object class of the criteria - $lang: bound to the default language of Sparnatural - $type: bound to the typePredicate parameter of Sparnatural, rdf:type by default
has super-classes
SPARQL datasource c
has members
list dctermstitle alpha ni, list dctermstitle alpha with count ni, list dctermstitle count ni, list foafname alpha ni, list foafname alpha with count ni, list foafname count ni, list rdfslabel alpha ni, list rdfslabel alpha with count ni, list rdfslabel count ni, list schemaname alpha ni, list schemaname alpha with count ni, list schemaname count ni, list skospreflabel alpha ni, list skospreflabel alpha with count ni, list skospreflabel count ni, list u r i alpha ni, list u r i count ni, list u r i or literal alpha ni, list u r i or literal alpha with count ni, list u r i or literal count ni, literal list alpha ni, literal list alpha with count ni, literal list count ni

SPARQL search datasourcec back to ToC or Class ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#SparqlSearchDatasource

A datasource to populate an autocomplete search widget, implemented as a SPARQL query. The SPARQL query MUST return 2 variables : ?label and either ?uri or ?value (if returning a literal). It can return other variables as well; The following variables, if present in the SPARQL query, are automatically bound in the query : - $domain: bound to the URI of the subject class of the criteria - $property: bound to the URI or property path of the property of the criteria - $range: bound to the URI of the object class of the criteria - $lang: bound to the default language of Sparnatural - $key: the characters entered by the user in the search field - $type: bound to the typePredicate parameter of Sparnatural, rdf:type by default
has super-classes
SPARQL datasource c
has members
search dctermstitle bifcontains ni, search dctermstitle contains ni, search dctermstitle strstarts ni, search foafname bifcontains ni, search foafname contains ni, search foafname strstarts ni, search literal contains ni, search literal strstarts ni, search rdfslabel bifcontains ni, search rdfslabel contains ni, search rdfslabel strstarts ni, search schemaname bifcontains ni, search schemaname contains ni, search schemaname strstarts ni, search skospreflabel bifcontains ni, search skospreflabel contains ni, search skospreflabel strstarts ni, search u r i contains ni

SPARQL tree datasource for children of a nodec back to ToC or Class ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#SparqlTreeChildrenDatasource

A datasource to populate the children of a node of a tree widget, when unfolded, implemented as a SPARQL query. The query MUST return the following variables: - ?uri - ?label - ?hasChildren: a boolean indicating if the node has some children In addition the query CAN return the following variables: - ?count: the number of times this entity is used as the value of the criteria
has super-classes
SPARQL datasource c
has members
tree children skosnarrower ni, tree children skosnarrower with count ni

SPARQL tree datasource for the roots of the treec back to ToC or Class ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#SparqlTreeRootDatasource

A datasource to populate the root of a tree widget, implemented as a SPARQL query.
has super-classes
SPARQL datasource c
has members
tree root skostopconcept ni, tree root skostopconcept with count ni

Object Properties

query templateop back to ToC or Object Property ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#queryTemplate

The SPARQL query template to be used in a SPARQL datasource. The SPARQL template holds a SPARQL query string in which the placeholders $domain, $property, $range will be replaced by their corresponding values before executing the query. For autocomplete field, the additionnal placeholders $key and $lang will also be replaced by their corresponding values before executing the query The placeholder $labelPath will be replaced by the value indicated in the SparqlDatasource in the labelPath (for a full SPARQL property path) or labelProperty (for a single property URI).
has domain
SPARQL datasource c
has range
s p a r q l query c

Data Properties

force sortdp back to ToC or Data Property ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#forceSort

Set to true to force a sort on a datasource
has domain
SPARQL datasource c
has range
boolean

query stringdp back to ToC or Data Property ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#queryString

The query string of a SPARQLQuery, or directly on a SPARQLDatasource
has domain
s p a r q l query c or SPARQL datasource c
has range
string

SPARQL endpoint URLdp back to ToC or Data Property ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#sparqlEndpointUrl

A SPARQL endpoint URL to which the query should be sent.
has domain
SPARQL datasource c
has range
any u r i

Annotation Properties

children pathap back to ToC or Annotation Property ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#childrenPath

The SPARQL property path where the children of resources can be read. This must be a valid SPARQL property path without any prefix, e.g. <http://schema.org> (including brackets).

children propertyap back to ToC or Annotation Property ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#childrenProperty

The URI of a property where the children of resources can be read. This should point to a URI.

datasourceap back to ToC or Annotation Property ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#datasource

The datasource from which a property with value selection should fetch its data.
has sub-properties
tree children datasource ap, tree roots datasource ap
has range
Datasource c

label pathap back to ToC or Annotation Property ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#labelPath

The SPARQL property path where the label of resources can be read. This must be a valid SPARQL property path without any prefix, e.g. <http://schema.org> (including brackets).
has domain
SPARQL datasource c
has range
string

label propertyap back to ToC or Annotation Property ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#labelProperty

The URI of a property where the label of resources can be read. This should point to a URI.
has domain
SPARQL datasource c

no sortap back to ToC or Annotation Property ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#noSort

Set this to true to disable client-side javascript sorting for a datasource. If set to true, the order of elements will be the one returned by the SPARQL query.
has domain
SPARQL datasource c
has range
boolean

tree children datasourceap back to ToC or Annotation Property ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#treeChildrenDatasource

A reference to the datasource with which a tree widget will populate the children of a node in the tree.
has super-properties
datasource ap

tree roots datasourceap back to ToC or Annotation Property ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#treeRootsDatasource

A reference to the datasource with which a tree widget will populate its root (first-level) nodes.
has super-properties
datasource ap

Named Individuals

list dctermstitle alphani back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_dctermstitle_alpha

A datasource that returns a list of entities with their dcterms:title ordered alphabetically based on this property.
belongs to
SPARQL list datasource c
has facts
query template op query list label alpha

list dctermstitle alpha with countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_dctermstitle_alpha_with_count

A datasource that returns a list of entities with their dcterms:title and the number of occurrences of the entity in parenthesis, ordered alphabetically based on this property.
belongs to
SPARQL list datasource c
has facts
query template op query list label alpha with count

list dctermstitle countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_dctermstitle_count

A datasource that returns a list of entities with their dcterms:title ordered by the descending number of times the entity is used as a value.
belongs to
SPARQL list datasource c
has facts
query template op query list label count

list foafname alphani back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_foafname_alpha

A datasource that returns a list of entities with their foaf:name ordered alphabetically based on this property.
belongs to
SPARQL list datasource c
has facts
query template op query list label alpha

list foafname alpha with countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_foafname_alpha_with_count

A datasource that returns a list of entities with their foaf:name and the number of occurrences of the entity in parenthesis, ordered alphabetically based on this property.
belongs to
SPARQL list datasource c
has facts
query template op query list label alpha with count

list foafname countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_foafname_count

A datasource that returns a list of entities with their foaf:name ordered by the descending number of times the entity is used as a value.
belongs to
SPARQL list datasource c
has facts
query template op query list label count

list rdfslabel alphani back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_rdfslabel_alpha

A datasource that returns a list of entities with their rdfs:label ordered alphabetically based on this property.
belongs to
SPARQL list datasource c
has facts
query template op query list label alpha

list rdfslabel alpha with countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_rdfslabel_alpha_with_count

A datasource that returns a list of entities with their rdfs:label and the number of occurrences of the entity in parenthesis, ordered alphabetically based on this property.
belongs to
SPARQL list datasource c
has facts
query template op query list label alpha with count

list rdfslabel countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_rdfslabel_count

A datasource that returns a list of entities with their rdfs:label ordered by the descending number of times the entity is used as a value.
belongs to
SPARQL list datasource c
has facts
query template op query list label count

list schemaname alphani back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_schemaname_alpha

A datasource that returns a list of entities with their schema:name ordered alphabetically based on this property.
belongs to
SPARQL list datasource c
has facts
query template op query list label alpha

list schemaname alpha with countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_schemaname_alpha_with_count

A datasource that returns a list of entities with their schema:name and the number of occurrences of the entity in parenthesis, ordered alphabetically based on this property.
belongs to
SPARQL list datasource c
has facts
query template op query list label alpha with count

list schemaname countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_schemaname_count

A datasource that returns a list of entities with their schema:name ordered by the descending number of times the entity is used as a value.
belongs to
SPARQL list datasource c
has facts
query template op query list label count

list skospreflabel alphani back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_skospreflabel_alpha

A datasource that returns a list of entities with their skos:prefLabel ordered alphabetically based on this property.
belongs to
SPARQL list datasource c
has facts
query template op query list label alpha

list skospreflabel alpha with countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_skospreflabel_alpha_with_count

A datasource that returns a list of entities with their skos:prefLabel and the number of occurrences of the entity in parenthesis, ordered alphabetically based on this property.
belongs to
SPARQL list datasource c
has facts
query template op query list label alpha with count

list skospreflabel countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_skospreflabel_count

A datasource that returns a list of entities with their skos:prefLabel ordered by the descending number of times the entity is used as a value.
belongs to
SPARQL list datasource c
has facts
query template op query list label count

list u r i alphani back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_URI_alpha

A datasource that returns a list of entities with their URI as a label ordered alphabetically based on the URI string.
belongs to
SPARQL list datasource c
has facts
query template op query list u r i alpha

list u r i countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_URI_count

A datasource that returns a list of entities with their URI as a label ordered by the descending number of times the entity is used as a value. This is typically the default behavior for a list without a datasource specified.
belongs to
SPARQL list datasource c
has facts
query template op query list u r i count

list u r i or literal alphani back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_URI_or_literal_alpha

A datasource that returns a list of URI or Literals, ordered alphabetically based on their string representation. It can work indifferently with URIs or Literal values.
belongs to
SPARQL list datasource c
has facts
query template op query list u r i or literal alpha

list u r i or literal alpha with countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_URI_or_literal_alpha_with_count

A datasource that returns a list of URIs or Literals, ordered alphabetically based on their string representation, with their number of occurrences in parenthesis.
belongs to
SPARQL list datasource c
has facts
query template op query list u r i or literal alpha with count

list u r i or literal countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#list_URI_or_literal_count

A datasource that returns a list of URI or Literals, ordered on their descending number of occurrences. It can work indifferently with URIs or Literal values.
belongs to
SPARQL list datasource c
has facts
query template op query list u r i or literal count

literal list alphani back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#literal_list_alpha

A datasource that returns a list of literal ordered alphabetically.
belongs to
SPARQL list datasource c
has facts
query template op query literal list alpha

literal list alpha with countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#literal_list_alpha_with_count

A datasource that returns a list of literal with count in parenthesis, ordered alphabetically.
belongs to
SPARQL list datasource c
has facts
query template op query literal list alpha with count

literal list countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#literal_list_count

A datasource that returns a list of literal ordered by descending number of occurrences.
belongs to
SPARQL list datasource c
has facts
query template op query literal list count

query list label alphani back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_list_label_alpha

belongs to
s p a r q l query c
has facts
query string dp "SELECT DISTINCT ?uri ?label WHERE { ?domain $type $domain . ?domain $property ?uri . # Note how the range criteria is not used in this query ?uri $labelPath ?label . FILTER(isIRI(?uri)) FILTER(lang(?label) = "" || lang(?label) = $lang) } ORDER BY UCASE(?label) LIMIT 500"

query list label alpha with countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_list_label_alpha_with_count

belongs to
s p a r q l query c
has facts
query string dp "SELECT ?uri ?count (CONCAT(STR(?theLabel), ' (', STR(?count), ')') AS ?label) WHERE { { SELECT DISTINCT ?uri (COUNT(?domain) AS ?count) WHERE { ?domain $type $domain . ?domain $property ?uri . FILTER(isIRI(?uri)) # Note how the range criteria is not used in this query } GROUP BY ?uri } ?uri $labelPath ?theLabel . FILTER(lang(?theLabel) = "" || lang(?theLabel) = $lang) } ORDER BY UCASE(?label) LIMIT 500"

query list label countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_list_label_count

belongs to
s p a r q l query c
has facts
query string dp "SELECT ?uri ?count (CONCAT(STR(?theLabel), ' (', STR(?count), ')') AS ?label) WHERE { { SELECT DISTINCT ?uri (COUNT(?domain) AS ?count) WHERE { ?domain $type $domain . ?domain $property ?uri . FILTER(isIRI(?uri)) # Note how the range criteria is not used in this query } GROUP BY ?uri } ?uri $labelPath ?theLabel . FILTER(lang(?theLabel) = "" || lang(?theLabel) = $lang) } ORDER BY DESC(?count) UCASE(?label) LIMIT 500"

query list label with range alphani back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_list_label_with_range_alpha

belongs to
s p a r q l query c
has facts
query string dp "SELECT DISTINCT ?uri ?label WHERE { ?domain $type $domain . ?domain $property ?uri . # range criteria ?uri $type $range . ?uri $labelPath ?label . FILTER(isIRI(?uri)) FILTER(lang(?label) = "" || lang(?label) = $lang) } ORDER BY UCASE(?label) LIMIT 500"

query list label with range alpha with countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_list_label_with_range_alpha_with_count

belongs to
s p a r q l query c
has facts
query string dp "SELECT ?uri ?count (CONCAT(STR(?theLabel), ' (', STR(?count), ')') AS ?label) WHERE { { SELECT DISTINCT ?uri (COUNT(?domain) AS ?count) WHERE { ?domain $type $domain . ?domain $property ?uri . FILTER(isIRI(?uri)) # range criteria ?uri $type $range . } GROUP BY ?uri } ?uri $labelPath ?theLabel . FILTER(lang(?theLabel) = "" || lang(?theLabel) = $lang) } ORDER BY UCASE(?label) LIMIT 500"

query list label with range countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_list_label_with_range_count

belongs to
s p a r q l query c
has facts
query string dp "SELECT ?uri ?count (CONCAT(STR(?theLabel), ' (', STR(?count), ')') AS ?label) WHERE { { SELECT DISTINCT ?uri (COUNT(?domain) AS ?count) WHERE { ?domain $type $domain . ?domain $property ?uri . FILTER(isIRI(?uri)) # range criteria ?uri $type $range . } GROUP BY ?uri } ?uri $labelPath ?theLabel . FILTER(lang(?theLabel) = "" || lang(?theLabel) = $lang) } ORDER BY DESC(?count) UCASE(?label) LIMIT 500"

query list u r i alphani back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_list_URI_alpha

belongs to
s p a r q l query c
has facts
query string dp "SELECT DISTINCT ?uri (STR(?uri) AS ?label) WHERE { ?domain $type $domain . ?domain $property ?uri . FILTER(isIRI(?uri)) # Note how the range criteria is not used in this query } ORDER BY UCASE(?label) LIMIT 500"

query list u r i countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_list_URI_count

belongs to
s p a r q l query c
has facts
query string dp "SELECT ?uri ?count (CONCAT(STR(?uri), ' (', STR(?count), ')') AS ?label) WHERE { { SELECT DISTINCT ?uri (COUNT(?domain) AS ?count) WHERE { ?domain $type $domain . ?domain $property ?uri . FILTER(isIRI(?uri)) # Note how the range criteria is not used in this query } GROUP BY ?uri } } ORDER BY DESC(?count) UCASE(?label) LIMIT 500"

query list u r i or literal alphani back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_list_URI_or_literal_alpha

belongs to
s p a r q l query c
has facts
query string dp "SELECT DISTINCT ?value (CONCAT(IF(isLiteral(?value) && LANG(?value) != '' && LANG(?value) != $lang,CONCAT(STR(?value), " <sup>(",LANG(?value),")</sup>"),STR(?value)), ' (', STR(?count), ')') AS ?label) WHERE { ?domain $type $domain . { { ?domain $property ?value . FILTER(isIRI(?value)) } UNION { ?domain $property ?anything . OPTIONAL { ?domain $property ?valueLang . FILTER(isLiteral(?valueLang) && (lang(?valueLang) = "" || lang(?valueLang) = $lang)) } OPTIONAL { ?domain $property ?valueDefaultLang . FILTER(isLiteral(?valueDefaultLang) && (lang(?valueDefaultLang) = $defaultLang)) } OPTIONAL { ?domain $property ?valueNoLang . FILTER(isLiteral(?valueNoLang) && (lang(?valueNoLang) = "")) } BIND(COALESCE(?valueLang, ?valueDefaultLang, ?valueNoLang) AS ?value) } } # Note how the range criteria is not used in this query } ORDER BY UCASE(?label) LIMIT 500"

query list u r i or literal alpha with countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_list_URI_or_literal_alpha_with_count

belongs to
s p a r q l query c
has facts
query string dp "SELECT DISTINCT ?value ?count (CONCAT(IF(isLiteral(?value) && LANG(?value) != '' && LANG(?value) != $lang,CONCAT(STR(?value), " <sup>(",LANG(?value),")</sup>"),STR(?value)), ' (', STR(?count), ')') AS ?label) WHERE { { SELECT DISTINCT ?value (COUNT(DISTINCT ?domain) AS ?count) WHERE { ?domain $type $domain . { { ?domain $property ?value . FILTER(isIRI(?value)) } UNION { ?domain $property ?anything . OPTIONAL { ?domain $property ?valueLang . FILTER(isLiteral(?valueLang) && (lang(?valueLang) = "" || lang(?valueLang) = $lang)) } OPTIONAL { ?domain $property ?valueDefaultLang . FILTER(isLiteral(?valueDefaultLang) && (lang(?valueDefaultLang) = $defaultLang)) } OPTIONAL { ?domain $property ?valueNoLang . FILTER(isLiteral(?valueNoLang) && (lang(?valueNoLang) = "")) } BIND(COALESCE(?valueLang, ?valueDefaultLang, ?valueNoLang) AS ?value) } } } GROUP BY ?value } } ORDER BY UCASE(?label) LIMIT 500"

query list u r i or literal countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_list_URI_or_literal_count

belongs to
s p a r q l query c
has facts
query string dp "SELECT ?value ?count (CONCAT(IF(isLiteral(?value) && LANG(?value) != '' && LANG(?value) != $lang,CONCAT(STR(?value), " <sup>(",LANG(?value),")</sup>"),STR(?value)), ' (', STR(?count), ')') AS ?label) WHERE { { SELECT DISTINCT ?value (COUNT(DISTINCT ?domain) AS ?count) WHERE { ?domain $type $domain . { { ?domain $property ?value . FILTER(isIRI(?value)) } UNION { ?domain $property ?anything . OPTIONAL { ?domain $property ?valueLang . FILTER(isLiteral(?valueLang) && (lang(?valueLang) = "" || lang(?valueLang) = $lang)) } OPTIONAL { ?domain $property ?valueDefaultLang . FILTER(isLiteral(?valueDefaultLang) && (lang(?valueDefaultLang) = $defaultLang)) } OPTIONAL { ?domain $property ?valueNoLang . FILTER(isLiteral(?valueNoLang) && (lang(?valueNoLang) = "")) } BIND(COALESCE(?valueLang, ?valueDefaultLang, ?valueNoLang) AS ?value) } } } GROUP BY ?value } } ORDER BY DESC(?count) UCASE(?label) LIMIT 500"

query literal list alphani back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_literal_list_alpha

belongs to
s p a r q l query c
has facts
query string dp "SELECT DISTINCT ?value (STR(?value) AS ?label) WHERE { ?domain $type $domain . ?domain $property ?value . } ORDER BY UCASE(?label) LIMIT 500"

query literal list alpha with countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_literal_list_alpha_with_count

belongs to
s p a r q l query c
has facts
query string dp "SELECT DISTINCT ?count (CONCAT(STR(?theLabel), ' (', STR(?count), ')') AS ?label) WHERE { { SELECT DISTINCT ?theLabel (COUNT(?theLabel) AS ?count) WHERE { ?domain $type $domain . ?domain $property ?theLabel . FILTER(lang(?theLabel) = "" || lang(?theLabel) = $lang) } GROUP BY ?theLabel } } ORDER BY UCASE(?label) LIMIT 500"

query literal list countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_literal_list_count

belongs to
s p a r q l query c
has facts
query string dp "SELECT DISTINCT ?count (CONCAT(STR(?theLabel), ' (', STR(?count), ')') AS ?label) WHERE { { SELECT DISTINCT ?theLabel (COUNT(?theLabel) AS ?count) WHERE { ?domain $type $domain . ?domain $property ?theLabel . FILTER(lang(?theLabel) = "" || lang(?theLabel) = $lang) } GROUP BY ?theLabel } } ORDER BY DESC(?count) UCASE(?label) LIMIT 500"

query search label bifcontainsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_search_label_bifcontains

belongs to
s p a r q l query c
has facts
query string dp "PREFIX bif: <http://www.openlinksw.com/schemas/bif#> SELECT DISTINCT ?uri ?label WHERE { ?domain $type $domain . ?domain $property ?uri . ?uri $type $range . ?uri $labelPath ?label . FILTER(isIRI(?uri)) FILTER(lang(?label) = '' || lang(?label) = $lang ) # Note the single quote to handle space character ?label bif:contains "'$key'" . } ORDER BY UCASE(?label) LIMIT 10"

query search label containsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_search_label_contains

belongs to
s p a r q l query c
has facts
query string dp "SELECT DISTINCT ?uri ?label WHERE { ?domain $type $domain . ?domain $property ?uri . ?uri $type $range . ?uri $labelPath ?label . FILTER(isIRI(?uri)) FILTER(lang(?label) = '' || lang(?label) = $lang) FILTER(CONTAINS(LCASE(STR(?label)), LCASE("$key"))) } ORDER BY UCASE(?label) LIMIT 10"

query search label strstartsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_search_label_strstarts

belongs to
s p a r q l query c
has facts
query string dp "SELECT DISTINCT ?uri ?label WHERE { ?domain $type $domain . ?domain $property ?uri . ?uri $type $range . ?uri $labelPath ?label . FILTER(isIRI(?uri)) FILTER(lang(?label) = '' || lang(?label) = $lang) FILTER(STRSTARTS(LCASE(STR(?label)), LCASE("$key"))) } ORDER BY UCASE(?label) LIMIT 10"

query search literal containsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_search_literal_contains

belongs to
s p a r q l query c
has facts
query string dp "SELECT DISTINCT ?value ?label WHERE { ?domain $type $domain . ?domain $property ?value . FILTER(isLiteral(?value)) BIND(STR(?value) AS ?label) FILTER(CONTAINS(LCASE(STR(?value)), LCASE("$key"))) } ORDER BY UCASE(?label) LIMIT 10"

query search literal strstartsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_search_literal_strstarts

belongs to
s p a r q l query c
has facts
query string dp "SELECT DISTINCT ?value ?label WHERE { ?domain $type $domain . ?domain $property ?value . FILTER(isLiteral(?value)) BIND(STR(?value) AS ?label) FILTER(STRSTARTS(LCASE(STR(?value)), LCASE("$key"))) } ORDER BY UCASE(?label) LIMIT 10"

query search u r i containsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_search_URI_contains

belongs to
s p a r q l query c
has facts
query string dp "SELECT DISTINCT ?uri ?label WHERE { ?domain $type $domain . ?domain $property ?uri . ?uri $type $range . FILTER(isIRI(?uri)) BIND(STR(?uri) AS ?label) FILTER(CONTAINS(LCASE(?label), LCASE("$key"))) } ORDER BY UCASE(?label) LIMIT 10"

query tree childrenni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_tree_children

belongs to
s p a r q l query c
has facts
query string dp "# Selects the children of a node SELECT DISTINCT ?uri ?label ?hasChildren WHERE { $node $childrenPath ?uri . ?uri $labelPath ?label . FILTER(isIRI(?uri)) FILTER(lang(?label) = '' || lang(?label) = $lang) OPTIONAL { ?uri $childrenPath ?children . } BIND(IF(bound(?children),true,false) AS ?hasChildren) } ORDER BY UCASE(?label)"

query tree children with countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_tree_children_with_count

belongs to
s p a r q l query c
has facts
query string dp "SELECT ?uri (CONCAT(STR(?theLabel), ' (', STR(?count), ')') AS ?label) ?hasChildren (COUNT(?x) AS ?count) WHERE { { SELECT DISTINCT ?uri ?theLabel ?hasChildren WHERE { $node $childrenPath ?uri . ?uri $labelPath ?theLabel . FILTER(isIRI(?uri)) FILTER(lang(?theLabel) = '' || lang(?theLabel) = $lang) OPTIONAL { ?uri $childrenPath ?children . } BIND(IF(bound(?children),true,false) AS ?hasChildren) } } OPTIONAL { ?x $type $domain . ?x $property ?uri . # no range criteria # ?uri $type $range . } } GROUP BY ?uri ?theLabel ?hasChildren ORDER BY UCASE(?label)"

query tree root noparentni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_tree_root_noparent

belongs to
s p a r q l query c
has facts
query string dp "SELECT ?uri ?label ?hasChildren WHERE { ?uri $type $range . FILTER NOT EXISTS { ?parent $childrenPath ?uri . } ?uri $labelPath ?label . FILTER(isIRI(?uri)) FILTER(lang(?label) = '' || lang(?label) = $lang) OPTIONAL { ?uri $childrenPath ?children . } BIND(IF(bound(?children),true,false) AS ?hasChildren) } ORDER BY UCASE(?label)"

query tree root noparent with countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#query_tree_root_noparent_with_count

belongs to
s p a r q l query c
has facts
query string dp "SELECT ?uri (CONCAT(STR(?theLabel), ' (', STR(?count), ')') AS ?label) ?hasChildren (COUNT(?x) AS ?count) WHERE { { SELECT ?uri ?theLabel ?hasChildren WHERE { ?uri $type $range . FILTER NOT EXISTS { ?parent $childrenPath ?uri . } ?uri $labelPath ?theLabel . FILTER(isIRI(?uri)) FILTER(lang(?theLabel) = '' || lang(?theLabel) = $lang) OPTIONAL { ?uri $childrenPath ?children . } BIND(IF(bound(?children),true,false) AS ?hasChildren) } } OPTIONAL { ?x $type $domain . ?x $property ?uri . } } GROUP BY ?uri ?theLabel ?hasChildren ORDER BY UCASE(?label)"

search dctermstitle bifcontainsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#search_dctermstitle_bifcontains

Searches for entities by looking up the provided $key inside their dcterms:title using the bif:contains Virtuoso function.
belongs to
SPARQL search datasource c
has facts
query template op query search label bifcontains

search dctermstitle containsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#search_dctermstitle_contains

Searches for entities by looking up the provided $key inside their dcterms:title using the CONTAINS SPARQL function.
belongs to
SPARQL search datasource c
has facts
query template op query search label contains

search dctermstitle strstartsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#search_dctermstitle_strstarts

Searches for entities by looking up the provided $key at the beginning of their dcterms;title using the STRSTARTS SPARQL function.
belongs to
SPARQL search datasource c
has facts
query template op query search label strstarts

search foafname bifcontainsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#search_foafname_bifcontains

Searches for entities by looking up the provided $key inside their foaf:name using the bif:contains Virtuoso function.
belongs to
SPARQL search datasource c
has facts
query template op query search label bifcontains

search foafname containsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#search_foafname_contains

Searches for entities by looking up the provided $key inside their foaf:name using the CONTAINS SPARQL function.
belongs to
SPARQL search datasource c
has facts
query template op query search label contains

search foafname strstartsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#search_foafname_strstarts

Searches for entities by looking up the provided $key at the beginning of their foaf:name using the STRSTARTS SPARQL function.
belongs to
SPARQL search datasource c
has facts
query template op query search label strstarts

search literal containsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#search_literal_contains

belongs to
SPARQL search datasource c
has facts
query template op query search literal contains

search literal strstartsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#search_literal_strstarts

belongs to
SPARQL search datasource c
has facts
query template op query search literal strstarts

search rdfslabel bifcontainsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#search_rdfslabel_bifcontains

Searches for entities by looking up the provided $key inside their rdfs:label using the bif:contains Virtuoso function.
belongs to
SPARQL search datasource c
has facts
query template op query search label bifcontains

search rdfslabel containsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#search_rdfslabel_contains

Searches for entities by looking up the provided $key inside their rdfs:label using the CONTAINS SPARQL function.
belongs to
SPARQL search datasource c
has facts
query template op query search label contains

search rdfslabel strstartsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#search_rdfslabel_strstarts

Searches for entities by looking up the provided $key at the beginning of their rdfs:label using the STRSTARTS SPARQL function.
belongs to
SPARQL search datasource c
has facts
query template op query search label strstarts

search schemaname bifcontainsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#search_schemaname_bifcontains

Searches for entities by looking up the provided $key inside their schema:name using the bif:contains Virtuoso function.
belongs to
SPARQL search datasource c
has facts
query template op query search label bifcontains

search schemaname containsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#search_schemaname_contains

Searches for entities by looking up the provided $key inside their schema:name using the CONTAINS SPARQL function.
belongs to
SPARQL search datasource c
has facts
query template op query search label contains

search schemaname strstartsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#search_schemaname_strstarts

Searches for entities by looking up the provided $key at the beginning of their schema:name using the STRSTARTS SPARQL function.
belongs to
SPARQL search datasource c
has facts
query template op query search label strstarts

search skospreflabel bifcontainsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#search_skospreflabel_bifcontains

Searches for entities by looking up the provided $key inside their skos:prefLabel using the bif:contains Virtuoso function.
belongs to
SPARQL search datasource c
has facts
query template op query search label bifcontains

search skospreflabel containsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#search_skospreflabel_contains

Searches for entities by looking up the provided $key inside their skos:prefLabel using the CONTAINS SPARQL function.
belongs to
SPARQL search datasource c
has facts
query template op query search label contains

search skospreflabel strstartsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#search_skospreflabel_strstarts

Searches for entities by looking up the provided $key at the beginning of their skos:prefLabel using the STRSTARTS SPARQL function.
belongs to
SPARQL search datasource c
has facts
query template op query search label strstarts

search u r i containsni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#search_URI_contains

Searches for entities by looking up the provided $key in their URI string using the CONTAINS SPARQL function.
belongs to
SPARQL search datasource c
has facts
query template op query search u r i contains

tree children skosnarrowerni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#tree_children_skosnarrower

belongs to
SPARQL tree datasource for children of a node c
has facts
query template op query tree children

tree children skosnarrower with countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#tree_children_skosnarrower_with_count

belongs to
SPARQL tree datasource for children of a node c
has facts
query template op query tree children with count

tree root skostopconceptni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#tree_root_skostopconcept

belongs to
SPARQL tree datasource for the roots of the tree c
has facts
query string dp "PREFIX skos: <http://www.w3.org/2004/02/skos/core#> SELECT DISTINCT ?uri ?label ?hasChildren WHERE { $range skos:hasTopConcept|^skos:topConceptOf ?uri . ?uri skos:prefLabel ?label . FILTER(isIRI(?uri)) FILTER(lang(?label) = '' || lang(?label) = $lang) OPTIONAL { ?uri skos:narrower|^skos:broader ?children . } BIND(IF(bound(?children),true,false) AS ?hasChildren) } ORDER BY UCASE(?label)"

tree root skostopconcept with countni back to ToC or Named Individual ToC

IRI: http://data.sparna.fr/ontologies/sparnatural-config-datasources#tree_root_skostopconcept_with_count

belongs to
SPARQL tree datasource for the roots of the tree c
has facts
query string dp "PREFIX skos: <http://www.w3.org/2004/02/skos/core#> SELECT ?uri (CONCAT(STR(?theLabel), ' (', STR(?count), ')') AS ?label) ?hasChildren (COUNT(?x) AS ?count) WHERE { { SELECT DISTINCT ?uri ?theLabel ?hasChildren WHERE { $range skos:hasTopConcept|^skos:topConceptOf ?uri . ?uri skos:prefLabel ?theLabel . FILTER(isIRI(?uri)) FILTER(lang(?theLabel) = '' || lang(?theLabel) = $lang) OPTIONAL { ?uri skos:narrower|^skos:broader ?children . } BIND(IF(bound(?children),true,false) AS ?hasChildren) } } OPTIONAL { ?x $type $domain . ?x $property ?uri . # no range criteria # ?uri $type $range . } } GROUP BY ?uri ?theLabel ?hasChildren ORDER BY UCASE(?label)"

Legend back to ToC

c: Classes
op: Object Properties
dp: Data Properties
ni: Named Individuals

Acknowledgments back to ToC

The authors would like to thank Silvio Peroni for developing LODE, a Live OWL Documentation Environment, which is used for representing the Cross Referencing Section of this document and Daniel Garijo for developing Widoco, the program used to create the template used in this documentation.