### KEHOME/knowledge/application/SemanticWeb/TAP/j1A.mkr.htm January 3, 2003 mkr:GetData examples by Richard H. McCullough # TAP: Towards a Web of Data
R.V.Guha IBM Research, Almaden guha @ us.ibm.com | Rob McCool KSL, Stanford University robm @ ksl.stanford.edu
## Appendix Here are the MKR messages associated with the examples of GetData presented in the paper.
    Example 1: GetData(<Yo-Yo Ma>, birthplace) => <Paris>
    Request
        <mkr:GetData>
            Yo-Yo Ma isa* Person
            Yo-Yo Ma has birthplace = ?
        </mkr:GetData>
    Response
        <mkr:Data>
            Yo-Yo Ma isa Musician
            Yo-Yo Ma has birthplace = Paris\France
            Paris\France isa City
            Paris\France has label lang en = Paris
        </mkr:Data>
    Example 2: <GetData(<Paris>, temperature) => 57 F
    Request
        <mkr:GetData>
            Paris\France isa City
            Paris\France has temperature = ?
        </mkr:GetData>
    Response
        <mkr:Data>
            Paris\France isa City
            Paris\France has temperature = 57 F
        </mkr:Data>
    Example 3: GetData(<Paris>, locatedIn) => <France>
    Request
        <mkr:GetData>
            Paris\France isa City
            Paris\France has locatedIn = ?
        </mkr:GetData>
    Response
        <mkr:Data>
            Paris\France isa City
            Paris\France has locatedIn = France
               France isa Country
               France has longFormName = French Republic,
                    placeLetterCode = FR,
                    label lang en = France,
                    adjective = French
        </mkr:Data>