filak commented on issue #2094:
URL: https://github.com/apache/jena/issues/2094#issuecomment-1832089505

   Maybe the docs need to be more specific how to do the mapping...
   
   I had started initially with only with the catch-all *ftext* field - ie 
   ```
   <#entMap>
   ...
   text:map (
            [ text:field "ftext" ; text:predicate ...
   ```
   and a queries like this
   
          ?s text:query ("whatever")
   
   Then I realized I needed more control over the searching and I started 
trying to use propLists.
   
   So should I map all the fields separately in the text:map and mix them in 
the propLists as needed? 
   
   What might make sense to me:
   
   1. Map the fields like this
   
   ```
       text:map (
            [ text:field "labels" ; text:predicate rdfs:label ]
            [ text:field "labels" ; text:predicate mt:altLabel ]
            [ text:field "labels" ; text:predicate mt:alt_label ]
            [ text:field "notes"  ; text:predicate mt:note1 ]
            [ text:field "notes"  ; text:predicate mt:note2 ]
   ```
   
   2. Mix and match the labes and the notes as needed in the propLists - ie
   
   ```
       text:propLists (
           [ text:propListProp mt:defQuery ;
             text:props ( 
                labels
                ) ;
           ]
           [ text:propListProp mt:includeNotes ;
             text:props (
                labels 
                notes
                ) ;
           ]
   ```
   
   But I have no clue if that is feasible at all or what prefix I should use in 
this case.
    


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to