Interconnexion sémantique des wikis : Différence entre versions
| Ligne 48 : | Ligne 48 : | ||
=== Via 2 API === | === Via 2 API === | ||
| − | http://wiki.remixthecommons.org/api.php?action=ask&format=xml&query=%5B%5BDate+de+d%C3%A9but%3A%3A%2B%5D%5D++%7C%3FDate+de+d%C3%A9but++%7C%3FDate+de+fin++%7Cformat%3Dbroadtable++%7Climit%3D100++%7Clink%3Dall++%7Cheaders%3Dshow++%7Csearchlabel%3D%26hellip%3B+autres+r%C3%A9sultats++%7Cclass%3Dsortable | + | {{#get_web_data:http://wiki.remixthecommons.org/api.php?action=ask&format=xml&query=%5B%5BDate+de+d%C3%A9but%3A%3A%2B%5D%5D++%7C%3FDate+de+d%C3%A9but++%7C%3FDate+de+fin++%7Cformat%3Dbroadtable++%7Climit%3D100++%7Clink%3Dall++%7Cheaders%3Dshow++%7Csearchlabel%3D%26hellip%3B+autres+r%C3%A9sultats++%7Cclass%3Dsortable|format=xml|data=date=Date,texte=fulltext}} |
| − | http://wiki.lafabriquedesmobilites.fr/api.php?action=ask&format=xml& | + | {{#get_web_data:http://wiki.lafabriquedesmobilites.fr/api.php?action=ask&format=xml&query=%5B%5BDate%3A%3A%2B%5D%5D%7C%3FDate|format=xml|data=date=Date,texte=fulltext}} |
| + | |||
| + | {| class="wikitable" | ||
| + | ! Date | ||
| + | ! Evenement | ||
| + | {{#for_external_table:<nowiki/> | ||
| + | {{!}}- | ||
| + | {{!}} {{{date}}} | ||
| + | {{!}} {{{texte}}} | ||
| + | }} | ||
| + | |} | ||
Version du 6 février 2017 à 02:38
Sommaire
Mediawiki sémantique
Où trouver les propriétés ?
- Wiki des Communs : http://wiki.lescommuns.org/wiki/Sp%C3%A9cial:Propri%C3%A9t%C3%A9s
- Remix the Commons : http://wiki.remixthecommons.org/index.php?title=Sp%C3%A9cial:Propri%C3%A9t%C3%A9s
- wiki-brest : http://www.wiki-brest.net/index.php/Sp%C3%A9cial:Properties
- Wikifab : http://beta.wikifab.org/index.php/Sp%C3%A9cial:Propri%C3%A9t%C3%A9s
- Ontologie de DBPedia http://mappings.dbpedia.org/index.php?title=Special%3AAllPages&from=ASide&to=zodiacsign&namespace=202
- Commons transition : http://wiki.commonstransition.org/
MediaWiki non sémantique
- P2P Foundation / pas de sémantisation https://wiki.p2pfoundation.net/
- Movilab / pas de sémantisation http://movilab.org/index.php?title=Accueil
Exemples
Depuis un fichier préalablement créé
{{#get_web_data:url=http://discoursedb.org/GermanyCSV.txt%7Cformat=csv with header|data=bordered countries=Borders,population=Population,area=Area,capital=Capital}}
The following data has been retrieved from this URL, using the External Data MediaWiki extension:
- Germany borders the following countries: [[{{#external_value:bordered countries}}]].
- Germany has population {{#external_value:population}}.
- Germany has area {{#external_value:area}}.
- Its capital is {{#external_value:capital}}.
{{#clear_external_data:}}
Via une API
Participantes et participants à l'Assemblée européenne des Communs (depuis Remix the Commons)
| Assemblée européenne des Communs | URL
{{#for_external_table: |
|---|---|
| {{{ECAnoms}}} | {{{ECAurl}}}
}} |
{{#clear_external_data:}}
Via 2 API
| Date | Evenement
{{#for_external_table: |
|---|---|
| {{{date}}} | {{{texte}}}
}} |