- All Implemented Interfaces:
- InputFormat<Record,FileInputSplit>, Serializable
- Enclosing class:
- EnumTrianglesRdfFoaf
public static class EnumTrianglesRdfFoaf.EdgeInFormat
extends DelimitedInputFormat
Reads RDF triples and filters on the foaf:knows RDF predicate.
The foaf:knows RDF predicate indicates that the RDF subject and object (typically of type foaf:person) know each
other.
Therefore, knowing connections between people are extracted and handles as graph edges.
The EdgeInFormat filters all rdf triples with foaf:knows predicates. The subjects and objects URLs are
compared.
The lexicographically smaller URL is set as the first field of the output record, the greater one as the second field.
- See Also:
- Serialized Form