User:Wladek92: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
Line 15: Line 15:
*  https://fr.wikipedia.org/wiki/Big_Willie_Style
*  https://fr.wikipedia.org/wiki/Big_Willie_Style


; 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 ===
=== extract ===

Revision as of 17:20, 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 :

utilisation de correspondingProperty seul




Property Mapping (help)
template property titre article en italique
ontology property italicTitle
Property Mapping (help)
template property historique
ontology property [[OntologyProperty:outputHistory }
Intermediate Node Mapping (help)
node class WorkSequence
corresponding property otherWorks




Property Mapping (help)
template property divers
ontology property otherWorks




Property Mapping (help)
template property précédent
ontology property previousWork




Property Mapping (help)
template property date préc
ontology property year




Property Mapping (help)
template property suivant
ontology property subsequentWork




Property Mapping (help)
template property date suiv
ontology property 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 :|outputHistory }

Intermediate Node Mapping (help)
node class WorkSequence
corresponding property otherWorks




Property Mapping (help)
template property divers
ontology property otherWorks




Property Mapping (help)
template property précédent
ontology property previousWork




Property Mapping (help)
template property date préc
ontology property year




Property Mapping (help)
template property suivant
ontology property subsequentWork




Property Mapping (help)
template property date suiv
ontology property 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

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

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