language en fr

Sparnatural Config - Datasources

Derniè re version:
http://data.sparna.fr/ontologies/sparnatural-config-datasources
Auteurs:
Thomas Francart, (Sparna)
Editeur:
Thomas Francart, (Sparna)
Télécharger sérialisation:
JSON-LD RDF/XML N-Triples TTL
Licence:
https://github.com/sparna-git/Sparnatural/blob/master/LICENSE
Provenance de cette page

Sparnatural configuration datasources ontology: Aperçu retour au sommaire

Cette ontologie a les classes et propriétés suivantes.

Classes

Object Properties

Data Properties

Annotation Properties

Individus nommés

Réference croisée pour Sparnatural configuration datasources ontology classes, propriétés et data-propriétés retour au sommaire

Cette section donne les détails de chaque classe et propriété définie par Sparnatural configuration datasources ontology.

Classes

Datasourcec Retour à Table des matières ou Retour vers les classes

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

A source of data to populate Sparnatural widgets (list, search fields, trees, etc.)
a pour sous-classes
SPARQL datasource c
a pour cible
datasource

SPARQL datasourcec Retour à Table des matières ou Retour vers les classes

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

A source of data for a Sparnatural widget implemented as a SPARQL query.
a pour super-classes
Datasource c
a pour sous-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
a pour domaine
SPARQL endpoint URL dp, force sort dp, label path, label property, no sort, query template op

SPARQL list datasourcec Retour à Table des matières ou Retour vers les classes

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
a pour super-classes
SPARQL datasource c
a pour membres
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 Retour à Table des matières ou Retour vers les classes

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
a pour super-classes
SPARQL datasource c
a pour membres
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 Retour à Table des matières ou Retour vers les classes

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
a pour super-classes
SPARQL datasource c
a pour membres
tree children skosnarrower ni, tree children skosnarrower with count ni

SPARQL tree datasource for the roots of the treec Retour à Table des matières ou Retour vers les classes

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.
a pour super-classes
SPARQL datasource c
a pour membres
tree root skostopconcept ni, tree root skostopconcept with count ni

Propriétés d'objet

query templateop Retour à Table des matières ou Retour vers les propriétés d'objet

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).
a pour domaine
SPARQL datasource c
a pour cible
s p a r q l query c

Propriétés de donnée

force sortdp Retour à Table des matières ou Retour vers les propriétés de données

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

Set to true to force a sort on a datasource
a pour domaine
SPARQL datasource c
a pour cible
boolean

query stringdp Retour à Table des matières ou Retour vers les propriétés de données

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

The query string of a SPARQLQuery, or directly on a SPARQLDatasource
a pour domaine
s p a r q l query c or SPARQL datasource c
a pour cible
string

SPARQL endpoint URLdp Retour à Table des matières ou Retour vers les propriétés de données

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

A SPARQL endpoint URL to which the query should be sent.
a pour domaine
SPARQL datasource c
a pour cible
any u r i

Annotation de propriétés

children pathap Retour à Table des matières ou Retour vers les annotations de propriétés

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 Retour à Table des matières ou Retour vers les annotations de propriétés

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 Retour à Table des matières ou Retour vers les annotations de propriétés

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

The datasource from which a property with value selection should fetch its data.
a pour sous-propriétés
tree children datasource ap, tree roots datasource ap
a pour cible
Datasource c

label pathap Retour à Table des matières ou Retour vers les annotations de propriétés

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).
a pour domaine
SPARQL datasource c
a pour cible
string

label propertyap Retour à Table des matières ou Retour vers les annotations de propriétés

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.
a pour domaine
SPARQL datasource c

no sortap Retour à Table des matières ou Retour vers les annotations de propriétés

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.
a pour domaine
SPARQL datasource c
a pour cible
boolean

tree children datasourceap Retour à Table des matières ou Retour vers les annotations de propriétés

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.
a pour super-propriétés
datasource ap

tree roots datasourceap Retour à Table des matières ou Retour vers les annotations de propriétés

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.
a pour super-propriétés
datasource ap

Individus nommés

list dctermstitle alphani Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list label alpha

list dctermstitle alpha with countni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list label alpha with count

list dctermstitle countni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list label count

list foafname alphani Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list label alpha

list foafname alpha with countni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list label alpha with count

list foafname countni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list label count

list rdfslabel alphani Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list label alpha

list rdfslabel alpha with countni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list label alpha with count

list rdfslabel countni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list label count

list schemaname alphani Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list label alpha

list schemaname alpha with countni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list label alpha with count

list schemaname countni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list label count

list skospreflabel alphani Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list label alpha

list skospreflabel alpha with countni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list label alpha with count

list skospreflabel countni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list label count

list u r i alphani Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list u r i alpha

list u r i countni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list u r i count

list u r i or literal alphani Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list u r i or literal alpha

list u r i or literal alpha with countni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list u r i or literal alpha with count

list u r i or literal countni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query list u r i or literal count

literal list alphani Retour à Table des matières ou Retour vers l'individu nommé

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

A datasource that returns a list of literal ordered alphabetically.
appartient à
SPARQL list datasource c
a pour assertions
query template op query literal list alpha

literal list alpha with countni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query literal list alpha with count

literal list countni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL list datasource c
a pour assertions
query template op query literal list count

query list label alphani Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
s p a r q l query c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL search datasource c
a pour assertions
query template op query search label bifcontains

search dctermstitle containsni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL search datasource c
a pour assertions
query template op query search label contains

search dctermstitle strstartsni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL search datasource c
a pour assertions
query template op query search label strstarts

search foafname bifcontainsni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL search datasource c
a pour assertions
query template op query search label bifcontains

search foafname containsni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL search datasource c
a pour assertions
query template op query search label contains

search foafname strstartsni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL search datasource c
a pour assertions
query template op query search label strstarts

search literal containsni Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
SPARQL search datasource c
a pour assertions
query template op query search literal contains

search literal strstartsni Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
SPARQL search datasource c
a pour assertions
query template op query search literal strstarts

search rdfslabel bifcontainsni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL search datasource c
a pour assertions
query template op query search label bifcontains

search rdfslabel containsni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL search datasource c
a pour assertions
query template op query search label contains

search rdfslabel strstartsni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL search datasource c
a pour assertions
query template op query search label strstarts

search schemaname bifcontainsni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL search datasource c
a pour assertions
query template op query search label bifcontains

search schemaname containsni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL search datasource c
a pour assertions
query template op query search label contains

search schemaname strstartsni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL search datasource c
a pour assertions
query template op query search label strstarts

search skospreflabel bifcontainsni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL search datasource c
a pour assertions
query template op query search label bifcontains

search skospreflabel containsni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL search datasource c
a pour assertions
query template op query search label contains

search skospreflabel strstartsni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL search datasource c
a pour assertions
query template op query search label strstarts

search u r i containsni Retour à Table des matières ou Retour vers l'individu nommé

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.
appartient à
SPARQL search datasource c
a pour assertions
query template op query search u r i contains

tree children skosnarrowerni Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
SPARQL tree datasource for children of a node c
a pour assertions
query template op query tree children

tree children skosnarrower with countni Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
SPARQL tree datasource for children of a node c
a pour assertions
query template op query tree children with count

tree root skostopconceptni Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
SPARQL tree datasource for the roots of the tree c
a pour assertions
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 Retour à Table des matières ou Retour vers l'individu nommé

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

appartient à
SPARQL tree datasource for the roots of the tree c
a pour assertions
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)"

Légende Retour ToC

c: Classes
op: Object Properties
dp: Data Properties
ni: Individus nommés

Remerciements retour au sommaire

Les auteurs voudraient remercier Silvio Peroni pour le développement de LODE, a Live OWL Documentation Environment, qui est utilisé pour représenter les sections de Référencement croisé dans ce document, et Daniel Garijo pour le développement de Widoco, le programme utilisé pour créer le template de cette documentation.