Ciao Alessandra,

But just using the generic 'related' property would rely on knowing where a 
certain concept is of class 'treatment' or 'disease', right? We'd need to add 
that classification to our thesaurus. For academia's sake, how would one do 
that in SKOS? By using 'broader' terms? How can this then be efficiently 
queried if I want to find all treatments for a certain disease?

Please be as elaborate as you can, I'm affaid I still have very little traction 
here...

Thanks,
Michel



On 24 mrt. 2012, at 07:07, Alessandra Donnini wrote:

> Hi Michel in my opinion the relations between concept can be assessed by 
> using the standard relationship skos:related.
> Alessandra
> 
> Inviato da iPad
> 
> Il giorno 24/mar/2012, alle ore 02:09, Michel Benevento 
> <[email protected]> ha scritto:
> 
>> Hello everyone,
>> 
>> This is a post about RDF and SKOS in general and only slightly about 
>> Stanbol, so there may be more appropriate venues to pose these questions 
>> (please let me know). But I thought I'd tap in to the collective brainpower 
>> on this list anyway.
>> 
>> I am struggling with the design of my thesaurus. I have a cancer related 
>> SKOS thesaurus full of concepts decorated with standard broader, narrower 
>> and related terms. What I would like to do is add some other semantic 
>> relations between these concepts (such as concept A (remedy) is a treatment 
>> for concept B (disease)).
>> 
>> I have tried to add my own namespace with these relations , but haven't been 
>> able to do this  (see below), so I'm guessing this might not be the way to 
>> go. I have also learned that skos has a thing called skos:semanticRelation, 
>> but I don't really get what such a generic class would achieve without a lot 
>> of redundant rdf:id (I think) attributes.
>> 
>> So what would be the best way to go about this? I would be most grateful if 
>> you could set me on the right path, or let me know where I can get this kind 
>> of help.
>> 
>> Thanks,
>> Michel
>> 
>> PS: To illustrate what I tried, here is a simplified snippet of my inputfile.
>> ---------------
>> <rdf:RDF
>> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
>> xmlns:skos="http://www.w3.org/2004/02/skos/core#";
>> xmlns:tzw="http://www.tzw.nl/schema#";
>>> 
>> 
>> <skos:Concept rdf:about="http://www.kanker.nl/rdf#alvleesklierkanker";>
>> <skos:prefLabel>Alvleesklierkanker</skos:prefLabel>
>> <tzw:treatment rdf:resource="http://www.kanker.nl/rdf#bestraling"; />
>> </skos:Concept>
>> <skos:Concept rdf:about="http://www.kanker.nl/rdf#bestraling";>
>> <skos:prefLabel>Bestraling</skos:prefLabel>
>> <tzw:indication rdf:resource="http://www.kanker.nl/rdf#alvleesklierkanker"; />
>> </skos:Concept>
>> </rdf:RDF>
>> ----------
>> 
>> I added the following to my mappings.txt and the indexing goes OK, but I am 
>> never able to query tzw:treatment (namespace tzw is not defined!).
>> 
>> http://www.kanker.nl/rdf#*
>> tzw:*
>> 
>> I have also tried various mappings (tzw:treatment > skos:related or even > 
>> skos:treatment) with various success, but I never seem to really get it 
>> right. My understanding is there is a fixed set of hardcoded namespaces that 
>> Stanbol relies on? Or is there an easy way to add one?
>> 

Reply via email to