Skip to content

Commit

Permalink
fatto modifiche
Browse files Browse the repository at this point in the history
  • Loading branch information
Asemica-me committed Apr 12, 2024
1 parent 485a260 commit 6f21285
Show file tree
Hide file tree
Showing 15 changed files with 823 additions and 186 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@
g.add((rdflib.URIRef(character_uri), rdflib.URIRef(dc + "/Reference"), URIRef(speaker_uri)))

# Serializzazione del grafo RDF in formato Turtle
g.serialize(destination='tragedy_1.ttl', format='turtle')
g.serialize(destination='tragedy_1.ttl', format='turtle')
Binary file modified assets/img/ConceptualModel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
821 changes: 726 additions & 95 deletions assets/img/FinalConceptualModel.graphml

Large diffs are not rendered by default.

Binary file modified assets/img/enhance_er.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/img/rdf-grapher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/img/theoretical.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions csv files/painting.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Subject,Predicate,Object
The Meeting of Antony and Cleopatra,rdf:type,efrbroo:F4_Manifestation_Singleton
The Meeting of Antony and Cleopatra,crm:P102_has_title,The Meeting of Antony and Cleopatra
The Meeting of Antony and Cleopatra,crm:P138_represents,Cleopatra VII
The Meeting of Antony and Cleopatra,crm:P138_represents,Mark Antony
The Meeting of Antony and Cleopatra,crm:P138_represents,Mark Anthony
The Meeting of Antony and Cleopatra,crm:P62_depicts,Eastern Mediterranean
The Meeting of Antony and Cleopatra,crm:P2_has_type,Artwork
Expand Down
2 changes: 1 addition & 1 deletion csv files/song.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SUBJECT,PREDICATE,OBJECT
Cleopatra song,dcterms:subject ,Cleopatra VII Thea Philopator
Cleopatra song,dcterms:subject,Cleopatra VII Thea Philopator
Cleopatra song,rdf:type,Audio Track
Cleopatra song,mo:genre,Pop Music
Cleopatra song,dct:title,Cleopatra
Expand Down
Binary file added csv_files.zip
Binary file not shown.
113 changes: 57 additions & 56 deletions index.html

Large diffs are not rendered by default.

36 changes: 16 additions & 20 deletions ttl files/DATASET.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@
dbp:spouse dbr:Ptolemy_XIII_Theos_Philopator ;
dbp:spouse dbr:Ptolemy_XIV ;
dbp:unmarried_partner <person/JuliusCaesar> ;
foaf:occupation "Queen of Egypt" ;
dct:subject dbc:Female_pharaohs .
foaf:occupation "Queen of Egypt" .


#Mark Antony
Expand All @@ -56,19 +55,21 @@
dbp:deathDate "30 BC"^^xsd:gYear ;
foaf:occupation "Roman general and dictator" ;
owl:sameAs dbr:Julius_Caesar ;
foaf:knows <person/CleopatraVII> .
dbp:unmarried_partner <person/CleopatraVII> .


#Ancient Egyptians
<agent/AncientEgyptians> a foaf:Group ;
rdfs:label "Ancient Egyptians" .
rdfs:label "Ancient Egyptians" ;
schema:location <place/Egypt> .


#Ptolemaic dynasty
<agent/PtolemaicDynasty> a foaf:Group ;
owl:sameAs dbr:Ptolemaic_dynasty ;
foaf:member <agent/RomanRepublic> ;
crm:P4_has_time-span <timespan/PtolemaicPeriod> ;
dbp:country <place/Egypt> .
dbp:Reign <place/Egypt> .


#Roman Republic
Expand Down Expand Up @@ -99,14 +100,18 @@
#PRINTED EDITION
<item/PrintedEdition> a crm:E31_Document ;
crm:P102_has_title "Shakespeare's Tragedy of Antony and Cleopatra" ;
crm:P94_has_created <https://viaf.org/viaf/96994048/> ;
crm:P138_represents <person/CleopatraVII> ;
crm:P138_represents <person/MarkAntony> ;
crm:P129_is_about <place/Egypt> ;
crm:P129_is_about <agent/RomanRepublic> ;
crm:P94_has_created "William Shakespeare" ;
schema:contributor "John Dryden" ;
dct:type "Printed Edition" ;
dct:type "Printed Edition" ; #dct:MediaType
crm:P72_has_language "English" ;
schema:genre "Theatral text" ;
schema:genre dbr:Drama ;
dct:created "1607 ca." ;
dct:published <place/London> ;
dct:published "1813" ;
dct:published "London" ;
dct:published "1813"^^xsd:gYear ;
crm:P49_has_forme_or_current_keeper <agent/BavarianStateLibrary> ;
owl:sameAs <https://search.worldcat.org/title/8915410> .

Expand All @@ -116,7 +121,6 @@
rdfs:label "Bavarian State Library" .



#COIN
<item/Coin> a crm:E24_Physical_Human_Made_Thing ;
crm:P62_depicts <person/CleopatraVII> ;
Expand All @@ -127,14 +131,6 @@
crm:P50_has_current_keeper <agent/ArtInstituteofChicago> ;
crm:P8_took_place_on_or_within <place/EasternMediterrenean> .

<person/CleopatraVII> a foaf:Person ;
owl:sameAs <http://viaf.org/viaf/67762941> ;
owl:sameAs <https://dbpedia.org/page/Cleopatra> ;
owl:sameAs <http://www.bbc.co.uk/things/0a5fcd0f-77c2-4e8e-a43d-796b754ab9af#id> ;
bf:family <person/MarkAntony> ;
bf:family <person/JuliusCaesar> ;
rdfs:label <http://w3id.org/unveiling-cleopatra.org/label/QueenofEgypt> .

