// Path: openqa.engine/src/main/java/org/aksw/openqa/component/object/IParams.java
// public interface IParams extends IObject {
// 	public IComponent getSource();
// }
// 
// Path: openqa.engine/src/main/java/org/aksw/openqa/component/object/IResult.java
// public interface IResult extends IParams {
// 	public IParams getInputParam();
// }
// 
// Path: openqa.engine/src/main/java/org/aksw/openqa/component/providers/impl/InterpreterProvider.java
// public class InterpreterProvider extends PluginProcessProvider<Interpreter, IInterpreterFactory> {
//     public InterpreterProvider(List<? extends ClassLoader> classLoaders, ServiceProvider serviceProvider) {
// 		super(IInterpreterFactory.class, classLoaders, serviceProvider);
// 	}
//     
//     public InterpreterProvider() {    	
//     }
// }
// 
// Path: openqa.engine/src/main/java/org/aksw/openqa/component/providers/impl/ServiceProvider.java
// public class ServiceProvider extends AbstractPluginProvider<IService, IServiceFactory> {
// 	public ServiceProvider(List<? extends ClassLoader> classLoaders) {
// 		super(IServiceFactory.class, classLoaders, null);
// 	}
// 	
// 	public ServiceProvider() {
// 	}
// }
// 
// Path: openqa.engine/src/main/java/org/aksw/openqa/component/providers/impl/SynthesizerProvider.java
// public class SynthesizerProvider extends PluginProcessProvider<ISynthesizer, ISynthesizerFactory> {
// 	public SynthesizerProvider(List<? extends ClassLoader> classLoaders, ServiceProvider serviceProvider) {
// 		super(ISynthesizerFactory.class, classLoaders, serviceProvider);
// 	}
// 	
// 	public SynthesizerProvider() {		
// 	}
// }


import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.aksw.openqa.component.context.IContext;
import org.aksw.openqa.component.object.IParams;
import org.aksw.openqa.component.object.IResult;
import org.aksw.openqa.component.object.Params;
import org.aksw.openqa.component.providers.impl.InterpreterProvider;
import org.aksw.openqa.component.providers.impl.ResolverProvider;
import org.aksw.openqa.component.providers.impl.RetrieverProvider;
import org.aksw.openqa.component.providers.impl.ServiceProvider;
import org.aksw.openqa.component.providers.impl.SynthesizerProvider;
import org.aksw.openqa.manager.plugin.PluginManager;
import org.apache.log4j.Logger;
package org.aksw.openqa.component.answerformulation;



public class AnswerFormulation {
	
	private static Logger logger = Logger.getLogger(AnswerFormulation.class);

	public List<? extends IResult> process(boolean skipRetriever, Map<String, Object> params,
			PluginManager pluginManager,
			IContext context) throws Exception {

// Path: openqa.engine/src/main/java/org/aksw/openqa/component/object/IParams.java
// public interface IParams extends IObject {
// 	public IComponent getSource();
// }
// 
// Path: openqa.engine/src/main/java/org/aksw/openqa/component/object/IResult.java
// public interface IResult extends IParams {
// 	public IParams getInputParam();
// }
// 
// Path: openqa.engine/src/main/java/org/aksw/openqa/component/providers/impl/InterpreterProvider.java
// public class InterpreterProvider extends PluginProcessProvider<Interpreter, IInterpreterFactory> {
//     public InterpreterProvider(List<? extends ClassLoader> classLoaders, ServiceProvider serviceProvider) {
// 		super(IInterpreterFactory.class, classLoaders, serviceProvider);
// 	}
//     
//     public InterpreterProvider() {    	
//     }
// }
// 
// Path: openqa.engine/src/main/java/org/aksw/openqa/component/providers/impl/ServiceProvider.java
// public class ServiceProvider extends AbstractPluginProvider<IService, IServiceFactory> {
// 	public ServiceProvider(List<? extends ClassLoader> classLoaders) {
// 		super(IServiceFactory.class, classLoaders, null);
// 	}
// 	
// 	public ServiceProvider() {
// 	}
// }
// 
// Path: openqa.engine/src/main/java/org/aksw/openqa/component/providers/impl/SynthesizerProvider.java
// public class SynthesizerProvider extends PluginProcessProvider<ISynthesizer, ISynthesizerFactory> {
// 	public SynthesizerProvider(List<? extends ClassLoader> classLoaders, ServiceProvider serviceProvider) {
// 		super(ISynthesizerFactory.class, classLoaders, serviceProvider);
// 	}
// 	
// 	public SynthesizerProvider() {		
// 	}
// }


// Path: openqa.webserver/src/main/java/org/aksw/openqa/component/answerformulation/AnswerFormulation.java
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.aksw.openqa.component.context.IContext;
import org.aksw.openqa.component.object.IParams;
import org.aksw.openqa.component.object.IResult;
import org.aksw.openqa.component.object.Params;
import org.aksw.openqa.component.providers.impl.InterpreterProvider;
import org.aksw.openqa.component.providers.impl.ResolverProvider;
import org.aksw.openqa.component.providers.impl.RetrieverProvider;
import org.aksw.openqa.component.providers.impl.ServiceProvider;
import org.aksw.openqa.component.providers.impl.SynthesizerProvider;
import org.aksw.openqa.manager.plugin.PluginManager;
import org.apache.log4j.Logger;

package org.aksw.openqa.component.answerformulation;



public class AnswerFormulation {
	
	private static Logger logger = Logger.getLogger(AnswerFormulation.class);

	public List<? extends IResult> process(boolean skipRetriever, Map<String, Object> params,
			PluginManager pluginManager,
			IContext context) throws Exception {

		ServiceProvider serviceProvider = (ServiceProvider) pluginManager.getProvider(ServiceProvider.class);