Permalink
Browse files

Made Wikidata URIs of type FOAF:Document

  • Loading branch information...
njh committed Nov 24, 2012
1 parent 7268ff8 commit ff7bc83158e8b4ec53babea1239aff45e8c61e5e
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/wikipedia_thing.rb
View
@@ -137,6 +137,7 @@ def to_rdf
# Link to WikiData
unless wikidata_id.nil?
graph << [self.uri, RDF::FOAF.page, wikidata_url]
+ graph << [wikidata_url, RDF.type, RDF::FOAF.Document]
graph << [wikidata_url, RDF::RDFS.label, wikidata_label]
graph << [wikidata_url, RDF::RDFS.comment, wikidata_description]
end

0 comments on commit ff7bc83

Please sign in to comment.