
Linking Open Data cloud diagram, by Richard Cyganiak and Anja Jentzsch. CC-BY-SA. lod-cloud.net
On this page we collect our efforts of making PanLex part of the Linked Open Data cloud, which offers the following advantages:
| Full Dump (~872MB) (Preview) |
| DBpedia Links (~19MB) (Preview) |
| Ontology (~3.3K) |
Example Resources:
Example Queries:
| List translations for the lexeme "translation" | Compact translation table for "dictionary" |
Prefix plx: <http://ld.panlex.org/plx/>
Select ?ta ?m ?tb ?lvl ?l {
?ea rdfs:label ?ta .
?da plx:denotationExpression ?ea .
?da plx:denotationMeaning ?m .
?db plx:denotationMeaning ?m .
?db plx:denotationExpression ?eb .
?eb rdfs:label ?tb .
?eb plx:languageVariety ?lv .
?lv rdfs:label ?lvl .
?lv plx:languageVarietyOf ?l .
Filter(?ta = "translation"^^xsd:string)
}
Order By ?ta ?m ?tb ?lvl ?l
|
Prefix plx: <http://ld.panlex.org/plx/>
SELECT Distinct ?al ?alv ?alvl ?bl ?blvl ?blvo {
?ae rdfs:label ?al .
?ae plx:languageVariety ?alv .
?alv rdfs:label ?alvl .
?alv plx:languageVarietyOf ?alvo .
?alvo plx:iso639-3Code <http://ld.panlex.org/plx/iso639-3/eng> .
?ad plx:denotationExpression ?ae .
?ad plx:denotationMeaning ?m .
?bd plx:denotationMeaning ?m .
?bd plx:denotationExpression ?be .
?be rdfs:label ?bl .
?be plx:languageVariety ?blv .
?blv rdfs:label ?blvl .
?blv plx:languageVarietyOf ?blvo .
Filter(?al = "dictionary"^^xsd:string)
}
Order By ?al ?blvl ?bl ?blvo
|
| Run It! | Run It! |
These two images provide an overview of how classes and properties in the RDF version of PanLex relate.
|
|
|
The following table summarizes the number of triples, classes and properties.
| Triples: | 272.043.070 |
| Classes: | 9 |
| Properties: | 8 |
This table lists the number of instances per class:
| Class | Instances |
|---|---|
| Approvers | 3,905 |
| Expressions | 18,580,594 |
| Languages | 7,839 |
| Language Varieties | 7,248 |
| Meanings | 20,023,427 |
| Definitions | 2,522,605 |
| Denotations | 50,803,243 |
| Users | 7 |
| Licenses | 10 |
As PanLex is comprised of thousands of data sources, license information is included in the dataset for each approver. The following table shows some examples on this subject.
| List all available licenses and their usage count | List approvers and their license | List approvers under public domain license |
Prefix plx: <http://ld.panlex.org/plx/>
Select ?l (Count(*) As ?c) {
?s plx:license ?l
}
Group By ?l
|
Prefix plx: <http://ld.panlex.org/plx/>
Select * {
?s
a plx:Approver ;
plx:license ?l
}
Limit 100
|
Prefix plx: <http://ld.panlex.org/plx/>
Select * {
?s
a plx:Approver ;
plx:license <http://ld.panlex.org/plx/license/nr>
}
Limit 100
|
| Run it! | Run it! | Run it! |
The PanLex RDF dataset is created using the Sparqlify RDB-RDF mapping tool. The corresponding RDF view definitions are available here. The Linked Data interface is powered directly by the PanLex's Postgres database. For improved query performance, the source data is also dumped as RDF and loaded into an OpenLink's Virtuoso RDF store.
![]() |
![]() |