test_class.file: jena-sparql-api-resources-sparqlqc/src/test/java/org/aksw/jena_sparql_api/resources/sparqlqc/TestSparqlQcReader.java
test_class.identifier: TestSparqlQcReader
test_case.body: @Test
      public void testReadSchema() throws IOException {
          List<Resource> tasks = SparqlQcReader.loadTasks("sparqlqc/1.4/benchmark/ucqrdfs.rdf");// ;, "sparqlqc/1.4/benchmark/rdfs/*");
          //List<Resource> tasks = SparqlQcReader.loadTasks("sparqlqc/1.4/benchmark/cqnoproj.rdf", "sparqlqc/1.4/benchmark/noprojection/*");
          for(Resource task : tasks) {
              RDFDataMgr.write(System.out, task.getModel(), RDFFormat.TURTLE);
          }
      }
test_case.class_method_signature: TestSparqlQcReader.testReadSchema()
test_case.full_signature: @Test public void testReadSchema()
test_case.identifier: testReadSchema
test_case.invocations: loadTasks write getModel
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testReadSchema()
focal_class.declarator: LSQtext = ResourceFactory.createProperty("http://lsq.aksw.org/vocab#text")
focal_class.modifier: public static final
focal_class.original_string: public static final Property LSQtext = ResourceFactory.createProperty("http://lsq.aksw.org/vocab#text");
focal_class.type: Property
focal_class.var_name: LSQtext
focal_class.declarator: queryNamePattern = Pattern.compile("Q(?<id>\\d+)(?<variant>\\w+)")
focal_class.modifier: public static final
focal_class.original_string: public static final Pattern queryNamePattern = Pattern.compile("Q(?<id>\\d+)(?<variant>\\w+)");
focal_class.type: Pattern
focal_class.var_name: queryNamePattern
focal_class.declarator: schemaNamePattern = Pattern.compile("C(?<id>\\d+)")
focal_class.modifier: public static final
focal_class.original_string: public static final Pattern schemaNamePattern = Pattern.compile("C(?<id>\\d+)");
focal_class.type: Pattern
focal_class.var_name: schemaNamePattern
focal_class.declarator: resolver = new PathMatchingResourcePatternResolver()
focal_class.modifier: private static
focal_class.original_string: private static PathMatchingResourcePatternResolver resolver = new PathMatchingResourcePatternResolver();
focal_class.type: PathMatchingResourcePatternResolver
focal_class.var_name: resolver
focal_class.file: jena-sparql-api-resources-sparqlqc/src/main/java/org/aksw/jena_sparql_api/resources/sparqlqc/SparqlQcReader.java
focal_class.identifier: SparqlQcReader
focal_class.class_method_signature: SparqlQcReader.loadTestSuitesSqcf(String baseFile)
focal_class.full_signature: public static List<Resource> loadTestSuitesSqcf(String baseFile)
focal_class.identifier: loadTestSuitesSqcf
focal_class.modifiers: public static
focal_class.parameters: (String baseFile)
focal_class.return: List<Resource>
focal_class.signature: List<Resource> loadTestSuitesSqcf(String baseFile)
focal_class.class_method_signature: SparqlQcReader.extractTasks(Collection<Resource> testSuites)
focal_class.full_signature: public static List<Resource> extractTasks(Collection<Resource> testSuites)
focal_class.identifier: extractTasks
focal_class.modifiers: public static
focal_class.parameters: (Collection<Resource> testSuites)
focal_class.return: List<Resource>
focal_class.signature: List<Resource> extractTasks(Collection<Resource> testSuites)
focal_class.class_method_signature: SparqlQcReader.loadTasksSqcf(String baseFile)
focal_class.full_signature: public static List<Resource> loadTasksSqcf(String baseFile)
focal_class.identifier: loadTasksSqcf
focal_class.modifiers: public static
focal_class.parameters: (String baseFile)
focal_class.return: List<Resource>
focal_class.signature: List<Resource> loadTasksSqcf(String baseFile)
focal_class.class_method_signature: SparqlQcReader.renameProperty(Model model, Property p, String uri)
focal_class.full_signature: public static void renameProperty(Model model, Property p, String uri)
focal_class.identifier: renameProperty
focal_class.modifiers: public static
focal_class.parameters: (Model model, Property p, String uri)
focal_class.return: void
focal_class.signature: void renameProperty(Model model, Property p, String uri)
focal_class.class_method_signature: SparqlQcReader.normalizeSqcfModel(Model testSuitesModel)
focal_class.full_signature: public static void normalizeSqcfModel(Model testSuitesModel)
focal_class.identifier: normalizeSqcfModel
focal_class.modifiers: public static
focal_class.parameters: (Model testSuitesModel)
focal_class.return: void
focal_class.signature: void normalizeSqcfModel(Model testSuitesModel)
focal_class.class_method_signature: SparqlQcReader.loadTestSuites(String baseFile)
focal_class.full_signature: public static List<Resource> loadTestSuites(String baseFile)
focal_class.identifier: loadTestSuites
focal_class.modifiers: public static
focal_class.parameters: (String baseFile)
focal_class.return: List<Resource>
focal_class.signature: List<Resource> loadTestSuites(String baseFile)
focal_class.class_method_signature: SparqlQcReader.loadTestSuites(Model testSuitesModel, String baseFile)
focal_class.full_signature: public static List<Resource> loadTestSuites(Model testSuitesModel, String baseFile)
focal_class.identifier: loadTestSuites
focal_class.modifiers: public static
focal_class.parameters: (Model testSuitesModel, String baseFile)
focal_class.return: List<Resource>
focal_class.signature: List<Resource> loadTestSuites(Model testSuitesModel, String baseFile)
focal_class.class_method_signature: SparqlQcReader.loadTasks(String baseFile)
focal_class.full_signature: public static List<Resource> loadTasks(String baseFile)
focal_class.identifier: loadTasks
focal_class.modifiers: public static
focal_class.parameters: (String baseFile)
focal_class.return: List<Resource>
focal_class.signature: List<Resource> loadTasks(String baseFile)
focal_class.class_method_signature: SparqlQcReader.enrichTestCasesWithLabels(Model model)
focal_class.full_signature: public static void enrichTestCasesWithLabels(Model model)
focal_class.identifier: enrichTestCasesWithLabels
focal_class.modifiers: public static
focal_class.parameters: (Model model)
focal_class.return: void
focal_class.signature: void enrichTestCasesWithLabels(Model model)
focal_class.class_method_signature: SparqlQcReader.resolveIoResourceRef(Resource testCase, Property property,
              // String basePath,
              Map<String, RDFNode> cache, BiFunction<String, Model, RDFNode> rdfizer)
