« Modèle:AppelsDB » : différence entre les versions
De Remix Biens Communs
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 73 : | Ligne 73 : | ||
{{#if: {{{EN|}}}| | {{#if: {{{EN|}}}| | ||
=EN= | =EN= | ||
<div class="row"> | |||
<div class="col-12"> | |||
{{#sparql: | {{#sparql: | ||
prefix dc-terms: <http://purl.org/dc/terms/> | prefix dc-terms: <http://purl.org/dc/terms/> | ||
Ligne 89 : | Ligne 90 : | ||
}} | }} | ||
<small>Source : [http://dbpedia.org/resource/{{{EN}}} http://dbpedia.org/resource/{{{EN}}}]</small> | <small>Source : [http://dbpedia.org/resource/{{{EN}}} http://dbpedia.org/resource/{{{EN}}}]</small> | ||
</div> | |||
</div> | |||
<div class="row"> | |||
<div class="col-4"> | |||
'''Categories (Wikipedia)''' | |||
<small> | |||
{{#sparql: | |||
prefix dct: <http://purl.org/dc/terms/> | |||
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |||
prefix skos: <http://www.w3.org/2004/02/skos/core#> | |||
prefix owl: <http://www.w3.org/2002/07/owl#> | |||
prefix dbp-owl: <http://dbpedia.org/ontology/> | |||
select ?Sujet ?sujet | |||
{<http://dbpedia.org/resource/{{{EN}}}> dct:subject ?sujet . | |||
?sujet skos:prefLabel ?Sujet . | |||
} | |||
LIMIT 120 | |||
| endpoint=http://dbpedia.org/sparql | |||
| templates=AdresseURL | |||
| footer=NO | |||
| debug=NO | |||
| headers= | |||
| cache=no | |||
}} | |||
</small> | |||
</div> | |||
<div class="col-8"> | |||
'''Associated terms (Wikipedia)''' | |||
<small> | |||
{{#sparql: | |||
prefix dc-terms: <http://purl.org/dc/terms/> | |||
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |||
prefix skos: <http://www.w3.org/2004/02/skos/core#> | |||
prefix owl: <http://www.w3.org/2002/07/owl#> | |||
prefix dbp-owl: <http://dbpedia.org/ontology/> | |||
SELECT ?lab ?ref | |||
{<http://dbpedia.org/resource/{{{EN}}}> dbpedia-owl:wikiPageWikiLink ?ref . | |||
?ref rdfs:label ?lab . | |||
FILTER(LANG(?lab) = "fr") | |||
} | |||
| endpoint=http://dbpedia.org/sparql | |||
| headers= Terme,Référence | |||
| classHeaders="table table-striped table-sm table-small" | |||
| footer=NO | |||
| limit=200 | |||
| cache=no | |||
}} | |||
</small> | |||
</div> | |||
</div> | |||
|}} | |}} | ||
Version du 24 novembre 2020 à 22:02