Thanks Reto,
 I will try the same.

Thanking you and Regards,
Arthi

-----Original Message-----
From: Reto Bachmann-Gmür [mailto:r...@wymiwyg.com]
Sent: Wednesday, October 02, 2013 2:02 PM
To: dev@stanbol.apache.org
Subject: RE: Adding content specific metadata

Afaik there's no way to add additional triples via the contenthub rest api.
You could add http endpoints to add data to the graphs by installing the 
clerezza rdf.web module (and its dependencies ).

Cheers,
Reto
On Oct 1, 2013 2:48 PM, <arthi.ven...@wipro.com> wrote:

> Thanks Rafa.
>
>  I updated the RDF metadata to include this.    However still I do not see
> the  custom metadata in the list of enhancements .
> Is my understanding correct or Do  I need to change something else.?
>
>
> <rdf:RDF
>     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
>          xmlns:fise="http://fise.iks-project.eu/ontology/";
>     >
>   <rdf:Description >
>     <title>Test Metadata</title>
>         <owner>Arthi</owner>
>         <subjectOfArticle>General posts</subjectOfArticle>
>         <fise:extracted-from> urn:my-content-item4</fise:extracted-from>
>     <rdf:type rdf:resource="
> http://fise.iks-project.eu/ontology/Enhancement"/>
>   </rdf:Description>
>
> Thanking you and Rgds,
> Arthi
>
> -----Original Message-----
> From: Rafa Haro [mailto:rh...@zaizi.com]
> Sent: Tuesday, October 01, 2013 5:40 PM
> To: dev@stanbol.apache.org
> Subject: Re: Adding content specific metadata
>
> Hi Arthi,
>
> Try adding fise:extracted-from property. According to my experience,
> RDF resources without extracted-from property are filtered by the ContentHub.
>
> Hope that helps.
>
> Cheers,
> Rafa
>
> El 01/10/13 13:58, arthi.ven...@wipro.com escribió:
> > Hi,
> >    In addition to the content file I want to upload some per
> > document
> metatdata - ( Document subject, Document title, etc ).
> >
> > Iam unable to see the additional metadata. The other enhancements /
> content ingestion goes through fine.
> >
> > 1.       Is the curl command below correct
> >
> > 2.       Is the RDFmetadata format below correct
> >
> > 3.       I assume if the enhancement works I would be able to see the
> additional metadata also in the enhancements.  Is this correct?
> >
> > I have used the below curl command.
> > curl -i -X POST -H "Accept:multipart/form-data" -H
> > "Content-Type:application/msword" --data-binary @TextToEnhance.docx
> > -H
> > "Content-Disposition: form-data; name=urn:my-content-item4" -d
> > @SampleRDFMetadata.txt
> > "http://localhost:8080/contenthub/contenthub/store?uri=urn:my-conten
> > t-
> > item4" -u admin:admin
> >
> > The SampleRDFMetadata has this  content :
> > <rdf:RDF
> >      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
> >     >
> >    <rdf:Description >
> >      <title>Test Metadata</title>
> >                  <owner>Arthi</owner>
> >                  <subjectOfArticle>General posts</subjectOfArticle>
> >      <rdf:type rdf:resource="
> http://fise.iks-project.eu/ontology/Enhancement"/>
> >    </rdf:Description>
> >
> >
> >
> > Thanking you and Regards,
> > Arthi
> >
> >
> > Please do not print this email unless it is absolutely necessary.
> >
> > The information contained in this electronic message and any
> > attachments
> to this message are intended for the exclusive use of the addressee(s)
> and may contain proprietary, confidential or privileged information.
> If you are not the intended recipient, you should not disseminate,
> distribute or copy this e-mail. Please notify the sender immediately
> and destroy all copies of this message and any attachments.
> >
> > WARNING: Computer viruses can be transmitted via email. The
> > recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
> >
> > www.wipro.com
> >
>
>
> --
>
> ------------------------------
> This message should be regarded as confidential. If you have received
> this email in error please notify the sender and destroy it immediately.
> Statements of intent shall only become binding when confirmed in hard
> copy by an authorised signatory.
>
> Zaizi Ltd is registered in England and Wales with the registration
> number 6440931. The Registered Office is Brook House, 229 Shepherds
> Bush Road, London W6 7AN.
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com
>

Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

Reply via email to