×

SPARQL QUERY OPTIMIZATION METHOD

  • US 20140372408A1
  • Filed: 01/25/2012
  • Published: 12/18/2014
  • Est. Priority Date: 01/25/2012
  • Status: Abandoned Application
First Claim
Patent Images

1. A SPARQL query optimization method for optimizing a SPARQL query by use of a computer, the method comprising the steps of:

  • receiving from an input device a contraction base table in which a basis to associate a plurality of literals in RDF data held by an RDF store with one value referred to as a contracted literal is defined;

    generating a contraction table to associate a plurality of resources included in the RDF data with one contracted literal with reference to the contraction base table;

    creating contracted RDF data obtained by integrating a plurality of nodes of the RDF data into one node and adding, to the RDF data, a triple representing a correspondence relation between a node of the RDF data and a contracted RDF node with reference to the contraction base table and the contraction table;

    receiving a SPARQL query from the input device and creating a contracted query obtained by replacing a literal in the query that has been input by a corresponding contracted literal with reference to the contraction base table;

    searching the contracted RDF data by use of the contracted query and generating a variable binding table in which a contracted literal possessed by each variable in the query is recorded;

    creating an expanded query obtained by adding to the query a variable node of restricted range that specifies a contracted literal possessed by each variable with reference to the variable binding table that has been generated; and

    searching the RDF data by use of the expanded query that has been created and obtaining a search result.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×