foaf#

Info#

Full Name

foaf

Version

4.0.0

Direct download

.tar.gz

Origin

link

Graph Statistics#

Num Nodes

Num Edges

256

1262

Edges Statistics#

Edge Label

Num Edge Label

type

174

type_r

174

label

78

label_r

78

comment

75

comment_r

75

term_status

75

term_status_r

75

isDefinedBy

72

isDefinedBy_r

72

domain

55

domain_r

55

range

55

range_r

55

subPropertyOf

13

subPropertyOf_r

13

subClassOf

10

subClassOf_r

10

disjointWith

8

disjointWith_r

8

inverseOf

8

inverseOf_r

8

equivalentClass

5

equivalentClass_r

5

description

1

description_r

1

equivalentProperty

1

equivalentProperty_r

1

title

1

title_r

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