Initial commit - P2

This commit is contained in:
Brieuc Dubois 2024-04-24 10:41:54 +02:00
parent 57bfda3e26
commit 63d9f90374
16 changed files with 897 additions and 0 deletions

340
P2/.$conceptual.drawio.bkp Normal file
View File

@ -0,0 +1,340 @@
<mxfile host="Electron" modified="2024-03-13T13:41:21.299Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.0.4 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="ODnAkyNFg0FhVHKZ82He" version="24.0.4" type="device">
<diagram name="Page-1" id="t3Y7F7lDRprjm6TWXleS">
<mxGraphModel dx="1390" dy="2008" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="MWeAtnxEseZnLcxmsNt0-1" value="Artist" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="191" y="120" width="114" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-2" value="Piece" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="580" y="120" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-3" value="id" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="93" y="40" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-4" value="name" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="173" y="40" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-5" value="birth_date" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="249" y="40" width="64" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-6" value="birth_place" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="336" y="40" width="64" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-7" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-3" target="MWeAtnxEseZnLcxmsNt0-1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="287" y="460" as="sourcePoint" />
<mxPoint x="337" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-9" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-4" target="MWeAtnxEseZnLcxmsNt0-1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="287" y="460" as="sourcePoint" />
<mxPoint x="337" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-11" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-1" target="MWeAtnxEseZnLcxmsNt0-6">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="287" y="460" as="sourcePoint" />
<mxPoint x="337" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-12" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-1" target="MWeAtnxEseZnLcxmsNt0-5">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="287" y="460" as="sourcePoint" />
<mxPoint x="337" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-13" value="id" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="510" y="50" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-14" value="name" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="490" y="210" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-15" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-13" target="MWeAtnxEseZnLcxmsNt0-2">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="390" y="460" as="sourcePoint" />
<mxPoint x="440" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-16" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-14" target="MWeAtnxEseZnLcxmsNt0-2">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="390" y="460" as="sourcePoint" />
<mxPoint x="440" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-17" value="creation_place" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="710" y="60" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-18" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-2" target="MWeAtnxEseZnLcxmsNt0-17">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="650" y="150" as="sourcePoint" />
<mxPoint x="440" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-19" value="N" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-20" target="MWeAtnxEseZnLcxmsNt0-1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="390" y="430" as="sourcePoint" />
<mxPoint x="440" y="380" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-21" value="N" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-2" target="MWeAtnxEseZnLcxmsNt0-20">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="580" y="150" as="sourcePoint" />
<mxPoint x="305" y="150" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-20" value="author" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="380" y="120" width="110" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-24" value="Location" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="905" y="310" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-25" value="id" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="817" y="410" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-26" value="city" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="883" y="410" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-27" value="street_name" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="982" y="410" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-28" value="street_number" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="1072" y="410" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-29" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-24" target="MWeAtnxEseZnLcxmsNt0-28">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="811" y="260" as="sourcePoint" />
<mxPoint x="861" y="210" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-30" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-27" target="MWeAtnxEseZnLcxmsNt0-24">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="811" y="260" as="sourcePoint" />
<mxPoint x="861" y="210" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-31" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-26" target="MWeAtnxEseZnLcxmsNt0-24">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="811" y="260" as="sourcePoint" />
<mxPoint x="861" y="210" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-32" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-25" target="MWeAtnxEseZnLcxmsNt0-24">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="811" y="260" as="sourcePoint" />
<mxPoint x="861" y="210" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-33" value="Move" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="580" y="310" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-34" value="N" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-41" target="MWeAtnxEseZnLcxmsNt0-2">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="360" y="240" as="sourcePoint" />
<mxPoint x="410" y="190" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-35" value="N" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-24" target="MWeAtnxEseZnLcxmsNt0-39">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1097" y="240" as="sourcePoint" />
<mxPoint x="1097" y="340" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-39" value="location" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="740" y="310" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-40" value="1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-33" target="MWeAtnxEseZnLcxmsNt0-39">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="360" y="240" as="sourcePoint" />
<mxPoint x="410" y="190" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-42" value="1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-33" target="MWeAtnxEseZnLcxmsNt0-41">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="595" y="310" as="sourcePoint" />
<mxPoint x="631" y="180" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-41" value="piece" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="585" y="220" width="110" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-43" value="year" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="580" y="400" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-44" value="day" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="646" y="400" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-45" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-44" target="MWeAtnxEseZnLcxmsNt0-33">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="564" y="250" as="sourcePoint" />
<mxPoint x="703" y="360" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-46" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-43" target="MWeAtnxEseZnLcxmsNt0-33">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="564" y="250" as="sourcePoint" />
<mxPoint x="681" y="360" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-47" value="Collection" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="585" y="-130" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-48" value="piece" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="590" y="-10" width="110" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-49" value="N" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-48" target="MWeAtnxEseZnLcxmsNt0-47">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="810" y="150" as="sourcePoint" />
<mxPoint x="1070" y="270" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-50" value="1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-2" target="MWeAtnxEseZnLcxmsNt0-48">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1020" y="320" as="sourcePoint" />
<mxPoint x="1070" y="270" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-52" value="Museum" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="1133" y="-130" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-53" value="N" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-51" target="MWeAtnxEseZnLcxmsNt0-52">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1020" y="320" as="sourcePoint" />
<mxPoint x="1070" y="270" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-54" value="0-1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-47" target="MWeAtnxEseZnLcxmsNt0-51">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1025" y="150" as="sourcePoint" />
<mxPoint x="1241" y="150" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-51" value="museum" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="855" y="-130" width="110" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-56" value="location" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="1133" y="310" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-57" value="N" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-24" target="MWeAtnxEseZnLcxmsNt0-56">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="915" y="350" as="sourcePoint" />
<mxPoint x="870" y="350" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-58" value="1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-56" target="MWeAtnxEseZnLcxmsNt0-52">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="710" y="350" as="sourcePoint" />
<mxPoint x="750" y="350" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-59" value="Exhibition" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="905" y="120" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-61" value="location" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="905" y="210" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-62" value="1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-59" target="MWeAtnxEseZnLcxmsNt0-61">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1037" y="-3" as="sourcePoint" />
<mxPoint x="1235" y="130" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-63" value="1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-24" target="MWeAtnxEseZnLcxmsNt0-61">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1035" y="332" as="sourcePoint" />
<mxPoint x="1166" y="291" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-64" value="piece" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="745" y="120" width="110" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-65" value="1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-2" target="MWeAtnxEseZnLcxmsNt0-64">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="760" y="210" as="sourcePoint" />
<mxPoint x="810" y="160" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-66" value="N" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-64" target="MWeAtnxEseZnLcxmsNt0-59">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="760" y="210" as="sourcePoint" />
<mxPoint x="810" y="160" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-67" value="id" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="1090" y="-220" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-68" value="name" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="1156" y="-220" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-69" value="opening_hours" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="1216" y="-220" width="104" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-70" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-52" target="MWeAtnxEseZnLcxmsNt0-67">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="760" y="190" as="sourcePoint" />
<mxPoint x="810" y="140" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-71" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-52" target="MWeAtnxEseZnLcxmsNt0-68">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1180" y="-120" as="sourcePoint" />
<mxPoint x="1140" y="-173" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-72" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-52" target="MWeAtnxEseZnLcxmsNt0-69">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1200" y="-120" as="sourcePoint" />
<mxPoint x="1195" y="-170" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-75" value="id" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="590" y="-200" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-76" value="name" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="656" y="-200" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-77" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" target="MWeAtnxEseZnLcxmsNt0-75" source="MWeAtnxEseZnLcxmsNt0-47">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="670" y="-110" as="sourcePoint" />
<mxPoint x="310" y="160" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-78" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" target="MWeAtnxEseZnLcxmsNt0-76" source="MWeAtnxEseZnLcxmsNt0-47">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="690" y="-110" as="sourcePoint" />
<mxPoint x="640" y="-153" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-79" value="StorageSite" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="905" y="585" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-80" value="storage_site" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="905" y="470" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-81" value="0-1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-80" target="MWeAtnxEseZnLcxmsNt0-24">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="760" y="370" as="sourcePoint" />
<mxPoint x="810" y="320" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-82" value="1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-79" target="MWeAtnxEseZnLcxmsNt0-80">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="760" y="370" as="sourcePoint" />
<mxPoint x="965" y="510" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-83" value="size" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="938" y="690" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-85" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-83" target="MWeAtnxEseZnLcxmsNt0-79">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="760" y="550" as="sourcePoint" />
<mxPoint x="810" y="500" as="targetPoint" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

