Hi Alessio,

+1 for solution 1, maybe dirtier than solution 2, but more intuitive. 
WRT semantics, I suggest you to use the standard rdf:type predicate 
instead of <http://airpedia.org/vocab/01/#type> for easier querying. WRT 
syntax (i.e., serialization), I think Turtle is the best way, both for 
machines (compactness) and for humans (readability).
Given your example, you would obtain something like the following:

@prefix dbp-owl: <http://dbpedia.org/ontology/> .
@prefix air: <http://airpedia.org/resource/> .
@prefix air-voc: <http://airpedia.org/vocab/01/#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

air:140132 a dbp-owl:Animal,
         dbp-owl:Eukaryote,
         dbp-owl:Fish,
         dbp-owl:Species ;
     = <http://ca.dbpedia.org/resource/Raja_binoculata>,
         <http://dbpedia.org/resource/Big_skate> .

air:140132_Animal air-voc:confidence "10"^^xsd:int .

air:140132_Eukaryote air-voc:confidence "10"^^xsd:int .

air:140132_Fish air-voc:confidence "10"^^xsd:int .

air:140132_Species air-voc:confidence "10"^^xsd:int .


Cheers!

On 6/10/13 5:15 PM, Alessio Palmero Aprosio wrote:
> *Solution 1**(string concatenation)*
>
>   * ID air:type Class .
>   * ID_Class air:confidence Relevance .
>   * sameAses
>
> For example:
> 140132    Eukaryote    10
> 140132    Animal    10
> 140132    Fish    10
> 140132    Species    10
>
> becomes:
> <http://airpedia.org/resource/140132>
> <http://airpedia.org/vocab/01/#type>
> <http://dbpedia.org/ontology/Eukaryote> .
> <http://airpedia.org/resource/140132_Eukaryote>
> <http://airpedia.org/vocab/01/#confidence> “10”^^xsd:int .
> <http://airpedia.org/resource/140132>
> <http://airpedia.org/vocab/01/#type> <http://dbpedia.org/ontology/Animal> .
> <http://airpedia.org/resource/140132_Animal>
> <http://airpedia.org/vocab/01/#confidence> “10”^^xsd:int .
> <http://airpedia.org/resource/140132>
> <http://airpedia.org/vocab/01/#type> <http://dbpedia.org/ontology/Fish> .
> <http://airpedia.org/resource/140132_Fish>
> <http://airpedia.org/vocab/01/#confidence> “10”^^xsd:int .
> <http://airpedia.org/resource/140132>
> <http://airpedia.org/vocab/01/#type> <http://dbpedia.org/ontology/Species> .
> <http://airpedia.org/resource/140132_Species>
> <http://airpedia.org/vocab/01/#confidence> “10”^^xsd:int .
> <http://airpedia.org/resource/140132> owl:sameAs
> <http://dbpedia.org/resource/Big_skate> .
> <http://airpedia.org/resource/140132> owl:sameAs
> <http://ca.dbpedia.org/resource/Raja_binoculata> .

-- 
Marco Fossati
http://about.me/marco.fossati
Twitter: @hjfocs
Skype: hell_j

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to