« Modèle:AppelsDB » : différence entre les versions

De Remix Biens Communs
Aller à :navigation, rechercher
Aucun résumé des modifications
Aucun résumé des modifications
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 41 : Ligne 41 :
| debug=NO
| debug=NO
| headers=
| headers=
| cache=no
| cache=yes
}}
}}
</small>
</small>
Ligne 65 : Ligne 65 :
| footer=NO
| footer=NO
| limit=200
| limit=200
| cache=no
| cache=yes
}}
}}
</small>
</small>
Ligne 144 : Ligne 144 :


{{#if: {{{ES|}}}|
{{#if: {{{ES|}}}|
=ES=  
=ES=  
<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 159 : Ligne 162 :
}}
}}
<small>Source : [http://es.dbpedia.org/resource/{{{ES}}} http://es.dbpedia.org/resource/{{{ES}}}]</small>
<small>Source : [http://es.dbpedia.org/resource/{{{ES}}} http://es.dbpedia.org/resource/{{{ES}}}]</small>
</div>
</div>
<div class="row">
<div class="col-4">
'''Categorias (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://es.dbpedia.org/resource/{{{ES}}}>  dct:subject ?sujet .
?sujet skos:prefLabel ?Sujet .
}
LIMIT 120
| endpoint=http://es.dbpedia.org/sparql
| templates=AdresseURL
| footer=NO
| debug=NO
| headers=
| cache=no
}}
</small>
</div>
<div class="col-8">
'''External links (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 ?ref
{<http://es.dbpedia.org/resource/{{{ES}}}>  dbo:wikiPageExternalLink ?ref .
}
| endpoint=http://es.dbpedia.org/sparql
| headers= Enlaces
| classHeaders="table table-striped table-sm table-small"
| footer=NO
| limit=200
| cache=no
}}
</small>
</div>
</div>
|}}
|}}
<headertabs/>
<headertabs/>

Version du 24 novembre 2020 à 23:17