     }
     
     func testPositive10Syntax() throws {
+        guard sparqlBase != nil else { throw XCTSkip("SPARQL tests base location missing; set the KINEO_W3C_TEST_PATH environment variable") }
         let sparql10Path = sparqlBase.appendingPathComponent("data-r2")
         let subdirs = ["syntax-sparql1", "syntax-sparql2", "syntax-sparql3", "syntax-sparql4", "syntax-sparql5"]
         let skip = Set([

    }
    
    func testPositive11Syntax() throws {
        let sparql11Path = sparqlBase.appendingPathComponent("data-sparql11")
        let subdirs = ["syntax-query"]
        for dir in subdirs {

    
    override func setUp() {
        super.setUp()
        if let rdfTestsBase = ProcessInfo.processInfo.environment["KINEO_W3C_TEST_PATH"] {
            let base = NSURL(fileURLWithPath: rdfTestsBase)
            sparqlBase = base.appendingPathComponent("sparql11")
        } else {
            sparqlBase = nil
        }
        let newStore = { return MemoryQuadStore() }
        testRunner = SPARQLTestRunner(newStore: newStore)
    }
