SlideShare a Scribd company logo
Complete answers or none , and please read question:
Create an elementary PROLOG knowledge base, describing following relations:
1. John, Fred and Harry are men, Mary, Julie, Susan and Anne are women.
2. John has blonde hair while Fred and Harry have dark hair.
3. Julie and Susan are blonde, Mary and Anne are brunette.
4. Rich is each person who owns the gold - Fred and Julie in our example.
Solution
a. Who is male?
b. Who does John like?
c. Who does Mary like?
d. Does Julie like anyone?

More Related Content

More from solimankellymattwe60

The mitochondrial electron transport system (METS) and the photos.pdf
The mitochondrial electron transport system (METS) and the photos.pdfThe mitochondrial electron transport system (METS) and the photos.pdf
The mitochondrial electron transport system (METS) and the photos.pdf
solimankellymattwe60
 
The disclosure of a contingent liability in the footnotes and on t.pdf
The disclosure of a contingent liability in the footnotes and on t.pdfThe disclosure of a contingent liability in the footnotes and on t.pdf
The disclosure of a contingent liability in the footnotes and on t.pdf
solimankellymattwe60
 
The application architeture is design by the application developer a.pdf
The application architeture is design by the application developer a.pdfThe application architeture is design by the application developer a.pdf
The application architeture is design by the application developer a.pdf
solimankellymattwe60
 
Suppose a company’s ROE is 16. This company’s payout ratio is 40. .pdf
Suppose a company’s ROE is 16. This company’s payout ratio is 40. .pdfSuppose a company’s ROE is 16. This company’s payout ratio is 40. .pdf
Suppose a company’s ROE is 16. This company’s payout ratio is 40. .pdf
solimankellymattwe60
 
Some historians have referred to many of the self-proclaimed “Darwin.pdf
Some historians have referred to many of the self-proclaimed “Darwin.pdfSome historians have referred to many of the self-proclaimed “Darwin.pdf
Some historians have referred to many of the self-proclaimed “Darwin.pdf
solimankellymattwe60
 
Please research Meaningful Use. Prepare a brief report on its origin.pdf
Please research Meaningful Use. Prepare a brief report on its origin.pdfPlease research Meaningful Use. Prepare a brief report on its origin.pdf
Please research Meaningful Use. Prepare a brief report on its origin.pdf
solimankellymattwe60
 
Mention the major difference in the physical phenomena occurring rel.pdf
Mention the major difference in the physical phenomena occurring rel.pdfMention the major difference in the physical phenomena occurring rel.pdf
Mention the major difference in the physical phenomena occurring rel.pdf
solimankellymattwe60
 
My code is not matching up with the results.The output for the cod.pdf
My code is not matching up with the results.The output for the cod.pdfMy code is not matching up with the results.The output for the cod.pdf
My code is not matching up with the results.The output for the cod.pdf
solimankellymattwe60
 
Logical FallociesP1 All college students have pet monkeys.P2 J.pdf
Logical FallociesP1 All college students have pet monkeys.P2 J.pdfLogical FallociesP1 All college students have pet monkeys.P2 J.pdf
Logical FallociesP1 All college students have pet monkeys.P2 J.pdf
solimankellymattwe60
 
IP Security One problem with Internet protocol (IP) is that it has.pdf
IP Security One problem with Internet protocol (IP) is that it has.pdfIP Security One problem with Internet protocol (IP) is that it has.pdf
IP Security One problem with Internet protocol (IP) is that it has.pdf
solimankellymattwe60
 
Genmo CorporationOn the night of February 27, 2012, certain recor.pdf
Genmo CorporationOn the night of February 27, 2012, certain recor.pdfGenmo CorporationOn the night of February 27, 2012, certain recor.pdf
Genmo CorporationOn the night of February 27, 2012, certain recor.pdf
solimankellymattwe60
 
In the formula for determining a populations genotype frequencies, .pdf
In the formula for determining a populations genotype frequencies, .pdfIn the formula for determining a populations genotype frequencies, .pdf
In the formula for determining a populations genotype frequencies, .pdf
solimankellymattwe60
 
How is a cell membrane selectively permeable - what permeates and.pdf
How is a cell membrane selectively permeable - what permeates and.pdfHow is a cell membrane selectively permeable - what permeates and.pdf
How is a cell membrane selectively permeable - what permeates and.pdf
solimankellymattwe60
 
How does apoptosis contribute to development of an organismSolu.pdf
How does apoptosis contribute to development of an organismSolu.pdfHow does apoptosis contribute to development of an organismSolu.pdf
How does apoptosis contribute to development of an organismSolu.pdf
solimankellymattwe60
 
How are mobilehandheld browsers different from the traditional desk.pdf
How are mobilehandheld browsers different from the traditional desk.pdfHow are mobilehandheld browsers different from the traditional desk.pdf
How are mobilehandheld browsers different from the traditional desk.pdf
solimankellymattwe60
 
Find an example of a discrete random variable X having the following.pdf
Find an example of a discrete random variable X having the following.pdfFind an example of a discrete random variable X having the following.pdf
Find an example of a discrete random variable X having the following.pdf
solimankellymattwe60
 
Explain what might be the result if the kinetochore microtubules file.pdf
Explain what might be the result if the kinetochore microtubules file.pdfExplain what might be the result if the kinetochore microtubules file.pdf
Explain what might be the result if the kinetochore microtubules file.pdf
solimankellymattwe60
 
Do you believe it is possible to have effective overall management i.pdf
Do you believe it is possible to have effective overall management i.pdfDo you believe it is possible to have effective overall management i.pdf
Do you believe it is possible to have effective overall management i.pdf
solimankellymattwe60
 
Describe WMANs, the technologies used to implement them, and where t.pdf
Describe WMANs, the technologies used to implement them, and where t.pdfDescribe WMANs, the technologies used to implement them, and where t.pdf
Describe WMANs, the technologies used to implement them, and where t.pdf
solimankellymattwe60
 
Discuss the specific properties of the 5 classes of Immunoglobulins .pdf
Discuss the specific properties of the 5 classes of Immunoglobulins .pdfDiscuss the specific properties of the 5 classes of Immunoglobulins .pdf
Discuss the specific properties of the 5 classes of Immunoglobulins .pdf
solimankellymattwe60
 

More from solimankellymattwe60 (20)

The mitochondrial electron transport system (METS) and the photos.pdf
The mitochondrial electron transport system (METS) and the photos.pdfThe mitochondrial electron transport system (METS) and the photos.pdf
The mitochondrial electron transport system (METS) and the photos.pdf
 
The disclosure of a contingent liability in the footnotes and on t.pdf
The disclosure of a contingent liability in the footnotes and on t.pdfThe disclosure of a contingent liability in the footnotes and on t.pdf
The disclosure of a contingent liability in the footnotes and on t.pdf
 
The application architeture is design by the application developer a.pdf
The application architeture is design by the application developer a.pdfThe application architeture is design by the application developer a.pdf
The application architeture is design by the application developer a.pdf
 
Suppose a company’s ROE is 16. This company’s payout ratio is 40. .pdf
Suppose a company’s ROE is 16. This company’s payout ratio is 40. .pdfSuppose a company’s ROE is 16. This company’s payout ratio is 40. .pdf
Suppose a company’s ROE is 16. This company’s payout ratio is 40. .pdf
 
Some historians have referred to many of the self-proclaimed “Darwin.pdf
Some historians have referred to many of the self-proclaimed “Darwin.pdfSome historians have referred to many of the self-proclaimed “Darwin.pdf
Some historians have referred to many of the self-proclaimed “Darwin.pdf
 
Please research Meaningful Use. Prepare a brief report on its origin.pdf
Please research Meaningful Use. Prepare a brief report on its origin.pdfPlease research Meaningful Use. Prepare a brief report on its origin.pdf
Please research Meaningful Use. Prepare a brief report on its origin.pdf
 
Mention the major difference in the physical phenomena occurring rel.pdf
Mention the major difference in the physical phenomena occurring rel.pdfMention the major difference in the physical phenomena occurring rel.pdf
Mention the major difference in the physical phenomena occurring rel.pdf
 
