Similar Items: Service-Oriented Logic Programming