Project #53538 - PROLOG - 6 QUESTIONS

hi,

 

This is for someone who is good at PROLOG. I have 6 questions for you to answer.

 

The following gives context to the questions and ill put in quotation marks

 

"One of the roles of an academic at XXXX University is for them to publish a number of high quality peer reviewed publications in books, journals and/or conferences. For this coursework, a database has been provided that gives a summary of some of these publications. The objective of the coursework is to write PROLOG rules that interrogate this database in order to answer a series of marked questions."

Note that you MUST NOT edit the database file (will attach the database file).

The database has the following format:

 

Brunelpub(,,,

,,).

 

 

A

The author’s name

T

The title of the article in a publication

Y

The year of the publication

P

The title of the publication, e.g. the journal or book name

N

The number of pages of the article

C

The number of citations (references to the article by other articles)

FOLLOWING ARE THE 6 QUESTIONS 

Q1

Write a PROLOG rule to see if a given author published the article with a given title.

Q2

Write a PROLOG rule to see if two given authors have published together.

Q3

Write a PROLOG rule to see if two given authors have published together after a specified date (year).

Q4

What is the number of pages for a single longest article that a given author has published?

Q5

Write a rule that adds up all of the citations for a given author.

Q6

List all of the unique publication titles in the database starting with 'IEEE'.

Please note the database can be found right at the bottom of the attached file (called 'brupubs.pl') and the attatched file is the entire worksheet for the coursework provided by my school incase you need anything to be clarified. 

 

Finally, could you please on a word document, provide a simple explanation on how the code works and what it does for each question. thank you. 

Subject Computer
Due By (Pacific Time) 01/15/2015 12:00 am
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy