Redland RDF Language Bindings - Ruby RDoc - Module: FOAF

### Home Classes Methods

### In Files

- rdf/redland/schemas/foaf.rb

### Methods

- #foaf_first
- #foaf_mbox
- #foaf_name
- #foaf_namespace
- #foaf_phone
- #foaf_surname
- #foaf_title

### Files

- Makefile
- Makefile
- Makefile
- Makefile

### Class/Module Index

Quicksearch

- Redland
- Redland::BNode
- Redland::ContextParser
- Redland::FileStore
- Redland::HashOpen
- Redland::HashStore
- Redland::Literal
- Redland::MemoryStore
- Redland::MergedModel
- Redland::Model
- Redland::Namespace
- Redland::Node
- Redland::NodeIterator
- Redland::NodeTypeError
- Redland::OWL
- Redland::Parser
- Redland::Query
- Redland::QueryResults
- Redland::RDFS
- Redland::RedlandError
- Redland::Resource
- Redland::Serializer
- Redland::Statement
- Redland::Stream
- Redland::TripleStore
- Redland::Uri
- Redland::Util
- Redland::World
- DC
- FOAF

No matching classes.

# FOAF

### Constants

DEPICTION
DEPICTS
FIRST
IMAGE
KNOWS
MBOX
MBOXSHAL1
NAME
NICK
NS
PERSON
PHONE
SURNAME
TITLE

### 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