4
P2/.$conceptual.svg.bkp Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 95 KiB

340
P2/conceptual.drawio Normal file
View File

@ -0,0 +1,340 @@
<mxfile host="Electron" modified="2024-03-13T13:41:28.537Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.0.4 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="6Cy5f1P0jmiY5Qn9AK8Q" version="24.0.4" type="device">
<diagram name="Page-1" id="t3Y7F7lDRprjm6TWXleS">
<mxGraphModel dx="1635" dy="2156" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="MWeAtnxEseZnLcxmsNt0-1" value="Artist" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="191" y="120" width="114" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-2" value="Piece" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="580" y="120" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-3" value="id" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="93" y="40" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-4" value="name" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="173" y="40" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-5" value="birth_date" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="249" y="40" width="64" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-6" value="birth_place" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="336" y="40" width="64" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-7" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-3" target="MWeAtnxEseZnLcxmsNt0-1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="287" y="460" as="sourcePoint" />
<mxPoint x="337" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-9" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-4" target="MWeAtnxEseZnLcxmsNt0-1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="287" y="460" as="sourcePoint" />
<mxPoint x="337" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-11" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-1" target="MWeAtnxEseZnLcxmsNt0-6">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="287" y="460" as="sourcePoint" />
<mxPoint x="337" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-12" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-1" target="MWeAtnxEseZnLcxmsNt0-5">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="287" y="460" as="sourcePoint" />
<mxPoint x="337" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-13" value="id" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="510" y="50" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-14" value="name" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="490" y="210" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-15" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-13" target="MWeAtnxEseZnLcxmsNt0-2">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="390" y="460" as="sourcePoint" />
<mxPoint x="440" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-16" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-14" target="MWeAtnxEseZnLcxmsNt0-2">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="390" y="460" as="sourcePoint" />
<mxPoint x="440" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-17" value="creation_place" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="710" y="60" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-18" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-2" target="MWeAtnxEseZnLcxmsNt0-17">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="650" y="150" as="sourcePoint" />
<mxPoint x="440" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-19" value="N" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-20" target="MWeAtnxEseZnLcxmsNt0-1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="390" y="430" as="sourcePoint" />
<mxPoint x="440" y="380" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-21" value="N" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-2" target="MWeAtnxEseZnLcxmsNt0-20">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="580" y="150" as="sourcePoint" />
<mxPoint x="305" y="150" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-20" value="author" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="380" y="120" width="110" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-24" value="Location" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="905" y="310" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-25" value="id" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="817" y="410" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-26" value="city" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="883" y="410" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-27" value="street_name" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="982" y="410" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-28" value="street_number" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="1072" y="410" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-29" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-24" target="MWeAtnxEseZnLcxmsNt0-28">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="811" y="260" as="sourcePoint" />
<mxPoint x="861" y="210" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-30" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-27" target="MWeAtnxEseZnLcxmsNt0-24">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="811" y="260" as="sourcePoint" />
<mxPoint x="861" y="210" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-31" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-26" target="MWeAtnxEseZnLcxmsNt0-24">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="811" y="260" as="sourcePoint" />
<mxPoint x="861" y="210" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-32" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-25" target="MWeAtnxEseZnLcxmsNt0-24">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="811" y="260" as="sourcePoint" />
<mxPoint x="861" y="210" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-33" value="Move" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="580" y="310" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-34" value="N" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-41" target="MWeAtnxEseZnLcxmsNt0-2">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="360" y="240" as="sourcePoint" />
<mxPoint x="410" y="190" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-35" value="N" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-24" target="MWeAtnxEseZnLcxmsNt0-39">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1097" y="240" as="sourcePoint" />
<mxPoint x="1097" y="340" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-39" value="location" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="740" y="310" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-40" value="1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-33" target="MWeAtnxEseZnLcxmsNt0-39">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="360" y="240" as="sourcePoint" />
<mxPoint x="410" y="190" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-42" value="1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-33" target="MWeAtnxEseZnLcxmsNt0-41">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="595" y="310" as="sourcePoint" />
<mxPoint x="631" y="180" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-41" value="piece" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="585" y="220" width="110" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-43" value="year" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="580" y="400" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-44" value="day" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="646" y="400" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-45" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-44" target="MWeAtnxEseZnLcxmsNt0-33">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="564" y="250" as="sourcePoint" />
<mxPoint x="703" y="360" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-46" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-43" target="MWeAtnxEseZnLcxmsNt0-33">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="564" y="250" as="sourcePoint" />
<mxPoint x="681" y="360" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-47" value="Collection" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="585" y="-130" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-48" value="piece" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="590" y="-10" width="110" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-49" value="N" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-48" target="MWeAtnxEseZnLcxmsNt0-47">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="810" y="150" as="sourcePoint" />
<mxPoint x="1070" y="270" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-50" value="1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-2" target="MWeAtnxEseZnLcxmsNt0-48">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1020" y="320" as="sourcePoint" />
<mxPoint x="1070" y="270" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-52" value="Museum" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="1133" y="-130" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-53" value="N" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-51" target="MWeAtnxEseZnLcxmsNt0-52">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1020" y="320" as="sourcePoint" />
<mxPoint x="1070" y="270" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-54" value="0-1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-47" target="MWeAtnxEseZnLcxmsNt0-51">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1025" y="150" as="sourcePoint" />
<mxPoint x="1241" y="150" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-51" value="museum" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="855" y="-130" width="110" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-56" value="location" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="1133" y="310" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-57" value="N" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-24" target="MWeAtnxEseZnLcxmsNt0-56">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="915" y="350" as="sourcePoint" />
<mxPoint x="870" y="350" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-58" value="1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-56" target="MWeAtnxEseZnLcxmsNt0-52">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="710" y="350" as="sourcePoint" />
<mxPoint x="750" y="350" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-59" value="Exhibition" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="905" y="120" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-61" value="location" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="905" y="210" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-62" value="1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-59" target="MWeAtnxEseZnLcxmsNt0-61">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1037" y="-3" as="sourcePoint" />
<mxPoint x="1235" y="130" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-63" value="1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-24" target="MWeAtnxEseZnLcxmsNt0-61">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1035" y="332" as="sourcePoint" />
<mxPoint x="1166" y="291" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-64" value="piece" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="745" y="120" width="110" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-65" value="1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-2" target="MWeAtnxEseZnLcxmsNt0-64">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="760" y="210" as="sourcePoint" />
<mxPoint x="810" y="160" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-66" value="N" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-64" target="MWeAtnxEseZnLcxmsNt0-59">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="760" y="210" as="sourcePoint" />
<mxPoint x="810" y="160" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-67" value="id" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="1090" y="-220" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-68" value="name" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="1156" y="-220" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-69" value="opening_hours" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="1216" y="-220" width="104" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-70" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-52" target="MWeAtnxEseZnLcxmsNt0-67">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="760" y="190" as="sourcePoint" />
<mxPoint x="810" y="140" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-71" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-52" target="MWeAtnxEseZnLcxmsNt0-68">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1180" y="-120" as="sourcePoint" />
<mxPoint x="1140" y="-173" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-72" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-52" target="MWeAtnxEseZnLcxmsNt0-69">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1200" y="-120" as="sourcePoint" />
<mxPoint x="1195" y="-170" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-75" value="id" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="590" y="-200" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-76" value="name" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="656" y="-200" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-77" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" target="MWeAtnxEseZnLcxmsNt0-75" source="MWeAtnxEseZnLcxmsNt0-47">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="670" y="-110" as="sourcePoint" />
<mxPoint x="310" y="160" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-78" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" target="MWeAtnxEseZnLcxmsNt0-76" source="MWeAtnxEseZnLcxmsNt0-47">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="690" y="-110" as="sourcePoint" />
<mxPoint x="640" y="-153" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-79" value="StorageSite" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="905" y="585" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-80" value="storage_site" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="905" y="470" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-81" value="0-1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-80" target="MWeAtnxEseZnLcxmsNt0-24">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="760" y="370" as="sourcePoint" />
<mxPoint x="810" y="320" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-82" value="1" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-79" target="MWeAtnxEseZnLcxmsNt0-80">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="760" y="370" as="sourcePoint" />
<mxPoint x="965" y="510" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-83" value="size" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="938" y="690" width="54" height="40" as="geometry" />
</mxCell>
<mxCell id="MWeAtnxEseZnLcxmsNt0-85" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1" source="MWeAtnxEseZnLcxmsNt0-83" target="MWeAtnxEseZnLcxmsNt0-79">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="760" y="550" as="sourcePoint" />
<mxPoint x="810" y="500" as="targetPoint" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

