Exmaple: data quality management of tweets.
XML file over REST API (HTTP POST) for creation of quality policies. An organizational quality policy,
a filtering policy, and a search filtering policy are created:
10
Twitter # must match with DataSourceType of metadata
metadata1 # must match with Identifier of metadata
1,2,3
3 # must match filtering policy id
3
Filter for sentiment analysis
1:0.5-1.0,2:0.5-1.0
1
Filter for sentiment analysis
1:0.0-1.0,2:0.5-1.0
metadata1 # optionally match with Identifier of metadata
2015-10-12 00:00:01 +0300 #Date range for metadata to be searched
2015-12-12 00:00:01 +0300
false # specify if data (social media data) should be included to the reply
XML file over REST API (HTTP POST) for the creation of popularity quality attribute:
3
Popularity
Twitter
Twitter:tweets
10-1.0 # indicates weights to be associated with quality metrics for evaluation of popularity
2 # indicates the processing requirements for quality evaluation
XML file over REST API (HTTP POST) for the creation of quality metrics. A quality metric for evaluation of
popularity is created. The metric is encoded in JEngineRules-format. Popularity is determined based on
reTweetCount, numberOfFriends, and numberOfFollowers attributes of a Tweet:
10
Popularity estimation based on tweets
Sentiment analysis
Tweets
0.0-1.0
JSR94
RuleExecutionSet1
Rule Execution Set
]]>
Metadata/XML file in REST API (HTTP POST) for starting of the quality evaluation process:
tagA,tagB
URL
sourceX
Twitter
SentimentAnalysisImplX
myAppX
Data is used for getting insight.
Improve decision making.
metadata1
en
tweets are saved into JSON files
personX in CompanyY
GPS coordinates
semi-structured
json
5000
MyProcessingAppParser
Sentiment analysis
2015-12-12 00:00:01 +0300
false
Twitter Inc.
GPL
CompanyX
Twitter
public
Store-DataItems # indicates if data items (social media data) should be stored
HTTP GET for searching of quality data with the specified search filtering policy:
http://location:port/rest/metadataapi/searchpolicy?Policies=1=SearchFiltering
XML content (in HTTP 200 OK) response to a end user query:
metadata1 # associated with a data set
metadata1
Timeliness # quality attribute
1.0 # value of quality attribute
Popularity # quality attribute
0.4 # value of quality attribute
760041876305145856 # tweet identifier
tweet data