[www-archive] <none>

javac RDFQClient.java
java samples.misc.RDFQClient
Request:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > <SOAP-ENV:Body>
<rq:squish xmlns:rq="http://rdfweb.org/RDF/RDFWeb/SOAPDemo">
<rq:arg0>SELECT ?x, ?l, ?cFROM     http://xmlns.com/wordnet/1.6/Job WHERE   (web::type ?x rdfs::Class)   (rdfs::label ?x ?l)   (rdfs::description ?x ?c) USING web FOR http://www.w3.org/1999/02/22-rdf-syntax-ns# rdfs FOR http://www.w3.org/2000/01/rdf-schema#</rq:arg0><rq:arg1>http://xmlns.com/wordnet/1.6/Job</rq:arg1> </rq:squish>
</SOAP-ENV:Body></SOAP-ENV:Envelope>

Url: http://fireball.dyndns.org/cgi-bin/soap
soap action is: http://rdfweb.org/RDF/RDFWeb/SOAPDemo#squish
Response:
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:xmlsoap="http://xml.apache.org/xml-soap"><SOAP-ENV:Body><namesp1:squishResponse xmlns:namesp1="http://rdfweb.org/RDF/RDFWeb/SOAPDemo"><SOAP-ENC:Array SOAP-ENC:arrayType="xmlsoap:Map[24]" xsi:type="SOAP-ENC:Array"><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Piecework</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Piecework"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "work paid for according to the quantity produced"</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="x!
!
!
!
sd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Berth</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Berth"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "a job in an organization or hierarchy; "he ocupied a post in the treasury""</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Coaching_job</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Coaching_job"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "the job of a professional coach"</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Salt_mine</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Salt_mine"</value></item><item><key xsi:type="xsd:int">2</k!
!
!
!
ey><value xsi:type="xsd:string"> "a job involving drudgery and confinement"</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Situation</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Situation"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "a job in an organization or hierarchy; "he ocupied a post in the treasury""</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Engagement</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Engagement"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "a job for performers or performing groups that lasts for a limited period of time; "the play had bookings throughout the summer""</value></item></item><item xsi:type="xmlsoap:Ma!
!
!
!
p"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Service</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Service"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "employment in work for another; "he retired after 30 years of service""</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Position</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Position"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "a job in an organization or hierarchy; "he ocupied a post in the treasury""</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Seafaring</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> !
!
!
!
"Seafaring"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "the work of a sailor"</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Spot</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Spot"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "a job in an organization or hierarchy; "he ocupied a post in the treasury""</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Navigation</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Navigation"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "the work of a sailor"</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xm!
!
!
!
lns.com/wordnet/1.6/Office</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Office"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "a job in an organization or hierarchy; "he ocupied a post in the treasury""</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Booking</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Booking"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "a job for performers or performing groups that lasts for a limited period of time; "the play had bookings throughout the summer""</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Slot</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Slot"</value></item><item><k!
!
!
!
ey xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "a job in an organization or hierarchy; "he ocupied a post in the treasury""</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Post</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Post"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "a job in an organization or hierarchy; "he ocupied a post in the treasury""</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Treadmill</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Treadmill"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "a job involving drudgery and confinement"</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key>!
!
!
!
<value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Appointment</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Appointment"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "the job to which you are (or hope to be) appointed; "he applied for an appointment in the treasury""</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Place</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Place"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "a job in an organization or hierarchy; "he ocupied a post in the treasury""</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Sailing</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Sailing"</!
!
!
!
value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "the work of a sailor"</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Public_service<
/value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Public_service"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "employment within a government system (especially in civil service)"</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Services</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Services"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "performance of duties helpful to others; "the mayor tried to maintain city services" or "the medical services are excellent""</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Job</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Job [ 1 ]"</value></item><item><key xsi:type="xsd:int">2<!
!
!
!
/key><value xsi:type="xsd:string"> "the occupation for which you are paid; "he is looking for a job"; "a lot of people are out of work""</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Coaching</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Coaching"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "the job of a professional coach"</value></item></item><item xsi:type="xmlsoap:Map"><item><key xsi:type="xsd:int">0</key><value xsi:type="xsd:string">http://xmlns.com/wordnet/1.6/Workload</value></item><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string"> "Workload"</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string"> "work that a person is expected to do in a specified time"</value></item></item></SOAP-ENC:Array></namesp1:squishResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

Received on Monday, 30 July 2001 18:28:15 UTC