Successfully loaded the schema ontology!');
jQuery('#schemaOrg .resultsholder').append('
We now have ' + this.types.list().length + ' classes loaded!');
var Place = this.types.get("Place");
var City = this.types.get("City");
var Person = this.types.get("Person");
results.append('
BTW (1): A schema:City is ' +
((City.isof(Place))? ' ' : 'not ') +
'of type schema:Place, but ' +
((City.isof(Person))? ' ' : 'not ') +
'of schema:Person!
');
results.append('
BTW (2): A schema:City has ' + City.attributes.list().length + ' attributes, including all inherited!
');
},
error: function () {
results.append('
Something went wrong with loading the ontology!');
}
});