hdt 3.1.1 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -0
- package/deps/hdt-it/.cproject +42 -0
- package/deps/hdt-it/.project +27 -0
- package/deps/hdt-it/Camera.cpp +249 -0
- package/deps/hdt-it/Camera.h +77 -0
- package/deps/hdt-it/Color.cpp +157 -0
- package/deps/hdt-it/Color.h +49 -0
- package/deps/hdt-it/Info.plist +58 -0
- package/deps/hdt-it/StopWatch.cpp +170 -0
- package/deps/hdt-it/StopWatch.hpp +61 -0
- package/deps/hdt-it/abouthdt.cpp +14 -0
- package/deps/hdt-it/abouthdt.hpp +22 -0
- package/deps/hdt-it/abouthdt.ui +173 -0
- package/deps/hdt-it/colors.hpp +29 -0
- package/deps/hdt-it/constants.h +39 -0
- package/deps/hdt-it/createdmg.sh +72 -0
- package/deps/hdt-it/dictionarysuggestions.cpp +186 -0
- package/deps/hdt-it/dictionarysuggestions.hpp +39 -0
- package/deps/hdt-it/doc/hdtit.png +0 -0
- package/deps/hdt-it/doc/manual.html +88 -0
- package/deps/hdt-it/doc/matrix.png +0 -0
- package/deps/hdt-it/editreset.png +0 -0
- package/deps/hdt-it/hdt-it.pro +135 -0
- package/deps/hdt-it/hdt-it_es.qm +0 -0
- package/deps/hdt-it/hdt-it_es.ts +906 -0
- package/deps/hdt-it/hdtcachedinfo.cpp +155 -0
- package/deps/hdt-it/hdtcachedinfo.hpp +38 -0
- package/deps/hdt-it/hdtcontroller.cpp +369 -0
- package/deps/hdt-it/hdtcontroller.hpp +103 -0
- package/deps/hdt-it/hdtico.icns +0 -0
- package/deps/hdt-it/hdtico.rc +1 -0
- package/deps/hdt-it/hdtit.cpp +400 -0
- package/deps/hdt-it/hdtit.hpp +78 -0
- package/deps/hdt-it/hdtit.ui +875 -0
- package/deps/hdt-it/hdtoperation.cpp +284 -0
- package/deps/hdt-it/hdtoperation.hpp +71 -0
- package/deps/hdt-it/hdtresources.qrc +7 -0
- package/deps/hdt-it/hdtspecform.cpp +180 -0
- package/deps/hdt-it/hdtspecform.hpp +38 -0
- package/deps/hdt-it/hdtspecform.ui +361 -0
- package/deps/hdt-it/hdtsummarygenerator.cpp +109 -0
- package/deps/hdt-it/hdtsummarygenerator.hpp +15 -0
- package/deps/hdt-it/hdtwinico.ico +0 -0
- package/deps/hdt-it/hdtwinico2.ico +0 -0
- package/deps/hdt-it/headermodel.cpp +174 -0
- package/deps/hdt-it/headermodel.hpp +38 -0
- package/deps/hdt-it/loading.gif +0 -0
- package/deps/hdt-it/logo-hdt.png +0 -0
- package/deps/hdt-it/logo-hdt2.png +0 -0
- package/deps/hdt-it/main.cpp +39 -0
- package/deps/hdt-it/matrixviewwidget.cpp +501 -0
- package/deps/hdt-it/matrixviewwidget.hpp +81 -0
- package/deps/hdt-it/myapplication.cpp +45 -0
- package/deps/hdt-it/myapplication.hpp +24 -0
- package/deps/hdt-it/predicatestatus.cpp +97 -0
- package/deps/hdt-it/predicatestatus.hpp +39 -0
- package/deps/hdt-it/qclearlineedit.cpp +48 -0
- package/deps/hdt-it/qclearlineedit.hpp +30 -0
- package/deps/hdt-it/regexmodel.cpp +132 -0
- package/deps/hdt-it/regexmodel.hpp +37 -0
- package/deps/hdt-it/resultcounter.cpp +47 -0
- package/deps/hdt-it/resultcounter.hpp +30 -0
- package/deps/hdt-it/searchresultsmodel.cpp +179 -0
- package/deps/hdt-it/searchresultsmodel.hpp +39 -0
- package/deps/hdt-it/sparqlform.cpp +27 -0
- package/deps/hdt-it/sparqlform.hpp +28 -0
- package/deps/hdt-it/sparqlform.ui +112 -0
- package/deps/hdt-it/sparqlmodel.cpp +155 -0
- package/deps/hdt-it/sparqlmodel.hpp +32 -0
- package/deps/hdt-it/stringutils.cpp +48 -0
- package/deps/hdt-it/stringutils.hpp +18 -0
- package/deps/hdt-it/triplecomponentmodel.cpp +146 -0
- package/deps/hdt-it/triplecomponentmodel.hpp +33 -0
- package/deps/libcds/Doxyfile +307 -0
- package/deps/libcds/tutorial/tutorial.pdf +0 -0
- package/deps/libhdt/.cproject +304 -0
- package/deps/libhdt/Doxyfile +1630 -0
- package/deps/libhdt/src/util/StopWatch.cpp +1 -1
- package/lib/HdtDocument.cc +140 -0
- package/lib/HdtDocument.h +4 -0
- package/lib/hdt.js +79 -0
- package/package.json +12 -3
- package/.eslintrc +0 -178
- package/.github/workflows/ci.yml +0 -72
- package/.gitmodules +0 -4
- package/.jshintignore +0 -1
- package/.jshintrc +0 -10
- package/deps/libcds/README +0 -12
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* StopWatch.cpp
|
|
3
|
+
*
|
|
4
|
+
* Created on: 03/03/2011
|
|
5
|
+
* Author: mck
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#include <iostream>
|
|
9
|
+
#include <sstream>
|
|
10
|
+
|
|
11
|
+
#include <string.h> // For memcpy()
|
|
12
|
+
|
|
13
|
+
#include "StopWatch.hpp"
|
|
14
|
+
|
|
15
|
+
StopWatch::StopWatch() {
|
|
16
|
+
#ifdef WIN32
|
|
17
|
+
QueryPerformanceFrequency(&frequency);
|
|
18
|
+
startCount.QuadPart = 0;
|
|
19
|
+
endCount.QuadPart = 0;
|
|
20
|
+
#endif
|
|
21
|
+
reset();
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
#ifdef WIN32
|
|
25
|
+
void StopWatch::reset() {
|
|
26
|
+
QueryPerformanceCounter(&startCount);
|
|
27
|
+
endCount = startCount;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
void StopWatch::stop() {
|
|
31
|
+
QueryPerformanceCounter(&endCount);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
unsigned long long StopWatch::getUser() {
|
|
35
|
+
unsigned long long start = startCount.QuadPart * (1000000.0 / frequency.QuadPart);
|
|
36
|
+
unsigned long long end = endCount.QuadPart * (1000000.0 / frequency.QuadPart);
|
|
37
|
+
return end - start;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
unsigned long long StopWatch::getSystem() {
|
|
41
|
+
return getUser();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
unsigned long long StopWatch::getReal() {
|
|
45
|
+
return getUser();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
#else
|
|
49
|
+
void StopWatch::reset() {
|
|
50
|
+
struct rusage ru;
|
|
51
|
+
|
|
52
|
+
getrusage(RUSAGE_SELF, &ru);
|
|
53
|
+
gettimeofday(&real1, NULL);
|
|
54
|
+
|
|
55
|
+
memcpy(&user1, &ru.ru_utime, sizeof(struct timeval));
|
|
56
|
+
memcpy(&system1, &ru.ru_stime, sizeof(struct timeval));
|
|
57
|
+
|
|
58
|
+
memcpy(&user2, &user1, sizeof(struct timeval));
|
|
59
|
+
memcpy(&system2, &system1, sizeof(struct timeval) );
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
void StopWatch::stop() {
|
|
63
|
+
struct rusage ru;
|
|
64
|
+
getrusage(RUSAGE_SELF, &ru);
|
|
65
|
+
gettimeofday(&real2, NULL);
|
|
66
|
+
|
|
67
|
+
memcpy(&user2, &ru.ru_utime, sizeof(struct timeval));
|
|
68
|
+
memcpy(&system2, &ru.ru_stime, sizeof(struct timeval));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
unsigned long long difference(time_t s1, time_t s2, suseconds_t us1, suseconds_t us2) {
|
|
72
|
+
unsigned long long tmp1, tmp2;
|
|
73
|
+
|
|
74
|
+
tmp1 = s1 * 1000000 + us1;
|
|
75
|
+
tmp2 = s2 * 1000000 + us2;
|
|
76
|
+
|
|
77
|
+
return tmp1-tmp2;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
unsigned long long StopWatch::getUser() {
|
|
81
|
+
return difference(user2.tv_sec,user1.tv_sec, user2.tv_usec,user1.tv_usec);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
unsigned long long StopWatch::getSystem() {
|
|
85
|
+
return difference(system2.tv_sec,system1.tv_sec, system2.tv_usec,system1.tv_usec);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
unsigned long long StopWatch::getReal() {
|
|
89
|
+
return difference(real2.tv_sec,real1.tv_sec, real2.tv_usec,real1.tv_usec);
|
|
90
|
+
}
|
|
91
|
+
#endif
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
std::string StopWatch::getUserStr() {
|
|
98
|
+
return toHuman(getUser());
|
|
99
|
+
}
|
|
100
|
+
std::string StopWatch::getSystemStr() {
|
|
101
|
+
return toHuman(getSystem());
|
|
102
|
+
}
|
|
103
|
+
std::string StopWatch::getRealStr() {
|
|
104
|
+
return toHuman(getReal());
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
unsigned long long StopWatch::stopUser() {
|
|
109
|
+
stop();
|
|
110
|
+
return getUser();
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
unsigned long long StopWatch::stopSystem() {
|
|
114
|
+
stop();
|
|
115
|
+
return getSystem();
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
unsigned long long StopWatch::stopReal() {
|
|
119
|
+
stop();
|
|
120
|
+
return getReal();
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
std::string StopWatch::stopUserStr() {
|
|
125
|
+
stop();
|
|
126
|
+
return getUserStr();
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
std::string StopWatch::stopSystemStr() {
|
|
130
|
+
stop();
|
|
131
|
+
return getSystemStr();
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
std::string StopWatch::stopRealStr() {
|
|
135
|
+
stop();
|
|
136
|
+
return getRealStr();
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
std::ostream &operator<<(std::ostream &stream, StopWatch &sw) {
|
|
140
|
+
stream << sw.stopRealStr();
|
|
141
|
+
return stream;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
std::string StopWatch::toHuman(unsigned long long time) {
|
|
145
|
+
unsigned int tot_secs = time/1000000;
|
|
146
|
+
|
|
147
|
+
unsigned int hours = tot_secs/3600;
|
|
148
|
+
unsigned int mins = (tot_secs/60) % 60;
|
|
149
|
+
unsigned int secs = (tot_secs % 60);
|
|
150
|
+
unsigned int ms = (time%1000000)/1000;
|
|
151
|
+
unsigned int us = time%1000;
|
|
152
|
+
|
|
153
|
+
std::ostringstream out;
|
|
154
|
+
if(hours>0) {
|
|
155
|
+
out << hours << " hour ";
|
|
156
|
+
}
|
|
157
|
+
if(mins>0) {
|
|
158
|
+
out << mins << " min ";
|
|
159
|
+
}
|
|
160
|
+
if(secs>0) {
|
|
161
|
+
out << secs << " sec ";
|
|
162
|
+
}
|
|
163
|
+
if(ms>0) {
|
|
164
|
+
out << ms << " ms ";
|
|
165
|
+
}
|
|
166
|
+
if(us>0){
|
|
167
|
+
out << us << " us";
|
|
168
|
+
}
|
|
169
|
+
return out.str();
|
|
170
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* StopWatch.hpp
|
|
3
|
+
*
|
|
4
|
+
* Created on: 03/03/2011
|
|
5
|
+
* Author: mck
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#ifndef STOPWATCH_HPP_
|
|
9
|
+
#define STOPWATCH_HPP_
|
|
10
|
+
|
|
11
|
+
#ifdef WIN32
|
|
12
|
+
#include <windows.h>
|
|
13
|
+
#else
|
|
14
|
+
# include <sys/time.h>
|
|
15
|
+
# include <sys/resource.h>
|
|
16
|
+
#endif
|
|
17
|
+
|
|
18
|
+
#include <string>
|
|
19
|
+
#include <iostream>
|
|
20
|
+
|
|
21
|
+
class StopWatch {
|
|
22
|
+
private:
|
|
23
|
+
|
|
24
|
+
#ifdef WIN32
|
|
25
|
+
LARGE_INTEGER frequency;
|
|
26
|
+
LARGE_INTEGER startCount;
|
|
27
|
+
LARGE_INTEGER endCount;
|
|
28
|
+
#else
|
|
29
|
+
struct timeval user1, user2;
|
|
30
|
+
struct timeval system1, system2;
|
|
31
|
+
struct timeval real1, real2;
|
|
32
|
+
#endif
|
|
33
|
+
|
|
34
|
+
public:
|
|
35
|
+
StopWatch();
|
|
36
|
+
|
|
37
|
+
void reset();
|
|
38
|
+
void stop();
|
|
39
|
+
|
|
40
|
+
unsigned long long getUser();
|
|
41
|
+
unsigned long long getSystem();
|
|
42
|
+
unsigned long long getReal();
|
|
43
|
+
|
|
44
|
+
std::string getUserStr();
|
|
45
|
+
std::string getSystemStr();
|
|
46
|
+
std::string getRealStr();
|
|
47
|
+
|
|
48
|
+
unsigned long long stopUser();
|
|
49
|
+
unsigned long long stopSystem();
|
|
50
|
+
unsigned long long stopReal();
|
|
51
|
+
|
|
52
|
+
std::string stopUserStr();
|
|
53
|
+
std::string stopSystemStr();
|
|
54
|
+
std::string stopRealStr();
|
|
55
|
+
|
|
56
|
+
static std::string toHuman(unsigned long long time);
|
|
57
|
+
|
|
58
|
+
friend std::ostream &operator<<(std::ostream &stream, StopWatch &sw);
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
#endif /* STOPWATCH_HPP_ */
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#ifndef ABOUTHDT_HPP
|
|
2
|
+
#define ABOUTHDT_HPP
|
|
3
|
+
|
|
4
|
+
#include <QDialog>
|
|
5
|
+
|
|
6
|
+
namespace Ui {
|
|
7
|
+
class Abouthdt;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class Abouthdt : public QDialog
|
|
11
|
+
{
|
|
12
|
+
Q_OBJECT
|
|
13
|
+
|
|
14
|
+
public:
|
|
15
|
+
explicit Abouthdt(QWidget *parent = 0);
|
|
16
|
+
~Abouthdt();
|
|
17
|
+
|
|
18
|
+
private:
|
|
19
|
+
Ui::Abouthdt *ui;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
#endif // ABOUTHDT_HPP
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<ui version="4.0">
|
|
3
|
+
<class>Abouthdt</class>
|
|
4
|
+
<widget class="QDialog" name="Abouthdt">
|
|
5
|
+
<property name="geometry">
|
|
6
|
+
<rect>
|
|
7
|
+
<x>0</x>
|
|
8
|
+
<y>0</y>
|
|
9
|
+
<width>557</width>
|
|
10
|
+
<height>377</height>
|
|
11
|
+
</rect>
|
|
12
|
+
</property>
|
|
13
|
+
<property name="sizePolicy">
|
|
14
|
+
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
15
|
+
<horstretch>0</horstretch>
|
|
16
|
+
<verstretch>0</verstretch>
|
|
17
|
+
</sizepolicy>
|
|
18
|
+
</property>
|
|
19
|
+
<property name="minimumSize">
|
|
20
|
+
<size>
|
|
21
|
+
<width>557</width>
|
|
22
|
+
<height>377</height>
|
|
23
|
+
</size>
|
|
24
|
+
</property>
|
|
25
|
+
<property name="maximumSize">
|
|
26
|
+
<size>
|
|
27
|
+
<width>557</width>
|
|
28
|
+
<height>377</height>
|
|
29
|
+
</size>
|
|
30
|
+
</property>
|
|
31
|
+
<property name="windowTitle">
|
|
32
|
+
<string>About HDT-it!</string>
|
|
33
|
+
</property>
|
|
34
|
+
<widget class="QDialogButtonBox" name="buttonBox">
|
|
35
|
+
<property name="geometry">
|
|
36
|
+
<rect>
|
|
37
|
+
<x>200</x>
|
|
38
|
+
<y>340</y>
|
|
39
|
+
<width>341</width>
|
|
40
|
+
<height>32</height>
|
|
41
|
+
</rect>
|
|
42
|
+
</property>
|
|
43
|
+
<property name="orientation">
|
|
44
|
+
<enum>Qt::Horizontal</enum>
|
|
45
|
+
</property>
|
|
46
|
+
<property name="standardButtons">
|
|
47
|
+
<set>QDialogButtonBox::Close</set>
|
|
48
|
+
</property>
|
|
49
|
+
<property name="centerButtons">
|
|
50
|
+
<bool>false</bool>
|
|
51
|
+
</property>
|
|
52
|
+
</widget>
|
|
53
|
+
<widget class="QGraphicsView" name="graphicsView">
|
|
54
|
+
<property name="geometry">
|
|
55
|
+
<rect>
|
|
56
|
+
<x>10</x>
|
|
57
|
+
<y>10</y>
|
|
58
|
+
<width>91</width>
|
|
59
|
+
<height>81</height>
|
|
60
|
+
</rect>
|
|
61
|
+
</property>
|
|
62
|
+
<property name="sizePolicy">
|
|
63
|
+
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
64
|
+
<horstretch>0</horstretch>
|
|
65
|
+
<verstretch>0</verstretch>
|
|
66
|
+
</sizepolicy>
|
|
67
|
+
</property>
|
|
68
|
+
<property name="minimumSize">
|
|
69
|
+
<size>
|
|
70
|
+
<width>91</width>
|
|
71
|
+
<height>81</height>
|
|
72
|
+
</size>
|
|
73
|
+
</property>
|
|
74
|
+
<property name="maximumSize">
|
|
75
|
+
<size>
|
|
76
|
+
<width>91</width>
|
|
77
|
+
<height>81</height>
|
|
78
|
+
</size>
|
|
79
|
+
</property>
|
|
80
|
+
<property name="styleSheet">
|
|
81
|
+
<string notr="true">border-image: url(:/images/logo-hdt.png);
|
|
82
|
+
</string>
|
|
83
|
+
</property>
|
|
84
|
+
</widget>
|
|
85
|
+
<widget class="QTextBrowser" name="textBrowser">
|
|
86
|
+
<property name="geometry">
|
|
87
|
+
<rect>
|
|
88
|
+
<x>110</x>
|
|
89
|
+
<y>10</y>
|
|
90
|
+
<width>431</width>
|
|
91
|
+
<height>321</height>
|
|
92
|
+
</rect>
|
|
93
|
+
</property>
|
|
94
|
+
<property name="font">
|
|
95
|
+
<font>
|
|
96
|
+
<pointsize>12</pointsize>
|
|
97
|
+
</font>
|
|
98
|
+
</property>
|
|
99
|
+
<property name="html">
|
|
100
|
+
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
101
|
+
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
102
|
+
p, li { white-space: pre-wrap; }
|
|
103
|
+
</style></head><body style=" font-family:'.Lucida Grande UI'; font-size:12pt; font-weight:400; font-style:normal;">
|
|
104
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande'; font-size:16pt; font-weight:600;">HDT-it! version 1.1</span></p>
|
|
105
|
+
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Lucida Grande'; font-size:16pt; font-weight:600;"></p>
|
|
106
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande';">HDT (Header, Dictionary, Triples) is a binary representation for RDF that compresses big datasets in order to store and share big RDF files.</span></p>
|
|
107
|
+
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Lucida Grande';"></p>
|
|
108
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande';">HDT-it is a tool that allows generating and consuming HDT files. As an example, the tool allows to search for basic graph patterns, and shows a global 3D Matrix of the RDF distribution.</span></p>
|
|
109
|
+
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Lucida Grande';"></p>
|
|
110
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande';">For more information about the tool and our research, please visit:</span></p>
|
|
111
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande';">HDT Web page: </span><a href="http://www.rdfhdt.org"><span style=" font-family:'Lucida Grande'; font-size:13pt; text-decoration: underline; color:#0000ff;">http://www.rdfhdt.org</span></a></p>
|
|
112
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande';">Research group: </span><a href="http://dataweb.infor.uva.es"><span style=" font-family:'Lucida Grande'; font-size:13pt; text-decoration: underline; color:#0000ff;">http://dataweb.infor.uva.es</span></a></p>
|
|
113
|
+
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Lucida Grande';"></p>
|
|
114
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande'; font-size:14pt; font-weight:600;">HDT was possible thanks to:</span></p>
|
|
115
|
+
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Lucida Grande';"></p>
|
|
116
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande';">Mario Arias Gallego &lt;</span><a href="mailto:mario.arias@insight-centre.org"><span style=" text-decoration: underline; color:#0000ff;">mario.arias@insight-centre.org</span></a><span style=" font-family:'Lucida Grande';">&gt;</span></p>
|
|
117
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande';">Javier D. Fernández García &lt;</span><a href="mailto:jfergar@infor.uva.es"><span style=" text-decoration: underline; color:#0000ff;">jfergar@infor.uva.es</span></a><span style=" font-family:'Lucida Grande';">&gt;</span></p>
|
|
118
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande';">Miguel A. Martínez-Prieto &lt;</span><a href="mailto:migumar2@infor.uva.es"><span style=" text-decoration: underline; color:#0000ff;">migumar2@infor.uva.es</span></a><span style=" font-family:'Lucida Grande';">&gt;</span></p>
|
|
119
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande';">Claudio Gutierrez &lt;</span><a href="mailto:cgutierr@dcc.uchile.cl"><span style=" text-decoration: underline; color:#0000ff;">cgutierr@dcc.uchile.cl</span></a><span style=" font-family:'Lucida Grande';">&gt;</span></p>
|
|
120
|
+
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Lucida Grande';"></p>
|
|
121
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande'; font-size:14pt; font-weight:600;">And the following organizations:</span></p>
|
|
122
|
+
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Lucida Grande';"></p>
|
|
123
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande';">University of Valladolid. </span><a href="http://www.uva.es"><span style=" text-decoration: underline; color:#0000ff;">http://www.uva.es</span></a></p>
|
|
124
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande';">University of Chile. </span><a href="http://dcc.uchile.cl"><span style=" text-decoration: underline; color:#0000ff;">http://dcc.uchile.cl</span></a></p>
|
|
125
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande';">Insight Centre for Data Analytics </span><a href="http://www.insight-centre.org"><span style=" text-decoration: underline; color:#0000ff;">http://www.insight-centre.org</span></a></p>
|
|
126
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande';">(Formerly known as Digital Enterprise Research Insitute. </span><a href="http://www.deri.ie"><span style=" text-decoration: underline; color:#0000ff;">http://www.deri.ie</span></a></p>
|
|
127
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande';">National University of Ireland Galway. </span><a href="http://www.nuigalway.ie"><span style=" text-decoration: underline; color:#0000ff;">http://www.nuigalway.ie</span></a></p>
|
|
128
|
+
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; text-decoration: underline; color:#0000ff;"></p>
|
|
129
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande'; font-size:14pt; font-weight:600;">Acknowledgemens:</span></p>
|
|
130
|
+
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; text-decoration: underline; color:#0000ff;"></p>
|
|
131
|
+
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande';">RDF/HDT is a project funded by the Spanish Ministry of Economy and Competitiveness (TIN2009-14009-C02-02); Science Foundation Ireland: Grant No. SFI/08/CE/I1380, Lion-II; Chilean Fondecyt's 1110287 and 1-110066</span></p></body></html></string>
|
|
132
|
+
</property>
|
|
133
|
+
<property name="openExternalLinks">
|
|
134
|
+
<bool>true</bool>
|
|
135
|
+
</property>
|
|
136
|
+
</widget>
|
|
137
|
+
</widget>
|
|
138
|
+
<resources/>
|
|
139
|
+
<connections>
|
|
140
|
+
<connection>
|
|
141
|
+
<sender>buttonBox</sender>
|
|
142
|
+
<signal>accepted()</signal>
|
|
143
|
+
<receiver>Abouthdt</receiver>
|
|
144
|
+
<slot>accept()</slot>
|
|
145
|
+
<hints>
|
|
146
|
+
<hint type="sourcelabel">
|
|
147
|
+
<x>248</x>
|
|
148
|
+
<y>254</y>
|
|
149
|
+
</hint>
|
|
150
|
+
<hint type="destinationlabel">
|
|
151
|
+
<x>157</x>
|
|
152
|
+
<y>274</y>
|
|
153
|
+
</hint>
|
|
154
|
+
</hints>
|
|
155
|
+
</connection>
|
|
156
|
+
<connection>
|
|
157
|
+
<sender>buttonBox</sender>
|
|
158
|
+
<signal>rejected()</signal>
|
|
159
|
+
<receiver>Abouthdt</receiver>
|
|
160
|
+
<slot>reject()</slot>
|
|
161
|
+
<hints>
|
|
162
|
+
<hint type="sourcelabel">
|
|
163
|
+
<x>316</x>
|
|
164
|
+
<y>260</y>
|
|
165
|
+
</hint>
|
|
166
|
+
<hint type="destinationlabel">
|
|
167
|
+
<x>286</x>
|
|
168
|
+
<y>274</y>
|
|
169
|
+
</hint>
|
|
170
|
+
</hints>
|
|
171
|
+
</connection>
|
|
172
|
+
</connections>
|
|
173
|
+
</ui>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
#ifndef COLORS_HPP
|
|
2
|
+
#define COLORS_HPP
|
|
3
|
+
|
|
4
|
+
#define SCREEN
|
|
5
|
+
|
|
6
|
+
#ifndef SCREEN
|
|
7
|
+
#define TEXT_COLOR 0.0, 0.0, 0.0, 1.0
|
|
8
|
+
#define CROSS_COLOR 1.0, 0.0, 0.0, 1.0
|
|
9
|
+
#define TEXT_BACKGROUND_COLOR 1.0, 1.0, 1.0, 0.9
|
|
10
|
+
#define BACKGROUND_COLOR 1, 1, 1, 1
|
|
11
|
+
#define SHARED_AREA_COLOR 0.9, 0.9, 0.9, 1.0
|
|
12
|
+
#define SHARED_AREA_BORDER_COLOR 0.1, 0.1, 0.1, 1.0
|
|
13
|
+
#define AXIS_COLOR 0.1, 0.1, 0.1, 1.0
|
|
14
|
+
#define GRID_COLOR 0.3, 0.3, 0.3, 1.0
|
|
15
|
+
#define RDF_POINT_SIZE 1.5
|
|
16
|
+
#else
|
|
17
|
+
#define TEXT_COLOR 1.0, 1.0, 1.0, 1.0
|
|
18
|
+
#define CROSS_COLOR 1.0, 1.0, 1.0, 1.0
|
|
19
|
+
#define TEXT_BACKGROUND_COLOR 0.0, 0.0, 0.0, 0.7
|
|
20
|
+
#define BACKGROUND_COLOR 0, 0, 0, 1
|
|
21
|
+
#define SHARED_AREA_COLOR 0.2, 0.2, 0.2, 1.0
|
|
22
|
+
#define SHARED_AREA_BORDER_COLOR 0.3, 0.3, 0.3, 1.0
|
|
23
|
+
#define AXIS_COLOR 0.8, 0.8, 0.8, 1.0
|
|
24
|
+
#define GRID_COLOR 0.2, 0.2, 0.2, 1.0
|
|
25
|
+
#define RDF_POINT_SIZE 1
|
|
26
|
+
#endif
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
#endif // COLORS_HPP
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* constants.h
|
|
3
|
+
*
|
|
4
|
+
* Created on: 04/03/2011
|
|
5
|
+
* Author: mck
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#ifndef CONSTANTS_H_
|
|
9
|
+
#define CONSTANTS_H_
|
|
10
|
+
|
|
11
|
+
#define TIMER_DELAY 50
|
|
12
|
+
#define RENDER_NUM_POINTS 100000
|
|
13
|
+
|
|
14
|
+
#define SCREEN
|
|
15
|
+
|
|
16
|
+
#ifndef SCREEN
|
|
17
|
+
#define TEXT_COLOR 0.0, 0.0, 0.0, 1.0
|
|
18
|
+
#define CROSS_COLOR 1.0, 0.0, 0.0, 1.0
|
|
19
|
+
#define TEXT_BACKGROUND_COLOR 1.0, 1.0, 1.0, 0.9
|
|
20
|
+
#define BACKGROUND_COLOR 1, 1, 1, 1
|
|
21
|
+
#define SHARED_AREA_COLOR 0.9, 0.9, 0.9, 1.0
|
|
22
|
+
#define SHARED_AREA_BORDER_COLOR 0.1, 0.1, 0.1, 1.0
|
|
23
|
+
#define AXIS_COLOR 0.1, 0.1, 0.1, 1.0
|
|
24
|
+
#define GRID_COLOR 0.3, 0.3, 0.3, 1.0
|
|
25
|
+
#define RDF_POINT_SIZE 1.5
|
|
26
|
+
#else
|
|
27
|
+
#define TEXT_COLOR 1.0, 1.0, 1.0, 1.0
|
|
28
|
+
#define CROSS_COLOR 0.0, 0.0, 0.0, 1.0
|
|
29
|
+
#define TEXT_BACKGROUND_COLOR 0.0, 0.0, 0.0, 0.7
|
|
30
|
+
#define BACKGROUND_COLOR 0, 0, 0, 1
|
|
31
|
+
#define SHARED_AREA_COLOR 0.1, 0.1, 0.1, 1.0
|
|
32
|
+
#define SHARED_AREA_BORDER_COLOR 0.2, 0.2, 0.2, 1.0
|
|
33
|
+
#define AXIS_COLOR 0.8, 0.8, 0.8, 1.0
|
|
34
|
+
#define GRID_COLOR 0.2, 0.2, 0.2, 1.0
|
|
35
|
+
#define RDF_POINT_SIZE 1
|
|
36
|
+
#endif
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
#endif /* CONSTANTS_H_ */
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
SRCAPP="macx/HDT-it.app"
|
|
4
|
+
FOLDER="macdmg"
|
|
5
|
+
VOL="HDT-it"
|
|
6
|
+
NAME="HDT-it!"
|
|
7
|
+
VERS="1.1"
|
|
8
|
+
DMG="$VOL-$VERS.dmg"
|
|
9
|
+
|
|
10
|
+
FRAMEWORK_BASE="$SRCAPP/Contents/Frameworks/"
|
|
11
|
+
REMOVE="QtSql.framework QtXmlPatterns.framework QtDeclarative.framework QtNetwork.framework QtScript.framework QtSvg.framework QtGui.framework/Versions/4/QtGui.strip"
|
|
12
|
+
|
|
13
|
+
DATASETBASE="$HOME/rdf/dataset/"
|
|
14
|
+
DATASETS="test.nt"
|
|
15
|
+
DATASETHDTBASE="$HOME/hdt/"
|
|
16
|
+
DATASETSHDT="3kbo.hdt aaronland.hdt 3dnews.hdt aisricom.hdt"
|
|
17
|
+
#DATASETSHDT="aifb.hdt apex.hdt 2blog.hdt 3kbo.hdt aaronland.hdt 3dnews.hdt aisricom.hdt"
|
|
18
|
+
|
|
19
|
+
mkdir -p $FOLDER
|
|
20
|
+
rm -Rf $FOLDER/*
|
|
21
|
+
|
|
22
|
+
# ADD LIBRARIES
|
|
23
|
+
echo macdeployqt $SRCAPP
|
|
24
|
+
macdeployqt $SRCAPP
|
|
25
|
+
|
|
26
|
+
# ADD Translation files
|
|
27
|
+
cp -Rf *.qm $SRCAPP/Contents/Resources
|
|
28
|
+
|
|
29
|
+
# ADD License and documentation
|
|
30
|
+
cp -Rf LICENSE $FOLDER
|
|
31
|
+
|
|
32
|
+
mkdir -p $FOLDER/doc
|
|
33
|
+
cp -Rf doc/* $FOLDER/doc
|
|
34
|
+
|
|
35
|
+
# REMOVE UNNEDED FILES
|
|
36
|
+
for i in $REMOVE
|
|
37
|
+
do
|
|
38
|
+
echo rm -Rf $FRAMEWORK_BASE$i;
|
|
39
|
+
rm -Rf $FRAMEWORK_BASE$i;
|
|
40
|
+
done
|
|
41
|
+
|
|
42
|
+
echo rm -Rf "$SRCAPP/Contents/PlugIns/*"
|
|
43
|
+
rm -Rf "$SRCAPP/Contents/PlugIns/*"
|
|
44
|
+
|
|
45
|
+
# CREATE TMP FOLDER
|
|
46
|
+
echo mkdir -p $FOLDER/datasets
|
|
47
|
+
mkdir -p $FOLDER/datasets
|
|
48
|
+
|
|
49
|
+
echo "Fill moredatasets.txt"
|
|
50
|
+
echo "You can download more datasets from http://www.rdfhdt.org/datasets or import your own ones using the 'Import RDF' option!" > $FOLDER/datasets/moredatasets.txt
|
|
51
|
+
|
|
52
|
+
# COPY APP to folder
|
|
53
|
+
echo cp -R $SRCAPP $FOLDER
|
|
54
|
+
cp -R $SRCAPP $FOLDER
|
|
55
|
+
|
|
56
|
+
# COPY DATASETS
|
|
57
|
+
for i in $DATASETS
|
|
58
|
+
do
|
|
59
|
+
echo cp $DATASETBASE$i $FOLDER/datasets
|
|
60
|
+
cp $DATASETBASE$i $FOLDER/datasets
|
|
61
|
+
done
|
|
62
|
+
|
|
63
|
+
for i in $DATASETSHDT
|
|
64
|
+
do
|
|
65
|
+
echo cp $DATASETHDTBASE$i $FOLDER/datasets
|
|
66
|
+
cp $DATASETHDTBASE$i $FOLDER/datasets
|
|
67
|
+
done
|
|
68
|
+
|
|
69
|
+
# CREATE DMG
|
|
70
|
+
rm -Rf "$DMG"
|
|
71
|
+
echo hdiutil create -srcfolder "$FOLDER" -volname "$VOL" -format UDZO -imagekey zlib-level=9 "$DMG"
|
|
72
|
+
hdiutil create -srcfolder "$FOLDER" -volname "$NAME" -format UDZO -imagekey zlib-level=9 "$DMG"
|