<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://lookup.dbpedia.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://lookup.dbpedia.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://lookup.dbpedia.org/">
      <s:element name="PrefixSearch">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="QueryString" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="QueryClass" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="MaxHits" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="PrefixSearchResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="PrefixSearchResult" type="tns:ArrayOfResult" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfResult">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="Result" nillable="true" type="tns:Result" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="Result">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="Label" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="ImageUrl" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="URI" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Classes" type="tns:ArrayOfClass" />
          <s:element minOccurs="0" maxOccurs="1" name="Templates" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Categories" type="tns:ArrayOfCategory" />
          <s:element minOccurs="0" maxOccurs="1" name="Redirects" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Refcount" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfClass">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="Class" nillable="true" type="tns:Class" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="Class">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="Label" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="URI" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfCategory">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="Category" nillable="true" type="tns:Category" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="Category">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="Label" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="URI" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="KeywordSearch">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="QueryString" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="QueryClass" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="MaxHits" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="KeywordSearchResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="KeywordSearchResult" type="tns:ArrayOfResult" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="ArrayOfResult" nillable="true" type="tns:ArrayOfResult" />
    </s:schema>
  </wsdl:types>
  <wsdl:message name="PrefixSearchSoapIn">
    <wsdl:part name="parameters" element="tns:PrefixSearch" />
  </wsdl:message>
  <wsdl:message name="PrefixSearchSoapOut">
    <wsdl:part name="parameters" element="tns:PrefixSearchResponse" />
  </wsdl:message>
  <wsdl:message name="KeywordSearchSoapIn">
    <wsdl:part name="parameters" element="tns:KeywordSearch" />
  </wsdl:message>
  <wsdl:message name="KeywordSearchSoapOut">
    <wsdl:part name="parameters" element="tns:KeywordSearchResponse" />
  </wsdl:message>
  <wsdl:message name="PrefixSearchHttpGetIn">
    <wsdl:part name="QueryString" type="s:string" />
    <wsdl:part name="QueryClass" type="s:string" />
    <wsdl:part name="MaxHits" type="s:string" />
  </wsdl:message>
  <wsdl:message name="PrefixSearchHttpGetOut">
    <wsdl:part name="Body" element="tns:ArrayOfResult" />
  </wsdl:message>
  <wsdl:message name="KeywordSearchHttpGetIn">
    <wsdl:part name="QueryString" type="s:string" />
    <wsdl:part name="QueryClass" type="s:string" />
    <wsdl:part name="MaxHits" type="s:string" />
  </wsdl:message>
  <wsdl:message name="KeywordSearchHttpGetOut">
    <wsdl:part name="Body" element="tns:ArrayOfResult" />
  </wsdl:message>
  <wsdl:message name="PrefixSearchHttpPostIn">
    <wsdl:part name="QueryString" type="s:string" />
    <wsdl:part name="QueryClass" type="s:string" />
    <wsdl:part name="MaxHits" type="s:string" />
  </wsdl:message>
  <wsdl:message name="PrefixSearchHttpPostOut">
    <wsdl:part name="Body" element="tns:ArrayOfResult" />
  </wsdl:message>
  <wsdl:message name="KeywordSearchHttpPostIn">
    <wsdl:part name="QueryString" type="s:string" />
    <wsdl:part name="QueryClass" type="s:string" />
    <wsdl:part name="MaxHits" type="s:string" />
  </wsdl:message>
  <wsdl:message name="KeywordSearchHttpPostOut">
    <wsdl:part name="Body" element="tns:ArrayOfResult" />
  </wsdl:message>
  <wsdl:portType name="searchSoap">
    <wsdl:operation name="PrefixSearch">
      <wsdl:input message="tns:PrefixSearchSoapIn" />
      <wsdl:output message="tns:PrefixSearchSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="KeywordSearch">
      <wsdl:input message="tns:KeywordSearchSoapIn" />
      <wsdl:output message="tns:KeywordSearchSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:portType name="searchHttpGet">
    <wsdl:operation name="PrefixSearch">
      <wsdl:input message="tns:PrefixSearchHttpGetIn" />
      <wsdl:output message="tns:PrefixSearchHttpGetOut" />
    </wsdl:operation>
    <wsdl:operation name="KeywordSearch">
      <wsdl:input message="tns:KeywordSearchHttpGetIn" />
      <wsdl:output message="tns:KeywordSearchHttpGetOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:portType name="searchHttpPost">
    <wsdl:operation name="PrefixSearch">
      <wsdl:input message="tns:PrefixSearchHttpPostIn" />
      <wsdl:output message="tns:PrefixSearchHttpPostOut" />
    </wsdl:operation>
    <wsdl:operation name="KeywordSearch">
      <wsdl:input message="tns:KeywordSearchHttpPostIn" />
      <wsdl:output message="tns:KeywordSearchHttpPostOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="searchSoap" type="tns:searchSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="PrefixSearch">
      <soap:operation soapAction="http://lookup.dbpedia.org/PrefixSearch" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="KeywordSearch">
      <soap:operation soapAction="http://lookup.dbpedia.org/KeywordSearch" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="searchSoap12" type="tns:searchSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="PrefixSearch">
      <soap12:operation soapAction="http://lookup.dbpedia.org/PrefixSearch" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="KeywordSearch">
      <soap12:operation soapAction="http://lookup.dbpedia.org/KeywordSearch" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="searchHttpGet" type="tns:searchHttpGet">
    <http:binding verb="GET" />
    <wsdl:operation name="PrefixSearch">
      <http:operation location="/PrefixSearch" />
      <wsdl:input>
        <http:urlEncoded />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="KeywordSearch">
      <http:operation location="/KeywordSearch" />
      <wsdl:input>
        <http:urlEncoded />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="searchHttpPost" type="tns:searchHttpPost">
    <http:binding verb="POST" />
    <wsdl:operation name="PrefixSearch">
      <http:operation location="/PrefixSearch" />
      <wsdl:input>
        <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="KeywordSearch">
      <http:operation location="/KeywordSearch" />
      <wsdl:input>
        <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="search">
    <wsdl:port name="searchSoap" binding="tns:searchSoap">
      <soap:address location="http://lookup.dbpedia.org/api/search.asmx" />
    </wsdl:port>
    <wsdl:port name="searchSoap12" binding="tns:searchSoap12">
      <soap12:address location="http://lookup.dbpedia.org/api/search.asmx" />
    </wsdl:port>
    <wsdl:port name="searchHttpGet" binding="tns:searchHttpGet">
      <http:address location="http://lookup.dbpedia.org/api/search.asmx" />
    </wsdl:port>
    <wsdl:port name="searchHttpPost" binding="tns:searchHttpPost">
      <http:address location="http://lookup.dbpedia.org/api/search.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>