1 of 39

Unstructured Data - Interdisciplinary Perspectives

Course 1

​

Diana Trandabat & Ionut Pistol�IIDT Master’s Programme · Faculty of Computer Science, UAIC Iași

​

​

2 of 39

Today’s plan

#

Part

1

Is this data? What makes data unstructured, and why structure it

2

Evidence or just information? Data is never raw

3

One artifact, five perspectives

4

Same words, different meanings; tensions between fields

5

When a lens is missing: three cases

6

Lens cards and cross-lens challenge

7

From question to claim; spot the overclaim; three threads

3 of 39

The semester at a glance

C1 · Find

Disciplinary lenses

C2 · Find

Sources and provenance

C3 · Find

Hard documents, digitisation

C4 · Find

Ethics, GDPR, bias

C5 · Store

Corpora and annotation

C6 · Store

Linked data, FAIR

C7 · Store

GATE and UIMA pipelines

C8

Midterm (no lecture)

Evaluation

C9 · Store

Converting annotations

C10 · Use

Exploration, embeddings

C11 · Use

Themes, latent structure

C12 · Use

Extraction and retrieval

C13 · Use

Beyond text: multimodal, IoT

C14 · Use

LLMs as instruments

Diana Trandabat

Ionut Pistol

4 of 39

Three threads across the semester

P

Provenance and reproducibility

Where did every item come from, and can we rerun every step?

You deliver: Provenance log, datasheet, reproducible workflow

E

Evaluation and uncertainty

How wrong might we be, and do we say it openly?

You deliver: Error rates, agreement, error analysis

C

Question → claim

Is every result an argument, from question to a claim with limits?

You deliver: Question and data, method and evidence, claim

5 of 39

AI use and the link with DL-NLP

Using AI in this course

Allowed in labs and in the project

Mandatory AI-use statement: which tools, for what

Tests without devices: you must be able to judge whether an AI-generated analysis is correct

This course and DL-NLP

DL-NLP: how models are built and trained

Here: models as instruments; we use, evaluate and question their outputs

6 of 39

By the end of today you can…

  1. Explain what makes data unstructured, and why “raw data” is a misleading idea
  2. Describe what counts as data, evidence and insight in five disciplines
  3. Recognise when the same word (bias, validation, model, sample) means different things
  4. Use failed projects to show what happens when a disciplinary lens is missing
  5. Frame an analysis as a chain: question → data → method → evidence → claim

7 of 39

Who is in the room?

Your turn

Which field do you come from?

Computer science

Social sciences

Humanities

Business

Law

Other

What kind of unstructured data do you meet in your work or studies?

8 of 39

Is this data?

Your turn

A folder from a city hall: citizen complaints about one neighbourhood (fictional examples).

Scanned handwritten letter

“The street light in front of block B4 has been broken since March. My mother is afraid to come home after dark…”

Email

Subject: Third time I report this. Attached: photo of the street, 2 PDFs with previous answers from the city hall.

Voicemail (transcribed)

“Hello, uh, I’m calling again about the light… nobody answers at the number on the website…”

Social media post

“Our neighbourhood is forgotten again. Dark streets, no answer from anyone. #Iasi” (42 likes, 17 comments)

Is this data?�A. Yes B. No C. It depends. �

What would you need to know before using this data into an analysis?

9 of 39

Sort it

Your turn

Structured, semi-structured or unstructured?

Excel invoice

fixed rows and columns

Email

headers + free text

Contract PDF

layout + prose

Tweet

text + metadata

API response (JSON)

keys + nested values

Voice message

audio stream

Vote for each object. Why can we disagree a structure?

10 of 39

What makes data unstructured?

Structured

Fixed schema: rows and columns

A table of complaints: date, street, category, status

Semi-structured

Keys or tags, flexible schema

An email: sender, date, subject + free text; JSON, XML

Unstructured

No predefined data model

The letter, the voicemail, the photo, the post

Key idea: structure is latent, not absent

Text, documents, images, audio and sensor streams already contain structure. Analysis makes it explicit, and every choice about how to do that is also an interpretation.

11 of 39

Why do we need to work with data?

​

  • Availability
  • Accessibility
  • Coverage

​

​

Data is useful to a computer in the same way as it is useful to us:

extracting information and knowledge.

​

​

​

Especially in the context of modern technologies and resources

12 of 39

Definite vs informative

The nearest mountain vs A mountain

How many individual pieces of information are in the sentence �“John saw a blue unicorn.”?

​

John exists.

At least one unicorn exists.

At least one unicorn is blue.

John saw a blue unicorn.

​

​

Bertrand Russell - On denoting

Understanding information

13 of 39

How did you learn that a cat has whiskers?

​

​

​

​

​

​

​

​

Does it matter?

Understanding knowledge

14 of 39

What is knowledge?

​

Intelligence applied to information produces knowledge.

​

Knowledge supplements intelligence.

​

Intelligence is asking the right question, knowledge is having the right answer.

​

​

​

​

​

​

15 of 39

Why make structure explicit?

Unstructured source

What we extract

What it makes possible

Product reviews

Aspect + sentiment (“battery: negative”)

Find which feature drives dissatisfaction

Support tickets, emails

Issue type, product, urgency, intent

Automatic routing; spotting recurring failures

Clinical discharge letters

Diagnoses, medication, doses, dates

Research cohorts; drug-safety monitoring

Contracts

Parties, deadlines, penalties, exit clauses

Expiry alerts; clause comparison

Scanned invoices

Supplier, tax ID, date, line items, VAT

Automated bookkeeping; fraud detection

Legislation

Amended acts, cross-references, dates

Answering “what is in force today?”

News articles

People, organisations, places, events

Media monitoring; knowledge graphs

Meeting transcripts

Decisions, actions, owners, deadlines

Automatic minutes; follow-up tracking

Every column is a choice: what we extract now decides which questions we can ask later.

16 of 39

Guess the use

Your turn

None of these was collected for research. Once structured, what could each one reveal?

Novices’ autobiographies

Short life stories written by young nuns around age 22, kept in a convent archive

Restaurant reviews

Thousands of online reviews of restaurants in one city

Online shop prices

Daily prices published on retailers’ websites

Naval logbooks

Handwritten logbooks of navy ships, 1850s–1920s

Restaurant menus

Dish descriptions from thousands of menus

One author’s novels

Every novel by one crime writer, across five decades

Pick one card: which field would ask the question, and what would you need to extract?

17 of 39

What they found

Nun essays → Alzheimer’s

Low idea density in the essays predicted Alzheimer’s disease about 60 years later.

Snowdon et al., JAMA, 1996 (the Nun Study)

Reviews → food poisoning

New York’s health department mined reviews mentioning illness and found outbreaks never reported officially.

Harrison et al., CDC MMWR, 2014

Online prices → inflation

Scraped prices showed Argentina’s inflation at nearly three time the official rate.

Cavallo, J. of Monetary Economics, 2013

Logbooks → climate data

Volunteers transcribed weather observations from old logbooks to reconstruct past climate.

oldWeather citizen-science project

Menus → price and status

Longer, more specific words go with higher prices; vague praise (“delicious”) marks cheaper places.

Jurafsky, The Language of Food, 2014

Novels → dementia signs

Agatha Christie’s vocabulary shrank sharply in her late novels, consistent with undiagnosed dementia.

Lancashire & Hirst, 2009

Pattern

One measurable feature + a question from another field. Structure turned a by-product into evidence, so provenance and validity matter just as much.

18 of 39

Would you cite this?

Your turn

“80% of organisational data is unstructured.”

You have 30 seconds. What would you need before putting this statement in your dissertation?

Search for the source of the figure. What did you find, and how credible is it?

19 of 39

Information is not evidence

  • The questions we will ask all semester:
    • Who produced the number/conclusion, and with what method?
    • What is counted: bytes, files, records, business value?
    • Would an engineer, a sociologist and a lawyer accept it as evidence?
  • Takeaway: a widely repeated number is a claim to examine, not a fact to cite

20 of 39

Data is never raw

Collected by someone, for a purpose

