Revision 8717
Added by ben leinfelder about 10 years ago
DatapackageSummarizer.java | ||
---|---|---|
54 | 54 |
public static String owl = "http://www.w3.org/2002/07/owl#"; |
55 | 55 |
public static String oboe = "http://ecoinformatics.org/oboe/oboe.1.0/oboe.owl#"; |
56 | 56 |
public static String oboe_core = "http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#"; |
57 |
public static String oboe_characteristics = "http://ecoinformatics.org/oboe/oboe.1.0/oboe-characteristics.owl#"; |
|
57 | 58 |
public static String oa = "http://www.w3.org/ns/oa#"; |
58 | 59 |
public static String oa_source = "http://www.w3.org/ns/oa.rdf"; |
59 | 60 |
public static String dcterms = "http://purl.org/dc/terms/"; |
... | ... | |
64 | 65 |
public static String prov_source = "http://www.w3.org/ns/prov.owl"; |
65 | 66 |
public static String cito = "http://purl.org/spar/cito/"; |
66 | 67 |
|
68 |
public static String OBOE_SBC = "OBOE-SBC"; |
|
69 |
|
|
67 | 70 |
// package visibility for testing only |
68 | 71 |
boolean randomize = false; |
69 | 72 |
|
... | ... | |
246 | 249 |
} |
247 | 250 |
} |
248 | 251 |
// try to look it up if we got this far |
249 |
return BioPortalService.lookupAnnotationClass(standardClass, unit); |
|
252 |
return BioPortalService.lookupAnnotationClass(standardClass, unit, OBOE_SBC);
|
|
250 | 253 |
} |
251 | 254 |
|
252 | 255 |
private Resource lookupCharacteristic(OntClass characteristicClass, Attribute attribute) { |
... | ... | |
280 | 283 |
} |
281 | 284 |
|
282 | 285 |
// try to look it up if we got this far |
283 |
return BioPortalService.lookupAnnotationClass(characteristicClass, attribute.getDefinition()); |
|
286 |
return BioPortalService.lookupAnnotationClass(characteristicClass, attribute.getDefinition(), OBOE_SBC);
|
|
284 | 287 |
|
285 | 288 |
} |
286 | 289 |
|
Also available in: Unified diff
add test for BioPortal annotator service.