<type/tetradrachm> a crm:E98_Currency ;
crm:P91_is_unit_of crm:E97_Monetary_Amount ;
owl:sameAs <https://www.getty.edu/vow/AATFullDisplay?find=&logic=AND&note=&subjectid=300037254>.
Expand Down Expand Up @@ -163,7 +159,7 @@
sch:broader crm:E8_Acquisition ;
crm:P30_transferred_custody_of <agent/TheMetropolitanMuseum> ;
crm:P31_has_modified <item/Artwork> ;
crm:P22_acquired_title_through "Mrs. Charles Wrightsman".
crm:P23_acquired_title_from "Mrs. Charles Wrightsman".

</agent/TheMetropolitanMuseum> a crm:E74_Group ;
gn:locatedIn <place/NewYork> ;
Expand Down
14 changes: 6 additions & 8 deletions ttl files/bracelet.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,16 @@
crm:P23_transferred_title_from <event/bequeathal> .

<place/Egypt> a crm:E53_Place ;
owl:sameAs <https://www.geonames.org/357994/arab-republic-of-egypt.html> .
owl:sameAs <https://pleiades.stoa.org/places/981503> ;
sch:broader <place/Eastern_Mediterranean> ;
sch:narrower <place/Alexandria> .

</agent/TheBritishMuseum> a crm:E74_Group ;
crm:P48_has_preferred_identifier "The British Museum" .

#</categories/gold> a crm:E57_Material ;
#rdf:label "Gold" .

<agent/AncientEgyptians> a foaf:Group ; #"Civilization"
rdfs:label "Ancient Egyptians" .

#for later (connection Cleopatra-bracelet): ex:CleopatraVII ex:belongTo ex:ancientEgyptians .
rdfs:label "Ancient Egyptians" ;
schema:location <place/Egypt> .

<timespan/PtolemaicPeriod> a crm:E52_Time-Span ;
crm:P82a_begin_of_the_begin time:Year ; #"305 BC"^^xsd:gYear ;
Expand All @@ -48,6 +46,6 @@
crm:P22_acquired_title_through crm:E39_Actor ; #"Sir Augustus Wollaston Franks" ;
dct:date time:Year . #"1897"^^xsd:gYear .

<agent/TheBritishMuseum> a crm:E39_Actor ;
<agent/TheBritishMuseum> a crm:E74_Group ;
gn:locatedIn <place/London> ;
rdfs:label "The British Museum" .
4 changes: 2 additions & 2 deletions ttl files/painting.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
crm:P108_has_produced <https://www.getty.edu/art/collection/person/103K3W> ; #"GiambattistaTiepolo"
crm:P32_used_general_technique crm:E55_Type ; #"Oil on canvas" ; #cdwa:medium "Oil on canvas"
crm:P50_has_current_keeper </agent/TheMetropolitanMuseum> ;
crm:P32_acquired_title_through <event/bequeathal> .
crm:P22_acquired_title_through <event/bequeathal> .

<event/bequeathal> a crm:E10_Transfer_of_Custody ;
crm:P30_transferred_custody_of <agent/TheMetropolitanMuseum> ;
crm:P31_has_modified <item/Artwork> ;
crm:P32_acquired_title_through crm:E39_Actor. #"Mrs. Charles Wrightsman".
crm:P23_transferred_title_from crm:E39_Actor. #"Mrs. Charles Wrightsman".

</agent/TheMetropolitanMuseum> a crm:E74_Group ;
gn:locatedIn <place/NewYork> ;
Expand Down
15 changes: 12 additions & 3 deletions ttl files/tragedy.ttl → ttl files/printedEdition.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
@prefix schema: <http://schema.org/>.
@prefix wrdc: <https://id.oclc.org/worldcat/ontology/> .
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix dbr: <http://dbpedia.org/resource/>.
@prefix gn: <http://www.geonames.org/ontology#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<item/PrintedEdition> a crm:E31_Document ;
crm:P102_has_title "Shakespeare's Tragedy of Antony and Cleopatra" ;
Expand All @@ -16,11 +19,11 @@
schema:contributor "John Dryden" ;
dct:type "Printed Edition" ; #dct:MediaType
crm:P72_has_language "English" ;
schema:genre "Theatral text" ;
schema:genre dbr:Drama ;
dct:created "1607 ca." ;
dct:published "London" ;
dct:published "1813" ;
crm:P49_has_forme_or_current_keeper "Bavarian State Library" ;
crm:P49_has_forme_or_current_keeper <agent/BavarianStateLibrary> ;
owl:sameAs <https://search.worldcat.org/title/8915410> .

<person/CleopatraVII> a foaf:Person ;
Expand All @@ -33,4 +36,10 @@
owl:sameAs <https://www.geonames.org/357994/arab-republic-of-egypt.html> .

<agent/RomanRepublic> a foaf:Organization ;
owl:sameAs <https://dbpedia.org/data/Roman_Republic> .
owl:sameAs <https://dbpedia.org/data/Roman_Republic> .

<agent/BavarianStateLibrary> a crm:E74_Group ;
owl:sameAs <https://search.worldcat.org/title/8915410> ;
gn:locatedIn <place/Munich> ;
rdfs:label "Bavarian State Library" .

Binary file added ttl_files.zip
Binary file not shown.

0 comments on commit 6f21285

Please sign in to comment.