To define integer datatype in OWL API we write: OWLDatatype integerdatatype = factory.getIntegerOWLDatatype(); How about string datatype? what should I write?

asked 20 Feb '13, 02:00

peniya's gravatar image

peniya
92
accept rate: 0%

1

peniya, welcome de answers.semanticweb.com. Please have a look at http://answers.semanticweb.com/questions/14494/welcome-to-answerssemanticwebcom.

Regarding your question, did you take a look at the javadoc?

(20 Feb '13, 03:08) Antoine Zimm... ♦ Antoine%20Zimmermann's gravatar image

At first, such API specific questions are more appropriate for the corresponding mailing lists.

Secondly,

OWLDataFactory::getOWLDatatype(IRI iri)

should be the easiest solution if using the xsd:string URI as argument.

link

answered 20 Feb '13, 15:43

AKSWMember's gravatar image

AKSWMember
1.4k38
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×73

Asked: 20 Feb '13, 02:00

Seen: 907 times

Last updated: 20 Feb '13, 15:43