Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2006 Open Grid Forum Ellen Stokes, IBM Michel Drescher, Fujitsu Information Model, JSDL and XQuery: A proposed solution OGF-19 Chapel Hill, NC USA.

Similar presentations


Presentation on theme: "© 2006 Open Grid Forum Ellen Stokes, IBM Michel Drescher, Fujitsu Information Model, JSDL and XQuery: A proposed solution OGF-19 Chapel Hill, NC USA."— Presentation transcript:

1 © 2006 Open Grid Forum Ellen Stokes, IBM Michel Drescher, Fujitsu Information Model, JSDL and XQuery: A proposed solution OGF-19 Chapel Hill, NC USA

2 © 2006 Open Grid Forum 2 OGF IPR Policies Apply I acknowledge that participation in this meeting is subject to the OGF Intellectual Property Policy. Intellectual Property Notices Note Well: All statements related to the activities of the OGF and addressed to the OGF are subject to all provisions of Appendix B of GFD-C.1, which grants to the OGF and its participants certain licenses and rights in such statements. Such statements include verbal statements in OGF meetings, as well as written and electronic communications made at any time or place, which are addressed to: the OGF plenary session, any OGF working group or portion thereof, the OGF Board of Directors, the GFSG, or any member thereof on behalf of the OGF, the ADCOM, or any member thereof on behalf of the ADCOM, any OGF mailing list, including any group list, or any other list functioning under OGF auspices, the OGF Editor or the document authoring and review process Statements made outside of a OGF meeting, mailing list or other function, that are clearly not intended to be input to an OGF activity, group or function, are not subject to these provisions. Excerpt from Appendix B of GFD-C.1: Where the OGF knows of rights, or claimed rights, the OGF secretariat shall attempt to obtain from the claimant of such rights, a written assurance that upon approval by the GFSG of the relevant OGF document(s), any party will be able to obtain the right to implement, use and distribute the technology or works when implementing, using or distributing technology based upon the specific specification(s) under openly specified, reasonable, non- discriminatory terms. The working group or research group proposing the use of the technology with respect to which the proprietary rights are claimed may assist the OGF secretariat in this effort. The results of this procedure shall not affect advancement of document, except that the GFSG may defer approval where a delay may facilitate the obtaining of such assurances. The results will, however, be recorded by the OGF Secretariat, and made available. The GFSG may also direct that a summary of the results be included in any GFD published containing the specification. OGF Intellectual Property Policies are adapted from the IETF Intellectual Property Policies that support the Internet Standards Process.

3 © 2006 Open Grid Forum 3 Overview Two documents A job description A resource description Goals Does the job meet the resources requirements? Does the resource meet the jobs requirements?

4 © 2006 Open Grid Forum 4 Contents Foundations: XML Schemas Foundations: XML Documents XQuery and context Solution Results

5 © 2006 Open Grid Forum 5 XML Schemas Information Model BES2 Makes use of Information Model JSDL2 Makes use of Information Model

6 © 2006 Open Grid Forum 6 Info Model XML Schema xs:string +

7 © 2006 Open Grid Forum 7 Info Model XML Schema (contd) + ? ? +

8 © 2006 Open Grid Forum 8 JSDL2 / BES2 XML Schema JSDL2 BES2

9 © 2006 Open Grid Forum 9 Contents Foundations: XML Schemas Foundations: XML Documents XQuery and context Solution Results

10 © 2006 Open Grid Forum 10 Sample JSDL2 document im:OS/im:PhysicalMemory > 100 DEISA OGSA

11 © 2006 Open Grid Forum 11 Sample BES2 document im:Name = 'OGSA-Grid' or count(im:Authentication/im:X509) >= 1 ( Intel, 10 ) ( Linux, 100 ) ( Intel, 10 ) ( Windows, 80 ) ( AMD, 15 ) ( Linux, 500 ) ( AMD, 15 ) ( Windows, 80 )

12 © 2006 Open Grid Forum 12 Contents Foundations: XML Schemas Foundations: XML Documents XQuery and context Solution Results

13 © 2006 Open Grid Forum 13 Dynamic queries XQuery is all about context How to provide the correct context? doc(job.xml)//im:OS/im:PhysicalMemory101 < external function document-node() decendant-or-self:: node() im:OS element element() child:: node() im:PhysicalMemory element element() typed Atomic value xs:integer boolean expression xs:boolean

14 © 2006 Open Grid Forum 14 Contents Foundations: XML Schemas Foundations: XML Documents XQuery and context Solution Results

15 © 2006 Open Grid Forum 15 Providing context VO Host

16 © 2006 Open Grid Forum 16 Assessing the results Number of VOs = 0: Job is not suitable > 0: pick one VO Host Number of Hosts = 0: Cant execute the Job > 0: pick one

17 © 2006 Open Grid Forum 17 Contents Foundations: XML Schemas Foundations: XML Documents XQuery and context Solution Results

18 © 2006 Open Grid Forum 18 How XQuery is used XQuery is a suitable language for our needs XQuery used in separate domains Requirements matching Document management Different domain usage allows: Requirements matching Restricted XQuery XPath 2.0, really! Document management Unrestricted XQuery Any other XPath interpreter solution

19 © 2006 Open Grid Forum 19 OGSA Information Model XML Element rendering work XML Element reuse vs. XQuery path assembly Requirements modeling One huge statement vs. small statements concatenated Result should be reused in JSDL2 BES2

20 © 2006 Open Grid Forum 20 XQuery Extension function Non-standard XQuery function saxon:evaluate-node( $node ) Evaluates query stored in XML element Define OGSA wrapper Decouples functionality from used Interpreter Implementation left to the user

21 © 2006 Open Grid Forum 21 JSDL 1.x implications Define requirements extension Replaces the jsdl:Resources element Query should match container resource description Which description? Is there any? Container requirements may query other JSDL extensions Compatible to existing JSDL 1.0/1.1

22 © 2006 Open Grid Forum 22 JSDL 2.x implications Anythings possible !


Download ppt "© 2006 Open Grid Forum Ellen Stokes, IBM Michel Drescher, Fujitsu Information Model, JSDL and XQuery: A proposed solution OGF-19 Chapel Hill, NC USA."

Similar presentations


Ads by Google