LinguaLibre

Difference between revisions of "Records"

Line 1: Line 1:
{{DataViz
+
<query record="item" recordLabel="transcription" locutorLabel="locuteur" languageLabel="langue" languageLevelLabel="Niveau de langue">
| query = select ?record ?recordLabel ?locutorLabel ?languageLabel ?languageLevelLabel
+
    select ?record ?recordLabel ?locutorLabel ?languageLabel ?languageLevelLabel
            where {
+
    where {
              ?record prop:P2 entity:Q2 .
+
        ?record prop:P2 entity:Q2 .
              ?record prop:P5 ?locutor .
+
        ?record prop:P5 ?locutor .
              #extra:{"type": "wikibase-item", "filter":"Q3", "label": "P5", "multiple": true} ?record prop:P5 entity:[EXTRA] .
+
        #extra:{"type": "wikibase-item", "filter":"Q3", "label": "P5", "multiple": true} ?record prop:P5 entity:[EXTRA] .
              ?record prop:P4 ?language .
+
        ?record prop:P4 ?language .
              #extra:{"type": "wikibase-item", "filter":"Q4", "label": "P4", "multiple": true} ?record prop:P4 entity:[EXTRA] .
+
        #extra:{"type": "wikibase-item", "filter":"Q4", "label": "P4", "multiple": true} ?record prop:P4 entity:[EXTRA] .
  
              ?locutor llp:P4 ?languageStatement .
+
        ?locutor llp:P4 ?languageStatement .
              ?languageStatement llv:P4 ?language .
+
        ?languageStatement llv:P4 ?language .
              ?languageStatement llq:P13 ?languageLevel .
+
        ?languageStatement llq:P13 ?languageLevel .
              #extra:{"type": "wikibase-item", "filter":"Q5", "label": "P13", "multiple": true} ?languageStatement llq:P13 entity:[EXTRA] .
+
        #extra:{"type": "wikibase-item", "filter":"Q5", "label": "P13", "multiple": true} ?languageStatement llq:P13 entity:[EXTRA] .
  
              SERVICE wikibase:label {
+
        SERVICE wikibase:label {
                bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
+
            bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
              }
+
        }
 
+
    } ORDER BY ?languageLabel ?languageLevelLabel
            } ORDER BY ?languageLabel ?languageLevelLabel
+
</query>
}}
 

Revision as of 15:40, 10 April 2018

... Loading ...