BIN
P2/conceptual.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

4
P2/conceptual.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 322 KiB

BIN
P2/database.sqlite Normal file

Binary file not shown.

3
P2/exo3/create.sql Normal file
View File

@ -0,0 +1,3 @@
CREATE TABLE IF NOT EXISTS Vehicle (
num
);

0
P2/exo3/dbml-error.log Normal file
View File

0
P2/exo3/exo3.db Normal file
View File

50
P2/exo3/exo3.dbml Normal file
View File

@ -0,0 +1,50 @@
Table Customer {
cid integer [primary key, not null]
firstname varchar [primary key, not null]
lastname varchar [primary key, not null]
preference_vcid integer [Ref: > VehicleClass.vcid, not null]
preference_vcname varchar [Ref: > VehicleClass.vcname, not null]
}
Table VehicleClass {
vcid integer [primary key, not null]
vcname varchar [primary key, not null]
length integer [not null]
width integer [not null]
height integer [not null]
}
Table Vehicle {
vid integer [primary key, not null]
vcid integer [primary key, ref: > VehicleClass.vcid, not null]
vcname varchar [primary key, ref: > VehicleClass.vcname, not null]
last_check_date datetime [not null]
plate_num integer [null]
street varchar [primary key, not null, ref: > Station.street]
postcode varchar [primary key, not null, ref: > Station.postcode]
city varchar [primary key, not null, ref: > Station.city]
name varchar [primary key, not null, ref: > Station.name]
}
Table Station {
street varchar [primary key, not null]
postcode varchar [primary key, not null]
city varchar [primary key, not null]
name varchar [primary key, not null]
}
Table Reservation {
startDateTime datetime [primary key, not null]
endDateTime datetime [not null]
frid integer [null, ref: > FinishedReservation.frid]
cid integer [primary key, not null, ref: > Customer.cid]
cname varchar [primary key, not null, ref: > Customer.firstname]
vid integer [primary key, not null, ref: > Vehicle.vid]
}
Table FinishedReservation {
frid integer [primary key, not null]
distance integer [not null]
cost integer [not null]
}

