{"id":4460,"date":"2019-07-13T22:25:08","date_gmt":"2019-07-13T17:55:08","guid":{"rendered":"http:\/\/qualityassignmenthelp.com\/?p=4460"},"modified":"2025-09-01T10:37:26","modified_gmt":"2025-09-01T06:07:26","slug":"prolog-homework-solution","status":"publish","type":"post","link":"https:\/\/qualityassignmenthelp.com\/prolog-homework-solution\/","title":{"rendered":"Prolog Homework Solution"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><\/p><h2><strong>Prolog Homework Solution:<\/strong><\/h2><p>If you want to pay someone to do my Prolog assignment, then we are able to help, the first background about Prolog.<\/p><h2><\/h2><p class=\"wp-block-paragraph\"><\/p><p>\u00a0<\/p><p>And Prolog is an old programming language and was invented in the early 1970s and stands for Programmation en logique (it was invented in France by Philippe Roussel) or programming in logic if you want it in English.<\/p><p>Likewise, It is more like SQL than a traditional programming language as it is declarative rather than imperative, you give a series of facts and clauses and then can make queries.<\/p><p>\u00a0<\/p><p>Similarly, Prolog consists of terms, which can be atoms, numbers, variables, or a compound term. An atom is a general name with no defined value, for example, x, red, \u201cUnited States\u201d. Numbers are either integers or floating-point (and integers are normally extended precision so can be arbitrary length).<\/p><p>\u00a0<\/p><p>A variable begins with an uppercase letter or an underscore, for example, X, Color. A compound term may be a functor (similar to a function in a regular programming language) or a list of items inside [].<br \/>A prolog program consists of facts and rules and is started with a query.<\/p><p>\u00a0<\/p><p>And A rule is something that is always true if the conditions are matched.<br \/>If you are looking for someone to do my Prolog homework then we can help, but if you are just looking for help perhaps the following will be useful.<\/p><h2><strong>Do You need Prolog Assignment help?<\/strong><\/h2><p>We can provide the best help. Below is the sample work.<\/p> <p class=\"wp-block-paragraph\"><\/p><p>So a fact is a rule with an implied condition of true, so you can either write<br \/>cat(tom) :- true.<br \/>Or<br \/>cat(tom).<br \/>To query the program you use<br \/>?- cat(tom).<br \/>Which returns yes<br \/>Or you can ask what cats are there.<br \/>?- cat(X).<br \/>x = tom<br \/>As You can also chain rules, so<br \/>animal(X) :- cat(X).<\/p><p>\u00a0<\/p><p>Likewise, the program operates in a recursive fashion and can handle more complex rules with multiple rules as clauses.<br \/>mother_child(diana, william).<br \/>father_child(Charles, William).<br \/>mother_child(diana, harry).<br \/>father_child(Charles, harry).<br \/>sibling(X, Y) :- parent_child(Z, X), parent_child(Z, Y).<br \/>parent_child(X, Y) :- father_child(X, Y).<br \/>parent_child(X, Y) :- mother_child(X, Y).<\/p> <p class=\"wp-block-paragraph\"><\/p><p>?- sibling(William, harry)<br \/>Yes<\/p><p>\u00a0<\/p><p>And, Unfortunately, this would also return Yes if you asked if William was a sibling of William.<br \/>You can also add negative rules, so the condition is inverted, so can say<br \/>dog(X) :- \\+ cat(X).<br \/>Which means a dog is not a cat.<\/p><h2><strong>Tutors for Help:<\/strong><\/h2> <p class=\"wp-block-paragraph\">Likewise, We can provide a Prolog online tutor if you are having problems with this programming language.<br \/>In the AI community Prolog is used more in Europe than America where Lisp is more common. And Some Prolog code was used in the IBM Watson program (the program that won the Jeopardy game on TV).<\/p> <p class=\"wp-block-paragraph\"><\/p><p>\u00a0<\/p><p>Similarly, Here is an example of the help with Prolog homework we can provide as a Prolog homework solution.<br \/>This assignment should be completed using a swi-prolog (use swipe at the command line to execute it). And You need to solve the following puzzle using Prolog.<\/p><p>\u00a0<\/p><p>And, there are 3 people A, B, C, and they live in houses numbered 1, 2, 3 (going left to right). We know the following facts:<br \/>a) A\u2019s house is to the right of the house painted yellow.<br \/>b) B lives in the red house.<br \/>c) The greenhouse is not number 3.<br \/>Who lives in which house and what color is each house?<\/p><p>\u00a0<\/p><p>This type of problem can easily be solved in your head but the task is to write a program to solve it. Thus, You need to solve the problem using generate and test (this is the least sophisticated technique as it uses brute force to try all the possible combinations but it is sufficient to solve this program in a reasonable time).<\/p> <p class=\"wp-block-paragraph\">The skeletal Prolog assignment help should start with the following.<br \/>%\u2014\u2014 DIRECTIVES \u2026<br \/>%<br \/>:- set_prolog_flag(toplevel_print_anon, false).<br \/><br \/>:- set_prolog_flag(toplevel_print_options,[max_depth(100)]).<br \/><br \/>%\u2014\u2014 PEOPLE AND COLOURS \u2026<br \/>%<br \/>people([a, b, c]).<br \/>cols([green, red, yellow]).<br \/><br \/>%\u2014\u2014 THE PREDICATE is_element\/2 \u2026<br \/><br \/>is_element(E,[E|_]).<br \/>is_element(E,[_|T]) :- is_element(E,T).<\/p> <p class=\"wp-block-paragraph\"><\/p><p>The is_element allows you to check if the first value is contained in the second value.<br \/>I?- is element(9,[1,9,8,4]).<br \/>true .<br \/>?- is element(9,[2,0,1,8]).<br \/>false.<br \/>?- is element(E,[1,9,8,4]).<br \/>E = 1 ;<br \/>and E = 9 ;<br \/>E = 8 ;<br \/>and E = 4 ;<\/p><p>\u00a0<\/p><h2><strong>Prolog Task 1:<\/strong><\/h2><p>Write a predicate that generates all the pairs of p(Person, Color) called allhousepairs.<br \/>?- allhousepairs(Ps)<br \/>Ps = [p(a,green),p(a,red),p(a,yellow),p(b,green),p(b,red),p(b,yellow),p(c,green),p(c,red),p(c,yellow)]<\/p><p>\u00a0<\/p><h2>Task 2:<\/h2><p>Write a predicate that generates all the triplets (p(Person1, Color1), p(Person2, Color2), p(Person3, Color3)) called all_triplets.<br \/>?- all_triplets(Ts)<br \/>Ts = [ (p(a,green),p(b,red),p(c,yellow)), (p(a,green),p(b,yellow),p(c,red)),<br \/>\u2026..]<\/p><p>\u00a0<\/p><h2><strong>Task 3:<\/strong><\/h2><p>Define a predicate that examines a triplet to find which person lives in which colored house, or which color house is occupied by a person.<br \/>?- lives pattern((p(b,yellow),p(c,red),p(a,green)), yellow, Person).<br \/>Person = b .<br \/>?- lives pattern((p(b,yellow),p(c,red),p(a,green)), red, Person).<br \/>Person = c .<br \/>?- lives pattern((p(b,yellow),p(c,red),p(a,green)), Colour, b).<br \/>Colour = yellow .<\/p><p>\u00a0<\/p><h2><strong>Task 4:<\/strong><\/h2><p>Define a predicate house_info1 to check the first condition a) A\u2019s house is to the right of the house painted yellow.<br \/>?- house info1((p(c,red),p(b,yellow),p(a,green))).<br \/>true .<br \/>?- house info1((p(a,red),p(c,yellow),p(b,green))).<br \/>False<\/p> <p class=\"wp-block-paragraph\"><\/p><p>\u00a0<\/p><h2><strong>Task 5:<\/strong><\/h2> <p class=\"wp-block-paragraph\"><\/p><p>\u00a0<\/p><p>Define a predicate house_info2 to check the second condition b) B lives in the red house.<\/p> <p class=\"wp-block-paragraph\">?- house_info2((p(b,red),p(c,yellow),p(a,green))).<br \/>true .<br \/>?- house_info2((p(a,red),p(c,yellow),p(b,green))).<br \/>False.<\/p> <p class=\"wp-block-paragraph\"><\/p><p>\u00a0<\/p><h2><strong>Task 6:<\/strong><\/h2> <p class=\"wp-block-paragraph\">Define a predicate house_info3 to check the final condition c) The green house is not number 3.<\/p> <p class=\"wp-block-paragraph\">?- house info3((p(a,red),p(c,green),p(b,yellow))).<br \/>true.<br \/>?- house info3((p(a,red),p(c,yellow),p(b,green))).<br \/>False.<\/p> <p class=\"wp-block-paragraph\"><\/p><p>\u00a0<\/p><h2><strong>Task 7:<\/strong><\/h2> <p class=\"wp-block-paragraph\">Define a predicate house_info that checks each of the previous 3 predicates.<\/p> <p class=\"wp-block-paragraph\">?- house info((p(c,yellow),p(a,green),p(b,red))).<br \/>true .<br \/>?- house info((p(c,red),p(b,yellow),p(a,green))).<br \/>False.<\/p> <p class=\"wp-block-paragraph\"><\/p><p>\u00a0<\/p><h2><strong>Task 8:<\/strong><\/h2> <p class=\"wp-block-paragraph\">Now use house_info to verify there is only 1 possible solution.<\/p> <p class=\"wp-block-paragraph\">The finished solution is the type of Prolog homework help we can offer,<\/p> <p class=\"wp-block-paragraph\">%\u2014\u2014 DIRECTIVES \u2026<br \/><br \/>:- set_prolog_flag(toplevel_print_anon, false).<br \/><br \/>:- set_prolog_flag(toplevel_print_options,[max_depth(100)]).<br \/><br \/>%\u2014\u2014 PEOPLE AND COLOURS \u2026<br \/><br \/>people([a, b, c]).<br \/>cols([green, red, yellow]).<br \/><br \/>%\u2014\u2014 THE PREDICATE is_element\/2 \u2026<br \/><br \/>is_element(E,[E|_]).<br \/>is_element(E,[_|T]) :- is_element(E,T).<br \/>%<\/p> <p class=\"wp-block-paragraph\"><\/p><h2><strong>% Task 1<\/strong><\/h2><p>The goal succeeds if PS is a list of all p(P, C) where P is element of People and C is element of Colors,<br \/>% where People and Colors are the names of people and colors.<br \/>allhousepairs(Ps):- people(People), cols(Colors),<br \/>bagof(p(Person, Color), (is_element(Person, People), is_element(Color, Colors)), Ps).<\/p> <p class=\"wp-block-paragraph\"><\/p><h2><strong>% Task 2<\/strong><\/h2><p>The goal succeeds if Ts is a list of all triplets A, B, C where<br \/>% A, B, and C are pairs of people and colors, and no color and person repeats.<br \/>all_triplets(Ts):- allhousepairs(AllPairs),<br \/>bagof((p(P1, C1), p(P2, C2), p(P3, C3)),<br \/>(<br \/>is_element(p(P1, C1), AllPairs), is_element(p(P2, C2), AllPairs), is_element(p(P3, C3), AllPairs),<br \/>not(P1 = P2), not(P1 = P3), not(P2 = P3),<br \/>not(C1 = C2), not(C1 = C3), not(C2 = C3)<br \/>),<br \/>Ts<br \/>).<\/p> <p class=\"wp-block-paragraph\"><\/p><h2><strong>Task 3<\/strong><\/h2><p>% The goal succeeds id the patter contains p(Person, Colour) at any position.<br \/>lives_pattern(((p(Person,Colour), _, _)), Colour, Person).<br \/>lives_pattern((_, (p(Person,Colour), _)), Colour, Person).<br \/>lives_pattern((_, _, (p(Person,Colour))), Colour, Person).<\/p> <p class=\"wp-block-paragraph\"><\/p><h2><strong>Task 4<\/strong><\/h2><p>% The goal succeeds id p(a, _) is to the right to p(_, yellow),<br \/>% i.e. if a\u2019s house is to the right of the yellow house.<br \/>house_info1((_, p(_, yellow), p(a, _))).<br \/>house_info1((p(_, yellow), p(a, _), _)).<br \/>house_info1((p(_, yellow), _, p(a, _))).<\/p> <p class=\"wp-block-paragraph\"><\/p><h2><strong>Task 5<\/strong><\/h2><p>The goal succeeds id b\u2019s house is red in the pattern.<br \/>house_info2(Pattern):- lives_pattern(Pattern, red, b).<\/p> <p class=\"wp-block-paragraph\"><\/p><h2><strong>% Task 6<\/strong><\/h2><p>The goal succeeds if the third house is not green.<br \/>house_info3((_, _, p(_, Color3))):- Color3 \\= green.<\/p> <p class=\"wp-block-paragraph\"><\/p><h2><strong>% Task 7<\/strong><\/h2><p>The pattern satisfies all the conditions if it satisfies each<br \/>% rule house_info1, house_info2, house_info3.<br \/>house_info(Pattern):- house_info1(Pattern), house_info2(Pattern), house_info3(Pattern).<\/p><h2><\/h2><p class=\"wp-block-paragraph\"><\/p><p>Task 8<br \/>% Run this:<\/p><p>(here we find all the patterns that assign persons and colors to houses<br \/>% and satisfy all the conditions)<br \/>% bagof(Pattern, (all_triplets(Ts), is_element(Pattern, Ts), house_info(Pattern)), Patterns).<\/p> <p class=\"wp-block-paragraph\">So contact us if you need Prolog programming homework help, or more likely other programming languages as we provide a full range of services.<\/p> <div class=\"wp-block-button aligncenter\"><a class=\"wp-block-button__link\" href=\"http:\/\/qualityassignmenthelp.com\/#quote\">Upload your project here<\/a><\/div>","protected":false},"excerpt":{"rendered":"<p>Prolog Homework Solution: If you want to pay someone to do my Prolog assignment, then we are able to help, the first background about Prolog. \u00a0 And Prolog is an\u2026 <a href=\"https:\/\/qualityassignmenthelp.com\/prolog-homework-solution\/\" class=\"read-more-link\">read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":4463,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[125,1588,121],"tags":[1586,1587,1585],"class_list":["post-4460","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-assignment","category-prolog","category-tutoring-company","tag-project-help","tag-prolog-assignment-solution","tag-prolog-homework-help"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.0 (Yoast SEO v27.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Prolog Homework Solution<\/title>\n<meta name=\"description\" content=\"Prolog Homework Solution\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/qualityassignmenthelp.com\/prolog-homework-solution\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Prolog Homework Solution\" \/>\n<meta property=\"og:description\" content=\"Prolog Homework Solution\" \/>\n<meta property=\"og:url\" content=\"https:\/\/qualityassignmenthelp.com\/prolog-homework-solution\/\" \/>\n<meta property=\"og:site_name\" content=\"No 1 Assignment Help Company, Programming Help, Final Year Project Help and Functional Programming experts online\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/qualityassignmenthelp\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/qualityassignmenthelp\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-13T17:55:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-01T06:07:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/qualityassignmenthelp.com\/wp-content\/uploads\/2019\/06\/51EtlWlEIlL._SY355_.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"355\" \/>\n\t<meta property=\"og:image:height\" content=\"355\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Shami\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@qassignmenthelp\" \/>\n<meta name=\"twitter:site\" content=\"@qassignmenthelp\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shami\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/prolog-homework-solution\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/prolog-homework-solution\\\/\"},\"author\":{\"name\":\"Shami\",\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/#\\\/schema\\\/person\\\/e6d1597c7058b52f240b925deafa671b\"},\"headline\":\"Prolog Homework Solution\",\"datePublished\":\"2019-07-13T17:55:08+00:00\",\"dateModified\":\"2025-09-01T06:07:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/prolog-homework-solution\\\/\"},\"wordCount\":1509,\"publisher\":{\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/prolog-homework-solution\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/51EtlWlEIlL._SY355_.jpg\",\"keywords\":[\"Project Help\",\"Prolog Assignment Solution\",\"Prolog Homework Help\"],\"articleSection\":[\"Assignment\",\"prolog\",\"Tutoring Company\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/prolog-homework-solution\\\/\",\"url\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/prolog-homework-solution\\\/\",\"name\":\"Prolog Homework Solution\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/prolog-homework-solution\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/prolog-homework-solution\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/51EtlWlEIlL._SY355_.jpg\",\"datePublished\":\"2019-07-13T17:55:08+00:00\",\"dateModified\":\"2025-09-01T06:07:26+00:00\",\"description\":\"Prolog Homework Solution\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/prolog-homework-solution\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/qualityassignmenthelp.com\\\/prolog-homework-solution\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/prolog-homework-solution\\\/#primaryimage\",\"url\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/51EtlWlEIlL._SY355_.jpg\",\"contentUrl\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/51EtlWlEIlL._SY355_.jpg\",\"width\":355,\"height\":355,\"caption\":\"prolog assignment\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/prolog-homework-solution\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Prolog Homework Solution\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/#website\",\"url\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/\",\"name\":\"Final Year Project help and Programming Help\",\"description\":\"Best Assignment Help company for international students\",\"publisher\":{\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/#organization\",\"name\":\"Quality Assignment Help\",\"url\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/logo.png\",\"width\":395,\"height\":140,\"caption\":\"Quality Assignment Help\"},\"image\":{\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/qualityassignmenthelp\",\"https:\\\/\\\/x.com\\\/qassignmenthelp\",\"https:\\\/\\\/om.linkedin.com\\\/pub\\\/shami-vk\\\/18\\\/5aa\\\/9b6\",\"https:\\\/\\\/myspace.com\\\/qualityassignmenthelp\",\"https:\\\/\\\/www.pinterest.com\\\/qassignmenthelp\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCAN6RrlWc23ICshvCNFsEOg\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/#\\\/schema\\\/person\\\/e6d1597c7058b52f240b925deafa671b\",\"name\":\"Shami\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b4df1664ac7ce3e35fb32384c62533a184571ca8f47782dd878a768f2021e5d9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b4df1664ac7ce3e35fb32384c62533a184571ca8f47782dd878a768f2021e5d9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b4df1664ac7ce3e35fb32384c62533a184571ca8f47782dd878a768f2021e5d9?s=96&d=mm&r=g\",\"caption\":\"Shami\"},\"sameAs\":[\"http:\\\/\\\/qualityassignmenthelp.com\\\/\",\"https:\\\/\\\/www.facebook.com\\\/qualityassignmenthelp\",\"https:\\\/\\\/x.com\\\/qassignmenthelp\"],\"url\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Prolog Homework Solution","description":"Prolog Homework Solution","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/qualityassignmenthelp.com\/prolog-homework-solution\/","og_locale":"en_US","og_type":"article","og_title":"Prolog Homework Solution","og_description":"Prolog Homework Solution","og_url":"https:\/\/qualityassignmenthelp.com\/prolog-homework-solution\/","og_site_name":"No 1 Assignment Help Company, Programming Help, Final Year Project Help and Functional Programming experts online","article_publisher":"http:\/\/www.facebook.com\/qualityassignmenthelp","article_author":"https:\/\/www.facebook.com\/qualityassignmenthelp","article_published_time":"2019-07-13T17:55:08+00:00","article_modified_time":"2025-09-01T06:07:26+00:00","og_image":[{"width":355,"height":355,"url":"https:\/\/qualityassignmenthelp.com\/wp-content\/uploads\/2019\/06\/51EtlWlEIlL._SY355_.jpg","type":"image\/jpeg"}],"author":"Shami","twitter_card":"summary_large_image","twitter_creator":"@qassignmenthelp","twitter_site":"@qassignmenthelp","twitter_misc":{"Written by":"Shami","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/qualityassignmenthelp.com\/prolog-homework-solution\/#article","isPartOf":{"@id":"https:\/\/qualityassignmenthelp.com\/prolog-homework-solution\/"},"author":{"name":"Shami","@id":"https:\/\/qualityassignmenthelp.com\/#\/schema\/person\/e6d1597c7058b52f240b925deafa671b"},"headline":"Prolog Homework Solution","datePublished":"2019-07-13T17:55:08+00:00","dateModified":"2025-09-01T06:07:26+00:00","mainEntityOfPage":{"@id":"https:\/\/qualityassignmenthelp.com\/prolog-homework-solution\/"},"wordCount":1509,"publisher":{"@id":"https:\/\/qualityassignmenthelp.com\/#organization"},"image":{"@id":"https:\/\/qualityassignmenthelp.com\/prolog-homework-solution\/#primaryimage"},"thumbnailUrl":"https:\/\/qualityassignmenthelp.com\/wp-content\/uploads\/2019\/06\/51EtlWlEIlL._SY355_.jpg","keywords":["Project Help","Prolog Assignment Solution","Prolog Homework Help"],"articleSection":["Assignment","prolog","Tutoring Company"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/qualityassignmenthelp.com\/prolog-homework-solution\/","url":"https:\/\/qualityassignmenthelp.com\/prolog-homework-solution\/","name":"Prolog Homework Solution","isPartOf":{"@id":"https:\/\/qualityassignmenthelp.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/qualityassignmenthelp.com\/prolog-homework-solution\/#primaryimage"},"image":{"@id":"https:\/\/qualityassignmenthelp.com\/prolog-homework-solution\/#primaryimage"},"thumbnailUrl":"https:\/\/qualityassignmenthelp.com\/wp-content\/uploads\/2019\/06\/51EtlWlEIlL._SY355_.jpg","datePublished":"2019-07-13T17:55:08+00:00","dateModified":"2025-09-01T06:07:26+00:00","description":"Prolog Homework Solution","breadcrumb":{"@id":"https:\/\/qualityassignmenthelp.com\/prolog-homework-solution\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/qualityassignmenthelp.com\/prolog-homework-solution\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/qualityassignmenthelp.com\/prolog-homework-solution\/#primaryimage","url":"https:\/\/qualityassignmenthelp.com\/wp-content\/uploads\/2019\/06\/51EtlWlEIlL._SY355_.jpg","contentUrl":"https:\/\/qualityassignmenthelp.com\/wp-content\/uploads\/2019\/06\/51EtlWlEIlL._SY355_.jpg","width":355,"height":355,"caption":"prolog assignment"},{"@type":"BreadcrumbList","@id":"https:\/\/qualityassignmenthelp.com\/prolog-homework-solution\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/qualityassignmenthelp.com\/"},{"@type":"ListItem","position":2,"name":"Prolog Homework Solution"}]},{"@type":"WebSite","@id":"https:\/\/qualityassignmenthelp.com\/#website","url":"https:\/\/qualityassignmenthelp.com\/","name":"Final Year Project help and Programming Help","description":"Best Assignment Help company for international students","publisher":{"@id":"https:\/\/qualityassignmenthelp.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/qualityassignmenthelp.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/qualityassignmenthelp.com\/#organization","name":"Quality Assignment Help","url":"https:\/\/qualityassignmenthelp.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/qualityassignmenthelp.com\/#\/schema\/logo\/image\/","url":"https:\/\/qualityassignmenthelp.com\/wp-content\/uploads\/2020\/05\/logo.png","contentUrl":"https:\/\/qualityassignmenthelp.com\/wp-content\/uploads\/2020\/05\/logo.png","width":395,"height":140,"caption":"Quality Assignment Help"},"image":{"@id":"https:\/\/qualityassignmenthelp.com\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/qualityassignmenthelp","https:\/\/x.com\/qassignmenthelp","https:\/\/om.linkedin.com\/pub\/shami-vk\/18\/5aa\/9b6","https:\/\/myspace.com\/qualityassignmenthelp","https:\/\/www.pinterest.com\/qassignmenthelp\/","https:\/\/www.youtube.com\/channel\/UCAN6RrlWc23ICshvCNFsEOg"]},{"@type":"Person","@id":"https:\/\/qualityassignmenthelp.com\/#\/schema\/person\/e6d1597c7058b52f240b925deafa671b","name":"Shami","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b4df1664ac7ce3e35fb32384c62533a184571ca8f47782dd878a768f2021e5d9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b4df1664ac7ce3e35fb32384c62533a184571ca8f47782dd878a768f2021e5d9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b4df1664ac7ce3e35fb32384c62533a184571ca8f47782dd878a768f2021e5d9?s=96&d=mm&r=g","caption":"Shami"},"sameAs":["http:\/\/qualityassignmenthelp.com\/","https:\/\/www.facebook.com\/qualityassignmenthelp","https:\/\/x.com\/qassignmenthelp"],"url":"https:\/\/qualityassignmenthelp.com\/author\/admin\/"}]}},"jetpack_featured_media_url":"https:\/\/qualityassignmenthelp.com\/wp-content\/uploads\/2019\/06\/51EtlWlEIlL._SY355_.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/posts\/4460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/comments?post=4460"}],"version-history":[{"count":6,"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/posts\/4460\/revisions"}],"predecessor-version":[{"id":451825,"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/posts\/4460\/revisions\/451825"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/media\/4463"}],"wp:attachment":[{"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/media?parent=4460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/categories?post=4460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/tags?post=4460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}