FOAF

Public Instance Methods

foaf_first(node) click to toggle source
# File rdf/redland/schemas/foaf.rb, line 21
def foaf_first(node)
  @model.object(node,FOAF['firstName']).to_s
end
foaf_mbox(node) click to toggle source
# File rdf/redland/schemas/foaf.rb, line 45
def foaf_mbox(node)
  @model.object(node,MBOX).to_s
end
foaf_name(node) click to toggle source
# File rdf/redland/schemas/foaf.rb, line 25
def foaf_name(node)
  @model.object(node,NAME).to_s
end
foaf_namespace() click to toggle source
# File rdf/redland/schemas/foaf.rb, line 41
def foaf_namespace
  return FOAF
end
foaf_phone(node) click to toggle source
# File rdf/redland/schemas/foaf.rb, line 37
def foaf_phone(node)
  @model.object(node,FOAF['phone']).to_s
end
foaf_surname(node) click to toggle source
# File rdf/redland/schemas/foaf.rb, line 33
def foaf_surname(node)
  @model.object(node,FOAF['surname']).to_s
end
foaf_title(node) click to toggle source
# File rdf/redland/schemas/foaf.rb, line 29
def foaf_title(node)
  @model.object(node,FOAF['title']).to_s
end

Go to Redland Home - Language Bindings Home - Ruby API Home

(C) Copyright 2004-2013 Dave Beckett, (C) Copyright 2004-2005 University of Bristol