User:Wladek92: Difference between revisions
(→work) |
(→work) |
||
| Line 64: | Line 64: | ||
</pre> | </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> | <pre> | ||
Revision as of 19:37, 11 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
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