My code is not matching up with the results.The output for the cod.pdf
My code is not matching up with the results.The output for the cod.pdfMy code is not matching up with the results.The output for the cod.pdf
My code is not matching up with the results.The output for the cod.pdf
 
Logical FallociesP1 All college students have pet monkeys.P2 J.pdf
Logical FallociesP1 All college students have pet monkeys.P2 J.pdfLogical FallociesP1 All college students have pet monkeys.P2 J.pdf
Logical FallociesP1 All college students have pet monkeys.P2 J.pdf
 
IP Security One problem with Internet protocol (IP) is that it has.pdf
IP Security One problem with Internet protocol (IP) is that it has.pdfIP Security One problem with Internet protocol (IP) is that it has.pdf
IP Security One problem with Internet protocol (IP) is that it has.pdf
 
Genmo CorporationOn the night of February 27, 2012, certain recor.pdf
Genmo CorporationOn the night of February 27, 2012, certain recor.pdfGenmo CorporationOn the night of February 27, 2012, certain recor.pdf
Genmo CorporationOn the night of February 27, 2012, certain recor.pdf
 
In the formula for determining a populations genotype frequencies, .pdf
In the formula for determining a populations genotype frequencies, .pdfIn the formula for determining a populations genotype frequencies, .pdf
In the formula for determining a populations genotype frequencies, .pdf
 
How is a cell membrane selectively permeable - what permeates and.pdf
How is a cell membrane selectively permeable - what permeates and.pdfHow is a cell membrane selectively permeable - what permeates and.pdf
How is a cell membrane selectively permeable - what permeates and.pdf
 
How does apoptosis contribute to development of an organismSolu.pdf
How does apoptosis contribute to development of an organismSolu.pdfHow does apoptosis contribute to development of an organismSolu.pdf
How does apoptosis contribute to development of an organismSolu.pdf
 
How are mobilehandheld browsers different from the traditional desk.pdf
How are mobilehandheld browsers different from the traditional desk.pdfHow are mobilehandheld browsers different from the traditional desk.pdf
How are mobilehandheld browsers different from the traditional desk.pdf
 
Find an example of a discrete random variable X having the following.pdf
Find an example of a discrete random variable X having the following.pdfFind an example of a discrete random variable X having the following.pdf
Find an example of a discrete random variable X having the following.pdf
 
Explain what might be the result if the kinetochore microtubules file.pdf
Explain what might be the result if the kinetochore microtubules file.pdfExplain what might be the result if the kinetochore microtubules file.pdf
Explain what might be the result if the kinetochore microtubules file.pdf
 
Do you believe it is possible to have effective overall management i.pdf
Do you believe it is possible to have effective overall management i.pdfDo you believe it is possible to have effective overall management i.pdf
Do you believe it is possible to have effective overall management i.pdf
 
Describe WMANs, the technologies used to implement them, and where t.pdf
Describe WMANs, the technologies used to implement them, and where t.pdfDescribe WMANs, the technologies used to implement them, and where t.pdf
Describe WMANs, the technologies used to implement them, and where t.pdf
 
Discuss the specific properties of the 5 classes of Immunoglobulins .pdf
Discuss the specific properties of the 5 classes of Immunoglobulins .pdfDiscuss the specific properties of the 5 classes of Immunoglobulins .pdf
Discuss the specific properties of the 5 classes of Immunoglobulins .pdf
 

Recently uploaded

Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 

Recently uploaded (20)

Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 

Complete answers or none , and please read questionCreate an elem.pdf

  • 1. Complete answers or none , and please read question: Create an elementary PROLOG knowledge base, describing following relations: 1. John, Fred and Harry are men, Mary, Julie, Susan and Anne are women. 2. John has blonde hair while Fred and Harry have dark hair. 3. Julie and Susan are blonde, Mary and Anne are brunette. 4. Rich is each person who owns the gold - Fred and Julie in our example. Solution a. Who is male? b. Who does John like? c. Who does Mary like? d. Does Julie like anyone?