From f1518f2fb90028a028d090702b146ab507fd9f73 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Fri, 19 Aug 2011 19:49:17 -0100 Subject: [PATCH] Update documentation --- archives.html | 3 + author/Alexis Métaireau.html | 35 ++++++++ category/python.html | 98 ++++++++++++---------- feeds/all-en.atom.xml | 4 +- feeds/all.atom.xml | 4 +- feeds/python.atom.xml | 4 +- index.html | 96 ++++++++++----------- simple-test-page.html | 157 +++++++++++++++++++++++++++++++++++ tag/bleh.html | 153 ++++++++++++++++++++++++++++++++++ 9 files changed, 458 insertions(+), 96 deletions(-) create mode 100644 simple-test-page.html create mode 100644 tag/bleh.html diff --git a/archives.html b/archives.html index cebf423..f3963f1 100644 --- a/archives.html +++ b/archives.html @@ -130,6 +130,9 @@
Tue 16 August 2011
Using dbpedia to get languages influences
+
Fri 19 August 2011
+
Simple test page
+ diff --git a/author/Alexis Métaireau.html b/author/Alexis Métaireau.html index 2cc12f2..07fa493 100644 --- a/author/Alexis Métaireau.html +++ b/author/Alexis Métaireau.html @@ -721,6 +721,41 @@ me ...