focal_class.full_signature: public static RDFNode resolveIoResourceRef(Resource testCase, Property property,
              // String basePath,
              Map<String, RDFNode> cache, BiFunction<String, Model, RDFNode> rdfizer)
focal_class.identifier: resolveIoResourceRef
focal_class.modifiers: public static
focal_class.parameters: (Resource testCase, Property property,
              // String basePath,
              Map<String, RDFNode> cache, BiFunction<String, Model, RDFNode> rdfizer)
focal_class.return: RDFNode
focal_class.signature: RDFNode resolveIoResourceRef(Resource testCase, Property property,
              // String basePath,
              Map<String, RDFNode> cache, BiFunction<String, Model, RDFNode> rdfizer)
focal_class.class_method_signature: SparqlQcReader.loadTestSuite(Resource testSuite, String basePath)
focal_class.full_signature: public static void loadTestSuite(Resource testSuite, String basePath)
focal_class.identifier: loadTestSuite
focal_class.modifiers: public static
focal_class.parameters: (Resource testSuite, String basePath)
focal_class.return: void
focal_class.signature: void loadTestSuite(Resource testSuite, String basePath)
focal_class.class_method_signature: SparqlQcReader.processQueryRecordUnchecked(
              org.springframework.core.io.Resource resource, Model inout)
focal_class.full_signature: public static Resource processQueryRecordUnchecked(
              org.springframework.core.io.Resource resource, Model inout)
focal_class.identifier: processQueryRecordUnchecked
focal_class.modifiers: public static
focal_class.parameters: (
              org.springframework.core.io.Resource resource, Model inout)
focal_class.return: Resource
focal_class.signature: Resource processQueryRecordUnchecked(
              org.springframework.core.io.Resource resource, Model inout)
