Last active
September 22, 2016 15:32
-
-
Save mcritchlow/e36e841b9e6a019a971c6ce7858cb555 to your computer and use it in GitHub Desktop.
RDF type validation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DBPedia record for UCSD RDF type listing | |
http://umbel.org/umbel/rc/University | |
http://dbpedia.org/class/yago/School108276720 | |
http://dbpedia.org/ontology/EducationalInstitution | |
http://umbel.org/umbel/rc/EducationalOrganization | |
http://umbel.org/umbel/rc/Organization | |
http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#Agent | |
http://www.w3.org/2002/07/owl#Thing | |
http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#SocialPerson | |
http://dbpedia.org/class/yago/Abstraction100002137 | |
http://dbpedia.org/class/yago/Group100031264 | |
http://dbpedia.org/class/yago/SocialGroup107950920 | |
http://dbpedia.org/class/yago/YagoPermanentlyLocatedEntity | |
http://dbpedia.org/ontology/Organisation | |
http://dbpedia.org/class/yago/Institution108053576 | |
http://dbpedia.org/class/yago/University108286569 | |
http://dbpedia.org/ontology/University | |
http://dbpedia.org/class/yago/EducationalInstitution108276342 | |
http://schema.org/Organization | |
http://schema.org/EducationalOrganization | |
http://www.wikidata.org/entity/Q3918 | |
http://schema.org/CollegeOrUniversity | |
http://dbpedia.org/class/yago/EducationalInstitutionsEstablishedIn1960 | |
http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing | |
http://dbpedia.org/class/yago/SchoolsAccreditedByTheWesternAssociationOfSchoolsAndColleges | |
http://www.wikidata.org/entity/Q43229 | |
http://dbpedia.org/class/yago/YagoLegalActor | |
http://dbpedia.org/ontology/Agent | |
http://dbpedia.org/class/yago/YagoLegalActorGeo | |
http://dbpedia.org/class/yago/Organization108008335 | |
LC Authority record for UCSD Library RDF type listing | |
http://www.loc.gov/mads/rdf/v1#CorporateName | |
http://www.loc.gov/mads/rdf/v1#Authority | |
http://www.w3.org/2004/02/skos/core#Concept |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'active_model' | |
require 'active_triples' | |
require 'linkeddata' | |
ucsd_uri = 'http://dbpedia.org/resource/University_of_California,_San_Diego' | |
ucsd = ActiveTriples::Resource.new ucsd_uri | |
ucsd.fetch | |
puts "DBPedia record for UCSD RDF type listing" | |
puts ucsd.type | |
lc_uri = 'http://id.loc.gov/authorities/names/n84150819' | |
lc = ActiveTriples::Resource.new lc_uri | |
lc.fetch | |
puts "\n\nLC Authority record for UCSD Library RDF type listing" | |
puts lc.type |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment