Joshua,

sorry, but the second snippet is not valid Turtle syntax... I think you want something like https://gist.github.com/wikier/57c92f9f280d28a71bc9

I'd recommend you to firstly take a look to the Turtle syntax: http://www.w3.org/TR/turtle/

I wonder how you tried to import such data in Marmotta, because you should get an error regarding the wrong syntax used. Please, provide the details in case.

Cheers,


On 30/07/14 18:13, Joshua Dunham wrote:
Hi Marmotta Users,

      I have a ontology design for Kiwi question. Let’s say I want to describe 
some properties of a computer/server. I could use this simple turtle,

@prefix xsd: ….
@prefix rdf ….
@prefix maront: <http://my.server.domain/ont/1/#>
@prefix mar: <http://my.marmottaDB.domain/marmotta/resource/>

mar:server a maront:linuxserver ;
    maront:amountRamGB “4”^^xsd:decimal ;
    maront:amountHDTB “2”^^xsd:decimal .

to define the server, what it ‘is’, the amount of RAM and the amount of HD 
(space). If I want to say that this server is running marmotta 3.3.0 this is a 
bit more difficult. Normally I’d use an anonymous node,

@prefix ~ ~ ~

mar:server [
     maront:hasResourceName mar:ApacheMarmotta ;
     maront:hasResourceVersion “3.3.0” ;
     maront:hasResourceType “Database” ;
] .

but even though it’s OK turtle syntax, this seems to be not allowed in 
Marmotta/Kiwi. I want to describe the server to say it runs Marmotta but that 
it’s specifically the 3.3.0 version.My question is, how do community members 
handle this sort of situation?  This is a simple example but there are more 
complex things I want to describe like saying this particular install uses a 
specific config file or that this runs as a specific user while another one may 
be run as root. This is the sort of situation anonymous nodes seemed to solve, 
but in a linked data platform anonymous nodes don’t really make sense, but I’m 
not sure how to best sort out this situation.

  Thanks Everyone,
    -Joshua


This email message and any attachments are confidential and intended for use by 
the addressee(s) only. If you are not the intended recipient, please notify me 
immediately by replying to this message, and destroy all copies of this message 
and any attachments. Thank you.


--
Sergio Fernández
Senior Researcher
Knowledge and Media Technologies
Salzburg Research Forschungsgesellschaft mbH
Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
T: +43 662 2288 318 | M: +43 660 2747 925
sergio.fernan...@salzburgresearch.at
http://www.salzburgresearch.at

Reply via email to