Skip to content

Commit 5bdcd5d

Browse files
mgeipelcboehme
authored andcommitted
Imported existing project files.
Metafacture was created by merging Metastream, Metamorph and Metaflow into one package. Please refer to the old subversion repository on Sourceforge for file histories and attributions which predate the package merger: http://svn.code.sf.net/p/culturegraph/code/ The old project home page on Sourceforge can be found at: http://sourceforge.net/projects/culturegraph/
1 parent 7a07029 commit 5bdcd5d

File tree

395 files changed

+38204
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

395 files changed

+38204
-0
lines changed

.checkstyle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
4+
<local-check-config name="Metafacture" location="quality_assurance/checkstyle_rules.xml" type="project" description="">
5+
<additional-data name="protect-config-file" value="false"/>
6+
</local-check-config>
7+
<fileset name="all" enabled="true" check-config-name="Metafacture" local="true">
8+
<file-match-pattern match-pattern="." include-pattern="true"/>
9+
</fileset>
10+
</fileset-config>

.classpath

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java">
4+
<attributes>
5+
<attribute name="optional" value="true"/>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry kind="src" output="target/classes" path="src/main/antlr3">
10+
<attributes>
11+
<attribute name="optional" value="true"/>
12+
<attribute name="maven.pomderived" value="true"/>
13+
</attributes>
14+
</classpathentry>
15+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
16+
<attributes>
17+
<attribute name="maven.pomderived" value="true"/>
18+
</attributes>
19+
</classpathentry>
20+
<classpathentry including="**/*.java" kind="src" output="target/test-classes" path="src/test/java">
21+
<attributes>
22+
<attribute name="optional" value="true"/>
23+
<attribute name="maven.pomderived" value="true"/>
24+
</attributes>
25+
</classpathentry>
26+
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
27+
<attributes>
28+
<attribute name="maven.pomderived" value="true"/>
29+
</attributes>
30+
</classpathentry>
31+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
32+
<attributes>
33+
<attribute name="maven.pomderived" value="true"/>
34+
</attributes>
35+
</classpathentry>
36+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
37+
<attributes>
38+
<attribute name="maven.pomderived" value="true"/>
39+
</attributes>
40+
</classpathentry>
41+
<classpathentry kind="output" path="target/classes"/>
42+
</classpath>

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
*.jar
55
*.war
66
*.ear
7+
8+
/target

.pmd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<pmd>
3+
<useProjectRuleSet>true</useProjectRuleSet>
4+
<ruleSetFile>quality_assurance/pmd_rules.xml</ruleSetFile>
5+
<includeDerivedFiles>false</includeDerivedFiles>
6+
<violationsAsErrors>true</violationsAsErrors>
7+
<fullBuildEnabled>true</fullBuildEnabled>
8+
</pmd>