The city hall archives complaints to manage services, not to measure citizens’ trust. The purpose shapes what is kept.

Selected and categorised

Which channels are recorded, which categories exist, what is discarded: every choice makes some things visible and others invisible.

Taken, not given

Drucker calls it “capta” rather than “data”: what we analyse is already an interpretation of the world.

Before any method: ask who made this data, how, and why. (Gitelman, “Raw Data” Is an Oxymoron, 2013)

21 of 39

Give me one research question

Your turn

Citizen complaints about public lighting

What would you like to find out from this? One question each.

22 of 39

One artifact, five questions

Discipline

Typical question about the complaints

Computer science

Can we automatically extract the problem, location and urgency accurately?

Social sciences

What do the complaints say about citizens’ trust in local institutions?

Humanities

How is grievance expressed and framed, and how has that changed over time?

Business / management

Where does the service process fail, and what would fixing it cost?

Law

May we process these data, for what purpose, and who is accountable?

Where do your questions fit?

23 of 39

Computer science lens

Typical question: Can we extract X accurately and at scale?

Data is…

Input signal for a system

Evidence is…

Performance on a benchmark or held-out test set

Insight is…

A working model, pipeline or system

Blind spot

Measuring the wrong thing very precisely

In practice

Spam filters, search engines and OCR at scale: success is measured by accuracy on test data.

Quick question: An extractor reaches 97% accuracy. Do we now know whether citizens are dissatisfied with city services?

24 of 39

Social sciences lens

Typical question: What does this tell us about people and society?

Data is…

Traces of behaviour; a sample of a population

Evidence is…

Valid and reliable measurement of a concept; sound inference

Insight is…

An explanation of a social phenomenon

Blind spot

Trusting convenient samples: who complains, and who does not?

In practice

Parliamentary speeches or social media posts coded to measure polarisation, trust or populism.

Quick question: If 70% of complaints mention safety, can we say that 70% of residents feel unsafe?

25 of 39

Humanities lens

Typical question: What does this mean, in its context?

Data is…

Cultural artifacts in context: “capta”, not given data

Evidence is…

An argued interpretation, combining close and distant reading

Insight is…

Meaning, narrative, historical understanding

Blind spot

Losing context when everything becomes numbers

In practice

Distant reading (Moretti): patterns across thousands of novels, read together with close reading of a few.

Quick question: Two complaints describe the same event in very different language. Are they the same data point?

26 of 39

Business lens

Typical question: What should we do, and is it worth it?

Data is…

An asset that can create value

Evidence is…

A change in a KPI, the result of an experiment

Insight is…

An actionable decision with a clear cost and benefit

Blind spot

Speed over validity; vanity metrics

In practice

Voice of the customer: reviews and support tickets analysed to decide what to fix first.

Quick question: Which is more useful: a perfectly classified complaint, or one that changes a decision?

27 of 39

Law lens

Typical question: Is it lawful, and who is accountable?

Data is…

Records with legal status; personal data

Evidence is…

Admissible, authentic, with traceable provenance

Insight is…

Compliance, protection of rights, allocation of liability

Blind spot

Blocking useful innovation, or noticing risks too late

In practice

E-discovery: in Da Silva Moore v. Publicis (US, 2012) a court accepted machine-assisted review of documents, provided the process was transparent and validated.

Quick question: Can data be technically useful and analytically valid, but still unusable?

28 of 39

Same words, different meanings

Word

In computer science

In social sciences

In humanities, law, business

Bias

Systematic error of a model; unfair outcomes for groups

Systematic error in sampling or measurement

Law: partiality affecting a fair decision

Validation

Checking performance on held-out data

Does the measure capture the concept? (validity)

Law: whether a document or act is legally valid

Model

A trained predictor

A theory explaining behaviour

Business: how value is created

Sample

Training / test split

Subset that represents a population

Humanities: a corpus shaped by what archives kept

Annotation

Labels for training a model

Coding of content by trained coders

Humanities: scholarly commentary on a text

Interdisciplinary collaboration can fail even when everyone uses exactly the same words.

29 of 39

You can choose only one

