User:Wladek92

From DBpedia Mappings
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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 :

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 :

}}

extract <http://fr.dbpedia.org/resource/Modèle:Succession_musicale>
<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

SELECT DISTINCT * WHERE 
{
?s  <http://dbpedia.org/property/platform>  ?o.
?s  <http://dbpedia.org/property/wikiPageUsesTemplate>  <http://dbpedia.org/resource/Template:Infobox_china_station>.
}
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 }

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

Grammaire

RDF

Références