Retrouvez ci-dessous des exemples de requêtes SPARQL permettant d’explorer différents aspects des terminologies hébergées dans Loterre.
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
SELECT DISTINCT ?ConceptScheme ?title
WHERE { ?ConceptScheme a skos:ConceptScheme .
?ConceptScheme dc:title ?title .
FILTER ( ( isLiteral(?title)
&& REGEX(lang(?title), 'fr', 'i') ) ) }
ORDER BY ASC(?title)
LIMIT 200
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
SELECT DISTINCT ?ConceptScheme_1 ?title_21 ?title_40 ?description_59
WHERE { ?ConceptScheme_1 a skos:ConceptScheme .
?ConceptScheme_1 dc:title ?title_21 .
FILTER ( ( isLiteral(?title_21)
&& REGEX(lang(?title_21), "fr", 'i') ) )
OPTIONAL { ?ConceptScheme_1 dc:title ?title_40 .
FILTER ( ( isLiteral(?title_40)
&& REGEX(lang(?title_40), 'en', 'i') ) ) }
OPTIONAL { ?ConceptScheme_1 dc:description ?description_59 .
FILTER ( ( isLiteral(?description_59)
&& REGEX(lang(?description_59), 'fr', 'i') ) ) } }
ORDER BY ASC(?title_21)
LIMIT 200
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX n1: <http://data.loterre.fr/ark:/67375/>
SELECT DISTINCT ?Concept_80 ?definition_119 ?prefLabel_169
WHERE { ?Concept_80 a skos:Concept .
?Concept_80 skos:prefLabel ?prefLabel_169 .
FILTER ( ( isLiteral(?prefLabel_169)
&& REGEX(lang(?prefLabel_169), "fr", 'i') ) )
?Concept_80 skos:definition ?definition_119 .
?Concept_80 skos:inScheme n1:RDR . }
ORDER BY ASC(?prefLabel_169)
LIMIT 200
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX n1: <http://www.inist.fr/Ontology#>
SELECT DISTINCT ?Concept_1 ?prefLabel_20
WHERE { ?Concept_1 a skos:Concept .
?Concept_1 n1:semCategory "Etre vivant"@fr .
?Concept_1 skos:prefLabel ?prefLabel_20 .
FILTER ( ( isLiteral(?prefLabel_20)
&& REGEX(lang(?prefLabel_20), "fr", 'i') ) ) }
ORDER BY ASC(?prefLabel_20)
LIMIT 200
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT DISTINCT ?Concept_177 ?prefLabel_197 ?altLabel_216 ?inScheme_222
WHERE { ?Concept_177 a skos:Concept .
?Concept_177 skos:prefLabel ?prefLabel_197 .
FILTER ( ( isLiteral(?prefLabel_197)
&& REGEX(lang(?prefLabel_197), "en", 'i') ) )
?Concept_177 skos:altLabel ?altLabel_216 .
FILTER ( ( isLiteral(?altLabel_216)
&& REGEX(lang(?altLabel_216), "en", 'i') ) )
{ ?Concept_177 skos:inScheme ?inScheme_222 .
?inScheme_222 skos:prefLabel ?constr_label1 .
FILTER ( REGEX(str(?constr_label1), "P66", 'i') ) }
UNION { ?Concept_177 skos:inScheme ?inScheme_222 .
FILTER ( REGEX(str(?inScheme_222), "P66", 'i') ) } }
ORDER BY ASC(?prefLabel_197)
LIMIT 200