Skip to content

Commit 978af4a

Browse files
committed
Namespace use of RDFS in Vocabulary.
1 parent 1653ed0 commit 978af4a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/rdf/vocabulary.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,9 +619,9 @@ def each_statement
619619
prop = RDF::URI("http://schema.org/rangeIncludes")
620620
value = RDF::Vocabulary.expand_pname(value)
621621
when :label
622-
prop = RDFS.label
622+
prop = RDF::RDFS.label
623623
when :comment
624-
prop = RDFS.comment
624+
prop = RDF::RDFS.comment
625625
else
626626
prop = RDF::Vocabulary.expand_pname(prop.to_s)
627627
next unless prop

0 commit comments

Comments
 (0)