focal_class.class_method_signature: SparqlQcReader.parseSchemaId(String ref)
focal_class.full_signature: public static Long parseSchemaId(String ref)
focal_class.identifier: parseSchemaId
focal_class.modifiers: public static
focal_class.parameters: (String ref)
focal_class.return: Long
focal_class.signature: Long parseSchemaId(String ref)
focal_class.class_method_signature: SparqlQcReader.parseQueryId(String ref)
focal_class.full_signature: public static Resource parseQueryId(String ref)
focal_class.identifier: parseQueryId
focal_class.modifiers: public static
focal_class.parameters: (String ref)
focal_class.return: Resource
focal_class.signature: Resource parseQueryId(String ref)
focal_class.class_method_signature: SparqlQcReader.createQueryResourceIri(String baseIri, Resource qr)
focal_class.full_signature: public static String createQueryResourceIri(String baseIri, Resource qr)
focal_class.identifier: createQueryResourceIri
focal_class.modifiers: public static
focal_class.parameters: (String baseIri, Resource qr)
focal_class.return: String
focal_class.signature: String createQueryResourceIri(String baseIri, Resource qr)
focal_class.class_method_signature: SparqlQcReader.createSchemaResource(Long id)
focal_class.full_signature: public static Resource createSchemaResource(Long id)
focal_class.identifier: createSchemaResource
focal_class.modifiers: public static
focal_class.parameters: (Long id)
focal_class.return: Resource
focal_class.signature: Resource createSchemaResource(Long id)
focal_class.class_method_signature: SparqlQcReader.processSchemaUnchecked(
              org.springframework.core.io.Resource resource, Model inout)
focal_class.full_signature: public static Resource processSchemaUnchecked(
              org.springframework.core.io.Resource resource, Model inout)
focal_class.identifier: processSchemaUnchecked
focal_class.modifiers: public static
focal_class.parameters: (
              org.springframework.core.io.Resource resource, Model inout)
focal_class.return: Resource
focal_class.signature: Resource processSchemaUnchecked(
              org.springframework.core.io.Resource resource, Model inout)
focal_class.class_method_signature: SparqlQcReader.processSchema(org.springframework.core.io.Resource resource,
              Model inout)
focal_class.full_signature: public static Resource processSchema(org.springframework.core.io.Resource resource,
              Model inout)
focal_class.identifier: processSchema
focal_class.modifiers: public static
focal_class.parameters: (org.springframework.core.io.Resource resource,
              Model inout)
focal_class.return: Resource
focal_class.signature: Resource processSchema(org.springframework.core.io.Resource resource,
              Model inout)
focal_class.class_method_signature: SparqlQcReader.processQueryRecord(org.springframework.core.io.Resource resource,
              Model inout)
focal_class.full_signature: public static Resource processQueryRecord(org.springframework.core.io.Resource resource,
              Model inout)
focal_class.identifier: processQueryRecord
focal_class.modifiers: public static
focal_class.parameters: (org.springframework.core.io.Resource resource,
              Model inout)
focal_class.return: Resource
focal_class.signature: Resource processQueryRecord(org.springframework.core.io.Resource resource,
              Model inout)
focal_class.class_method_signature: SparqlQcReader.readQueryFolder(String path)
focal_class.full_signature: @Deprecated public static Model readQueryFolder(String path)
focal_class.identifier: readQueryFolder
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (String path)
focal_class.return: Model
focal_class.signature: Model readQueryFolder(String path)
focal_method.body: public static List<Resource> loadTasks(String baseFile) throws IOException {
          List<Resource> testSuites = loadTestSuites(baseFile);
  
          List<Resource> testCases = extractTasks(testSuites);
  //		List<Resource> testCases = testSuites.stream()
  //				.flatMap(testSuite -> testSuite.getProperty(SparqlQcVocab.hasTest).getObject().as(RDFList.class)
  //						.asJavaList().stream().map(RDFNode::asResource))
  //				.filter(task -> !task.hasProperty(RDF.type, SparqlQcVocab.WarmupContainmentTest))
  //				.collect(Collectors.toList());
  
          return testCases;
      }
focal_method.class_method_signature: SparqlQcReader.loadTasks(String baseFile)
focal_method.full_signature: public static List<Resource> loadTasks(String baseFile)
focal_method.identifier: loadTasks
focal_method.invocations: loadTestSuites extractTasks
focal_method.modifiers: public static
focal_method.parameters: (String baseFile)
focal_method.return: List<Resource>
focal_method.signature: List<Resource> loadTasks(String baseFile)