.project

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>metafacture.core</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.dltk.core.scriptbuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.jdt.core.javabuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.m2e.core.maven2Builder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>net.sourceforge.pmd.eclipse.plugin.pmdBuilder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
<buildCommand>
29+
<name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
30+
<arguments>
31+
</arguments>
32+
</buildCommand>
33+
</buildSpec>
34+
<natures>
35+
<nature>org.eclipse.jdt.core.javanature</nature>
36+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
37+
<nature>net.sourceforge.pmd.eclipse.plugin.pmdNature</nature>
38+
<nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
39+
<nature>org.deved.antlride.core.nature</nature>
40+
</natures>
41+
</projectDescription>
Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
#FindBugs User Preferences
2+
#Tue Feb 26 14:59:42 CET 2013
3+
cloud_id=edu.umd.cs.findbugs.cloud.doNothingCloud
4+
detectorAppendingToAnObjectOutputStream=AppendingToAnObjectOutputStream|true
5+
detectorAtomicityProblem=AtomicityProblem|true
6+
detectorBadAppletConstructor=BadAppletConstructor|false
7+
detectorBadResultSetAccess=BadResultSetAccess|true
8+
detectorBadSyntaxForRegularExpression=BadSyntaxForRegularExpression|true
9+
detectorBadUseOfReturnValue=BadUseOfReturnValue|true
10+
detectorBadlyOverriddenAdapter=BadlyOverriddenAdapter|true
11+
detectorBooleanReturnNull=BooleanReturnNull|true
12+
detectorCallToUnsupportedMethod=CallToUnsupportedMethod|false
13+
detectorCheckExpectedWarnings=CheckExpectedWarnings|false
14+
detectorCheckImmutableAnnotation=CheckImmutableAnnotation|true
15+
detectorCheckTypeQualifiers=CheckTypeQualifiers|true
16+
detectorCloneIdiom=CloneIdiom|true
17+
detectorComparatorIdiom=ComparatorIdiom|true
18+
detectorConfusedInheritance=ConfusedInheritance|true
19+
detectorConfusionBetweenInheritedAndOuterMethod=ConfusionBetweenInheritedAndOuterMethod|true
20+
detectorCrossSiteScripting=CrossSiteScripting|true
21+
detectorDefaultEncodingDetector=DefaultEncodingDetector|true
22+
detectorDoInsideDoPrivileged=DoInsideDoPrivileged|true
23+
detectorDontCatchIllegalMonitorStateException=DontCatchIllegalMonitorStateException|true
24+
detectorDontIgnoreResultOfPutIfAbsent=DontIgnoreResultOfPutIfAbsent|true
25+
detectorDontUseEnum=DontUseEnum|true
26+
detectorDroppedException=DroppedException|true
27+
detectorDumbMethodInvocations=DumbMethodInvocations|true
28+
detectorDumbMethods=DumbMethods|true
29+
detectorDuplicateBranches=DuplicateBranches|true
30+
detectorEmptyZipFileEntry=EmptyZipFileEntry|true
31+
detectorEqualsOperandShouldHaveClassCompatibleWithThis=EqualsOperandShouldHaveClassCompatibleWithThis|true
32+
detectorExplicitSerialization=ExplicitSerialization|true
33+
detectorFinalizerNullsFields=FinalizerNullsFields|true
34+
detectorFindBadCast2=FindBadCast2|true
35+
detectorFindBadForLoop=FindBadForLoop|true
36+
detectorFindCircularDependencies=FindCircularDependencies|false
37+
detectorFindDeadLocalStores=FindDeadLocalStores|true
38+
detectorFindDoubleCheck=FindDoubleCheck|true
39+
detectorFindEmptySynchronizedBlock=FindEmptySynchronizedBlock|true
40+
detectorFindFieldSelfAssignment=FindFieldSelfAssignment|true
41+
detectorFindFinalizeInvocations=FindFinalizeInvocations|true
42+
detectorFindFloatEquality=FindFloatEquality|true
43+
detectorFindHEmismatch=FindHEmismatch|true
44+
detectorFindInconsistentSync2=FindInconsistentSync2|true
45+
detectorFindJSR166LockMonitorenter=FindJSR166LockMonitorenter|true
46+
detectorFindLocalSelfAssignment2=FindLocalSelfAssignment2|true
47+
detectorFindMaskedFields=FindMaskedFields|true
48+
detectorFindMismatchedWaitOrNotify=FindMismatchedWaitOrNotify|true
49+
detectorFindNakedNotify=FindNakedNotify|true
50+
detectorFindNonShortCircuit=FindNonShortCircuit|true
51+
detectorFindNullDeref=FindNullDeref|true
52+
detectorFindNullDerefsInvolvingNonShortCircuitEvaluation=FindNullDerefsInvolvingNonShortCircuitEvaluation|true
53+
detectorFindOpenStream=FindOpenStream|true
54+
detectorFindPuzzlers=FindPuzzlers|true
55+
detectorFindRefComparison=FindRefComparison|true
56+
detectorFindReturnRef=FindReturnRef|true
57+
detectorFindRunInvocations=FindRunInvocations|true
58+
detectorFindSelfComparison=FindSelfComparison|true
59+
detectorFindSelfComparison2=FindSelfComparison2|true
60+
detectorFindSleepWithLockHeld=FindSleepWithLockHeld|true
61+
detectorFindSpinLoop=FindSpinLoop|true
62+
detectorFindSqlInjection=FindSqlInjection|true
63+
detectorFindTwoLockWait=FindTwoLockWait|true
64+
detectorFindUncalledPrivateMethods=FindUncalledPrivateMethods|true
65+
detectorFindUnconditionalWait=FindUnconditionalWait|true
66+
detectorFindUninitializedGet=FindUninitializedGet|true
67+
detectorFindUnrelatedTypesInGenericContainer=FindUnrelatedTypesInGenericContainer|true
68+
detectorFindUnreleasedLock=FindUnreleasedLock|true
69+
detectorFindUnsatisfiedObligation=FindUnsatisfiedObligation|true
70+
detectorFindUnsyncGet=FindUnsyncGet|true
71+
detectorFindUseOfNonSerializableValue=FindUseOfNonSerializableValue|true
72+
detectorFindUselessControlFlow=FindUselessControlFlow|true
73+
detectorFormatStringChecker=FormatStringChecker|true
74+
detectorHugeSharedStringConstants=HugeSharedStringConstants|true
75+
detectorIDivResultCastToDouble=IDivResultCastToDouble|true
76+
detectorIncompatMask=IncompatMask|true
77+
detectorInconsistentAnnotations=InconsistentAnnotations|true
78+
detectorInefficientMemberAccess=InefficientMemberAccess|false
79+
detectorInefficientToArray=InefficientToArray|true
80+
detectorInfiniteLoop=InfiniteLoop|true
81+
detectorInfiniteRecursiveLoop=InfiniteRecursiveLoop|true
82+
detectorInheritanceUnsafeGetResource=InheritanceUnsafeGetResource|true
83+
detectorInitializationChain=InitializationChain|true
84+
detectorInitializeNonnullFieldsInConstructor=InitializeNonnullFieldsInConstructor|true
85+
detectorInstantiateStaticClass=InstantiateStaticClass|true
86+
detectorIntCast2LongAsInstant=IntCast2LongAsInstant|true
87+
detectorInvalidJUnitTest=InvalidJUnitTest|true
88+
detectorIteratorIdioms=IteratorIdioms|true
89+
detectorLazyInit=LazyInit|true
90+
detectorLoadOfKnownNullValue=LoadOfKnownNullValue|true
91+
detectorLostLoggerDueToWeakReference=LostLoggerDueToWeakReference|true
92+
detectorMethodReturnCheck=MethodReturnCheck|true
93+
detectorMultithreadedInstanceAccess=MultithreadedInstanceAccess|true
94+
detectorMutableLock=MutableLock|true
95+
detectorMutableStaticFields=MutableStaticFields|true
96+
detectorNaming=Naming|true
97+
detectorNoteUnconditionalParamDerefs=NoteUnconditionalParamDerefs|true
98+
detectorNumberConstructor=NumberConstructor|true
99+
detectorOverridingEqualsNotSymmetrical=OverridingEqualsNotSymmetrical|true
100+
detectorPreferZeroLengthArrays=PreferZeroLengthArrays|true
101+
detectorPublicSemaphores=PublicSemaphores|false
102+
detectorQuestionableBooleanAssignment=QuestionableBooleanAssignment|true
103+
detectorReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass=ReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass|true
104+
detectorReadReturnShouldBeChecked=ReadReturnShouldBeChecked|true
105+
detectorRedundantInterfaces=RedundantInterfaces|true
106+
detectorRepeatedConditionals=RepeatedConditionals|true
107+
detectorRuntimeExceptionCapture=RuntimeExceptionCapture|true
108+
detectorSerializableIdiom=SerializableIdiom|true
109+
detectorStartInConstructor=StartInConstructor|true
110+
detectorStaticCalendarDetector=StaticCalendarDetector|true
111+
detectorStringConcatenation=StringConcatenation|true
112+
detectorSuperfluousInstanceOf=SuperfluousInstanceOf|true
113+
detectorSuspiciousThreadInterrupted=SuspiciousThreadInterrupted|true
114+
detectorSwitchFallthrough=SwitchFallthrough|true
115+
detectorSynchronizeAndNullCheckField=SynchronizeAndNullCheckField|true
116+
detectorSynchronizeOnClassLiteralNotGetClass=SynchronizeOnClassLiteralNotGetClass|true
117+
detectorSynchronizingOnContentsOfFieldToProtectField=SynchronizingOnContentsOfFieldToProtectField|true
118+
detectorURLProblems=URLProblems|true
119+
detectorUncallableMethodOfAnonymousClass=UncallableMethodOfAnonymousClass|true
120+
detectorUnnecessaryMath=UnnecessaryMath|true
121+
detectorUnreadFields=UnreadFields|true
122+
detectorUselessSubclassMethod=UselessSubclassMethod|false
123+
detectorVarArgsProblems=VarArgsProblems|true
124+
detectorVolatileUsage=VolatileUsage|true
125+
detectorWaitInLoop=WaitInLoop|true
126+
detectorWrongMapIterator=WrongMapIterator|true
127+
detectorXMLFactoryBypass=XMLFactoryBypass|true
128+
detector_threshold=2
129+
effort=default
130+
excludefilter0=quality_assurance/findbugs-exclude.xml|true
131+
filter_settings=Medium|BAD_PRACTICE,CORRECTNESS,MT_CORRECTNESS,PERFORMANCE,STYLE|false|15
132+
filter_settings_neg=MALICIOUS_CODE,NOISE,I18N,SECURITY,EXPERIMENTAL|
133+
run_at_full_build=false
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
eclipse.preferences.version=1
2+
encoding//src/main/antlr3=UTF-8
3+
encoding//src/main/java=UTF-8
4+
encoding//src/main/resources=UTF-8
5+
encoding//src/test/java=UTF-8
6+
encoding//src/test/resources=UTF-8
7+
encoding/<project>=UTF-8

.settings/org.eclipse.jdt.core.prefs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3+
org.eclipse.jdt.core.compiler.compliance=1.6
4+
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
5+
org.eclipse.jdt.core.compiler.source=1.6

.settings/org.eclipse.m2e.core.prefs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
activeProfiles=
2+
eclipse.preferences.version=1
3+
resolveWorkspaceProjects=true
4+
version=1

examples/count/count-gnd-types.flux

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
default fileName = FLUX_DIR + "gnd-sample.pica";
2+
3+
fileName|
4+
open-file|
5+
as-lines|
6+
decode-pica|
7+
morph(FLUX_DIR + "gnd-type.xml")|
8+
stream-to-triples|
9+
count-triples(countBy="object")|
10+
template("${s}\t${o}")|
11+
write("stdout");

0 commit comments

Comments
 (0)