rOntorion - A semantic engine for R

304 views
Skip to first unread message

Jesus David Nunez Campo

unread,
Dec 8, 2014, 9:35:10 AM12/8/14
to fluent...@googlegroups.com
Together with the new Ontorion Fluent Editor release, we have developed a new interface its functionalities for R. Loading, exporting to different formats and quering the underlying semantic engine is all supported in rOntorion. It supports OWL2/SPARQL/RDF and OCNL formats.
The package is publicly available at Cognitum' software repository. If you have access to an R console and you want to get started with rOntorion:
  1. Download the package from Cognitum's packages repo (we are working to provide a safe CRAN-like repo, but for now a manual download is required): http://downloads.cognitum.eu/packages/rOntorion_0.1-3.tar.gz
  2. Install the rOntorion package:  install.packages("PATH/rOntorion_0.1-2.tar.gz", NULL, repos = NULL, type = "source")
To get a taste of its functionality, type in an R console: 

> library(rOntorion)
> example(rOntorion)

Check out the help:

> help(rOntorion)

Jesus David Nunez Campo

unread,
Jan 12, 2015, 5:35:52 AM1/12/15
to fluent...@googlegroups.com
We have setup a new CRAN-like repository, so from now on users can add it to their repos using for instance the following command:

> options(repos = c(CRAN='http://cran.r-project.org', COGNITUM='http://downloads.cognitum.eu/packages'))

This does not set the list of repositories at startup: to do so set options(repos =) in a start up file (see help topic Startup). To install the rOntorion package, simply issue:

> install.packages("rOntorion", NULL , repos = getOption("repos"),type="source")

Updates can be done on-demad by issuing:

> update.packages(oldPkgs = c("rOntorion"), repos=getOption("repos"), type="source", ask=FALSE)




 

Paul Hermans

unread,
Sep 1, 2015, 11:40:39 AM9/1/15
to Fluent Editor 2014
Do get an error message when trying to run those in RStudio Version 0.99.467.


* installing *source* package ‘rOntorion’ ...
** R
** inst
** preparing package for lazy loading
** help
Warning: /private/var/folders/pn/_m3b0pln25xc11zz37j0zfyh0000gn/T/RtmpdrlO1P/R.INSTALL17dc3131e08ae/rOntorion/man/ontorion.load.cnl.file.Rd:20: unknown macro '\item'
*** installing help indices
** building package indices
** testing if installed package can be loaded
Multithreaded BLAS/LAPACK libraries detected. Using 8 cores for math algorithms.
Multithreaded BLAS/LAPACK libraries detected. Using 8 cores for math algorithms.
Error in rawToChar(block[seq_len(ns)]) : 
  embedded nul in string: 'PK\003\004\024\0\0\0\0\0\xeb\x815C\0\0\0\0\0\0\0\0\0\0\0\0\005\0\0\0rClr/PK\003\004\024\0\0\0\b\0\xe6\x815C\xdd\v\xec\x85\xdb\002\0\0\xce\004\0\0\020\0\0\0rClr/DESCRIPTION}T\xefo\x9b0\020\xfd\036)\xff\xc3)_\x92H\x81@\xba'
Warning in utils::install.packages(pkg = pth, repos = NULL, type = "source") :
  installation of package ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library/rOntorion/ctran/rClr_0.5-2.zip’ had non-zero exit status
Error : .onLoad failed in loadNamespace() for 'rOntorion', details:
  call: library(rClr)
  error: there is no package called ‘rClr’
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library/rOntorion’
Warning in install.packages :
  installation of package ‘rOntorion’ had non-zero exit status

Mario Esposito

unread,
Sep 25, 2015, 7:31:46 PM9/25/15
to Fluent Editor 2014
Did you find a solution. I have the same problem. It appears that the package isn't properly configured on the other end.

Paul

unread,
Sep 28, 2015, 3:16:04 AM9/28/15
to fluent...@googlegroups.com
No.
But didn't spend time on it longer either.


Paul


--
You received this message because you are subscribed to a topic in the Google Groups "Fluent Editor 2014" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/fluenteditor/FGpqlQ8qsgU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to fluenteditor...@googlegroups.com.
Visit this group at http://groups.google.com/group/fluenteditor.
For more options, visit https://groups.google.com/d/optout.


Kind Regards,
Paul Hermans

-------------------------
ProXML bvba
Linked Data services
(tw)  @PaulZH


OpenCube – Linked Open Statistical Data - http://opencube-project.eu/






Jesus David Nunez Campo

unread,
Sep 29, 2015, 3:58:26 AM9/29/15
to Fluent Editor 2014
Hello,

Your problems has to do with your operating system; at this moment we only support windows. We are looking forward to support other OS but investing development effort on it depends on the amount of user requests.

Best,
Jesus

Srinivas Kumar

unread,
Jun 5, 2018, 2:02:37 AM6/5/18
to Fluent Editor 2014
Hi,

Any one has an update with regard to deployment of rOntorion in linux platform? Is it possible now?If yes can you please let us know about the url having the details?

Sincerely,
Srinivas

Srinivas Kumar

unread,
Jun 13, 2018, 9:33:50 AM6/13/18
to Fluent Editor 2014

Hi,

Have fried to install rOntiorion package on ubuntu 18 version......I am getting following error when I try to run the rOntioijrnj  example...

[1] "/usr/local/lib/R/site-library/rOntorion/external/FluentEditorClientLib.dll"
Path to FlientEditorClientLib is /usr/local/lib/R/site-library/rOntorion/external/str <- paste0("If a mouse likes a cat then the mouse greets the cat.",
+            "Kitty is a cat.",
+            "Mickey is mouse.",
+            "Mickey likes Kitty.", sep="\n")
> onto<-ontorion.load.cnl.string(str,FALSE)
Error in clrNew("Ontorion.FluentEditorClient") :
  Type:    System.NullReferenceException
Message: Object reference not set to an instance of an object
Method:  Void .ctor()
Stack trace:
  at Ontorion.FluentEditorClient..ctor () [0x0005a] in <34ab6fbeb758433a81d2bea426d7e433>:0
  at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <71d8ad678db34313b7f718a414dfcb25>:0

Can some one help me in getting over the defect please?

Sincerely,
P.Srinivas Kumar

Srinivas Kumar

unread,
Jun 14, 2018, 2:48:23 AM6/14/18
to Fluent Editor 2014
Hi,

It is also observed that following error got displayed when rOntorion is getting installed in Ubuntu 18.04 version...

/tmp/RtmpdtFZdD/R.INSTALL82a1b17d9a6/rOntiorion/man/ontorion.load.cnl.file.RD:20  unkown macro :'\item
'

Sincerely.
P.Srinivas Kumar
Reply all
Reply to author
Forward
0 new messages