User:Wladek92: Difference between revisions
No edit summary |
|||
| (29 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
translation: english french polish | translation: english french polish | ||
== Bookmarks == | |||
=== work === | |||
| single = {{Singles dans : | |||
* https://fr.wikipedia.org/wiki/Men_in_Black_(film,_1997) | |||
* https://fr.wikipedia.org/wiki/Big_Willie_Style | |||
; template use ? | |||
<pre> | |||
SELECT DISTINCT * WHERE | |||
{ | |||
#?s <http://dbpedia.org/ontology/templateName> ?v | |||
#domain range ?s ?p <http://dbpedia.org/ontology/WikimediaTemplate> | |||
# definition <http://dbpedia.org/ontology/wikiPageUsesTemplate> ?p ?o | |||
#ok <http://dbpedia.org/ontology/co2Emission> ?p ?o | |||
#rien<http://fr.dbpedia.org/property/wikiPageUsesTemplate> ?p ?o | |||
#<http://fr.dbpedia.org/resource/Manhattan-Kaboul> <http://fr.dbpedia.org/property/wikiPageUsesTemplate> ?v | |||
# ?s ?p ?o | |||
#<http://fr.dbpedia.org/resource/Manhattan-Kaboul> ?p ?o | |||
#?s <http://fr.dbpedia.org/property/wikiPageUsesTemplate> ?v . | |||
#?s <http://fr.dbpedia.org/property/wikiPageUsesTemplate> <http://fr.dbpedia.org/resource/Modèle:Palette> | |||
#<http://fr.dbpedia.org/resource/> ?p ?v | |||
#?s <http://dbpedia.org/property/wikiPageUsesTemplate> ?o . | |||
#<http://dbpedia.org/resource/Monica_Beltran> <http://dbpedia.org/property/otherWorks> ?o. --> | |||
#?s <http://dbpedia.org/property/otherWorks> ?o. | |||
#<http://dbpedia.org/resource/Monica_Beltran> ?p ?o. | |||
} LIMIT 2000 | |||
</pre> | |||
; utilisation de correspondingProperty seul : | |||
<pre> | |||
{{PropertyMapping | templateProperty = titre article en italique| ontologyProperty = italicTitle }} | |||
{{PropertyMapping | templateProperty = historique | ontologyProperty = outputHistory } | |||
{{IntermediateNodeMapping | |||
| nodeClass = WorkSequence | |||
| correspondingProperty = otherWorks | |||
| mappings = | |||
{{PropertyMapping | templateProperty = divers | ontologyProperty = otherWorks }} | |||
{{PropertyMapping | templateProperty = précédent | ontologyProperty = previousWork }} | |||
{{PropertyMapping | templateProperty = date préc | ontologyProperty = year }} | |||
{{PropertyMapping | templateProperty = suivant | ontologyProperty = subsequentWork }} | |||
{{PropertyMapping | templateProperty = date suiv | ontologyProperty = year }} | |||
}} | |||
ici 'divers' est mappé mais pas les sous éléments : précédent, date prec, ... | |||
la propriété otherWorks : http://mappings.dbpedia.org/index.php/OntologyProperty:OtherWorks | |||
est utilisée : | |||
</pre> | |||
}} | |||
; extract <http://fr.dbpedia.org/resource/Modèle:Succession_musicale> | |||
<pre> | |||
<http://fr.dbpedia.org/resource/Manhattan-Kaboul> <http://fr.dbpedia.org/property/wikiPageUsesTemplate> <http://fr.dbpedia.org/resource/Modèle:Succession_musicale> . | |||
http://mappings.dbpedia.org/server/extraction/fr/extract?title=Manhattan-Kaboul&revid=&format=turtle-triples&extractors=custom | |||
</pre> | |||
<pre> | |||
==== ''Men in Black: The Album'' ==== | |||
{{Infobox Musique (œuvre) | |||
| charte = bande originale | |||
| titre = {{titre en colonne||Men in Black|The Album}} | |||
| artiste = divers artistes | |||
| sorti = {{date|1|juillet|1997|en musique}} | |||
| enregistré = 1996-1997 | |||
| enregistré lieu = | |||
| durée = | |||
| genre = [[Rap]], [[RnB contemporain|R'n'B]] | |||
| format = [[disque compact|CD]] | |||
| auteur = | |||
| compositeur = [[Poke & Tone]], [[Jermaine Dupri]], Michael-Anthony "Mookie" Taylor, Deconzo Smith, Jerome Malcolm, The Ummah, [[De La Soul]], [[Branford Marsalis]] | |||
| producteur = | |||
| label = [[Columbia Records|Columbia]] / [[Sony Music Entertainment|Sony Music]] | |||
| critique = ''[[AllMusic]]'' {{étoiles|4}}<ref name="allmusic">{{Lien web|langue=en|url=http://www.allmusic.com/album/men-in-black-original-motion-picture-soundtrack-mw0000024665|titre=Original Soundtrack ''Men in Black'' (Original Motion Picture Soundtrack)|site=[[AllMusic]]|consulté le=7 avril 2014}}</ref> | |||
| single = {{Singles | |||
| single 1 = [[Men in Black (chanson)|Men in Black]] | |||
| date 1 = 16 juin 1997 | |||
| single 2 = Escobar '97 | |||
| date 2 = 1997 | |||
| single 3 = We Just Wanna Party with You | |||
| date 3 = 3 septembre 1997 <small>(seulement au {{Royaume-Uni}})</small> | |||
| single 4 = Just Cruisin’ | |||
| date 4 = 1 décembre 1997 | |||
}} | |||
| divers = {{Succession musicale | |||
| charte = bande originale | |||
| film = [[Men in Black (série de films)|Men in Black]] | |||
| suivant = [[Men in Black 2#Musique|Men in Black 2]] | |||
| date suiv = 2002 | |||
}} | |||
}} | |||
</pre> | |||
=== extract === | |||
C:\curl-7.80.0-win32-mingw\bin>curl http://mappings.dbpedia.org/index.php/Special:Export/Mapping_en:Infobox_country > mapping.xml | |||
http://mappings.dbpedia.org/server/mappings/fr/extractionSamples/Mapping_fr:Succession_musicale | |||
=== upload === | |||
C:\Users\Martin\Downloads\curl-7.80.0-win32-mingw\curl-7.80.0-win32-mingw\bin>curl -X PUT -H "Content-Type: application/xml" -d @mapping.xml http://dief.tools.dbpedia.org/server/mappings/en/pages/Mapping_en:Infobox_country | |||
=== my case === | |||
C:\Users\Martin\Downloads\curl-7.80.0-win32-mingw\curl-7.80.0-win32-mingw\bin>curl http://mappings.dbpedia.org/index.php/Special:Export/Mapping_fr:Infobox_Musique_(œuvre) > mappingfr.xml | |||
=== template property $TemplateName === | |||
* http://mappings.dbpedia.org/index.php/Mapping_en:Infobox_country | |||
=== select === | |||
* [https://live.dbpedia.org/sparql SPARQL] Live DBpedia entry point | * [https://live.dbpedia.org/sparql SPARQL] Live DBpedia entry point | ||
* [http://dief.tools.dbpedia.org/server/extraction/fr/ extraction/fr/] | |||
<pre> | <pre> | ||
SELECT DISTINCT * WHERE | SELECT DISTINCT * WHERE | ||
| Line 17: | Line 135: | ||
} | } | ||
</pre> | </pre> | ||
* | * http://fr.dbpedia.org/sparql virtuoso sparql-> | ||
* | <pre> | ||
* | select ?t where {<http://fr.dbpedia.org/resource/Musée_du_Louvre> <http://fr.dbpedia.org/property/wikiPageUsesTemplate> ?t } | ||
select ?d ?t where {?d <http://fr.dbpedia.org/property/wikiPageUsesTemplate> ?t } LIMIT 10 | |||
select ?d ?t where {?d <http://fr.dbpedia.org/property/producer> ?t } LIMIT 10 | |||
select ?d ?t where {?d <http://fr.dbpedia.org/property/single> ?t } LIMIT 10 | |||
select ?d ?t where {?d <http://fr.dbpedia.org/property/single> ?t } LIMIT 100 | |||
select ?d ?t where {?d <http://fr.dbpedia.org/property/single> ?t } LIMIT 100 | |||
select distinct ?d ?p where {?d ?p <http://fr.dbpedia.org/resource/Modèle:Infobox_Musique_(œuvre)> } LIMIT 100 | |||
select distinct ?p ?r where {<http://fr.dbpedia.org/resource/Men_in_Black_(film,_1997)> ?p ?r } | |||
</pre> | |||
* https://dbpedia.org/sparql SPARQL DBpedia entry point | |||
* http://el.dbpedia.org/isparql/ isparql | |||
** select distinct ?d where {?d <http://dbpedia.org/property/single> ?o} LIMIT 100 | |||
** {{Album avec singles: select distinct ?d where {?d <http://dbpedia.org/property/single> ?o} LIMIT 200 | |||
** est dans arrondissement: select distinct ?d where {?d <http://dbpedia.org/property/arrondissement> ?o} LIMIT 100 | |||
** a un producer: select distinct ?d where {?d <http://dbpedia.org/property/producer> ?o} LIMIT 100 | |||
** a une liste de singles: select distinct ?d where {?d <http://dbpedia.org/property/singleList> ?o} LIMIT 100 | |||
* [https://commons.wikimedia.org/wiki/Category:DBpedia?uselang=fr DBpedia category] | * [https://commons.wikimedia.org/wiki/Category:DBpedia?uselang=fr DBpedia category] | ||
* [http://mappings.dbpedia.org/index.php?title=Special%3ASearch search page] | * [http://mappings.dbpedia.org/index.php?title=Special%3ASearch search page] | ||
| Line 26: | Line 160: | ||
* [http://mappings.dbpedia.org/index.php/Mapping_en:Infobox_NBA_biography liste dans intermediate node] | * [http://mappings.dbpedia.org/index.php/Mapping_en:Infobox_NBA_biography liste dans intermediate node] | ||
* [http://mappings.dbpedia.org/mappingtool/web/?lang=fr mapping tool] | * [http://mappings.dbpedia.org/mappingtool/web/?lang=fr mapping tool] | ||
* [http://mappings.dbpedia.org/index.php/How_to_edit_DBpedia_Mappings Nesting_of_Templates] | |||
=== Date formats === | |||
<pre> | <pre> | ||
date 1 = 16 juin 1997 | date 1 = 16 juin 1997 | ||
| Line 39: | Line 175: | ||
</pre> | </pre> | ||
=== API === | |||
* [http://mappings.dbpedia.org/index.php?action=xxxx&title=Mapping_fr:* mapping API] | * [http://mappings.dbpedia.org/index.php?action=xxxx&title=Mapping_fr:* mapping API] | ||
* [https://en.wikipedia.org/w/api.php Wikipedia API help] | * [https://en.wikipedia.org/w/api.php Wikipedia API help] | ||
* [https://fr.wikipedia.org/w/api.php?action=query&continue=&format=xml&list=embeddedin&eititle=Mod%C3%A8le:Singles&einamespace=0&eifilterredir=nonredirects&eilimit=10 Qui utilise le modèle Singles ?] | |||
=== Server bookmarks === | |||
* [http://mappings.dbpedia.org/server/ontology/classes/#Single Ex class hierarchy] | * [http://mappings.dbpedia.org/server/ontology/classes/#Single Ex class hierarchy] | ||
* [http://mappings.dbpedia.org/server/ontology/classes/Single Ex properties of class Single] | * [http://mappings.dbpedia.org/server/ontology/classes/Single Ex properties of class Single] | ||
| Line 62: | Line 200: | ||
** [http://mappings.dbpedia.org/server/extraction/fr/ FR extraire une page pour VALIDATION]- [http://mappings.dbpedia.org/server/extraction/fr/extract?title=8%25C2%25B06_Crew&revid=&format=turtle-triples&extractors=mappings exemple] | ** [http://mappings.dbpedia.org/server/extraction/fr/ FR extraire une page pour VALIDATION]- [http://mappings.dbpedia.org/server/extraction/fr/extract?title=8%25C2%25B06_Crew&revid=&format=turtle-triples&extractors=mappings exemple] | ||
** [http://mappings.dbpedia.org/server/ontology/labels/missing/fr/ Missing labels for language fr: class property et datatype] | ** [http://mappings.dbpedia.org/server/ontology/labels/missing/fr/ Missing labels for language fr: class property et datatype] | ||
=== Grammaire === | |||
* [http://mappings.dbpedia.org/index.php/Template:IntermediateNodeMapping noeud intermédiaire] ex tableau des concours [https://fr.wikipedia.org/wiki/Mod%C3%A8le:Infobox_Miss les Miss] | * [http://mappings.dbpedia.org/index.php/Template:IntermediateNodeMapping noeud intermédiaire] ex tableau des concours [https://fr.wikipedia.org/wiki/Mod%C3%A8le:Infobox_Miss les Miss] | ||
* [http://mappings.dbpedia.org/index.php/How_to_edit_DBpedia_Mappings#Template_Mapping template mapping] | |||
* [https://raw.githubusercontent.com/dbpedia/extraction-framework/master/core/doc/mapping_language/dbpedia_grammar.xml dbpedia_grammar] | |||
* [http://mappings.dbpedia.org/server/extraction/fr/extract?title=Cascade+%28houblon%29&revid=&format=turtle-triples&extractors=custom wikiPageUsesTemplate] | |||
* [http://mappings.dbpedia.org/server/extraction/fr/extract?title=Taiheke&revid=&format=turtle-triples&extractors=custom wikiPageUsesTemplate] | |||
* [http://mappings.dbpedia.org/server/extraction/fr/extract?title=Alien+3&revid=&format=turtle-triples&extractors=custom Alien 3] | |||
=== RDF === | |||
* http://fr.dbpedia.org/data/Singles.rdf | |||
* http://fr.dbpedia.org/data/Single.rdf | |||
== Références == | |||
* [http://mappings.dbpedia.org/index.php/Special:Contributions/Fabien_gandon french chapter] responsable | * [http://mappings.dbpedia.org/index.php/Special:Contributions/Fabien_gandon french chapter] responsable | ||
* [http://mappings.dbpedia.org/index.php?title=User_talk:Cringwald&action=edit&redlink=1 celian] assistant | * [http://mappings.dbpedia.org/index.php?title=User_talk:Cringwald&action=edit&redlink=1 celian] assistant | ||
* https://forum.dbpedia.org/ forum | |||
Latest revision as of 10:48, 15 April 2022
wladek92 user: Christian
Please refer to original page.
Senior engineer in telecommunications at Nokia Center of Paris Saclay / Fr (91) - Eudil 1981 Informatique Mesures Automatique Lille (today Polytech Lille) - C C++ Perl Java LabView Matlab.
translation: english french polish
Bookmarks
work
| single = {{Singles dans :
- https://fr.wikipedia.org/wiki/Men_in_Black_(film,_1997)
- https://fr.wikipedia.org/wiki/Big_Willie_Style
- template use ?
SELECT DISTINCT * WHERE
{
#?s <http://dbpedia.org/ontology/templateName> ?v
#domain range ?s ?p <http://dbpedia.org/ontology/WikimediaTemplate>
# definition <http://dbpedia.org/ontology/wikiPageUsesTemplate> ?p ?o
#ok <http://dbpedia.org/ontology/co2Emission> ?p ?o
#rien<http://fr.dbpedia.org/property/wikiPageUsesTemplate> ?p ?o
#<http://fr.dbpedia.org/resource/Manhattan-Kaboul> <http://fr.dbpedia.org/property/wikiPageUsesTemplate> ?v
# ?s ?p ?o
#<http://fr.dbpedia.org/resource/Manhattan-Kaboul> ?p ?o
#?s <http://fr.dbpedia.org/property/wikiPageUsesTemplate> ?v .
#?s <http://fr.dbpedia.org/property/wikiPageUsesTemplate> <http://fr.dbpedia.org/resource/Modèle:Palette>
#<http://fr.dbpedia.org/resource/> ?p ?v
#?s <http://dbpedia.org/property/wikiPageUsesTemplate> ?o .
#<http://dbpedia.org/resource/Monica_Beltran> <http://dbpedia.org/property/otherWorks> ?o. -->
#?s <http://dbpedia.org/property/otherWorks> ?o.
#<http://dbpedia.org/resource/Monica_Beltran> ?p ?o.
} LIMIT 2000
- utilisation de correspondingProperty seul
{{PropertyMapping | templateProperty = titre article en italique| ontologyProperty = italicTitle }}
{{PropertyMapping | templateProperty = historique | ontologyProperty = outputHistory }
{{IntermediateNodeMapping
| nodeClass = WorkSequence
| correspondingProperty = otherWorks
| mappings =
{{PropertyMapping | templateProperty = divers | ontologyProperty = otherWorks }}
{{PropertyMapping | templateProperty = précédent | ontologyProperty = previousWork }}
{{PropertyMapping | templateProperty = date préc | ontologyProperty = year }}
{{PropertyMapping | templateProperty = suivant | ontologyProperty = subsequentWork }}
{{PropertyMapping | templateProperty = date suiv | ontologyProperty = year }}
}}
ici 'divers' est mappé mais pas les sous éléments : précédent, date prec, ...
la propriété otherWorks : http://mappings.dbpedia.org/index.php/OntologyProperty:OtherWorks
est utilisée :
}}
<http://fr.dbpedia.org/resource/Manhattan-Kaboul> <http://fr.dbpedia.org/property/wikiPageUsesTemplate> <http://fr.dbpedia.org/resource/Modèle:Succession_musicale> . http://mappings.dbpedia.org/server/extraction/fr/extract?title=Manhattan-Kaboul&revid=&format=turtle-triples&extractors=custom
==== ''Men in Black: The Album'' ====
{{Infobox Musique (œuvre)
| charte = bande originale
| titre = {{titre en colonne||Men in Black|The Album}}
| artiste = divers artistes
| sorti = {{date|1|juillet|1997|en musique}}
| enregistré = 1996-1997
| enregistré lieu =
| durée =
| genre = [[Rap]], [[RnB contemporain|R'n'B]]
| format = [[disque compact|CD]]
| auteur =
| compositeur = [[Poke & Tone]], [[Jermaine Dupri]], Michael-Anthony "Mookie" Taylor, Deconzo Smith, Jerome Malcolm, The Ummah, [[De La Soul]], [[Branford Marsalis]]
| producteur =
| label = [[Columbia Records|Columbia]] / [[Sony Music Entertainment|Sony Music]]
| critique = ''[[AllMusic]]'' {{étoiles|4}}<ref name="allmusic">{{Lien web|langue=en|url=http://www.allmusic.com/album/men-in-black-original-motion-picture-soundtrack-mw0000024665|titre=Original Soundtrack ''Men in Black'' (Original Motion Picture Soundtrack)|site=[[AllMusic]]|consulté le=7 avril 2014}}</ref>
| single = {{Singles
| single 1 = [[Men in Black (chanson)|Men in Black]]
| date 1 = 16 juin 1997
| single 2 = Escobar '97
| date 2 = 1997
| single 3 = We Just Wanna Party with You
| date 3 = 3 septembre 1997 <small>(seulement au {{Royaume-Uni}})</small>
| single 4 = Just Cruisin’
| date 4 = 1 décembre 1997
}}
| divers = {{Succession musicale
| charte = bande originale
| film = [[Men in Black (série de films)|Men in Black]]
| suivant = [[Men in Black 2#Musique|Men in Black 2]]
| date suiv = 2002
}}
}}
extract
C:\curl-7.80.0-win32-mingw\bin>curl http://mappings.dbpedia.org/index.php/Special:Export/Mapping_en:Infobox_country > mapping.xml
http://mappings.dbpedia.org/server/mappings/fr/extractionSamples/Mapping_fr:Succession_musicale
upload
C:\Users\Martin\Downloads\curl-7.80.0-win32-mingw\curl-7.80.0-win32-mingw\bin>curl -X PUT -H "Content-Type: application/xml" -d @mapping.xml http://dief.tools.dbpedia.org/server/mappings/en/pages/Mapping_en:Infobox_country
my case
C:\Users\Martin\Downloads\curl-7.80.0-win32-mingw\curl-7.80.0-win32-mingw\bin>curl http://mappings.dbpedia.org/index.php/Special:Export/Mapping_fr:Infobox_Musique_(œuvre) > mappingfr.xml
template property $TemplateName
select
- SPARQL Live DBpedia entry point
- extraction/fr/
SELECT DISTINCT * WHERE
{
?s <http://dbpedia.org/property/platform> ?o.
?s <http://dbpedia.org/property/wikiPageUsesTemplate> <http://dbpedia.org/resource/Template:Infobox_china_station>.
}
- http://fr.dbpedia.org/sparql virtuoso sparql->
select ?t where {<http://fr.dbpedia.org/resource/Musée_du_Louvre> <http://fr.dbpedia.org/property/wikiPageUsesTemplate> ?t }
select ?d ?t where {?d <http://fr.dbpedia.org/property/wikiPageUsesTemplate> ?t } LIMIT 10
select ?d ?t where {?d <http://fr.dbpedia.org/property/producer> ?t } LIMIT 10
select ?d ?t where {?d <http://fr.dbpedia.org/property/single> ?t } LIMIT 10
select ?d ?t where {?d <http://fr.dbpedia.org/property/single> ?t } LIMIT 100
select ?d ?t where {?d <http://fr.dbpedia.org/property/single> ?t } LIMIT 100
select distinct ?d ?p where {?d ?p <http://fr.dbpedia.org/resource/Modèle:Infobox_Musique_(œuvre)> } LIMIT 100
select distinct ?p ?r where {<http://fr.dbpedia.org/resource/Men_in_Black_(film,_1997)> ?p ?r }
- https://dbpedia.org/sparql SPARQL DBpedia entry point
- http://el.dbpedia.org/isparql/ isparql
- select distinct ?d where {?d <http://dbpedia.org/property/single> ?o} LIMIT 100
- {{Album avec singles: select distinct ?d where {?d <http://dbpedia.org/property/single> ?o} LIMIT 200
- est dans arrondissement: select distinct ?d where {?d <http://dbpedia.org/property/arrondissement> ?o} LIMIT 100
- a un producer: select distinct ?d where {?d <http://dbpedia.org/property/producer> ?o} LIMIT 100
- a une liste de singles: select distinct ?d where {?d <http://dbpedia.org/property/singleList> ?o} LIMIT 100
- DBpedia category
- search page
- all FR mappings
- all mappings
- liste dans intermediate node
- mapping tool
- Nesting_of_Templates
Date formats
date 1 = 16 juin 1997
date 2 = 1997
date 1 = {{date|||1996|en musique}}
date 2 = {{date|||1997|en musique}}
date 3 = {{date||juin|1997|en musique}}
date 1 = {{Date|29|janvier|1993|en musique}}
single 1 = Holler If Ya Hear Me
single 1 = [[Men in Black (chanson)|Men in Black]]
API
Server bookmarks
- Ex class hierarchy
- Ex properties of class Single
- server root menu
Grammaire
- noeud intermédiaire ex tableau des concours les Miss
- template mapping
- dbpedia_grammar
- wikiPageUsesTemplate
- wikiPageUsesTemplate
- Alien 3
RDF
Références
- french chapter responsable
- celian assistant
- https://forum.dbpedia.org/ forum