66
P2/exo3/exo3.sql Normal file
View File

@ -0,0 +1,66 @@
CREATE TABLE "Customer" (
"cid" integer NOT NULL,
"firstname" varchar NOT NULL,
"lastname" varchar NOT NULL,
"preference_vcid" integer NOT NULL,
"preference_vcname" varchar NOT NULL,
PRIMARY KEY ("cid", "firstname", "lastname")
FOREIGN KEY ("preference_vcid") REFERENCES "VehicleClass" ("vcid");
FOREIGN KEY ("preference_vcname") REFERENCES "VehicleClass" ("vcname");
);
CREATE TABLE "VehicleClass" (
"vcid" integer NOT NULL,
"vcname" varchar NOT NULL,
"length" integer NOT NULL,
"width" integer NOT NULL,
"height" integer NOT NULL,
PRIMARY KEY ("vcid", "vcname")
);
CREATE TABLE "Vehicle" (
"vid" integer NOT NULL,
"vcid" integer NOT NULL,
"vcname" varchar NOT NULL,
"last_check_date" datetime NOT NULL,
"plate_num" integer,
"street" varchar NOT NULL,
"postcode" varchar NOT NULL,
"city" varchar NOT NULL,
"name" varchar NOT NULL,
PRIMARY KEY ("vid", "vcid", "vcname", "street", "postcode", "city", "name")
FOREIGN KEY ("vcid") REFERENCES "VehicleClass" ("vcid");
FOREIGN KEY ("vcname") REFERENCES "VehicleClass" ("vcname");
FOREIGN KEY ("street") REFERENCES "Station" ("street");
FOREIGN KEY ("postcode") REFERENCES "Station" ("postcode");
FOREIGN KEY ("city") REFERENCES "Station" ("city");
FOREIGN KEY ("name") REFERENCES "Station" ("name");
);
CREATE TABLE "Station" (
"street" varchar NOT NULL,
"postcode" varchar NOT NULL,
"city" varchar NOT NULL,
"name" varchar NOT NULL,
PRIMARY KEY ("street", "postcode", "city", "name")
);
CREATE TABLE "Reservation" (
"startDateTime" datetime NOT NULL,
"endDateTime" datetime NOT NULL,
"frid" integer,
"cid" integer NOT NULL,
"cname" varchar NOT NULL,
"vid" integer NOT NULL,
PRIMARY KEY ("startDateTime", "cid", "cname", "vid")
FOREIGN KEY ("frid") REFERENCES "FinishedReservation" ("frid");
FOREIGN KEY ("cid") REFERENCES "Customer" ("cid");
FOREIGN KEY ("cname") REFERENCES "Customer" ("firstname");
FOREIGN KEY ("vid") REFERENCES "Vehicle" ("vid");
);
CREATE TABLE "FinishedReservation" (
"frid" integer PRIMARY KEY NOT NULL,
"distance" integer NOT NULL,
"cost" integer NOT NULL
);

