CalculateLinearRegression
CalculateLinearRegressionCalculateLinearRegression           CalculateLinearRegression.pm
ServiceName = CalculateLinearRegressionAuthority = authority.for.CalculateLinearRegressionServiceType = http://someontolog...
<http://bioinfo.icapture.ubc.ca/CalculateLinearRegression_authority.for.CalculateLinearRegression_0>    <http://purl.org/d...
rdf:type                                       P                rdf:type                                                  ...
rdf:typeS                 O    rdf:typeC              owl:class    rdf:typei                 C
owl:ObjectProperty                               rdf:type                         P                 owl:ObjectProperty    ...
InputParameter                        Class                Restriction                   ObjectProperty                   ...
<rdf:RDF     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"     xmlns:regress="http://sadiframework.org/examples/...
HTTP/1.1 200 OKConnection: closeDate: Thu, 07 Apr 2011 03:24:30 GMTServer: Apache/2.2.14Vary: Accept-Encoding,User-AgentCo...
http://sadi.googlecode.com/svn/trunk/sadi.protege/doc/sadi_plugin.html    http://sadi.googlecode.com/svn/trunk/Perl/SADISe...
SADI practice
Upcoming SlideShare
Loading in …5
×

SADI practice

1,300 views

Published on

ウェブサービスをSADIの枠組みでリリースする際に、Perlを用いる場合のイントロです。

