Skip to content

Dataset: yago-annotated-facts (development version)

This is a subset of the YAGO 4 knowledge base (paper), based on Wikidata, version from February 24, 2020. This dataset includes only the fact annotations in RDF-star, that is facts about facts. Each stream element corresponds to one item in Wikidata.

Stream preview (click to expand)
0000000000.ttl
[ <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies>
          <<( <http://yago-knowledge.org/resource/_Q56236170> <http://schema.org/dissolutionDate> "2009"^^<http://www.w3.org/2001/XMLSchema#gYear> )>>;
  <http://schema.org/endDate>  "2009-12"^^<http://www.w3.org/2001/XMLSchema#gYearMonth>
] .

[ <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies>
          <<( <http://yago-knowledge.org/resource/_Q56236170> <http://schema.org/dissolutionDate> "2009"^^<http://www.w3.org/2001/XMLSchema#gYear> )>>;
  <http://schema.org/startDate>  "2009-06"^^<http://www.w3.org/2001/XMLSchema#gYearMonth>
] .
0000000010.ttl
[ <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies>
          <<( <http://yago-knowledge.org/resource/Open_Science_Radio_Q18744554> <http://schema.org/creator> <http://yago-knowledge.org/resource/Matthias_Fromm_Q18748012> )>>;
  <http://schema.org/startDate>  "2013-01-02"^^<http://www.w3.org/2001/XMLSchema#date>
] .

[ <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies>
          <<( <http://yago-knowledge.org/resource/Open_Science_Radio_Q18744554> <http://schema.org/creator> <http://yago-knowledge.org/resource/Konrad_Förstner_Q18744528> )>>;
  <http://schema.org/startDate>  "2014-01-19"^^<http://www.w3.org/2001/XMLSchema#date>
] .
0000000100.ttl
[ <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies>
          <<( <http://yago-knowledge.org/resource/Carnaval_na_avenida_Central,_atual_avenida_Rio_Branco_Q65621070> <http://schema.org/dateCreated> "1906-06-22"^^<http://www.w3.org/2001/XMLSchema#date> )>>;
  <http://schema.org/endDate>  "1906"^^<http://www.w3.org/2001/XMLSchema#gYear>
] .

[ <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies>
          <<( <http://yago-knowledge.org/resource/Carnaval_na_avenida_Central,_atual_avenida_Rio_Branco_Q65621070> <http://schema.org/dateCreated> "1906-06-22"^^<http://www.w3.org/2001/XMLSchema#date> )>>;
  <http://schema.org/startDate>  "1906"^^<http://www.w3.org/2001/XMLSchema#gYear>
] .
0000001000.ttl
[ <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies>
          <<( <http://yago-knowledge.org/resource/Margherita_Cagol> <http://schema.org/nationality> <http://yago-knowledge.org/resource/Kingdom_of_Italy> )>>;
  <http://schema.org/endDate>  "1946-06-18"^^<http://www.w3.org/2001/XMLSchema#date>
] .

[ <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies>
          <<( <http://yago-knowledge.org/resource/Margherita_Cagol> <http://schema.org/nationality> <http://yago-knowledge.org/resource/Kingdom_of_Italy> )>>;
  <http://schema.org/startDate>  "1945-04-08"^^<http://www.w3.org/2001/XMLSchema#date>
] .

[ <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies>
          <<( <http://yago-knowledge.org/resource/Margherita_Cagol> <http://schema.org/nationality> <http://yago-knowledge.org/resource/Italy> )>>;
  <http://schema.org/endDate>  "1975-06-05"^^<http://www.w3.org/2001/XMLSchema#date>
] .

[ <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies>
          <<( <http://yago-knowledge.org/resource/Margherita_Cagol> <http://schema.org/nationality> <http://yago-knowledge.org/resource/Italy> )>>;
  <http://schema.org/startDate>  "1946-06-18"^^<http://www.w3.org/2001/XMLSchema#date>
] .
0000010000.ttl
[ <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies>
          <<( <http://yago-knowledge.org/resource/Mihrengiz_Kadın> <http://schema.org/nationality> <http://yago-knowledge.org/resource/Ottoman_Empire> )>>;
  <http://schema.org/endDate>  "1923"^^<http://www.w3.org/2001/XMLSchema#gYear>
] .

[ <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies>
          <<( <http://yago-knowledge.org/resource/Mihrengiz_Kadın> <http://schema.org/nationality> <http://yago-knowledge.org/resource/Ottoman_Empire> )>>;
  <http://schema.org/startDate>  "1869"^^<http://www.w3.org/2001/XMLSchema#gYear>
] .

General information

Technical metadata

  • Has stream type usage:
    • RDF stream type usage (​1)
    • RDF stream type usage (​2)
      • Type: RDF stream type usage (stax:RdfStreamTypeUsage)
      • Comment: The dataset can be viewed as a stream of graphs. Each graph corresponds to the RDF-star annotations of one Wikidata item. (en)
      • Has stream type: RDF subject graph stream (stax:subjectGraphStream)
  • Has stream element count: 617,768
  • Has stream element split:
    • Type: Stream elements split by topic (rb:TopicStreamElementSplit)
    • Comment: Every stream element corresponds to one Wikidata item. (en)
    • Has subject shape:
      • Comment: Custom target – subject of any quoted triple in the subject position. (en)
      • Target custom: YAGO annotated facts target (rb:yagoTarget)
  • Uses vocabulary: http://schema.org/
  • Conforms to W3C RDF 1.1 specification: no
  • Conforms to W3C RDF-star draft specification as of December 17, 2021: yes
  • Uses generalized triples: no
  • Uses generalized RDF datasets: no
  • Uses RDF-star: yes

Distributions

The dataset is published in a few size variants, each containing a specific number of stream elements. For each size, there are four distribution types available: flat (an N-Triples/N-Quads file in the RDF Message Log format), streaming (a .tar.gz archive with Turtle/TriG files, one file per stream element), and Jelly (a native binary format for streaming RDF), in two versions: Jelly-RDF 1.1 and Jelly-RDF 1.2. See the documentation for more details.

Distribution size Statements Flat Streaming Jelly Jelly 1.2
10K 45,960 847.9 KB 418.8 KB 811.6 KB 811.8 KB
100K 453,370 8.1 MB 3.9 MB 7.8 MB 7.8 MB
Full 4,983,398 91.0 MB 40.8 MB 84.0 MB 84.9 MB

The full metadata of all distributions can be found below.

Full flat distribution

Full stream distribution

Full Jelly distribution

Full Jelly-RDF 1.2 distribution

100K elements flat distribution

100K elements stream distribution

100K elements Jelly distribution

100K elements Jelly-RDF 1.2 distribution

10K elements flat distribution

10K elements stream distribution

10K elements Jelly distribution

10K elements Jelly-RDF 1.2 distribution

Statistics

Statistics for full distributions

  • Title: Statistics for full distributions
Sum Unique Mean St. dev. Min. Max.
IRIs 4,249,455 ~591,868 6.88 3.22 4 854
Blank nodes 2,491,699 N/A 4.03 6.13 1 1,455
Literals 1,736,327 ~57,521 2.81 2.50 1 66
Simple literals 211 ~174 0.00 0.02 0 3
Datatype literals 1,736,116 ~57,356 2.81 2.50 1 66
Language literals 0 ~0 0.00 0.00 0 0
Datatypes 647,861 6 1.05 0.22 1 3
ASCII control chars 0 N/A 0.00 0.00 0 0
Quoted triples 2,491,699 N/A 4.03 6.13 1 1,455
Subjects 3,109,467 ~3,004,006 5.03 6.13 2 1,456
Predicates 2,240,623 ~76 3.63 0.48 3 4
Objects 4,519,557 ~1,528,977 7.32 7.96 2 1,702
Graphs 617,768 ~1 1.00 0.00 1 1
Statements 4,983,398 N/A 8.07 12.25 2 2,910
Bytes per statement N/A N/A 184.57 7.89 149.50 292.50

Statistics for 100K distributions

  • Title: Statistics for 100K distributions
Sum Unique Mean St. dev. Min. Max.
IRIs 602,972 ~102,635 6.03 5.30 4 854
Blank nodes 226,685 N/A 2.27 9.28 1 1,455
Literals 187,612 ~37,278 1.88 0.98 1 49
Simple literals 66 ~66 0.00 0.03 0 3
Datatype literals 187,546 ~37,218 1.88 0.97 1 49
Language literals 0 ~0 0.00 0.00 0 0
Datatypes 110,424 5 1.10 0.31 1 3
ASCII control chars 0 N/A 0.00 0.00 0 0
Quoted triples 226,685 N/A 2.27 9.28 1 1,455
Subjects 326,685 ~318,794 3.27 9.28 2 1,456
Predicates 357,646 ~33 3.58 0.49 3 4
Objects 479,042 ~199,644 4.79 10.66 2 1,702
Graphs 100,000 ~1 1.00 0.00 1 1
Statements 453,370 N/A 4.53 18.55 2 2,910
Bytes per statement N/A N/A 186.32 8.90 150.50 292.50

Statistics for 10K distributions

  • Title: Statistics for 10K distributions
Sum Unique Mean St. dev. Min. Max.
IRIs 59,533 ~10,229 5.95 0.93 4 11
Blank nodes 22,980 N/A 2.30 1.34 1 10
Literals 19,576 ~7,330 1.96 0.90 1 8
Simple literals 0 ~0 0.00 0.00 0 0
Datatype literals 19,576 ~7,330 1.96 0.90 1 8
Language literals 0 ~0 0.00 0.00 0 0
Datatypes 11,195 3 1.12 0.33 1 3
ASCII control chars 0 N/A 0.00 0.00 0 0
Quoted triples 22,980 N/A 2.30 1.34 1 10
Subjects 32,980 ~32,944 3.30 1.34 2 11
Predicates 36,100 ~13 3.61 0.49 3 4
Objects 46,771 ~21,287 4.68 1.89 2 19
Graphs 10,000 ~1 1.00 0.00 1 1
Statements 45,960 N/A 4.60 2.68 2 20
Bytes per statement N/A N/A 187.94 8.57 169.67 252.00