Your turn

A

10 million documents with very little context

B

1,000 documents with rich metadata and provenance

Vote A or B. Then: for which research question would your answer change?

Conclusion

There is no best dataset independently of the question.

30 of 39

Tensions between fields

Your turn

Predict or explain?

Computer science often optimises prediction; social sciences want explanation. A model can predict well without telling us why.

Distant or close reading?

Patterns across thousands of texts versus deep reading of a few.

The humanities increasingly combine both.

Scale or context?

More data gives more coverage but less context. Anonymisation protects people and removes meaning at the same time.

Good projects make these choices explicitly, and say what they give up.

31 of 39

What went wrong? Which lens was missing?

Your turn

Google Flu Trends

Search queries were used to estimate flu levels. For several seasons the estimates were far too high (Lazer et al., 2014).

Amazon recruiting tool

A system trained on ten years of CVs learned to penalise signs of female candidates and was dropped (Reuters, 2018).

Google Books Ngram

Word frequencies across millions of books were used to track culture (Michel et al., 2011).

CS

Social sciences

Humanities

Business

Law

Vote for each case: which lens was missing?

32 of 39

When a lens is missing: our reading

Google Flu Trends

Missing lens: social-science validity.

Does the measure still capture the concept when behaviour and search algorithms change?

Amazon recruiting tool

Missing lens: law and ethics.

Historical data reproduces historical discrimination.

Google Books Ngram

Missing lens: humanities source criticism.

The composition of the corpus shifts over time (Pechenick et al., 2015): what is in the archive?

33 of 39

From question to claim

Research question

What do we want to know, and why does it matter?

Data

Which sources, how collected, with what provenance?

Method

How do we turn data into a measure?

Evidence

How good is the measure? Errors, agreement, uncertainty

Claim

What can we honestly say, and with what limits?

Example: Are complaints about street lighting increasing? → complaints folder, 2020–2025 → classifier for the “lighting” topic → accuracy on a hand-coded sample → “likely increasing, but the trend is within the error margin for 2023”.

34 of 39

Exit ticket

Your turn

1. In my field, a result is convincing when…

2. A result from another field might convince me if…

3. What is still unclear after today?

Readings for this week

  • Gitelman, L. (ed.) (2013). “Raw Data” Is an Oxymoron. MIT Press, introduction
  • boyd, d. & Crawford, K. (2012). Critical Questions for Big Data. Information, Communication & Society 15(5)
  • Lazer, D. et al. (2014). The Parable of Google Flu: Traps in Big Data Analysis. Science 343
  • Grimmer, Roberts & Stewart (2022). Text as Data, chapters 1–2

35 of 39

Laboratory work

36 of 39

Lens cards

Your turn

Your group gets a lens that most of you do not come from. For the complaints folder, agree on:

  1. A research question
  2. What counts as data, and what is missing from the folder
  3. What counts as evidence
  4. A claim you could legitimately make
  5. A claim that would go too far
  6. One word your group uses that another field may understand differently

8 minutes of work, then a 1-minute report per group. Another group will challenge your claim.

37 of 39

Challenge the claim

Your turn

Another group challenges your claim from its own lens. For example:

Lens

Challenge

Business claims

“Complaints show that street lighting should be prioritised.”

Social sciences asks

“Do complaints represent residents, or only those who complain?”

Law asks

“May you combine complaint text with location and demographic data?”

Computer science asks

“How accurately was the complaint category extracted?”

Ask first: what assumption would your field question first?

38 of 39

Build the chain together

Your turn

“Residents have become more concerned about neighbourhood safety.”

Question

Data

Method

Evidence

Claim

What would each step need to be for this claim to hold?

Now: what if we only have Facebook posts? What happens to the claim?

39 of 39

Spot the overclaim

Your turn

Rank the statements from least to most defensible.

A

“Complaints prove that citizens distrust the city hall.”

B

“Among the complaints in this folder, expressions of distrust appear frequently.”

C

“The folder suggests a possible increase in distrust, but the sample and the coding method limit what we can conclude.”

What changed between them: the data, the method, or the strength of the claim?