Closed GoogleCodeExporter closed 9 years ago
For comparison, here's the server log for the same query under MacOS. It seems
to be the same right up to the call of
"propertyfunctions.genericIndex.enableIndex".
{{{
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] initialised request
processor [http-8080-1]
11:28:31 INFO - zoo.sparqlite.Processor :: [3] begin processing request
for path /combined
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] check if the endpoint
exists [http-8080-1]
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] completed check endpoint
exists in 0 ms [http-8080-1]
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] check the
well-formedness of the request [http-8080-1]
11:28:31 TRACE - zoo.sparqlite.RequestWrapper :: processing POST
11:28:31 TRACE - zoo.sparqlite.RequestWrapper :: checking content type of
POST request
11:28:31 TRACE - zoo.sparqlite.RequestWrapper :: found content type:
application/x-www-form-urlencoded
11:28:31 TRACE - zoo.sparqlite.RequestWrapper :: split by ';' first token:
'application/x-www-form-urlencoded'
11:28:31 TRACE - zoo.sparqlite.RequestWrapper :: content type ok
11:28:31 TRACE - zoo.sparqlite.RequestWrapper :: found query param: PREFIX
rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX crm: <http://purl.org/NET/crm-owl#>
PREFIX claros: <http://purl.org/NET/Claros/vocab#>
PREFIX pf: <http://jena.hpl.hp.com/ARQ/property#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX arqfn: <java:uk.ac.ox.zoo.sparqlite.>
ASK
{
LET (?crmtypetarget := "LEKYTHOS")
GRAPH ?g
{
?s claros:subject-not-before ("LEKYTHOS" ?beg ?end)
; rdf:type ?t
.
OPTIONAL { ?s crm:P102.has_title [ rdf:type crm:E35.Title ; rdf:value ?desc ] }
OPTIONAL { ?s crm:P70I.is_documented_in ?lnk }
?s crm:P14I.was_classified_by
[ crm:P42.assigned
[ rdfs:label ?crmtypetarget
]
] .
FILTER ( ?beg >= -0525 ) .
FILTER ( ?end <= -0474 ) .
}
}
11:28:31 TRACE - zoo.sparqlite.RequestWrapper :: check query syntax
11:28:31 TRACE - zoo.sparqlite.RequestWrapper :: using ARQ syntax
11:28:31 TRACE - zoo.sparqlite.RequestWrapper :: parsed query ok
11:28:31 INFO - zoo.sparqlite.Processor :: [3] query: PREFIX rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX crm: <http://purl.org/NET/crm-owl#>
PREFIX claros: <http://purl.org/NET/Claros/vocab#>
PREFIX pf: <http://jena.hpl.hp.com/ARQ/property#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX arqfn: <java:uk.ac.ox.zoo.sparqlite.>
ASK
{
LET (?crmtypetarget := "LEKYTHOS")
GRAPH ?g
{
?s claros:subject-not-before ("LEKYTHOS" ?beg ?end)
; rdf:type ?t
.
OPTIONAL { ?s crm:P102.has_title [ rdf:type crm:E35.Title ; rdf:value ?desc ] }
OPTIONAL { ?s crm:P70I.is_documented_in ?lnk }
?s crm:P14I.was_classified_by
[ crm:P42.assigned
[ rdfs:label ?crmtypetarget
]
] .
FILTER ( ?beg >= -0525 ) .
FILTER ( ?end <= -0474 ) .
}
}
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] completed check request
form in 8 ms [http-8080-1]
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] apply query policy rules
[http-8080-1]
11:28:31 TRACE - zoo.sparqlite.QueryPolicy :: apply query policy
11:28:31 TRACE - zoo.sparqlite.QueryPolicy :: apply query form policy
11:28:31 TRACE - zoo.sparqlite.QueryPolicy :: apply dataset description
policy
11:28:31 TRACE - zoo.sparqlite.QueryPolicy :: apply limit ceiling policy
11:28:31 TRACE - zoo.sparqlite.QueryPolicy :: apply variable predicates
policy
11:28:31 TRACE - zoo.sparqlite.QueryPolicy :: no variable predicate policy
found
11:28:31 TRACE - zoo.sparqlite.QueryPolicy :: apply filter policy
11:28:31 TRACE - zoo.sparqlite.QueryPolicy :: no variable predicate policy
found
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] completed query policy
in 1 ms [http-8080-1]
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] create a query execution
[http-8080-1]
11:28:31 TRACE - zoo.sparqlite.EndpointTDB :: exists guard condition
11:28:31 TRACE - sparqlite.config.Config :: loading description model
from
/usr/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/cl
aros_test_server/WEB-INF/tdb/combined.ttl
11:28:31 TRACE - sparqlite.config.Config :: description root is
file:///usr/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpweb
apps/claros_test_server/WEB-INF/tdb/combined.ttl#dataset
11:28:31 WARN - jena.tdb.exec :: No BGP optimizer
11:28:31 TRACE - sparqlite.config.Config :: description root is
file:///usr/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpweb
apps/claros_test_server/WEB-INF/tdb/combined.ttl#dataset
11:28:31 TRACE - sparqlite.config.Config :: dataset root is
file:///usr/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpweb
apps/claros_test_server/WEB-INF/tdb/combined.ttl#dataset
11:28:31 TRACE - sparqlite.config.Config :: LARQ location
claros_test_server/WebContent/WEB-INF/data/combined/literals provided
11:28:31 TRACE - zoo.sparqlite.EndpointTDB :: create query execution
11:28:31 TRACE - zoo.sparqlite.EndpointTDB :: set larq index
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] completed create query
execution in 48 ms [http-8080-1]
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] execute the query
[http-8080-1]
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] execute ASK query
[http-8080-1]
11:28:31 TRACE - propertyfunctions.genericIndex :: build
11:28:31 TRACE - propertyfunctions.genericIndex :: enableIndex: URI
http://purl.org/NET/Claros/vocab#subject-not-before, term LEKYTHOS
11:28:31 TRACE - propertyfunctions.genericIndex :: enableIndex: dir
claros_test_server/WebContent/WEB-INF/data/combined/indexes/term-nb
11:28:31 TRACE - propertyfunctions.genericIndex :: enableIndex: indexFullName
claros_test_server/WebContent/WEB-INF/data/combined/indexes/term-nb/LEKYTHOS
>> gi: returning ( ?end = "-475"^^xsd:int ) -> ( ?beg = "-525"^^xsd:int ) -> (
?s = <http://www.beazley.ox.ac.uk/record/6A1497E1-FC0B-4155-A5FE-9A1EE4C975DF>
) -> ( ?crmtypetarget = "LEKYTHOS" ) -> [Root]
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] completed execute query
in 5 ms [http-8080-1]
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] serialise and send the
response [http-8080-1]
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] completed send response
in 1 ms [http-8080-1]
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] perform any final
cleanup, release resources etc. [http-8080-1]
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] finalising request
handler [http-8080-1]
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] close query execution
[http-8080-1]
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] close endpoint
[http-8080-1]
11:28:31 TRACE - zoo.sparqlite.EndpointTDB :: close larq index
11:28:31 TRACE - zoo.sparqlite.EndpointTDB :: close dataset
11:28:31 TRACE - zoo.sparqlite.Processor :: [3] flush buffer
[http-8080-1]
11:28:31 INFO - zoo.sparqlite.Processor :: [3] request processing
completed in 65 ms
}}}
Original comment by gk-goo...@ninebynine.org
on 10 Sep 2010 at 10:34
The MacOS filing system is case-insensitive, but the usual Linux and Unix
filesystems are not.
Original comment by ehog.he...@googlemail.com
on 17 Sep 2010 at 7:43
Fixed -- if the file does not exist, then the generic index now returns no
answers (immediate EOF) and the query will simply return no results.
Original comment by ehog.he...@googlemail.com
on 17 Sep 2010 at 7:45
Original comment by ehog.he...@googlemail.com
on 17 Sep 2010 at 8:35
Original issue reported on code.google.com by
gk-goo...@ninebynine.org
on 10 Sep 2010 at 10:23