Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance issue #1769

Open
NicoLaval opened this issue Feb 6, 2025 · 2 comments
Open

Performance issue #1769

NicoLaval opened this issue Feb 6, 2025 · 2 comments

Comments

@NicoLaval
Copy link

Hi,

We run a lightweight sample (5 000 triples only - available here) in Qlever and we have performance issues when we request it (locally and on a deployed instance).

Running:

PREFIX cdi: <http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/>
SELECT ?rv WHERE {
  ?rv a cdi:RepresentedVariable
}

No problem, results appear in a few milliseconds.

Running:

PREFIX cdi: <http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?rv_cat ?rv_code ?census_code WHERE {
  ?rv a cdi:RepresentedVariable ;
      cdi:Concept-name ?on .
  ?on cdi:ObjectName-name "65b0bda47b8b593c96d6be5dc5cac151"^^xsd:string .
  ?rv cdi:RepresentedVariable_takesSubstantiveValuesFrom_SubstantiveValueDomain ?svd .
  ?svd cdi:SubstantiveValueDomain_takesValuesFrom_EnumerationDomain ?cl .
  ?cl cdi:CodeList_has_Code ?c .
  ?c cdi:Code_denotes_Category ?ct ;
     cdi:Code_uses_Notation ?n .
  ?ct cdi:Concept-displayLabel ?is .
  ?is cdi:InternationalString-languageSpecificString ?ls .
  ?ls cdi:LanguageString-content ?rv_cat .
  ?n cdi:Notation-content ?ts .
  ?ts cdi:TypedString-content ?rv_code .
  ?ct cdi:Concept-externalDefinition ?r .
  ?r cdi:Reference-nonDdiReference ?ndi .
  ?ndi cdi:NonDdiIdentifier-value ?census_cs_c .
  BIND (STRAFTER(?census_cs_c,"_") AS ?census_code)
}

Response came after 10 secondes.

I uploaded the same sample in GraphDB and execution took 0.1 second.

@hannahbast
Copy link
Member

Are you using the latest version of QLever?

@NicoLaval
Copy link
Author

I was 2 weeks late.
By updating, I have now 900 ms as response time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants