Creating Solr core on a selected set of LMF contexts (graphs)

8 views
Skip to first unread message

Rohana Rajapakse

unread,
Oct 21, 2013, 4:46:05 AM10/21/13
to lmf-...@googlegroups.com
Hi,

Can someone tell me how to create a Solr core on data from one or more selected LMF contexts (graphs)?

Thanks

Rohana

Sergio Fernández

unread,
Oct 21, 2013, 5:20:15 AM10/21/13
to lmf-...@googlegroups.com, Rohana Rajapakse, us...@marmotta.incubator.apache.org
Hi Rohana,

First, take into account that LDPath, the language used to configure the
Semantic Search engine in LMF, is now being developed in Apache Marmotta
[1]; so CCing users@marmotta for replying your question also there.

On 21/10/13 10:46, Rohana Rajapakse wrote:
> Can someone tell me how to create a Solr core on data from one or more
> selected LMF contexts (graphs)?

For limiting the LDPath evaluation to a subset of context/s (graph/s),
you'd need to use the expression:

@graph context ;

You can find some examples included in the LDPath test suite [2]. I
think the documentation needs to be updated.

Please, take into account that such feature [3] has been included in the
latest release of LDPath (3.1.0-incubating), therefore only available in
current develop branch of LMF, which should be released in few weeks.

Cheers,


[1] http://marmotta.incubator.apache.org/ldpath/introduction.html
[2]
https://git-wip-us.apache.org/repos/asf?p=incubator-marmotta.git;a=blob;f=libraries/ldpath/ldpath-core/src/test/resources/parse/program.ldpath;h=fc4fdc59865a380e39db3d598f744ad66ca61026;hb=develop
[3] http://issues.apache.org/jira/browse/MARMOTTA-215

--
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.f...@salzburgresearch.at
http://www.salzburgresearch.at
Reply all
Reply to author
Forward
0 new messages