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

De Gregorius 3.0
Sauter à la navigation Sauter à la recherche
 
(9 versions intermédiaires par 4 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:
+
{{#sparql:PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?title WHERE {
+
PREFIX dcterms: <http://purl.org/dc/terms/>
    BIND ("http://data.bnf.fr/ark:/12148/cb12215406c" as ?pope) .
+
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
    BIND(URI(?pope) as ?popeIRI) .
+
PREFIX rdarelationships: <http://rdvocab.info/RDARelationshipsWEMI/>
BIND(URI(CONCAT(?pope, "#foaf:Person")) as ?popePersonIRI) .
+
 
?documentExpressionIRI <http://purl.org/dc/terms/contributor> ?popePersonIRI .
+
SELECT DISTINCT
BIND(URI(STRBEFORE(STR(?documentExpressionIRI), "#")) as ?documentIRI) .
+
  (CONCAT("<a href='",?urlPDF,"'><img style='max-width:50px' src=",?url,"/></a>") as ?vignette)
?documentIRI <http://purl.org/dc/terms/title> ?title
+
  ?date
} LIMIT 10
+
  (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
 
}}
 
}}
  
Ligne 66 : Ligne 80 :
 
{{#sparql:
 
{{#sparql:
  
select ?documentIRI ?title ?date ?place
+
PREFIX marcrel: <http://id.loc.gov/vocabulary/relators/>
where {
+
PREFIX owl: <http://www.w3.org/2002/07/owl#>
    BIND ("http://data.bnf.fr/ark:/12148/cb12215406c" as ?pope) .
+
PREFIX rdarelationships: <http://rdvocab.info/RDARelationshipsWEMI/>
    BIND(URI(?pope) as ?popeIRI) .
+
PREFIX dcterms: <http://purl.org/dc/terms/>  
    BIND(URI(CONCAT(?pope, "#foaf:Person")) as ?popePersonIRI) .
+
PREFIX dc: <http://purl.org/dc/elements/1.1/>  
    ?documentExpressionIRI <http://purl.org/dc/terms/contributor> ?popePersonIRI .
+
select * where {
    BIND(URI(STRBEFORE(STR(?documentExpressionIRI), "#")) as ?documentIRI) .
+
  ?expr dcterms:contributor <http://data.bnf.fr/ark:/12148/cb12215406c#foaf:Person>.
    ?documentIRI <http://purl.org/dc/terms/title> ?title .
+
  ?edition rdarelationships:expressionManifested ?expr.
    ?documentIRI <http://rdvocab.info/Elements/placeOfPublication> ?place .
+
  ?edition dcterms:title ?titre.  
    ?documentIRI <http://purl.org/dc/terms/date> ?date .
+
OPTIONAL {
  } LIMIT 10
+
  ?edition dcterms:description ?desc.  
 +
  ?edition dcterms:date ?date.  
 +
  ?edition dcterms:publisher ?editeur.}
 +
} LIMIT 10
  
| headers = IRI, Titre, Date, Lieu
+
| headers = expr, edition, titre, desc, date, editeur
 
| templates = link, image, Liste_des_papes_avec_SPARQL/age
 
| templates = link, image, Liste_des_papes_avec_SPARQL/age
| endpoint = http://data.bnf.fr/sparql
+
| 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