foaf#

Info#

Full Name

foaf

Version

4.0.0

Direct download (.csv + .md)

.tar.gz

Origin

link

CSV File Structure#

Column Number

Column Type

Column Description

1

int

The tail of the edge

2

int

The head of the edge

3

str

The label of the edge

Graph Statistics#

Num Nodes

Num Edges

256

631

Edges Statistics#

Edge Label

Num Edge Label

type

174

label

78

term_status

75

comment

75

isDefinedBy

72

domain

55

range

55

subPropertyOf

13

subClassOf

10

disjointWith

8

inverseOf

8

equivalentClass

5

title

1

description

1

equivalentProperty

1

Canonical grammars#

Nested parentheses grammars introduced in "Context-Free Path Queries on RDF Graphs". Template for these grammars is described on the Nested Parentheses page.

\[\begin{split}S \, \rightarrow \, \overline{subClassOf} \, S \, subClassOf \, \mid \, \overline{subClassOf} \, subClassOf \, \\ S \, \rightarrow \, \overline{type} \, S \, type \, \mid \, \overline{type} \, type \, \\\end{split}\]

Pyformlang CFG:

S -> subClassOf_r S subClassOf | subClassOf_r subClassOf
S -> type_r S type | type_r type

\[\begin{split}S \, \rightarrow \, \overline{subClassOf} \, S \, subClassOf \, \mid \, \overline{subClassOf} \, subClassOf \, \\\end{split}\]

Pyformlang CFG:

S -> subClassOf_r S subClassOf | subClassOf_r subClassOf

\[\begin{split}S \, \rightarrow \, \overline{type} \, S \, type \, \mid \, \overline{type} \, type \, \\\end{split}\]

Pyformlang CFG:

S -> type_r S type | type_r type