Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-1198

Full text search in sub-query doesn't work.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: BLAZEGRAPH_RELEASE_1_5_1
    • Fix Version/s: None
    • Component/s: Query Plan Generator
    • Labels:
      None

      Description

      Full text search works in subqueries only with explicit service call.

      For example this query works:

      prefix skos: <http://www.w3.org/2004/02/skos/core#>
      prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
      prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
      prefix bds: <http://www.bigdata.com/rdf/search#>
      prefix rso: <http://www.researchspace.org/ontology/>
      
      construct {
        ?s rdf:type <http://www.researchspace.org/ontology/Place> ;
           rdfs:label ?l .
      } where {
         select ?s ?l where {
            ?s rdf:type <http://www.researchspace.org/ontology/Place> .
            ?s skos:prefLabel ?l .
           
            SERVICE <http://www.bigdata.com/rdf/search#search> {
             ?l bds:search "*north*" .
             ?l bds:relevance ?score .
            }
        }      
      }
      

      this one doesn't:

      prefix skos: <http://www.w3.org/2004/02/skos/core#>
      prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
      prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
      prefix bds: <http://www.bigdata.com/rdf/search#>
      prefix rso: <http://www.researchspace.org/ontology/>
      
      construct {
        ?s rdf:type <http://www.researchspace.org/ontology/Place> ;
           rdfs:label ?l .
      } where {
         select ?s ?l where {
            ?s rdf:type <http://www.researchspace.org/ontology/Place> .
            ?s skos:prefLabel ?l .
      
            ?l bds:search "*north*" ;
                   bds:relevance ?score .
        }      
      }
      

      but in fact they are isomorphic. At least they should be.

        Attachments

          Activity

            People

            Assignee:
            mrpersonick mrpersonick
            Reporter:
            artemkozlov artemkozlov
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: