GitXplorerGitXplorer
T

BasePedia

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
d3d4df27db75025b020a8562fb284efdfa337213

Add a beginning of mapping of properties

TTpt committed 12 years ago
Unverified
aa65b53d48175c81378f23306deba08862a68de2

Fix links to Wikidata property pages.

TTpt committed 12 years ago
Unverified
fbfc4955495826e156a1643ea3b464d5f4f1bb1a

Add help file

TTpt committed 12 years ago
Unverified
7bba33c7a6f519d86abdfff14c1aa3343df1f42f

Add better support for commonsMedia

TTpt committed 12 years ago
Unverified
f649fd547123e90c6b1e8977f2516f4b8e549e87

Improve dbPedia URI encoding

TTpt committed 12 years ago
Unverified
e6d1b4f5fa6dcc1786ae0c60e771024b2bdf88bb

Use BasePedia URIs instead of Wikidata ones

TTpt committed 12 years ago

README

The README file for this repository.

BasePedia is a draft of RDF output of the Wikidata API using widely used vocabularies.

BasePedia is currently in active development and does not provide a stable URI system. BasePedia support phase 1 data and a beginning of a very simplified output of Phase 2 statements.

BasePedia is by default configure to use wikidata.org. If you want to test phase 2 features, use Wikimedia DE test repository by adding &repo=wikidata-test-repo.wikimedia.de to the URLs.

The entry point, index.php, currently support most of parameters of the wbgetentities MediaWiki api.

These parameters are supported:

  • ids: The IDs of the entities to get the data from Separate values with '|' Maximum number of values: 50

  • sites: Identifier for the site on which the corresponding page resides Use together with 'title', but only give one site for several titles or several sites for one title. Values (separate with '|') like "enwiki' or "zh_classicalwiki" Maximum number of values: 50

  • titles The title of the corresponding page Use together with 'sites', but only give one site for several titles or several sites for one title. Separate values with '|' Maximum number of values: 50

  • languages: By default the internationalized values are returned in all available languages. This parameter allows filtering these down to one or more languages by providing one or more language codes. Values (separate with '|') like "en" or kk-cyrl"

  • format: Output format to use By default html Values: html, rdfxml, json, turtle, n3, png, svg

Examples:

  • Get item with ID q42 with language attributes in all available languages in RDF/XML: index.php?format=rdfxml&ids=q42
  • Get item with ID q42 with language attributes in English language and in HTML: index.php?format=html&ids=q42&languages=en
  • Get the item for page "Berlin" on the site "enwiki", with language attributes in English language and in Turtle: index.php?format=turtle&sites=enwiki&titles=Berlin&languages=en