Différences entre versions de « Discussion:Pie VII »

De Gregorius 3.0
Sauter à la navigation Sauter à la recherche
(Page créée avec « == Propriétés dans cette page == {{#sparql:PREFIX xsd:<http://www.w3.org/2001/XMLSchema#> PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf:<http://ww... »)
 
 
(12 versions intermédiaires par 5 utilisateurs non affichées)
Ligne 18 : Ligne 18 :
 
   select ?x ?y where {  
 
   select ?x ?y where {  
  
       <PAGEIRI> <http://gregorius.fr/wiki/Property:WikidataID> ?iriWikidata .  
+
       <PAGEIRI> <http://gregorius.dsi.universite-paris-saclay.fr/wiki/Property:WikidataID> ?iriWikidata .  
  
 
SERVICE <https://query.wikidata.org/sparql>               
 
SERVICE <https://query.wikidata.org/sparql>               
Ligne 52 : Ligne 52 :
  
 
== Ouvrages BNF associés ==
 
== Ouvrages BNF associés ==
 +
{{#sparql:PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
 +
PREFIX dcterms: <http://purl.org/dc/terms/>
 +
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
 +
PREFIX rdarelationships: <http://rdvocab.info/RDARelationshipsWEMI/>
 +
 +
SELECT DISTINCT
 +
  (CONCAT("<a href='",?urlPDF,"'><img style='max-width:50px' src=",?url,"/></a>") as ?vignette)
 +
  ?date
 +
  (CONCAT("<a href='",?urlPDF,"'>",?label,"</a><br/><small>En cliquant, je reconnais avoir pris connaissance des conditions d’utilisation de la BNF et je les accepte.</small>") as ?titre)
 +
WHERE {   
 +
  # "121308651" est le Bibliothèque nationale de France ID pour l'auteur Alfred Baudrillart
 +
  BIND(IRI(CONCAT("http://data.bnf.fr/ark:/12148/cb","121308651","#about")) as ?idNotice)
 +
  ?edition dcterms:creator ?idNotice .
 +
  ?edition rdfs:label ?label .
 +
  ?edition foaf:depiction  ?url .
 +
  ?edition dcterms:date ?date.
 +
  BIND(IRI(REPLACE(STR(?url),".thumbnail", ".pdf?download=1&pdfdownload__accept-box=on")) as ?urlPDF)
 +
}
 +
ORDER BY  ?date
 +
| endpoint = https://data.bnf.fr/sparql
 +
| chart=bordercloud.visualization.DataTable
 +
| options=
 +
| log=2
 +
}}
 +
 +
== Test ==
 
{{#sparql:
 
{{#sparql:
PREFIX xsd:<http://www.w3.org/2001/XMLSchema#> 
 
PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#> 
 
PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#> 
 
PREFIX owl:<http://www.w3.org/2002/07/owl#> 
 
  
SELECT ?title WHERE {
+
PREFIX marcrel: <http://id.loc.gov/vocabulary/relators/>
    BIND ("http://data.bnf.fr/ark:/12148/cb12215406c" as ?pope) .
+
PREFIX owl: <http://www.w3.org/2002/07/owl#>
    BIND(URI(?pope) as ?popeIRI) .
+
PREFIX rdarelationships: <http://rdvocab.info/RDARelationshipsWEMI/>
BIND(URI(CONCAT(?pope, "#foaf:Person")) as ?popePersonIRI) .
+
PREFIX dcterms: <http://purl.org/dc/terms/>
?documentExpressionIRI <http://purl.org/dc/terms/contributor> ?popePersonIRI .
+
PREFIX dc: <http://purl.org/dc/elements/1.1/>
BIND(URI(STRBEFORE(STR(?documentExpressionIRI), "#")) as ?documentIRI) .
+
select * where {  
?documentIRI dcterms:title ?title
+
  ?expr dcterms:contributor <http://data.bnf.fr/ark:/12148/cb12215406c#foaf:Person>.  
} LIMIT 10
+
  ?edition rdarelationships:expressionManifested ?expr.  
}}
+
  ?edition dcterms:title ?titre.  
 +
OPTIONAL {
 +
  ?edition dcterms:description ?desc.  
 +
  ?edition dcterms:date ?date.  
 +
  ?edition dcterms:publisher ?editeur.}
 +
} LIMIT 10
 +
 
 +
| headers = expr, edition, titre, desc, date, editeur
 +
| templates = link, image, Liste_des_papes_avec_SPARQL/age
 +
| endpoint = https://data.bnf.fr/sparql
 +
| log = 2
 +
}}

Version actuelle datée du 29 octobre 2021 à 07:11

Propriétés dans cette page

Désolé, le serveur SPARQL a envoyé une erreur (voir les détails avec le paramètre log=2).

Propriétés pour le même objet dans Wikidata (exemple d'une requête fédérée à améliorer)

Désolé, le serveur SPARQL a envoyé une erreur (voir les détails avec le paramètre log=2).

Evénements sur la même période

Date Evénement Illustration
11:36:36 07/06/2025 -- Actualiser -- Durée de la requête :8.532s


Ouvrages BNF associés

Test

expr edition titre desc date editeur
11:36:36 07/06/2025 -- Actualiser -- Durée de la requête :0.037s