第2回LinkedData勉強会@yayamamo

8,122 views

Published on

第2回LinkedData勉強会で山本が発表した際に利用したプレゼン資料です。 http://allie.dbcls.jp/ および、 http://data.allie.dbcls.jp/sparql/ よろしくお願いします。

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
8,122
On SlideShare
0
From Embeds
0
Number of Embeds
4,549
Actions
Shares
0
Downloads
36
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • 第2回LinkedData勉強会@yayamamo

    1. 1. DB→RDF →SPARQL (@yayamamo)2011.7.23
    2. 2. Allie ( ) Allie
    3. 3. danmachold
    4. 4. ✤ (PubMed 2000 / )✤✤ PC: personal computer, primary care, prostate cancer, ... Alcoholic chronic pancreatitis: ACP, alcoholic CP, ... Year
    5. 5. ✤ (PubMed 2000 / )✤✤ PC: personal computer, primary care, prostate cancer, ... Alcoholic chronic pancreatitis: ACP, alcoholic CP, ... Year
    6. 6. complementary DNA - cDNA
    7. 7. 2000 polymerase chain reaction PCRFourier transform infrared FTIRscanning electron microscopy SEM MEDLINE 1000
    8. 8. Allie✤ mammalian target of rapamycin /✤ Neoplasms / ,✤ mTOR - (1995) Mechanism of action of rapamycin: new insights into the regulation of G1-phase progression in eukaryotic cells.✤ ( ) mTOR - PI3K, AMPK, S6K1, ...
    9. 9. http://allie.dbcls.jp/
    10. 10. ✤ ftp ✤✤ API ✤ SOAP / REST
    11. 11. Allie ?
    12. 12. RDF SPARQLhttp://data.allie.dbcls.jp/sparql/
    13. 13. SPARQL
    14. 14. —PairCluster ShortForm LongForm SPF specific pathogen-free appearsIn PubMedIDList contains CoocurringShort cooccursWithPairList FormList Pair ShortForm LongForm SPF specific pathogen-free inResearch AreaOf ResearchArea Pair ShortForm LongForm spf specified pathogen free frequency
    15. 15. Domain Object property Range Pair appearsIn PubMedListPairCluster contains PairList Pair cooccursWith CooccurringShortFormList Pair hasLongFormOf LongFormPairCluster hasLongFormRepresentationOf LongForm hasMemberOf Pair hasShortFormOf ShortFormPairCluster hasShortFormRepresentationOf ShortForm Pair inResearchAreaOf ResearchArea
    16. 16. 9000 11G ( ) 443M (gziped) 134 ( )— 1400 ( )
    17. 17. Virtuoso vs. OWLIM-SEOpenLink Virtuoso version 06.01.3127, Standard EditionOWLIM-SE 4.0 / OpenRDF Workbench 2.4.0 Virtuoso OWLIM-SE 50 3SPARQLSPARQL ○ ?
    18. 18. PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#>PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>PREFIX xsd:<http://www.w3.org/2001/XMLSchema#>PREFIX allie:<http://purl.org/allie/ontology/201102#>select distinct ?F ?lfr ?L ?lf where { [] a allie:PairCluster; allie:contains [ allie:hasMemberOf [ allie:hasLongFormOf [ rdfs:label ?lf; allie:frequency ?lfr ]; ]]; allie:frequency ?F; allie:hasShortFormRepresentationOf [ rdfs:label "SPF"@EN ]; allie:hasLongFormRepresentationOf [ rdfs:label ?L ]. FILTER ( lang(?L) = "en" && lang(?lf) = "en" )}ORDER BY DESC(xsd:integer(?F)) DESC(xsd:integer(?lfr))
    19. 19. PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#>PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>PREFIX xsd:<http://www.w3.org/2001/XMLSchema#>PREFIX allie: <http://purl.org/allie/ontology/201102#> select ?SF ?LF ?freq where { [] a allie:PairCluster; allie:frequency ?freq; allie:contains [ allie:hasMemberOf [ allie:hasShortFormOf [ rdfs:label ?SF ]; allie:hasLongFormOf [ rdfs:label ?LF ]; ]]. FILTER (xsd:integer(?freq) > 10 && !regex(?SF,"^s","i") && regex(?LF, "^specific", "i")) }ORDER BY DESC (xsd:integer(?freq))
    20. 20. SPARQL?✤✤ Virtuoso✤
    21. 21. ✤ DBCLS ✤ ✤

    ×