+
  • + + + + + + +
  • Sprinting on distutils2 in Tours

    diff --git a/category/python.html b/category/python.html index 348d984..b8eb6a4 100644 --- a/category/python.html +++ b/category/python.html @@ -57,8 +57,48 @@ + +
    +

    Other articles

    +
    +
      + + + + + + + + + +
    1. +
      +

      Using dbpedia to get languages influences

      +
      + +
      +

      While browsing the Python's wikipedia page, I found information about the languages + +

      While browsing the Python's wikipedia page, I found information about the languages influenced by python, and the languages that influenced python itself.

      Well, that's kind of interesting to know which languages influenced others, it could even be more interesting to have an overview of the connexion between -them, keeping python as the main focus.

      -

      This information is available on the wikipedia page, but not in a really -exploitable format. Hopefully, this information is provided into the -information box present on the majority of wikipedia pages. And… guess what? -there is project with the goal to scrap and index all this information in -a more queriable way, using the semantic web technologies.

      -

      Well, you may have guessed it, the project in question in dbpedia, and exposes -information in the form of RDF triples, which are way more easy to work with -than simple HTML.

      -

      For instance, let's take the page about python: -http://dbpedia.org/page/Python_%28programming_language%29

      -

      The interesting properties here are "Influenced" and "InfluencedBy", which -allows us to get a list of languages. Unfortunately, they are not really using -all the power of the Semantic Web here, and the list is actually a string with -coma separated values in it.

      -

      Anyway, we can use a simple rule: All wikipedia pages of programming languages -are either named after the name of the language itself, or suffixed with "( -programming language)", which is the case for python.

      -

      So I've built a tiny script to extract the information from dbpedia and transform them into a shiny graph using graphviz.

      -

      After a nice:

      -
      -$ python get_influences.py python dot | dot -Tpng > influences.png
      -
      -

      The result is the following graph (see it directly here)

      -http://files.lolnet.org/alexis/influences.png -

      While reading this diagram, keep in mind that it is a) not listing all the -languages and b) keeping a python perspective.

      -

      This means that you can trust the scheme by following the arrows from python to -something and from something to python, it is not trying to get the matching -between all the languages at the same time to keep stuff readable.

      -

      It would certainly be possible to have all the connections between all -languages (and the resulting script would be easier) to do so, but the resulting -graph would probably be way less readable.

      -

      You can find the script on my github account. Feel free to adapt it for -whatever you want if you feel hackish.

      -

      There are comments.

      -
      - - - - +them ...

      + read more +

      There are comments.

      + +
  • + + - - + + +
    diff --git a/feeds/all-en.atom.xml b/feeds/all-en.atom.xml index 720562d..347b4f0 100644 --- a/feeds/all-en.atom.xml +++ b/feeds/all-en.atom.xml @@ -1,5 +1,7 @@ -Alexis' loghttp://blog.notmyidea.org2011-08-16T00:00:00ZUsing dbpedia to get languages influences2011-08-16T00:00:00ZAlexis Métaireautag:blog.notmyidea.org,2011-08-16:/using-dbpedia-to-get-languages-influences.html/<p>While browsing the Python's wikipedia page, I found information about the languages +Alexis' loghttp://blog.notmyidea.org2011-08-19T00:00:00ZSimple test page2011-08-19T00:00:00ZAlexis Métaireautag:blog.notmyidea.org,2011-08-19:/simple-test-page.html/<p>Simple test for ghp-import + post commit hook +Yeah ?</p> +Using dbpedia to get languages influences2011-08-16T00:00:00ZAlexis Métaireautag:blog.notmyidea.org,2011-08-16:/using-dbpedia-to-get-languages-influences.html/<p>While browsing the Python's wikipedia page, I found information about the languages influenced by python, and the languages that influenced python itself.</p> <p>Well, that's kind of interesting to know which languages influenced others, it could even be more interesting to have an overview of the connexion between diff --git a/feeds/all.atom.xml b/feeds/all.atom.xml index 4e1f5f6..a9457b3 100644 --- a/feeds/all.atom.xml +++ b/feeds/all.atom.xml @@ -1,5 +1,7 @@ -Alexis' loghttp://blog.notmyidea.org2011-08-16T00:00:00ZUsing dbpedia to get languages influences2011-08-16T00:00:00ZAlexis Métaireautag:blog.notmyidea.org,2011-08-16:/using-dbpedia-to-get-languages-influences.html/<p>While browsing the Python's wikipedia page, I found information about the languages +Alexis' loghttp://blog.notmyidea.org2011-08-19T00:00:00ZSimple test page2011-08-19T00:00:00ZAlexis Métaireautag:blog.notmyidea.org,2011-08-19:/simple-test-page.html/<p>Simple test for ghp-import + post commit hook +Yeah ?</p> +Using dbpedia to get languages influences2011-08-16T00:00:00ZAlexis Métaireautag:blog.notmyidea.org,2011-08-16:/using-dbpedia-to-get-languages-influences.html/<p>While browsing the Python's wikipedia page, I found information about the languages influenced by python, and the languages that influenced python itself.</p> <p>Well, that's kind of interesting to know which languages influenced others, it could even be more interesting to have an overview of the connexion between diff --git a/feeds/python.atom.xml b/feeds/python.atom.xml index 75e4679..d2dec34 100644 --- a/feeds/python.atom.xml +++ b/feeds/python.atom.xml @@ -1,5 +1,7 @@ -Alexis' loghttp://blog.notmyidea.org2011-08-16T00:00:00ZUsing dbpedia to get languages influences2011-08-16T00:00:00ZAlexis Métaireautag:blog.notmyidea.org,2011-08-16:/using-dbpedia-to-get-languages-influences.html/<p>While browsing the Python's wikipedia page, I found information about the languages +Alexis' loghttp://blog.notmyidea.org2011-08-19T00:00:00ZSimple test page2011-08-19T00:00:00ZAlexis Métaireautag:blog.notmyidea.org,2011-08-19:/simple-test-page.html/<p>Simple test for ghp-import + post commit hook +Yeah ?</p> +Using dbpedia to get languages influences2011-08-16T00:00:00ZAlexis Métaireautag:blog.notmyidea.org,2011-08-16:/using-dbpedia-to-get-languages-influences.html/<p>While browsing the Python's wikipedia page, I found information about the languages influenced by python, and the languages that influenced python itself.</p> <p>Well, that's kind of interesting to know which languages influenced others, it could even be more interesting to have an overview of the connexion between diff --git a/index.html b/index.html index 122fa43..e479afc 100644 --- a/index.html +++ b/index.html @@ -57,8 +57,48 @@ + +
    +

    Other articles

    +
    +
      + + + + + + + + + +
    1. +
      +

      Using dbpedia to get languages influences

      +
      + +
      +

      While browsing the Python's wikipedia page, I found information about the languages + +

      While browsing the Python's wikipedia page, I found information about the languages influenced by python, and the languages that influenced python itself.

      Well, that's kind of interesting to know which languages influenced others, it could even be more interesting to have an overview of the connexion between -them, keeping python as the main focus.

      -

      This information is available on the wikipedia page, but not in a really -exploitable format. Hopefully, this information is provided into the -information box present on the majority of wikipedia pages. And… guess what? -there is project with the goal to scrap and index all this information in -a more queriable way, using the semantic web technologies.

      -

      Well, you may have guessed it, the project in question in dbpedia, and exposes -information in the form of RDF triples, which are way more easy to work with -than simple HTML.

      -

      For instance, let's take the page about python: -http://dbpedia.org/page/Python_%28programming_language%29

      -

      The interesting properties here are "Influenced" and "InfluencedBy", which -allows us to get a list of languages. Unfortunately, they are not really using -all the power of the Semantic Web here, and the list is actually a string with -coma separated values in it.

      -

      Anyway, we can use a simple rule: All wikipedia pages of programming languages -are either named after the name of the language itself, or suffixed with "( -programming language)", which is the case for python.

      -

      So I've built a tiny script to extract the information from dbpedia and transform them into a shiny graph using graphviz.

      -

      After a nice:

      -
      -$ python get_influences.py python dot | dot -Tpng > influences.png
      -
      -

      The result is the following graph (see it directly here)

      -http://files.lolnet.org/alexis/influences.png -

      While reading this diagram, keep in mind that it is a) not listing all the -languages and b) keeping a python perspective.

      -

      This means that you can trust the scheme by following the arrows from python to -something and from something to python, it is not trying to get the matching -between all the languages at the same time to keep stuff readable.

      -

      It would certainly be possible to have all the connections between all -languages (and the resulting script would be easier) to do so, but the resulting -graph would probably be way less readable.

      -

      You can find the script on my github account. Feel free to adapt it for -whatever you want if you feel hackish.

      -

      There are comments.

      -
      - - - -
      -

      Other articles

      -
      -
        - - +them ...

        + read more +

        There are comments.

        + + diff --git a/simple-test-page.html b/simple-test-page.html new file mode 100644 index 0000000..0f2fefa --- /dev/null +++ b/simple-test-page.html @@ -0,0 +1,157 @@ + + + + Simple test page + + + + + + + + + + + + + + + + + +Fork me on GitHub + + + + + +
        +
        +

        Simple test page

        +
        + +

        Simple test for ghp-import + post commit hook +Yeah ?

        + +
        + +
        +

        Comments !

        +
        + +
        + + +
        +
        + +
        + +
        +

        blogroll

        + +
        + + + + +
        + + + + + + + + + + \ No newline at end of file diff --git a/tag/bleh.html b/tag/bleh.html new file mode 100644 index 0000000..fb85eb3 --- /dev/null +++ b/tag/bleh.html @@ -0,0 +1,153 @@ + + + + Alexis' log - bleh + + + + + + + + + + + + + + + + + +Fork me on GitHub + + + + + + + + + + + + + + + + + + + +
        + +
        +

        blogroll

        + +
        + + + + +
        + + + + + + + + + + \ No newline at end of file