12
P2/part1.txt Normal file
View File

@ -0,0 +1,12 @@
artists(id, name, birth_date, birth_place)
pieces(id, type, creation_date)
pieces_data(piece_id, key, value)
piece_artist(piece_id, artist_id)
moves(piece_id, location_id, year, day)
collections(id, name, NULLABLE museum)
piece_collection(piece_id, collection_id)
exhibitions(id, begin, end, location_id)
piece_exhibition(piece_id, exhibition_id)
locations(id, city, street_name, street_number)
museums(id, location_id, name, opening_hours)
storages(id, location_id, size)

BIN
P2/reviews/UML2.pdf Normal file

Binary file not shown.

BIN
P2/reviews/er_chen.pdf Normal file

Binary file not shown.

78
P2/reviews/review-2.md Normal file
View File

@ -0,0 +1,78 @@
## Aspect 1
Grade 6/6
Museums should probably use an ID rather than the name as Key.
## Aspect 2
Grade: 6/6
## Aspect 3
Grade: 3/6
Wrong use of week entities between Museum/Storage and Location, PiecesOfArt and Sculptures/Paintings/Others as they Are 1-to-1 relationships.
## Aspect 4
Grade 0/6
N Arts should be a be able to move M times to 1 location.
Current implementation allow multiples moves on one day.
## Aspect 5
Grade: 6/6
Arity is well chosen.
## Aspect 6
Grade: 6/6
Entities are well chosen.
## Aspect 7
Grade: 5/6
Street number in storage sites should not be there as it belong to the location, and the size attribute is missing
## Aspect 8
Grade: 6/6
All relationships are well chosen.
## Aspect 9
Grade: 6/6
- Other types of art are available with "Other", but only a type can be specified, and no other information.
- One piece of art belong to only one collection.
It was pretty easy to understand those design choices as the diagram is well designed.
## Aspect 10
Grade: 6/6
## Aspect 11
Grade: 5/6
The same small mistakes have been made in the UML diagram than in the ER diagram, but the global design is still very good.
## Aspect 12
Grade: 6/6
The diagrams are consistent.
## Aspect 13
Grade: 1/6 (as requested by the teacher)
The UML diagram is easier to understand than the ER diagram because it has way less forms, and lines represents only relationships between entities and not attributes.

BIN
P2/text.pdf Normal file

Binary file not shown.