Zum Inhalt springen.
Sympa Menü

ag-meinungsfindungstool - Re: [Ag Meinungsfindungstool] [PCT][ODT] Discussion Ontology Specification

ag-meinungsfindungstool AT lists.piratenpartei.de

Betreff: Ag-meinungsfindungstool mailing list

Listenarchiv

Re: [Ag Meinungsfindungstool] [PCT][ODT] Discussion Ontology Specification


Chronologisch Thread 
  • From: Frauke Mattfeldt <mattfeldt AT karten-verlag.de>
  • To: marc <marc AT merkstduwas.de>, ag-meinungsfindungstool AT lists.piratenpartei.de
  • Subject: Re: [Ag Meinungsfindungstool] [PCT][ODT] Discussion Ontology Specification
  • Date: Tue, 22 Jan 2013 23:09:34 +0100
  • List-archive: <https://service.piratenpartei.de/pipermail/ag-meinungsfindungstool>
  • List-id: <ag-meinungsfindungstool.lists.piratenpartei.de>

Hallo Marc,
anbei die Datenbank vom qprobble, soweit wie sie jetzt ist. Ich hoffe, Du/ihr kannst/könnt was damit anfangen.
Eine Beschreibung schaff ich gerade nicht. Ich brauch mal ne kurze Auszeit was das Projekt angeht (war etwas zu viel in der letzten Zeit), hab auch viel anderes zu tun noch diese Woche.
Am Montag im Mumble bin ich wieder dabei.
Bis dahin und viele Grüße,
Frauke
-- phpMyAdmin SQL Dump
-- version 3.4.5
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Erstellungszeit: 20. Jan 2013 um 11:53
-- Server Version: 5.5.16
-- PHP-Version: 5.3.8

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Datenbank: `challenge_simple`
--

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `categories`
--

