-
Notifications
You must be signed in to change notification settings - Fork 3
/
infolis.tson
1128 lines (1063 loc) · 29.6 KB
/
infolis.tson
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# vim: ft=turtleson ts=2 sw=2 list fdm=indent :
#
# This file is the definitive source from which we generate
#
# * the database schema (for Mongoose)
# * the ontology (described JSON-LD)
# * the REST API (GET/POST/PUT/DELETE /api/MyClass)
# * the REST API documentation (Swagger)
# * the data model explorer @ http://infolis.gesis.org/play/data-model-explorer
#
@ns
infolis <http://infolis.gesis.org/infolink/schema/>
rdf <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
dc <http://purl.org/dc/elements/1.1/>
owl <http://www.w3.org/2002/07/owl#>
rdfs <http://www.w3.org/2000/01/rdf-schema#>
skos <http://www.w3.org/2004/02/skos/core#>
xsd <http://www.w3.org/2001/XMLSchema#>
dcterms <http://purl.org/dc/terms/>
schema <http://schema.org/>
bibo <http://purl.org/ontology/bibo/>
foaf <http://xmlns.com/foaf/0.1/>
dqm <http://purl.org/dqm-vocabulary/v1/dqm#>
omnom <http://onto.dm2e.eu/omnom/>
doap <http://usefulinc.com/ns/doap#>
vann <http://purl.org/vocab/vann/>
dcat <http://www.w3.org/ns/dcat#>
@context
@id infolis:
@type owl:Ontology
@type doap:Project
dc:title "Infolis Data model"
dc:description "This ontology is the normative source for the semantics and structure of the domain of the InFoLiS project"
dcterms:modified
@value "2015-12-02T13:53:09+0100"
@type xsd:datetime
doap:implements
@id <https://github.com/infolis/infoLink>
'rdfs:seeAlso': [{
@id <https://github.com/infolis>
@type doap:Project
doap:shortdesc "Github organization containing all the software developed by InFoLiS"
},{
@id <https://github.com/kba/jsonld-common-contexts>
@type doap:Project
doap:shortdesc "Cached versions of commonly used namespaces"
doap:programming-language "CoffeeScript"
doap:programming-language "JavaScript"
},{
@id <https://github.com/infolis/express-jsonld>
@type doap:Project
doap:shortdesc "JSON-LD content-negotiating middleware for Express based on node-jsonld and rapper"
doap:programming-language "CoffeeScript"
'dcterms:requires':[{
@id <https://github.com/infolis/infolis-logging>
},{
@id <https://github.com/infolis/jsonld-rapper>
}]
},{
@id <https://github.com/infolis/jsonld-rapper>
@type doap:Project
doap:shortdesc "Convert between RDF and JSON-LD using rapper"
doap:programming-language "CoffeeScript"
'dcterms:requires': [{
@id <https://github.com/kba/jsonld-common-contexts>
},{
@id <https://github.com/infolis/infolis-logging>
}]
},{
@id <https://github.com/kba/turtleson>
@type doap:Project
doap:shortdesc "Concise, permissive, TURTLE-like dialect of JSON"
doap:programming-language "CoffeeScript"
doap:programming-language "JavaScript"
},{
@id <https://github.com/infolis/infolis-logging>
@type doap:Project
doap:shortdesc "Module-specific Winston logging"
doap:programming-language "JavaScript"
},{
@id <https://github.com/infolis/mongoose-jsonld>
@type doap:Project
doap:shortdesc "Add JSON-LD context to a Mongoose schema"
doap:programming-language "CoffeeScript"
'dcterms:requires': [{
@id <https://github.com/infolis/jsonld-rapper>
},{
@id <https://github.com/infolis/express-jsonld>
},{
@id <https://github.com/kba/turtleson>
},{
@id <https://github.com/kba/jsonld-common-contexts>
},{
@id <https://github.com/infolis/infolis-logging>
}]
},{
@id <https://github.com/kba/node-vim2html>
@type doap:Project
doap:shortdesc "Create HTML highlighted by Vim`s 2html script"
doap:programming-language "CoffeeScript"
doap:programming-language "Makefile"
},{
@id <https://github.com/infolis/infoLink>
@type doap:Project
doap:shortdesc "The software implementing all the algorithms, doing the text mining, linking the entities and much more"
doap:programming-language "Java"
},{
@id <https://github.com/infolis/infolis-datasets>
@type doap:Project
doap:shortdesc "Project containing all the data and tools to run learning and linking in bulk in a Linux environment."
doap:programming-language "Shell"
doap:programming-language "Python"
},{
@id <https://github.com/infolis/infolis-web>
@type doap:Project
doap:shortdesc "Project that implements the HTTP-based RESTful Linked Data infrastructure for InFoLiS"
doap:programming-language "CoffeeScript"
doap:programming-language "Javascript"
doap:implements
@id infolis:
'dcterms:requires': [{
@id <https://github.com/infolis/express-jsonld>
},{
@id <https://github.com/infolis/mongoose-jsonld>
},{
@id <https://github.com/kba/turtleson>
},{
@id <https://github.com/kba/node-vim2html>
},{
@id <https://github.com/infolis/infolis-logging>
}]
}]
Execution
@context
dc:description "The concrete execution of an Algorithm."
vann:example
@id <http://infolis.gesis.org/infolink/api#!/rest-ld-execution>
rdfs:subClassOf
@id schema:Action
dcterms:source
@id <https://github.com/infolis/infoLink/blob/master/src/main/java/io/github/infolis/model/Execution.java>
@type owl:Class
algorithm
@context
dc:description "Java class of the algorithm which is supposed to be executed within this execution."
dcterms:source
@id <https://github.com/infolis/infoLink/blob/master/src/main/java/io/github/infolis/model/Execution.java>
required true
index: true
type: String
enum: [
# TODO fix this for updated version
'io.github.infolis.algorithm.BestMatchLinker'
'io.github.infolis.algorithm.BibliographyExtractor'
'io.github.infolis.algorithm.DbIndexer'
'io.github.infolis.algorithm.DoiExtractor'
'io.github.infolis.algorithm.DoiLinker'
'io.github.infolis.algorithm.FederatedSearcher'
'io.github.infolis.algorithm.FrequencyBasedBootstrapping'
'io.github.infolis.algorithm.GoldLinker'
'io.github.infolis.algorithm.Indexer'
'io.github.infolis.algorithm.InfolisPatternSearcher'
'io.github.infolis.algorithm.KeywordTagger'
'io.github.infolis.algorithm.LearnPatternsAndCreateLinks'
'io.github.infolis.algorithm.Learner'
'io.github.infolis.algorithm.LinkImporter'
'io.github.infolis.algorithm.LinkIndexer'
'io.github.infolis.algorithm.LocalSearcher'
'io.github.infolis.algorithm.LuceneSearcher'
'io.github.infolis.algorithm.MetaDataExtractor'
'io.github.infolis.algorithm.MultiMatchesLinker'
'io.github.infolis.algorithm.NameExtractor'
'io.github.infolis.algorithm.OntologyLinker'
'io.github.infolis.algorithm.ReferenceLinker'
'io.github.infolis.algorithm.RegexSearcher'
'io.github.infolis.algorithm.ReliabilityBasedBootstrapping'
'io.github.infolis.algorithm.SearchPatternsAndCreateLinks'
'io.github.infolis.algorithm.SearchDoisAndCreateLinks'
'io.github.infolis.algorithm.SearchNamesAndCreateLinks'
'io.github.infolis.algorithm.SearchResultLinker'
'io.github.infolis.algorithm.SpringerImporter'
'io.github.infolis.algorithm.TagSearcher'
'io.github.infolis.algorithm.TextAndMetaDataExtractor'
'io.github.infolis.algorithm.TextExtractor'
'io.github.infolis.algorithm.Tokenizer'
'io.github.infolis.algorithm.TokenizerOpenNLP'
'io.github.infolis.algorithm.TokenizerStanford'
]
status
@context
dc:description """
Status of the execution
* PENDING
* STARTED
* FINISHED
* FAILED
Default (when starting): ExecutionStatus.PENDING
"""
vann:example 'SUCCESS'
required true
type String
index: true
enum: [
"PENDING"
"STARTED"
"FAILED"
"FINISHED"
]
hideFromSwagger: true
log
@context
dc:description "Log messages of this execution."
type: ArrayOfStrings
hideFromSwagger: true
startTime
@context
owl:sameAs
@id schema:startTime
@type xsd:date
dc:description "Timestamp when execution started."
type Date
hideFromSwagger: true
endTime
@context
owl:sameAs
@id schema:endTime
@type xsd:date
dc:description "Timestamp when execution ended."
type Date
hideFromSwagger: true
progress
@context
dc:description "Numerical progress of the execution in the interval 0-100."
type: Number
hideFromSwagger: true
#
# Parameters
#
inputFiles
@context
dc:description """
List of URIs of input files.
Can be either PDF or text files.
They are for example used to search patterns within the Pattern Applier algorithm.
"""
refMany: infolis:InfolisFile
outputFiles
@context
dc:description "List of URIs of output files. Output files to save the output files (txt files) of algorithms."
refMany: infolis:InfolisFile
removeBib
@context
dc:description "Whether to remove the bibliography from text/plain document."
type Boolean
tokenize
@context
dc:description """
Whether to tokenize text input.
Bootstrapping requires tokenized input texts to perform well. It can
either be called on tokenized input texts or it can be called on
untokenized text or pdf files and perform tokenization itself. If
unspecified, defaults to false for TextExtractor. For Bootstrapping,
this field has to be set explicitly as this information is crucial for
good performance.
"""
type Boolean
outputDirectory
@context
dc:description "Output directory of the indexer."
type String
indexDirectory
@context
dc:description "index directory of the indexer."
type String
phraseSlop
@context
dc:description """
The slop for phrases used by the Lucene query parser.
It determines how similar two phrases must be to be matched.
If zero, then only exact phrase matches, if 10 up to 10 edit
operations may be carried out.
Default: 10
"""
type: Number
allowLeadingWildcards
@context
dc:description """
Determines whether the Lucene query parser is allowed to
use leading wildcard characters.
Default: true
"""
type Boolean
maxClauseCount
@context
dc:description """
The maximum number of clauses permitted per BooleanQuery (Lucence search).
A boolean query represents a query that matches documents
matching boolean combinations of other queries.
Default: Integer max value
"""
type: Number
searchTerm
@context
dc:description """
A search term that can be used in different algorithms whenever
something a certain term needs to be searched in a text.
For example, the bootstrapping algorithms need a seed in the beginning to start
the whole process. The search term represents such a seed, e.g. the study name 'ALLBUS'.
"""
type String
searchQuery
@context
dc:description """
Any kind of search query that can be used within the algorithms.
For example, it represtens the search query which is used
to perform a search in different repositories to find
fitting research data.
"""
refOne infolis:SearchQuery
referenceGroup
@context
dc:description: """
Group numbers to use for RegexSearcher: group of reference term.
number of the group which contains the doi. This number depends on the used doiRegex
"""
type: Number
default: 3
leftContextGroup
@context
dc:description: """
Group numbers to use for RegexSearcher: group of left context.
"""
type: Number
default: 1
rightContextGroup
@context
dc:description: """
Group numbers to use for RegexSearcher: group of right context.
"""
type: Number
default: 5
textualReferences
@context
dc:description """
A textual reference represents any kind of reference that
can be find in a text, e.g. a term like a study name has been found in a publication.
Besides the text and the term that has been found in the text,
it also contains the context, i.e. where the term has been detected.
"""
refMany infolis:TextualReference
patterns
@context
dc:description """
A list of patterns (internally expressed as regular expression)
that can be applied on texts, e.g. to find links to research data.
"""
refMany infolis:InfolisFile
upperCaseConstraint
@context
dc:description """
Indicates whether we require a term to contain at least one upper case
character.
The idea behind is that especially a study name is supposed to be a
named entity and thus should contain at least one upper-case character.
Default: false
"""
type Boolean
seeds
@context
dc:description "The initial seeds for learning."
type ArrayOfStrings
maxIterations
@context
dc:description """
Maximum number of iterations during the bootstrapping process.
A high number of iterations can lead to a increased run time.
Default: 10
"""
type Number
windowsize
@context
dc:description "Number of words used for creation of patterns."
type: Number
default: 3
reliabilityThreshold
@context
dc:description "Determines which patterns are the relevant ones."
type Number
default: 0.8
bootstrapStrategy
@context
dc:description "Strategy to use for bootstrapping. Can either be: mergeCurrent, mergeNew, mergeAll, separate, reliability."
type: String
enum: [
'mergeCurrent'
'mergeNew'
'mergeAll'
'separate'
'reliability'
]
searchResultLinkerClass
@context
dc:description """
The SearchResultLinkerClass determines the SearchResultLinker to
use. That class is responsible for deciding which SearchResults to
select for creating links.
"""
type: String
enum: [
'io.github.infolis.algorithm.BestMatchLinker'
'io.github.infolis.algorithm.MultiMatchesLinker'
'io.github.infolis.algorithm.OntologyLinker'
'io.github.infolis.algorithm.GoldLinker'
'io.github.infolis.algorithm.DoiLinker'
]
links
@context
dc:description """
As a final step, links between the texts and the discovered
named entities (research data) are established and saved in this list.
"""
refMany infolis:EntityLink
queryServices
@context
dc:description "List of QueryService to use. A query service to a certain repository can be posted and later referred."
refMany infolis:QueryService
queryServiceClasses
@context
dc:description "Instead of a using a list of QueryService URIs(queryServices), the Java classes of the QueryServices can be used. This way, the query serivces do not need to be posted."
type: ArrayOfStrings
enum: [
'io.github.infolis.infolink.querying.DaraHTMLQueryService'
'io.github.infolis.infolink.querying.DaraSolrQueryService'
'io.github.infolis.infolink.querying.DataciteQueryService'
]
searchResults
@context
dc:description """
After a search in one or more repositories, a list
of search results is returned. These results not only contain
the repository which was searched but also information like
the relevance score.
"""
refMany infolis:SearchResult
linkedEntities
@context
dc:description """
Beside the search in external repositories, we can also
search in our own database. As use case, we get a URN for a publication
from a user and want to show all named entities that are linked to
this publication. With an internal search using the generated links,
we can find these entities which are returned in this list.
"""
refMany infolis:Entity
infolisFileTags
@context
dc:description "List of tags to identify a specific set of InfolisFiles"
type: ArrayOfStrings
infolisPatternTags
@context
dc:description "List of tags to identify a specific set of InfolisPatterns"
type: ArrayOfStrings
textualReferenceTags
@context
dc:description "List of tags to identify a specific set of TextualReferences"
type: ArrayOfStrings
tags
@context
dc:description """
Free-form tags to assign to the execution and all generated entities.
This makes all uploaded and generated data identifiable and searchable
e.g. using infolisFileTags, infolisPatternTags and textualReferenceTags.
"""
type ArrayOfStrings
index: true
overwriteTextFiles
@context
dc:description """
Flag used by TextExtractor: if set to false, pdfs for which corresponding text
files already exist in the specified text directory will not be converted again, instead
the existing text files will be returned as InfolisFile instances. If set to true, all
pdfs will be converted regardless of any existing files in the text directory.
"""
type Boolean
default: yes
tokenizeNLs
@context
dc:description """
Determines whether new line characters are to be tokenized.
"""
type Boolean
default yes
ptb3Escaping
@context
dc:description """
Enable all traditional PTB3 token transforms (like parentheses becoming -LRB-, -RRB-).
"""
type Boolean
default yes
startPage
@context
dc:description """
Index (starting at 1 rather than 0) of the first page to extract.
Useful to ignore title pages if present.
"""
type Number
default 1
entitiesForKeywordTagging
@context
dc:description """
List of entities (URIs of the entities) for which key words should be
generated. Serves as input for the keyword tagging algorithm.
"""
refMany infolis:Entity
keyWords
@context
dc:description """
Key words which are generated by the KeywordTagger.
"""
type ArrayOfStrings
thesaurus
@context
dc:description """
Path/URI to the thesaurus which is used for the key word tagging.
"""
type: String
abstractLanguage
@context
dc:description """
Language of the abstracts
"""
type String
enum: [
"en"
"de"
]
metaDataFiles
@context
dc:description """
Meta data files of the publications in which information about
the title, author, astract, subject, identifiers, URL, and language
can be found.
"""
type ArrayOfStrings
SearchQuery
@context
dc:description "A search query"
vann:example
@id <http://infolis.gesis.org/infolink/api#!/rest-ld-searchQuery>
@type owl:Class
query
@context
dc:description "The query string"
type String
index: false
required: yes
Entity
@context
dc:description "An entity to be linked from or to, i.e. a dataset or a publication"
@type owl:Class
name
@context
dc:description "Name of the entity"
type String
index: true
versionInfo
@context
dc:description "Version of a datafile"
owl:sameAs
@id owl:versionInfo
type String
index true
spatial
@context
owl:sameAs
@id dcterms:spatial
type ArrayOfStrings
index: false
language
@context
owl:sameAs
@id dc:language
type String
index: false
identifiers
@context
dc:description "Identifiers of the entity"
type ArrayOfStrings
index: false
url
@context
dc:description "URL describing the entity or offering supplemental material"
type String
required no
entityView
@context
dc:description "View to display for this entity (e.g. a citation string)"
type String
required no
entityProvenance
@context
dc:description "Source of the entity"
type String
required no
tags
@context
dc:description "Tags assigned to this entity"
type ArrayOfStrings
index: true
textualReferences
@context
dc:description "TODO remove"
refMany infolis:TextualReference
numericInfo
@context
dc:description "Numeric information belonging to the entity, e.g. temporal coverage or publication date"
type ArrayOfStrings
entityReliability
@context
dc:description "Confidence value for this entity; less than 1 for automatically generated entities"
type Number
abstractText
@context
dc:description "The description of an entity which has been expressed in an abstract"
owl:sameAs
@id dc:abstract
type: String
authors
@context
dc:description "List of authors who created the entity"
owl:sameAs
@id dc:creator
type ArrayOfStrings
subjects
@context
dc:description "List of subjects which are assigned to an entity, this can either be free text keywords or keywords from a controlled vocabulary"
owl:sameAs
@id dc:subject
type ArrayOfStrings
entityType
@context
dc:description "The type of entity: publication, dataset, database, citedData, project, institution or instrument"
type String
default "publication"
enum: [
"publication"
"dataset"
"database"
"citedData"
"project"
"institution"
"instrument"
]
journalTitle
@context
dc:description "bibliographic metadata: journal title"
type String
seriesTitle
@context
dc:description "bibliographic metadata: series title"
type String
collectionTitle
@context
dc:description "bibliographic metadata: collection title"
type String
number
@context
dc:description "bibliographic metadata: number"
type String
volume
@context
dc:description "bibliographic metadata: volume"
type String
pages
@context
dc:description "bibliographic metadata: pages"
type String
corporateEditor
@context
dc:description "bibliographic metadata: corporateEditor"
type String
publisher
@context
dc:description "bibliographic metadata: publisher"
type String
isbn
@context
dc:description "bibliographic metadata: isbn"
type String
issn
@context
dc:description "bibliographic metadata: issn"
type String
doi
@context
dc:description "bibliographic metadata: doi"
type String
gwsId
@context
dc:description "id used by GWS"
type String
publicationType
@context
dc:description "bibliographic metadata: publicationType"
type String
location
@context
dc:description "bibliographic metadata: location"
type String
licence
@context
dc:description "bibliographic metadata: licence"
type String
dataProvider
@context
dc:description "bibliographic metadata: dataProvider"
type String
publicationStatus
@context
dc:description "bibliographic metadata: publicationStatus"
type String
month
@context
dc:description "bibliographic metadata: month"
type String
year
@context
dc:description "bibliographic metadata: year"
type String
editors
@context
dc:description "bibliographic metadata: editors"
type ArrayOfStrings
classification
@context
dc:description "bibliographic metadata: classification"
type ArrayOfStrings
methodKeywords
@context
dc:description "bibliographic metadata: methodKeywords"
type ArrayOfStrings
freeKeywords
@context
dc:description "bibliographic metadata: freeKeywords"
type ArrayOfStrings
SearchResult
@context
dc:description "A search result"
rdfs:subClassOf
@id infolis:Entity
@type owl:Class
identifier
@context
dc:description "Identifiers of the search result"
type String
tags
@context
dc:description "Tags assigned to this search result"
type ArrayOfStrings
listIndex
@context
dc:description "Position in the list of search results"
type Number
relevanceScore
@context
dc:description "Relevance score as calculated by the search engine"
type Number
date
@context
dc:description "Date of the search resul"
type String
queryService
@context
dc:description "Query Service used to retrieve search result."
type String
titles
@context
dc:description "All titles that have been found as names, can also be from different lanuages"
type ArrayOfStrings
numericInformation
@context
dc:description "Any kind of numeric information that we can extract from a search result, e.g. years, versions etc."
type ArrayOfStrings
InfolisPattern
@context
dc:description 'A Regular Expression pattern'
@type owl:Class
patternRegex
@context
dc:description "A string containing a Java Regular Expression pattern"
owl:sameAs
@id dqm:regex
type String
luceneQuery
@context
dc:description "The Lucene query that can be used to query an index"
type String
threshold
@context
dc:description "Threshold which is applied to only filter relevant patterns"
type Number
tags
@context
dc:description "Tags assigned to this pattern"
type ArrayOfStrings
index: true
patternReliability
@context
dc:description "Confidence value for this pattern; less than 1 for automatically generated patterns"
type Number
InfolisFile
@context
dc:description "A resource representing a file on the server."
@type owl:Class
owl:sameAs
@id omnom:File
manifestsEntity
@context
dc:description "The Entity this Infolisfile manifests"
refOne infolis:Entity
md5
@context
owl:sameAs
@id omnom:md5
@type xsd:string
dc:description "MD5 checksum"
type String
validate 'MD5'
required: no
index: true
fileName
@context
dc:description "The name of a file in the senseof what the `basename(1)` would return."
owl:sameAs
@id omnom:fileName
type String
required: no
index: true
mediaType
@context
owl:sameAs
@id dcat:mediaType
dc:description "The IANA media type of this file"
type String
enum: [
"application/pdf"
"text/plain"
]
required: true
index: true
fileStatus
@context
dc:description "The status of the bytestream of a file on the server, indicating whether it is still there or has been deleted"
owl:sameAs
@id omnom:fileStatus
type: String
enum: [
'AVAILABLE'
'DELETED'
]
required: no
tags
@context
owl:sameAs
@id dc:subject
dc:description "A set of free form tags attached to this file"
type ArrayOfStrings
required: no
index: true
QueryService
@context
dc:description "A query service"
@type owl:Class
queryServiceType:
@context
dc:description "Service for searching entities in a repository."
type 'String'
required true
enum: [
'io.github.infolis.infolink.querying.DaraHTMLQueryService'
'io.github.infolis.infolink.querying.DaraSolrQueryService'
'io.github.infolis.infolink.querying.DataciteQueryService'
]
target
@context
dc:description "The target of this QueryService, in most cases a URI"
rdfs:range
@id xsd:anyURI
type: String
required: yes
serviceReliability
@context
dc:description "The reliability of this QueryService"
type: Number
required: yes
maxNumber
@context
dc:description "Maximum number of results"
type: Number
required: no
default: 1000
queryStrategy
@context
dc:description "Fields that can be used in a query."
type: ArrayOfStrings
enum: [
'title'
'publicationDate'
'numericInfoInTitle'
'doi'
]
required no
tags
@context
dc:description "Tags assigned to this query service"
type ArrayOfStrings
index: true
TextualReference
@context
dc:description "Class for saving contexts (= surrounding words of a term)."
@type owl:Class
leftText
@context
dc:description 'Text left of the term'
type: String
rightText
@context
dc:description 'Text right of the term'
type: String
reference
@context
dc:description "The term"
type: String
index: true
textFile
@context
dc:description "The file this reference came from"