You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2018/07/17 17:05:00 UTC

[jira] [Commented] (JENA-1576) Is it possible to create an index for predicates (properties) from other schemas besides rdf-syntax?

    [ https://issues.apache.org/jira/browse/JENA-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16546893#comment-16546893 ] 

Andy Seaborne commented on JENA-1576:
-------------------------------------

http://jena.apache.org/documentation/query/text-query.html#entity-map-definition

Yes - if you have having problems getting that working, you might get on better emailing the users list.

BTW: In your example, the {{text:predicate}} value has a bad URI: {{<[http://dbpedia.org/property/first]>}} -- the {{[]}} are bad.

> Is it possible to create an index for predicates (properties) from other schemas besides rdf-syntax?
> ----------------------------------------------------------------------------------------------------
>
>                 Key: JENA-1576
>                 URL: https://issues.apache.org/jira/browse/JENA-1576
>             Project: Apache Jena
>          Issue Type: New Git Repo
>            Reporter: Alysson Gomes de Sousa
>            Priority: Major
>
> I'm trying to create a text search index for other predicates, as the example shows. Is it possible to create such an instance, or did I misunderstand?
> *Example:*
> {noformat}
> <#entMap> a text:EntityMap ;
>    text:defaultField "first" ;
>    text:entityField "uri" ;
>    text:map ([ 
>      text:field "first" ; 
>      text:predicate <[http://dbpedia.org/property/first]>
>    ]).
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)