Skip to content

Commit

Permalink
Ajout de pages wiki et png pour MCD
Browse files Browse the repository at this point in the history
  • Loading branch information
atterebf committed Oct 29, 2024
1 parent 01e6559 commit e48539d
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 28 deletions.
13 changes: 8 additions & 5 deletions MCD_to_database_example.drawio
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<mxfile host="65bd71144e">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="1251" dy="492" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1654" pageHeight="1169" math="0" shadow="0">
<mxGraphModel dx="1222" dy="675" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1654" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0"/>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0"/>
Expand Down Expand Up @@ -446,16 +446,19 @@
</mxGeometry>
</mxCell>
<mxCell id="Bw8D9-mf-STMI-rw64IU-128" value="Organisation" style="swimlane;fontStyle=2;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1280" y="260" width="110" height="120" as="geometry">
<mxGeometry x="1280" y="270" width="110" height="120" as="geometry">
<mxRectangle x="230" y="140" width="160" height="26" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="Bw8D9-mf-STMI-rw64IU-129" value="name" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="Bw8D9-mf-STMI-rw64IU-128" vertex="1">
<mxGeometry y="40" width="110" height="26" as="geometry"/>
</mxCell>
<mxCell id="Bw8D9-mf-STMI-rw64IU-134" value="definition" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="Bw8D9-mf-STMI-rw64IU-128" vertex="1">
<mxCell id="38" value="name" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="Bw8D9-mf-STMI-rw64IU-128">
<mxGeometry y="66" width="110" height="26" as="geometry"/>
</mxCell>
<mxCell id="Bw8D9-mf-STMI-rw64IU-134" value="definition" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="Bw8D9-mf-STMI-rw64IU-128" vertex="1">
<mxGeometry y="92" width="110" height="26" as="geometry"/>
</mxCell>
<mxCell id="Bw8D9-mf-STMI-rw64IU-135" value="takes place with" style="endArrow=classic;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="Bw8D9-mf-STMI-rw64IU-77" target="Bw8D9-mf-STMI-rw64IU-128" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1210" y="569" as="sourcePoint"/>
Expand All @@ -472,13 +475,13 @@
<mxPoint x="-24.97" y="19.98" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="Bw8D9-mf-STMI-rw64IU-139" value="" style="endArrow=classic;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" edge="1" source="Bw8D9-mf-STMI-rw64IU-70">
<mxCell id="Bw8D9-mf-STMI-rw64IU-139" value="" style="endArrow=classic;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="Bw8D9-mf-STMI-rw64IU-70" edge="1" target="Bw8D9-mf-STMI-rw64IU-129">
<mxGeometry relative="1" as="geometry">
<mxPoint x="930.8800000000001" y="741.1759999999999" as="sourcePoint"/>
<mxPoint x="1380" y="310" as="targetPoint"/>
<Array as="points">
<mxPoint x="1590" y="744"/>
<mxPoint x="1590" y="310"/>
<mxPoint x="1590" y="320"/>
</Array>
</mxGeometry>
</mxCell>
Expand Down
Binary file added MCD_to_database_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 21 additions & 23 deletions wiki_documentation/idRef/proprietes_population.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,36 +27,34 @@ Noter que le résultat (10 juillet 2024) se trouve [dans ce fichier](./propriete
ORDER BY DESC(?eff)


### Références bibliographiques


PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX wd: <http://www.wikidata.org/entity/>

SELECT ?s ?p ?o
# SELECT ?p (count(*) as ?eff)
WHERE {
{ SELECT DISTINCT ?uri
WHERE {
GRAPH <http://localhost.org/personal_db/wikidata> {
?si owl:sameAs ?uri.
FILTER( CONTAINS(STR(?uri), 'idref.fr'))
SELECT ?s ?p ?o
SELECT ?p (count(*) as ?eff)
WHERE {
{ SELECT DISTINCT ?uri
WHERE {
GRAPH <http://localhost.org/personal_db/wikidata> {
?si owl:sameAs ?uri.
FILTER( CONTAINS(STR(?uri), 'idref.fr'))
}
}
}

LIMIT 300
}
SERVICE <https://data.idref.fr/sparql> {
?s <http://id.loc.gov/vocabulary/relators/aut> ?uri;
a <http://purl.org/ontology/bibo/Book>;
<http://purl.org/dc/terms/bibliographicCitation> ?o. }
}
#GROUP BY ?p
ORDER BY ?s

LIMIT 300
}
SERVICE <https://data.idref.fr/sparql> {
?s <http://id.loc.gov/vocabulary/relators/aut> ?uri;
a <http://purl.org/ontology/bibo/Book>;
<http://purl.org/dc/terms/bibliographicCitation> ?o. }
}
#GROUP BY ?p
ORDER BY ?s



### Auteurs

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
Expand Down
12 changes: 12 additions & 0 deletions wiki_documentation/ontology_fuseki/ontologie_gestion.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@



PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

INSERT DATA {
GRAPH <http://localhost.org/personal_db/ontology> {

<https://ontome.net/class/21> rdfs:label 'Person'@en
}
}

0 comments on commit e48539d

Please sign in to comment.