/semantic-web

This repository contains the sources of my exam project for my subject semantic web at the HTWK Leipzig University of Applied Sciences.

Primary LanguageWeb Ontology Language

American behavior of election by example of the presidential election 2016

This project uses tools and techniques of the semantic web to determine influences of the U.S. presidential election 2016. Therefore I explored three different indicators, which could move people to vote for the republicans.

I crawled information about each of this indicators from their different web resources and integrated them in my own data model. Afterwards I extended the DBpedia ontology to model this additional information by using the Jena Framework. Furthermore Jena's triple store persisted the RDF model as RDF XML.

The results of the presidential election of the years 2012 and 2016 are extracted from wikipedia and also added to the RDF model. This Class controller.MainController contains the SPARQL query, which tries to answer the following question:

In which U.S. states changed the presidential election between 2012 and 2016 from democratic to
republican majority, which recognized an increase of sold weapons, number of wounded soldiers or
the unemployment rate.