SlideShare uma empresa Scribd logo
1 de 6
Baixar para ler offline
Elementos do grupo 1
Afonso Aurélio
Dionísio Faustino
José Canivete
Herculano Ndele
1.Quem é a mãe da Barbosa?
2.Quem é o pai do Simba?
3.Quem são os primos do Feca?
4.Quem são os primos do Adelino?
5.Quem é neto da Barbosa?
6.Quem é neto do Simba?
7.Quem é o filho da Bruna?
8.Quem é avó do Candieiro?
9.Quem é Bisavó da Buiti?
10.Quem é Bisavô do Candieiro?
% Factos
nasceu(adália,barbosa).
nasceu(pedro,barbosa).
nasceu(pedro,simba).
nasceu(barbosa,adelino).
nasceu(barbosa,martins).
nasceu(martins,buiti).
nasceu(simba,feca).
nasceu(simba,bruna).
nasceu(bruna,candieiro).
mulher(adalia).
mulher(barbosa).
mulher(bruna).
homem(pedro).
homem(adelino).
homem(martins).
homem(buiti).
homem(feca).
homem(simba).
homem(candieiro).
pai(X,simba):-nasceu(X,simba),homem(X).
pai(X,Y):-nasceu(X,Y).
pai(X,barbosa):-nasceu(X,barbosa),homem(X).
mae(X,barbosa):-nasceu(X,barbosa),mulher(X).
irmao(X,Y):-pai(P,X),pai(P,Y),X=Y.
primo(X, feca):-pai(P,X),pai(Q,feca),irmao(P,Q).
primo(X, adelino):-pai(P,X),pai(Q,adelino),irmao(P,Q).
neto(X,barbosa):-pai(barbosa,Y),nasceu(Y,X),mulher(barbosa).
neto(X,simba):-pai(simba,Y),nasceu(Y,X),homem(simba).
filho(X,bruna):- nasceu(bruna,X),homem(X).
bisavo(X,buiti):- nasceu(X,P),nasceu(P,Q),nasceu(Q,buiti).
bisavo(X,candieiro):-
nasceu(X,P),nasceu(P,Q),nasceu(Q,candieiro).
Resultados da Pesquisa
Resultados da Pesquisa

Mais conteúdo relacionado

Último

COMO PLANEJAR AS CIDADES PARA ENFRENTAR EVENTOS CLIMÁTICOS EXTREMOS.pdf
COMO PLANEJAR AS CIDADES PARA ENFRENTAR EVENTOS CLIMÁTICOS EXTREMOS.pdfCOMO PLANEJAR AS CIDADES PARA ENFRENTAR EVENTOS CLIMÁTICOS EXTREMOS.pdf
COMO PLANEJAR AS CIDADES PARA ENFRENTAR EVENTOS CLIMÁTICOS EXTREMOS.pdf
Faga1939
 
FATORES NATURAIS TERAPEUTICOS #NTF Lazzerini
FATORES NATURAIS TERAPEUTICOS #NTF LazzeriniFATORES NATURAIS TERAPEUTICOS #NTF Lazzerini
FATORES NATURAIS TERAPEUTICOS #NTF Lazzerini
fabiolazzerini1
 
Biotecnologias e manejos de cultivares .
Biotecnologias e manejos de cultivares .Biotecnologias e manejos de cultivares .
Biotecnologias e manejos de cultivares .
Geagra UFG
 

Último (7)

Apresentacao-Novo-Marco-do-Saneamento.pdf
Apresentacao-Novo-Marco-do-Saneamento.pdfApresentacao-Novo-Marco-do-Saneamento.pdf
Apresentacao-Novo-Marco-do-Saneamento.pdf
 
PUBERDADE E TIPOS DE REPRODUÇÃO EM CÃES.
PUBERDADE E TIPOS DE REPRODUÇÃO EM CÃES.PUBERDADE E TIPOS DE REPRODUÇÃO EM CÃES.
PUBERDADE E TIPOS DE REPRODUÇÃO EM CÃES.
 
608802261-Europa-Asia-Oceania-dominios-morfoclimaticos.pptx
608802261-Europa-Asia-Oceania-dominios-morfoclimaticos.pptx608802261-Europa-Asia-Oceania-dominios-morfoclimaticos.pptx
608802261-Europa-Asia-Oceania-dominios-morfoclimaticos.pptx
 
COMO PLANEJAR AS CIDADES PARA ENFRENTAR EVENTOS CLIMÁTICOS EXTREMOS.pdf
COMO PLANEJAR AS CIDADES PARA ENFRENTAR EVENTOS CLIMÁTICOS EXTREMOS.pdfCOMO PLANEJAR AS CIDADES PARA ENFRENTAR EVENTOS CLIMÁTICOS EXTREMOS.pdf
COMO PLANEJAR AS CIDADES PARA ENFRENTAR EVENTOS CLIMÁTICOS EXTREMOS.pdf
 
FATORES NATURAIS TERAPEUTICOS #NTF Lazzerini
FATORES NATURAIS TERAPEUTICOS #NTF LazzeriniFATORES NATURAIS TERAPEUTICOS #NTF Lazzerini
FATORES NATURAIS TERAPEUTICOS #NTF Lazzerini
 
70mmmmmmmmmmmmmmmmmmmmmmmmmmmmm7367.pptx
70mmmmmmmmmmmmmmmmmmmmmmmmmmmmm7367.pptx70mmmmmmmmmmmmmmmmmmmmmmmmmmmmm7367.pptx
70mmmmmmmmmmmmmmmmmmmmmmmmmmmmm7367.pptx
 
Biotecnologias e manejos de cultivares .
Biotecnologias e manejos de cultivares .Biotecnologias e manejos de cultivares .
Biotecnologias e manejos de cultivares .
 

Destaque

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
Simplilearn
 

Destaque (20)

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language