2. Indice
Stato del lavoro alla precedente presentazione
Stato del lavoro attuale
Sviluppi
martedì 26 gennaio 2010 2
3. Indice
Stato del lavoro alla precedente
presentazione
Stato del lavoro attuale
Sviluppi
martedì 26 gennaio 2010 3
4. La precedente architettura
Internet
HTML
+
RDFa
FOAD
FOAD crawler
Host
application
Database
RDF
Social
Social network 1
network 2
martedì 26 gennaio 2010 4
5. Osservazioni
Non è realistico richiedere delle conoscenze di tipo
informatico agli utenti
Non si riesce a realizzare l’architettura completa in un tempo
accettabile
Quindi si propone una nuova architettura
martedì 26 gennaio 2010 5
6. Proposta di un’architettura alternativa
Foad.com
Foad App Pagina Foad
Utente RDFA Database
Foad url
Rete sociale
Applicativo
martedì 26 gennaio 2010 6
7. Vantaggi della nuova architettura
L’architettura è interamente implementabile
L’architettura si adatta al contesto informatico attuale,
integrandosi con le reti sociali
All’utente non vengono richieste particolari conoscenze
informatiche
I dati sono sempre disponibili e sicuri
martedì 26 gennaio 2010 7
8. Indice
Stato del lavoro alla precedente presentazione
Stato del lavoro attuale
Sviluppi
martedì 26 gennaio 2010 8
9. Dizionario RDF
1<!--
2
3 This is the FOAD formal vocabulary description, expressed using W3C RDFS and OWL markup.
4 It also describes the new FOAF terms introduced with FOAD.
5
6 For more information about FOAD see the FOAD project page: http://localhost:3000/
7
8 -->
9
10 <?xml version="1.0" encoding="utf-8"?>
11
12 <rdf:RDF
13
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
14
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
15
xmlns:owl="http://www.w3.org/2002/07/owl#"
16
xmlns:foaf="http://xmlns.com/foaf/0.1/">
17
18
19
20 <!--
21
FOAD classes
22 -->
23
24
<rdfs:Class rdf:about="#Animal" rdfs:label="Animal" rdfs:comment="An animal">
25
<rdfs:subClassOf><owl:Class rdf:about="http://xmlns.com/foaf/0.1/Agent"/></rdfs:subClassOf>
26
<rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html" />
27
</rdfs:Class>
28
29
<rdfs:Class rdf:about="#Dog" rdfs:label="Dog" rdfs:comment="A dog">
30
<rdfs:subClassOf><owl:Class rdf:about="#Animal"/></rdfs:subClassOf>
31
<rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html" />
32
</rdfs:Class>
33
martedì 26 gennaio 2010 9
10. Dizionario RDF
36 <!--
37
FOAD dog properties
38 -->
39
<rdf:Property rdf:about="#father" rdfs:label="father" rdfs:comment="The father of this dog.">
40
<rdfs:domain rdf:resource="#Dog"/>
41
<rdfs:range rdf:resource="#Dog"/>
42
<rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html"/>
43
</rdf:Property>
44
45
<rdf:Property rdf:about="#mother" rdfs:label="mother" rdfs:comment="The mother of this dog.">
46
<rdfs:domain rdf:resource="#Dog"/>
47
<rdfs:range rdf:resource="#Dog"/>
48
<rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html"/>
49
</rdf:Property>
50
51
<rdf:Property rdf:about="#register" rdfs:label="register" rdfs:comment="The register of this dog.">
52
<rdfs:domain rdf:resource="#Dog"/>
53
<rdfs:range rdf:resource="http://www.w3.org/TR/rdf-schema/#ch_literal"/>
54
<rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html"/>
55
</rdf:Property>
56
57
<rdf:Property rdf:about="#coatColor" rdfs:label="coatColor" rdfs:comment="The coat's color of this
dog.">
58
<rdfs:domain rdf:resource="#Dog"/>
59
<rdfs:range rdf:resource="http://www.w3.org/TR/rdf-schema/#ch_literal"/>
60
<rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html"/>
61
</rdf:Property>
62
63
64
martedì 26 gennaio 2010 10
17. Il codice RDFa generato
<div class="blocco">
<dt>Owner:</dt>
<dd>Fab</dd>
<dt>Owner's FOAF:</dt>
<dd><a rel="foad:owner" href="www.foaf.com/person/fab.rdf">www.foaf.com/person/fab.rdf</a></dd>
</div>
<div class="blocco">
<dt>Breeder:</dt>
<dd>Tom</dd>
<dt>Breeder's FOAF:</dt>
<dd><a rel="foad:breeder" href="www.foaf.com/person/tom.rdf">www.foaf.com/person/tom.rdf</a></dd>
</div>
<div class="blocco">
<dt>Entitlements:</dt>
<dd property="foaf:entitlement">
Best dog award 2009 , Fox Hunter 2007
</dd>
</div>
</dl>
<a href="http://localhost:3000/foaf/" class="home">back to home</a>
</div>
<div id="footer">
<p>Foad Project is a project by Fabio Rusconi and Nicola Tagliagambe Micalizzi.</p>
</div>
</body>
</html>
martedì 26 gennaio 2010 17
18. Indice
Stato del lavoro alla precedente presentazione
Stato del lavoro attuale
Sviluppi
martedì 26 gennaio 2010 18
19. Sviluppi
Porting dell’applicativo da Rails a PHP + MySQL
Implementazione di un’applicazione di interfaccia con il
social network Facebook
martedì 26 gennaio 2010 19