### Question:
SPARQLModelIndex extends Index { public static SPARQLModelIndex createPropertyIndex(String endpoint, String defaultGraph,float minSimilarity) { return createIndex(endpoint, defaultGraph, Lists.newArrayList(RDF.Property,OWL.DatatypeProperty,OWL.ObjectProperty),minSimilarity); } SPARQLModelIndex(Model model,float minSimilarity); @Override IndexResultSet getResourcesWithScores(String searchTerm, int limit); static SPARQLModelIndex createPropertyIndex(String endpoint, String defaultGraph,float minSimilarity); static SPARQLModelIndex createClassIndex(String endpoint, String defaultGraph,float minSimilarity); static SPARQLModelIndex createIndex(String endpoint, String defaultGraph,List<Resource> types,float minSimilarity); static final ParameterizedSparqlString queryTemplate; }### Answer:
@Test public void testCreatePropertyIndex() { SPARQLModelIndex index = SPARQLModelIndex.createPropertyIndex("http: assertTrue(index.getResources("Restaurant").contains("http: }