Published in: Health & Medicine, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,300
On SlideShare
0
From Embeds
0
Number of Embeds
561
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • SADI practice

    1. 1. CalculateLinearRegression
    2. 2. CalculateLinearRegressionCalculateLinearRegression CalculateLinearRegression.pm
    3. 3. ServiceName = CalculateLinearRegressionAuthority = authority.for.CalculateLinearRegressionServiceType = http://someontology.org/services/sometypeInputClass = "http://sadiframework.org/examples/regression.owl#PairedValueCollection"OutputClass = "http://sadiframework.org/examples/regression.owl#OutputClass"Description = "A implementation of the CalculateLinearRegression service"Authoritative = 1Provider = <EmailAddress>URL = <EndpointURL>UniqueIdentifier = urn:lsid:myservices:CalculateLinearRegressionServiceURI = <EndpointURL>SignatureURL = <EndpointURL>
    4. 4. <http://bioinfo.icapture.ubc.ca/CalculateLinearRegression_authority.for.CalculateLinearRegression_0> <http://purl.org/dc/elements/1.1/creator> "<EmailAddress>" ; <http://purl.org/dc/elements/1.1/publisher> "authority.for.CalculateLinearRegression" ; <http://www.mygrid.org.uk/mygrid-moby-service#authoritative> "1"^^<http://www.w3.org/2001/XMLSchema#boolean> ; a <http://www.mygrid.org.uk/mygrid-moby-service#organisation> .<http://bioinfo.icapture.ubc.ca/CalculateLinearRegression_authority.for.CalculateLinearRegression_1> <http://www.mygrid.org.uk/mygrid-moby-service#hasOperationNameText> "CalculateLinearRegression" ; <http://www.mygrid.org.uk/mygrid-moby-service#inputParameter> <http://bioinfo.icapture.ubc.ca/CalculateLinearRegression_authority.for.CalculateLinearRegression_3> ; <http://www.mygrid.org.uk/mygrid-moby-service#outputParameter> <http://bioinfo.icapture.ubc.ca/CalculateLinearRegression_authority.for.CalculateLinearRegression_4> ; <http://www.mygrid.org.uk/mygrid-moby-service#performsTask> <http://bioinfo.icapture.ubc.ca/CalculateLinearRegression_authority.for.CalculateLinearRegression_2> ; a <http://www.mygrid.org.uk/mygrid-moby-service#operation> .<http://bioinfo.icapture.ubc.ca/CalculateLinearRegression_authority.for.CalculateLinearRegression_2> a <http://someontology.org/services/sometype>, <http://www.mygrid.org.uk/mygrid-moby-service#operationTask> .<http://bioinfo.icapture.ubc.ca/CalculateLinearRegression_authority.for.CalculateLinearRegression_3> <http://www.mygrid.org.uk/mygrid-moby-service#objectType> <http://sadiframework.org/examples/regression.owl#PairedValueCollection> ; a <http://www.mygrid.org.uk/mygrid-moby-service#parameter> .<http://bioinfo.icapture.ubc.ca/CalculateLinearRegression_authority.for.CalculateLinearRegression_4> <http://www.mygrid.org.uk/mygrid-moby-service#objectType> <http://sadiframework.org/examples/regression.owl#OutputClass> ; a <http://www.mygrid.org.uk/mygrid-moby-service#parameter> .<EndpointURL> <http://purl.org/dc/elements/1.1/format> "sadi" ; <http://purl.org/dc/elements/1.1/identifier> "urn:lsid:myservices:CalculateLinearRegression" ; <http://www.mygrid.org.uk/mygrid-moby-service#hasOperation> <http://bioinfo.icapture.ubc.ca/CalculateLinearRegression_authority.for.CalculateLinearRegression_1> ; <http://www.mygrid.org.uk/mygrid-moby-service#hasServiceDescriptionLocation> "<EndpointURL>" ; <http://www.mygrid.org.uk/mygrid-moby-service#hasServiceDescriptionText> "A implementation of the CalculateLinearRegression service" ; <http://www.mygrid.org.uk/mygrid-moby-service#hasServiceNameText> "CalculateLinearRegression" ; <http://www.mygrid.org.uk/mygrid-moby-service#locationURI> "<EndpointURL>" ; <http://www.mygrid.org.uk/mygrid-moby-service#providedBy> <http://bioinfo.icapture.ubc.ca/CalculateLinearRegression_authority.for.CalculateLinearRegression_0> ; a <http://www.mygrid.org.uk/mygrid-moby-service#serviceDescription> .
    5. 5. rdf:type P rdf:type owl:class S Oeui0001 cui0001 “ ”@ja rdfs:label owl:ObjectProperty “DBCLS”@en owl:onProperty rdf:type hasMemberof rdfs:label human owl:equivalentClass owl:allValuesFro rdf:type hid0001 human owl:Restriction owl:class rdf:typehasMemberof rdf:type “ ”@ja rdfs:label
    6. 6. rdf:typeS O rdf:typeC owl:class rdf:typei C
    7. 7. owl:ObjectProperty rdf:type P owl:ObjectProperty owl:DatatypeProperty rdf:type D owl:DatatypePropertyowl:Restriction rdf:type owl:equivalentClass _:B owl:Restriction O _:B owl:onProperty rdf:type rdf:type P P x O y C x y C {x ∈ O | ∃<x,y> ∈ P ⋀ y ∈ C} owl:SomeValuesFro
    8. 8. InputParameter Class Restriction ObjectProperty onProperty rgrs:element rgrs:PairedValueCollection _ rgrs:Collection rgrs:PairedValue Class equivalentClass intersectionOf someValuesFromOutputParameter Class Restriction owl vocabulary ObjectProperty onProperty rgrs:regression _ blank node rgrs:hasRegressionModel rgrs:OutputClass _ type rgrs:LinearRegressionModel Class equivalentClass predicate someValuesFrom
    9. 9. <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:regress="http://sadiframework.org/examples/regression.owl#"> <regress:PairedValueCollection rdf:about="http://sadiframework.org/examples/input/regression1"> <regress:element> <regress:PairedValue> <regress:x rdf:datatype="http://www.w3.org/2001/XMLSchema#int">1</regress:x> <regress:y rdf:datatype="http://www.w3.org/2001/XMLSchema#int">2</regress:y> </regress:PairedValue> </regress:element> <regress:element> <regress:PairedValue> <regress:x rdf:datatype="http://www.w3.org/2001/XMLSchema#int">3</regress:x> <regress:y rdf:datatype="http://www.w3.org/2001/XMLSchema#int">5</regress:y> </regress:PairedValue> </regress:element> </regress:PairedValueCollection></rdf:RDF>_:r1302145165r1 <http://sadiframework.org/examples/regression.owl#x> "1"^^<http://www.w3.org/2001/XMLSchema#int> ; <http://sadiframework.org/examples/regression.owl#y> "2"^^<http://www.w3.org/2001/XMLSchema#int> ; a <http://sadiframework.org/examples/regression.owl#PairedValue> ._:r1302145165r5 <http://sadiframework.org/examples/regression.owl#x> "3"^^<http://www.w3.org/2001/XMLSchema#int> ; <http://sadiframework.org/examples/regression.owl#y> "5"^^<http://www.w3.org/2001/XMLSchema#int> ; a <#PairedValue> .<http://sadiframework.org/examples/input/regression1> <http://sadiframework.org/examples/regression.owl#element> _:r1302145165r1, _:r1302145165r5 ; a <http://sadiframework.org/examples/regression.owl#PairedValueCollection> .
    10. 10. HTTP/1.1 200 OKConnection: closeDate: Thu, 07 Apr 2011 03:24:30 GMTServer: Apache/2.2.14Vary: Accept-Encoding,User-AgentContent-Type: application/rdf+xmlClient-Date: Thu, 07 Apr 2011 03:24:30 GMTClient-Peer: 127.0.0.1:8000Client-Response-Num: 1Client-Transfer-Encoding: chunked<rdf:RDF xmlns:a="http://sadiframework.org/examples/regression.owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="http://sadiframework.org/examples/input/regression1"><a:hasRegressionModel><rdf:Description rdf:about="regressionModelOutput"><rdf:type rdf:resource="http://sadiframework.org/examples/regression.owl#LinearRegressionModel"/><a:slope>1.5</a:slope><a:intercept>0.5</a:intercept></rdf:Description></a:hasRegressionModel><rdf:type rdf:resource="http://sadiframework.org/examples/regression.owl#OutputClass"/></rdf:Description></rdf:RDF><http://sadiframework.org/examples/input/regression1> <http://sadiframework.org/examples/regression.owl#hasRegressionModel> <http://sw.dbcls.jp/regressionModelOutput> ; a <http://sadiframework.org/examples/regression.owl#OutputClass> .<http://sw.dbcls.jp/regressionModelOutput> <http://sadiframework.org/examples/regression.owl#intercept> "0.5" ; <http://sadiframework.org/examples/regression.owl#slope> "1.5" ; a <http://sadiframework.org/examples/regression.owl#LinearRegressionModel> .
    11. 11. http://sadi.googlecode.com/svn/trunk/sadi.protege/doc/sadi_plugin.html http://sadi.googlecode.com/svn/trunk/Perl/SADISeS/doc/sync_service.htmlhttp://sadi.googlecode.com/svn/trunk/Perl/SADISeS/doc/sync_service_advanced.html http://sadiframework.org/ontologies/service_objects.owl

    ×