Simple Question (Direct)
Simple Question
Q3496827
P102
Q7210356
USER
Which political organization is Stanley Gold a member of ?
(Q3496827,P102,c(Q7210356))
action filter_type
action find
entity Q3496827
relation P102
type Q7210356
['Q3496827', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q3496827 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Stanley Gold
action filter_type
action find
entity Stanley Gold
relation member of political party
type political organization
['Stanley Gold', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Stanley_Gold property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q3496827,P102,c(Q7210356))
action filter_type
action find
entity Q3496827
relation P102
type Q7210356
The [ANSWER] is Stanley Gold a member of
['Q3496827', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q3496827 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Democratic Party
The Democratic Party is Stanley Gold a member of
Democratic Party
action filter_type
action find
entity Stanley Gold
relation member of political party
type political organization
['Stanley Gold', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Stanley_Gold property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29552
P749
Q7210356
USER
Which political organizations are owned by that one ?
(c(Q7210356),P749,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P749
type Q7210356
[{'concept': 'Q7210356'}, 'P749', 'Q29552']
SELECT DISTINCT ?c WHERE { ?c property:P749 resource:Q29552 . ?c rdf:type ontology:Q7210356 }
Democratic Party
action filter_type
action find_reverse
entity Democratic Party
relation parent organization
type political organization
[{'concept': 'political organization'}, 'parent organization', 'Democratic Party']
SELECT DISTINCT ?c WHERE { ?c property:parent_organization resource:Democratic_Party . ?c rdf:type ontology:political_organization }
[]
political organization
Q7008134 Q5020399
SYSTEM
New Hampshire Democratic Party, California Democratic Party
Q7008134 Q5020399
(c(Q7210356),P749,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P749
type Q7210356
And [ANSWERS] are owned by that one
[{'concept': 'Q7210356'}, 'P749', 'Q29552']
SELECT DISTINCT ?c WHERE { ?c property:P749 resource:Q29552 . ?c rdf:type ontology:Q7210356 }
New Hampshire Democratic Party California Democratic Party
And New Hampshire Democratic Party and California Democratic Party are owned by that one
New Hampshire Democratic Party California Democratic Party
action filter_type
action find_reverse
entity Democratic Party
relation parent organization
type political organization
[{'concept': 'political organization'}, 'parent organization', 'Democratic Party']
SELECT DISTINCT ?c WHERE { ?c property:parent_organization resource:Democratic_Party . ?c rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7008134 Q5020399
P102
Q502895
USER
Which people are members of those political organizations ?
(c(Q502895),P102,Q7008134) (c(Q502895),P102,Q5020399)
action filter_type
action find_reverse
entity prev_answer
relation P102
type Q502895
[{'concept': 'Q502895'}, 'P102', 'Q7008134'] [{'concept': 'Q502895'}, 'P102', 'Q5020399']
SELECT DISTINCT ?v WHERE { VALUES ( ?j ) { ( resource:Q7008134 ) ( resource:Q5020399 ) } . ?v rdf:type ontology:Q502895 . ?v property:P102 ?j }
New Hampshire Democratic Party California Democratic Party
action filter_type
action find_reverse
entity prev_answer
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'New Hampshire Democratic Party'] [{'concept': 'common name'}, 'member of political party', 'California Democratic Party']
SELECT DISTINCT ?v WHERE { VALUES ( ?j ) { ( resource:New_Hampshire_Democratic_Party ) ( resource:California_Democratic_Party ) } . ?v rdf:type ontology:common_name . ?v property:member_of_political_party ?j }
[]
common name
Q2092070 Q6668412 Q6767311
SYSTEM
Albert Dekker, Lois Wolk, Mark DeSaulnier
Q1700376 Q1685954 Q1966707 Q5076040 Q6261133 Q5723700 Q6777376 Q7144115 Q19878077 Q6668412 Q5364795 Q4885873 Q4704495 Q7339983 Q4898279 Q8022696 Q5334646 Q5981090 Q5726873 Q5053049 Q7296147 Q5226471 Q23008524 Q7647593 Q13562255 Q5441978 Q6769874 Q3000097 Q7182484 Q4942388 Q4685737 Q5092702 Q4773347 Q6779741 Q6397046 Q5186348 Q5478183 Q7498880 Q7328265 Q3343727 Q6279566 Q6078402 Q6828172 Q6767311 Q6846701 Q6755698 Q2092070 Q6195076 Q6279480 Q7358328 Q6200205 Q5106899 Q5232352 Q6962991 Q6387474
(c(Q502895),P102,Q7008134) (c(Q502895),P102,Q5020399)
action filter_type
action find_reverse
entity prev_answer
relation P102
type Q502895
[ANSWERS] are members of those political organizations
[{'concept': 'Q502895'}, 'P102', 'Q7008134'] [{'concept': 'Q502895'}, 'P102', 'Q5020399']
SELECT DISTINCT ?v WHERE { VALUES ( ?j ) { ( resource:Q7008134 ) ( resource:Q5020399 ) } . ?v rdf:type ontology:Q502895 . ?v property:P102 ?j }
John Hardy Steele Samuel Dinsmoor, Jr. Nathaniel B. Baker Charles Calderon John Tran Henry J. Mello Marty Block Pat Wiggins Basim Elkarra Lois Wolk Ellen Corbett Ben Hueso Al Muratsuchi Rob Bonta Betsy Butler Wilmer Carter Ed Chau Ian Calderon Henry Perea Cathleen Galgiani Raul Bocanegra Das Williams Teresa Patterson Hughes Susan Bonilla Holly Mitchell Felipe Fuentes Mark Stone Adam Gray Phil Ting Bonnie Lowenthal Adrin Nazarian Cheryl Brown Anthony Rendon Mary Hayashi Kevin Mullin Cristina Garcia Fran Pavley Shirley Weber Richard Pan Norma Torres Jose Solorio Isadore Hall, III Michael Allen Mark DeSaulnier Mike Eng Marc Levine Albert Dekker Jim Frazier Jose Medina Roger Hernández Jimmy Gomez Chris Holden David Chiu Nancy Skinner Ken Cooley
Albert Dekker, Lois Wolk and Mark DeSaulnier are members of those political organizations
Albert Dekker Lois Wolk Mark DeSaulnier
action filter_type
action find_reverse
entity prev_answer
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'New Hampshire Democratic Party'] [{'concept': 'common name'}, 'member of political party', 'California Democratic Party']
SELECT DISTINCT ?v WHERE { VALUES ( ?j ) { ( resource:New_Hampshire_Democratic_Party ) ( resource:California_Democratic_Party ) } . ?v rdf:type ontology:common_name . ?v property:member_of_political_party ?j }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7008134
P355
Q7210356
USER
Which political organization contains that one as its subordinate ?
(c(Q7210356),P355,Q7008134)
action filter_type
action find_reverse
entity Q7008134
relation P355
type Q7210356
[{'concept': 'Q7210356'}, 'P355', 'Q7008134']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q7210356 . ?q property:P355 resource:Q7008134 }
New Hampshire Democratic Party
action filter_type
action find_reverse
entity New Hampshire Democratic Party
relation subsidiary
type political organization
[{'concept': 'political organization'}, 'subsidiary', 'New Hampshire Democratic Party']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_organization . ?q property:subsidiary resource:New_Hampshire_Democratic_Party }
[]
political organization
Clarification for simple ques.
Q7008134
SYSTEM
Did you mean New Hampshire Democratic Party ?
Q2092070 Q6668412 Q6767311
(c(Q7210356),P355,Q2092070) (c(Q7210356),P355,Q6668412) (c(Q7210356),P355,Q6767311)
[ANSWER]
[{'concept': 'Q7210356'}, 'P355', 'Q2092070'] [{'concept': 'Q7210356'}, 'P355', 'Q6668412'] [{'concept': 'Q7210356'}, 'P355', 'Q6767311']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q7210356 . ?q property:P355 resource:Q7008134 }
Albert Dekker Lois Wolk Mark DeSaulnier
Did you mean New Hampshire Democratic Party ?
New Hampshire Democratic Party
[{'concept': 'political organization'}, 'subsidiary', 'Albert Dekker'] [{'concept': 'political organization'}, 'subsidiary', 'Lois Wolk'] [{'concept': 'political organization'}, 'subsidiary', 'Mark DeSaulnier']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_organization . ?q property:subsidiary resource:New_Hampshire_Democratic_Party }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q7210356),P355,Q7008134)
[{'concept': 'Q7210356'}, 'P355', 'Q7008134']
[{'concept': 'political organization'}, 'subsidiary', 'New Hampshire Democratic Party']
[]
Q29552
SYSTEM
Democratic Party
Q29552
(c(Q7210356),P355,Q7008134)
action filter_type
action find_reverse
entity Q7008134
relation P355
type Q7210356
Party [ANSWER] contains that one as its subordinate
[{'concept': 'Q7210356'}, 'P355', 'Q7008134']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q7210356 . ?q property:P355 resource:Q7008134 }
Democratic Party
Party Democratic Party contains that one as its subordinate
Democratic Party
action filter_type
action find_reverse
entity New Hampshire Democratic Party
relation subsidiary
type political organization
[{'concept': 'political organization'}, 'subsidiary', 'New Hampshire Democratic Party']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_organization . ?q property:subsidiary resource:New_Hampshire_Democratic_Party }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1502088
P417
Q502895 Q12737077 Q56061
USER
Which people are the names of the patron saint of more number of occupations or administrative territories than Genesius of Arles ?
(c(Q12737077)|c(Q56061),P417,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q1502088
relation P417
type Q12737077
type Q56061
[[{'concept': 'Q12737077'}, {'concept': 'Q56061'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?e ) WHERE { { ?g property:P417 ?h . ?h rdf:type ontology:Q502895 . ?g rdf:type ontology:Q56061 } UNION { ?g property:P417 ?h . ?h rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } } GROUP BY ?h } . FILTER ( ?e > ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:P417 resource:Q1502088 . { { ?y rdf:type ontology:Q12737077 } UNION { ?y rdf:type ontology:Q56061 } } } } }
Genesius of Arles
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Genesius of Arles
relation patron saint
type occupation
type administrative territorial entity
[[{'concept': 'occupation'}, {'concept': 'administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?e ) WHERE { { ?g property:patron_saint ?h . ?h rdf:type ontology:common_name . ?g rdf:type ontology:administrative_territorial_entity } UNION { ?g property:patron_saint ?h . ?h rdf:type ontology:common_name . ?g rdf:type ontology:occupation } } GROUP BY ?h } . FILTER ( ?e > ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:patron_saint resource:Genesius_of_Arles . { { ?y rdf:type ontology:occupation } UNION { ?y rdf:type ontology:administrative_territorial_entity } } } } }
[]
common name occupation administrative territorial entity
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q133704 Q229190 Q152457 Q516729 Q3893243 Q732865 Q320199 Q43689 Q3776432 Q328804 Q1284098 Q166876 Q163900 Q31966 Q170547 Q44024 Q676555 Q287916 Q212850 Q1346958 Q51885 Q234697 Q1284971 Q374822 Q357093 Q9438 Q558148 Q130997 Q312758 Q5575577 Q379685 Q42887 Q191107 Q4210004 Q2697247 Q457903 Q315312 Q242274 Q33923 Q128538 Q183240 Q119289 Q360798 Q298845 Q167477 Q288295 Q297742 Q218921 Q183332 Q48438 Q119512 Q44281 Q170164 Q43399 Q189776 Q336731 Q196653 Q4161703 Q508214 Q9200 Q235863 Q193507 Q463600 Q1747656 Q1393825 Q12871 Q43669 Q44269 Q2456500 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q1976199 Q320171 Q137947 Q534691 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q11905449 Q4026158 Q232427 Q164294 Q3561124 Q60059 Q17590 Q271474 Q200895 Q284323 Q59071 Q1383532 Q44248 Q276148 Q310633
(c(Q12737077)|c(Q56061),P417,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q1502088
relation P417
type Q12737077
type Q56061
[ANSWERS] are the names of the patron saint of more number of occupations or administrative territories than Genesius of Arles
[[{'concept': 'Q12737077'}, {'concept': 'Q56061'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?e ) WHERE { { ?g property:P417 ?h . ?h rdf:type ontology:Q502895 . ?g rdf:type ontology:Q56061 } UNION { ?g property:P417 ?h . ?h rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } } GROUP BY ?h } . FILTER ( ?e > ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:P417 resource:Q1502088 . { { ?y rdf:type ontology:Q12737077 } UNION { ?y rdf:type ontology:Q56061 } } } } }
Saint Amand Martin of Tours Catherine of Siena Saint Roch Sebaldus Pamphilus of Sulmona Vitalis of Milan Apollinaris of Ravenna Ambrose Gonçalo de Amarante John the Evangelist Turibius of Astorga Isidore of Seville Saint Francis Xavier Mark the Evangelist Anthony the Great Athanasius of Alexandria Francis of Assisi Finbarr of Cork Vitus Judas Cyriacus Thecla Maria Goretti La Mosca Victor Maurus Adrian of Nicomedia Saint Spyridon Thomas Aquinas Leonard of Noblac Damasus I Jean-Baptiste de La Salle Gobnait Isidore the Laborer Clement I Clare of Assisi Venantius of Camerino Catellus of Castellammare Saint Bavo Januarius Dorothea of Caesarea Peter Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Anthony of Padua Justina of Padua Margaret the Virgin Saint Eustace Saint Sebastian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Zeno of Verona Pancras of Rome Saint Veronica Dimitry Prilutsky Cyriacus Paul Genevieve Saint Christopher Saint Petronilla Saturninus of Cagliari Valerius of Saragossa Simon the Zealot Thomas the Apostle Saint Nicholas Eulalia of Barcelona Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis Gaudentius of Novara John of God Alexius of Rome Paschal Baylon Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Anastasi de Lleida Possidonio Saint Apollonia Saint Anna Acisclus Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Eulalia of Mérida Peter de Regalado Rainerius Jerome Charalampus Demetrius of Thessaloniki
Thomas Aquinas, Albertus Magnus and Isidore of Seville are the names of the patron saint of more number of occupations or administrative territories than Genesius of Arles
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Genesius of Arles
relation patron saint
type occupation
type administrative territorial entity
[[{'concept': 'occupation'}, {'concept': 'administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?e ) WHERE { { ?g property:patron_saint ?h . ?h rdf:type ontology:common_name . ?g rdf:type ontology:administrative_territorial_entity } UNION { ?g property:patron_saint ?h . ?h rdf:type ontology:common_name . ?g rdf:type ontology:occupation } } GROUP BY ?h } . FILTER ( ?e > ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:patron_saint resource:Genesius_of_Arles . { { ?y rdf:type ontology:occupation } UNION { ?y rdf:type ontology:administrative_territorial_entity } } } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
Which films had their voice dubbing done by atmost 11 people ?
(c(Q11424),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 11
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?n ) WHERE { ?z property:P725 ?u . ?z rdf:type ontology:Q11424 . ?u rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?n <= 11 ) }
action atmost
action find_tuple_counts
relation voice actor
type film
type common name
value 11
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?n ) WHERE { ?z property:voice_actor ?u . ?z rdf:type ontology:film . ?u rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?n <= 11 ) }
[]
common name film
Q4341553 Q1494230 Q842306
SYSTEM
Pinocchio, Garfield Gets Real, Saludos Amigos
Q1235519 Q378913 Q4499813 Q3038714 Q1138751 Q6296387 Q713543 Q449917 Q909740 Q842306 Q4341553 Q1491010 Q156401 Q811980 Q254671 Q2918397 Q853718 Q374431 Q12084660 Q44817 Q29355 Q9019373 Q223359 Q611739 Q2898231 Q1418615 Q785363 Q869741 Q3588859 Q371490 Q1656435 Q3836716 Q1032225 Q264873 Q4189838 Q943192 Q1361113 Q736731 Q318428 Q19703751 Q1513926 Q336012 Q2299779 Q1494230 Q1406374 Q2068444 Q1634740 Q3190021 Q1102410 Q543486 Q1195096 Q240852
(c(Q11424),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 11
Pinocchio, Garfield gets Real and Saludos Amigos had their voice dubbing done by atmost 11 people
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?n ) WHERE { ?z property:P725 ?u . ?z rdf:type ontology:Q11424 . ?u rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?n <= 11 ) }
Panda and the Magic Serpent The Lord of the Rings Home Lucky Luke: The Daltons on the Run The Plague Dogs Rio 2 Cat City The Chipmunk Adventure Krabat – The Sorcerer's Apprentice Saludos Amigos Pinocchio Tintin and the Lake of Sharks Chicken Run The Adventures of Lolo the Penguin Coonskin The Bugs Bunny/Road Runner Movie Fun and Fancy Free The Tigger Movie The Princess and the Goblin The Little Fox Space Dogs The Legend of the North Wind Rio The Ballad of the Daltons The Real Shlemiel Fritz the Cat The Time Masters Melody Time Emilie Jolie Son of the White Mare Ico, the Brave Horse The Looney Looney Looney Bugs Bunny Movie Foam Bath Willy the Sparrow Starchaser: The Legend of Orin Fantasia Pooh's Heffalump Movie The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Millionaire Dogs Magic Boy The Girl Who Leapt Through Time Animal Farms Garfield Gets Real Piglet's Big Movie Felix the Cat: The Movie Jungledyret Hugo Jungledyret Hugo - den store filmhelt Johnny Corncob Daisy Town Havoc in Heaven FernGully: The Last Rainforest
Pinocchio, Garfield gets Real and Saludos Amigos had their voice dubbing done by atmost 11 people
Pinocchio Garfield Gets Real Saludos Amigos
action atmost
action find_tuple_counts
relation voice actor
type film
type common name
value 11
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?n ) WHERE { ?z property:voice_actor ?u . ?z rdf:type ontology:film . ?u rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?n <= 11 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1494230
P495
Q15617994
USER
Which administrative territories are the origin of that film ?
(Q1494230,P495,c(Q15617994))
action filter_type
action find
entity Q1494230
relation P495
type Q15617994
['Q1494230', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q1494230 property:P495 ?r . ?r rdf:type ontology:Q15617994 }
Garfield Gets Real
action filter_type
action find
entity Garfield Gets Real
relation country of origin
type designation for an administrative territorial entity
['Garfield Gets Real', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Garfield_Gets_Real property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1494230
SYSTEM
Did you mean Garfield Gets Real ?
Q4341553 Q1494230 Q842306
(Q4341553,P495,c(Q15617994)) (Q1494230,P495,c(Q15617994)) (Q842306,P495,c(Q15617994))
[ANSWER]
['Q4341553', 'P495', {'concept': 'Q15617994'}] ['Q1494230', 'P495', {'concept': 'Q15617994'}] ['Q842306', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q1494230 property:P495 ?r . ?r rdf:type ontology:Q15617994 }
Pinocchio Garfield Gets Real Saludos Amigos
Did you mean Garfield Gets Real ?
Garfield Gets Real
['Pinocchio', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Garfield Gets Real', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Saludos Amigos', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Garfield_Gets_Real property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1494230,P495,c(Q15617994))
['Q1494230', 'P495', {'concept': 'Q15617994'}]
['Garfield Gets Real', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30 Q884
SYSTEM
United States of America, South Korea
Q30 Q884
(Q1494230,P495,c(Q15617994))
action filter_type
action find
entity Q1494230
relation P495
type Q15617994
[ANSWERS] are the origin of that film
['Q1494230', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q1494230 property:P495 ?r . ?r rdf:type ontology:Q15617994 }
United States of America South Korea
United States of America and South Korea are the origin of that film
United States of America South Korea
action filter_type
action find
entity Garfield Gets Real
relation country of origin
type designation for an administrative territorial entity
['Garfield Gets Real', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Garfield_Gets_Real property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q766
P530
Q15617994
USER
How many administrative territories are known to have diplomatic connections with United States of America and Jamaica ?
(c(Q15617994),P530,Q30) (c(Q15617994),P530,Q766)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q766
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q30'] [{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:P530 resource:Q30 . ?q rdf:type ontology:Q15617994 . ?q property:P530 resource:Q766 . ?q rdf:type ontology:Q15617994 }
United States of America Jamaica
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Jamaica
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United States of America'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:diplomatic_relation resource:United_States_of_America . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation resource:Jamaica . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q155 Q230
(c(Q15617994),P530,Q30) (c(Q15617994),P530,Q766)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q766
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q30'] [{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:P530 resource:Q30 . ?q rdf:type ontology:Q15617994 . ?q property:P530 resource:Q766 . ?q rdf:type ontology:Q15617994 }
Brazil Georgia
2
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Jamaica
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United States of America'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:diplomatic_relation resource:United_States_of_America . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation resource:Jamaica . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]