If you want the 3G Network, then Just change the network mode as 'WCDMA ONLY'
But the network selection mode is hidden.
Install Battery Monitor Widget
<div id="sgvzl_example1" data-sgvizler-endpoint="http://sws.ifi.uio.no/sparql/npd" data-sgvizler-query="SELECT ?class (count(?instance) AS ?noOfInstances) WHERE{ ?instance a ?class } GROUP BY ?class ORDER BY ?class" data-sgvizler-chart="gPieChart" style="width:800px; height:400px;"></div>
To cite Sgvizler, use the following reference: "Martin G. Skjæveland.
Sgvizler: A JavaScript Wrapper for Easy Visualization of SPARQL Result
Sets. ESWC 2012. Demo paper." The paper is yet to be published in the
workshop/poster/demo proceedings of ESWC 2012, but it is available on
the ESWC 2012 website, the poster is also available.import com.hp.hpl.jena.rdf.model.Model; import com.hp.hpl.jena.rdf.model.ModelFactory; import com.hp.hpl.jena.rdf.model.Property; import com.hp.hpl.jena.rdf.model.Resource; import java.io.FileInputStream; import java.util.Properties; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; public class RdfSample { public static Properties properties = new Properties(); public static void main(String[] args) { try { properties.load(new FileInputStream("freebase.properties")); String serviceURL = "https://www.googleapis.com/freebase/v1/rdf"; HttpClient httpclient = new DefaultHttpClient(); String topicId = "/m/02h40lc"; String url = serviceURL + topicId + "?key=" + properties.get("API_KEY"); HttpGet request = new HttpGet(url); HttpResponse httpResponse = httpclient.execute(request); Model model = ModelFactory.createDefaultModel(); model.read(httpResponse.getEntity().getContent(), null, "TURTLE"); Resource topic = model.getResource("http://rdf.freebase.com/ns/" + topicId.substring(1).replace('/','.')); Property labelProperty = model.getProperty("http://www.w3.org/2000/01/rdf-schema#label"); System.out.println(topic.getProperty(labelProperty).getString()); } catch (Exception ex) { ex.printStackTrace(); } } }
<threadsafe>true</threadsafe>
It is mandatory to explicitly set expectations whether your application is designed in a thread-safe way.