package AMOSDBPedia;

import java.util.List;

public class Demo {
	
	public static void main(String[] args){
		List<String> res = DBpedia.getCompanies("Apple");
		for(String s : res)
			System.out.println(s);
		
		System.out.println();
		System.out.println(DBpedia.getResourceByLabel(res.get(0)));
		System.out.println(DBpedia.getCompanyAbstract(res.get(0)));
		System.out.println(DBpedia.getCompanyHomepage(res.get(0)));
		
		System.out.println();
		List<String> products = DBpedia.getCompanyProducts(res.get(0));
		for(String s : products)
			System.out.println(s);
	}
	
}

@@ -415,18 +415,88 @@
 t(0)));%0A
+%0A
 %09%09
+System.out.println(DBpedia.getCompanyIndustrysResources(res.get(0)));
 %0A%09%09Syste

add demo for get company industry list