Page MenuHomePhabricator

NotMaterializedException on Blazegraph 2.0
Closed, ResolvedPublic

Description

This query:

prefix pr: <http://www.wikidata.org/prop/reference/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX v: <http://www.wikidata.org/prop/statement/>
PREFIX q: <http://www.wikidata.org/prop/qualifier/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX prov: <http://www.w3.org/ns/prov#> 

SELECT ?work ?workLabel ?author ?authorLabel ?genre ?location ?locationLabel ?geo ?location_statement ?citat  WHERE {
  ?work wdt:P31/wdt:P279* wd:Q386724 . 
  ?work wdt:P50 ?author .
  ?work p:P840 ?location_statement .
  ?location_statement v:P840 ?location .
  ?location wdt:P17 wd:Q35 .
  ?location wdt:P625 ?geo . 
  OPTIONAL {
    ?location_statement prov:wasDerivedFrom ?ref .
    ?ref pr:P1683 ?citat .
  }
} ORDER BY ?work ?author

causes NotMaterializedException in Blazegraph 2.0. See also https://jira.blazegraph.com/browse/BLZG-1591

Event Timeline

Smalyshev claimed this task.
Smalyshev raised the priority of this task from to High.
Smalyshev updated the task description. (Show Details)
Smalyshev added a subscriber: Smalyshev.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Also reproducible on test machine with:

PREFIX wdt: <http://www.wikidata.org/prop/direct/>

SELECT ?work ?author WHERE {
  ?work wdt:P50 ?author .
} ORDER BY ?work ?author LIMIT 10