User:Wladek92: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
Line 17: Line 17:


=== extract ===
=== extract ===
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_en:Infobox_country > mapping.xml
C:\curl-7.80.0-win32-mingw\bin>curl http://mappings.dbpedia.org/index.php/Special:Export/Mapping_en:Infobox_country > mapping.xml
 


=== upload ===
=== upload ===

Revision as of 09:32, 3 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 :


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