CREATE TABLE IF NOT EXISTS `categories` (
`category_ID` int(10) NOT NULL AUTO_INCREMENT,
`name` text NOT NULL,
PRIMARY KEY (`category_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=23 ;


-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `counties_de`
--

CREATE TABLE IF NOT EXISTS `counties_de` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`state_key` char(10) NOT NULL,
`county_name` char(60) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=302 ;


-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `countries`
--

CREATE TABLE IF NOT EXISTS `countries` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`country_name` char(80) NOT NULL,
`country_key` char(6) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=439 ;


-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `document`
--

CREATE TABLE IF NOT EXISTS `document` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`user_ID` int(10) DEFAULT NULL,
`document_name` varchar(250) NOT NULL,
`document_description` varchar(250) DEFAULT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `element`
--

CREATE TABLE IF NOT EXISTS `element` (
`element_ID` int(10) NOT NULL AUTO_INCREMENT,
`name` text NOT NULL,
PRIMARY KEY (`element_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=14 ;


-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `element_contra_element`
--

CREATE TABLE IF NOT EXISTS `element_contra_element` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`user_ID` int(10) DEFAULT NULL,
`concept_ID` int(10) NOT NULL,
`concept_ID2` int(10) NOT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `element_description`
--

CREATE TABLE IF NOT EXISTS `element_description` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`user_ID` int(10) DEFAULT NULL,
`title_ID` int(10) NOT NULL,
`description` varchar(10000) NOT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=31 ;

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `element_description_history`
--

CREATE TABLE IF NOT EXISTS `element_description_history` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`user_ID` int(10) DEFAULT NULL,
`title_ID` int(10) NOT NULL,
`description` varchar(10000) DEFAULT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=21 ;

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `element_document`
--

CREATE TABLE IF NOT EXISTS `element_document` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`user_ID` int(10) DEFAULT NULL,
`title_ID` int(10) NOT NULL,
`document_ID` int(10) NOT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `element_element`
--

CREATE TABLE IF NOT EXISTS `element_element` (
`connection_ID` int(10) NOT NULL AUTO_INCREMENT,
`title_ID1` int(10) NOT NULL,
`element1` text NOT NULL,
`title_ID2` int(10) NOT NULL,
`element2` text NOT NULL,
`user_ID` int(10) DEFAULT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`connection_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=34 ;


-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `element_fact`
--

CREATE TABLE IF NOT EXISTS `element_fact` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`user_ID` int(10) DEFAULT NULL,
`title_ID` int(10) NOT NULL,
`fact_ID` int(10) NOT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `element_procon`
--

CREATE TABLE IF NOT EXISTS `element_procon` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`user_ID` int(10) DEFAULT NULL,
`connection_ID` int(10) NOT NULL,
`statement` text NOT NULL,
`procon_type` text NOT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

--
-- Daten für Tabelle `element_procon`
--

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `element_rating`
--

CREATE TABLE IF NOT EXISTS `element_rating` (
`rating_ID` int(11) NOT NULL AUTO_INCREMENT,
`connection_ID` int(10) NOT NULL,
`user_ID` int(10) DEFAULT NULL,
`rating` int(1) NOT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`rating_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `element_statement`
--

CREATE TABLE IF NOT EXISTS `element_statement` (
`connection_ID` int(10) NOT NULL AUTO_INCREMENT,
`element_ID` int(10) NOT NULL,
`element_type` text NOT NULL,
`statement_ID` int(10) NOT NULL,
`statement_type` text NOT NULL,
`user_ID` int(10) DEFAULT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`connection_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=50 ;


-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `element_structure`
--

CREATE TABLE IF NOT EXISTS `element_structure` (
`connection_ID` int(10) NOT NULL AUTO_INCREMENT,
`parent_ID` int(10) NOT NULL,
`child_ID` int(10) NOT NULL,
`user_ID` int(10) DEFAULT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`connection_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=23 ;


-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `element_title`
--

CREATE TABLE IF NOT EXISTS `element_title` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`user_ID` int(10) DEFAULT NULL,
`title` varchar(250) NOT NULL,
`element` text NOT NULL,
`category_ID` int(10) NOT NULL,
`subcategory_ID` int(10) DEFAULT NULL,
`country_key` text NOT NULL,
`state_key` text,
`county_ID` int(3) DEFAULT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=54 ;


-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `element_type`
--

CREATE TABLE IF NOT EXISTS `element_type` (
`title_ID` int(10) NOT NULL,
`element_ID` int(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;


-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `element_video`
--

CREATE TABLE IF NOT EXISTS `element_video` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`user_ID` int(10) DEFAULT NULL,
`title_ID` int(10) NOT NULL,
`video_ID` int(10) NOT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;


-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `fact`
--

CREATE TABLE IF NOT EXISTS `fact` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`user_ID` int(10) DEFAULT NULL,
`fact` varchar(250) NOT NULL,
`source` varchar(200) DEFAULT NULL,
`link` varchar(200) DEFAULT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `groups`
--

CREATE TABLE IF NOT EXISTS `groups` (
`group_ID` int(10) NOT NULL AUTO_INCREMENT,
`group_name` text NOT NULL,
`active_since` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE
CURRENT_TIMESTAMP,
`active` int(1) NOT NULL,
PRIMARY KEY (`group_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `group_members`
--

CREATE TABLE IF NOT EXISTS `group_members` (
`member_ID` int(10) NOT NULL AUTO_INCREMENT,
`user_ID` int(10) NOT NULL,
`group_ID` int(10) NOT NULL,
`member_since` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE
CURRENT_TIMESTAMP,
`status` text NOT NULL,
PRIMARY KEY (`member_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `statement`
--

CREATE TABLE IF NOT EXISTS `statement` (
`statement_ID` int(10) NOT NULL AUTO_INCREMENT,
`name` text NOT NULL,
PRIMARY KEY (`statement_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;


-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `statement_consequence`
--

CREATE TABLE IF NOT EXISTS `statement_consequence` (
`consequence_ID` int(10) NOT NULL AUTO_INCREMENT,
`statement_ID` int(10) NOT NULL,
`consequence` text NOT NULL,
`user_ID` int(10) DEFAULT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`consequence_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `statement_element`
--

CREATE TABLE IF NOT EXISTS `statement_element` (
`connection_ID` int(10) NOT NULL AUTO_INCREMENT,
`element_ID` int(10) NOT NULL,
`element_type` text NOT NULL,
`statement_ID` int(10) NOT NULL,
`user_ID` int(10) DEFAULT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`connection_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=64 ;

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `statement_procon`
--

CREATE TABLE IF NOT EXISTS `statement_procon` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`user_ID` int(10) DEFAULT NULL,
`connection_ID` int(10) NOT NULL,
`statement` text NOT NULL,
`procon_type` text NOT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=12 ;


-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `statement_rating`
--

CREATE TABLE IF NOT EXISTS `statement_rating` (
`rating_ID` int(11) NOT NULL AUTO_INCREMENT,
`connection_ID` int(10) NOT NULL,
`user_ID` int(10) DEFAULT NULL,
`rating` int(1) NOT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`rating_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;


-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `statement_title`
--

CREATE TABLE IF NOT EXISTS `statement_title` (
`statement_ID` int(10) NOT NULL AUTO_INCREMENT,
`user_ID` int(10) DEFAULT NULL,
`title` varchar(250) NOT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`statement_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=55 ;


-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `statement_type`
--

CREATE TABLE IF NOT EXISTS `statement_type` (
`title_ID` int(10) NOT NULL,
`statement_ID` int(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `states_de`
--

CREATE TABLE IF NOT EXISTS `states_de` (
`stateID` int(10) NOT NULL AUTO_INCREMENT,
`state_name` char(30) NOT NULL,
`state_key` char(3) NOT NULL,
PRIMARY KEY (`stateID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=17 ;


-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `subcategories`
--

CREATE TABLE IF NOT EXISTS `subcategories` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`category_ID` int(10) NOT NULL,
`name` text NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=15 ;

--
-- Tabellenstruktur für Tabelle `title_rating`
--

CREATE TABLE IF NOT EXISTS `title_rating` (
`rating_ID` int(11) NOT NULL AUTO_INCREMENT,
`connection_ID` int(10) NOT NULL,
`user_ID` int(10) DEFAULT NULL,
`rating` int(1) NOT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`rating_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `user`
--

CREATE TABLE IF NOT EXISTS `user` (
`user_ID` int(10) NOT NULL AUTO_INCREMENT,
`user_name` char(25) NOT NULL,
`pw` char(32) NOT NULL,
`email` varchar(40) NOT NULL,
`status` varchar(9) DEFAULT NULL,
`confirmed` char(1) DEFAULT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`user_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=9 ;

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `video`
--

CREATE TABLE IF NOT EXISTS `video` (
`video_ID` int(10) NOT NULL AUTO_INCREMENT,
`user_ID` int(10) DEFAULT NULL,
`video` varchar(100) NOT NULL,
`timestamp` int(10) NOT NULL,
PRIMARY KEY (`video_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=10 ;



/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;



Archiv bereitgestellt durch MHonArc 2.6.19.

Seitenanfang