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

   Hmmm, so going back to my Observation 1... 
   
   The undescore issue is just a red herring - I apologize for the mistake.
   
   I did forgot to include a field in the text:map() - mx:alt_label
   
   ```
     [ text:propListProp mt:testQuery ;
       text:props ( 
          rdfs:label
            mt:altLabel 
            mx:alt_label
          ) ;
   
   <#entMap> 
       a text:EntityMap ;
       text:defaultField     "ftext" ;
       text:entityField      "uri" ;
       text:uidField         "uid" ;
       text:langField        "lang" ;
       text:graphField       "graph" ;
       text:map (
            [ text:field "ftext" ; text:predicate rdfs:label ]
            [ text:field "ftext" ; text:predicate mt:altLabel ]
            [ text:field "ftext" ; text:predicate mt:note ]
            ) .
   ```
   
   So a query
   
   ```
   select * where {
   ?s text:query (mt:testQuery "*") 
   }
   ```
   
   returns always 0 hits.
   
   Is this correct behaviour ? There is a missing field (mx:alt_label) in the 
props but also an existing field (mt:altLabel) - so maybe the query should 
return some hits 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