Simple Question (Direct)
Simple Question
Q5112751
P734
Q82799
USER
Who has the surname Christopher Lloyd ?
(Q5112751,P734,c(Q82799))
action filter_type
action find
entity Q5112751
relation P734
type Q82799
['Q5112751', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q5112751 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Christopher Lloyd
action filter_type
action find
entity Christopher Lloyd
relation family name
type name
['Christopher Lloyd', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Christopher_Lloyd property:family_name ?j . ?j rdf:type ontology:name }
[]
name
Q1287630
SYSTEM
Lloyd
Q1287630
(Q5112751,P734,c(Q82799))
action filter_type
action find
entity Q5112751
relation P734
type Q82799
[ANSWER] has the surname Christopher [ANSWER]
['Q5112751', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q5112751 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Lloyd
Lloyd has the surname Christopher Lloyd
Lloyd
action filter_type
action find
entity Christopher Lloyd
relation family name
type name
['Christopher Lloyd', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Christopher_Lloyd property:family_name ?j . ?j rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5112751
P106
Q151885
USER
What does Christopher Lloyd do for a living ?
(Q5112751,P106,c(Q151885))
action filter_type
action find
entity Q5112751
relation P106
type Q151885
['Q5112751', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q151885 . resource:Q5112751 property:P106 ?m }
Christopher Lloyd
action filter_type
action find
entity Christopher Lloyd
relation occupation
type concept
['Christopher Lloyd', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:concept . resource:Christopher_Lloyd property:occupation ?m }
[]
concept
Q482980
SYSTEM
author
Q482980
(Q5112751,P106,c(Q151885))
action filter_type
action find
entity Q5112751
relation P106
type Q151885
[ANSWER] Christopher Lloyd does for a living
['Q5112751', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q151885 . resource:Q5112751 property:P106 ?m }
author
Author Christopher Lloyd does for a living
author
action filter_type
action find
entity Christopher Lloyd
relation occupation
type concept
['Christopher Lloyd', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:concept . resource:Christopher_Lloyd property:occupation ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5112751
P69
Q1244442
USER
How many school buildings were Christopher Lloyd educated at ?
(Q5112751,P69,c(Q1244442))
action count
action filter_type
action find
entity Q5112751
relation P69
type Q1244442
['Q5112751', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Q5112751 property:P69 ?w . ?w rdf:type ontology:Q1244442 }
Christopher Lloyd
action count
action filter_type
action find
entity Christopher Lloyd
relation educated at
type school building
['Christopher Lloyd', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Christopher_Lloyd property:educated_at ?w . ?w rdf:type ontology:school_building }
[]
school building
SYSTEM
1
Q81153
(Q5112751,P69,c(Q1244442))
action count
action filter_type
action find
entity Q5112751
relation P69
type Q1244442
[ANSWER]
['Q5112751', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Q5112751 property:P69 ?w . ?w rdf:type ontology:Q1244442 }
Lincoln College
1
action count
action filter_type
action find
entity Christopher Lloyd
relation educated at
type school building
['Christopher Lloyd', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Christopher_Lloyd property:educated_at ?w . ?w rdf:type ontology:school_building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5112751
P69
Q1244442
USER
Which school building is the alma mater of that person ?
action filter_type
action find
entity Q5112751
relation P69
type Q1244442
SELECT DISTINCT ?i WHERE { resource:Q5112751 property:P69 ?i . ?i rdf:type ontology:Q1244442 }
Christopher Lloyd
action filter_type
action find
entity Christopher Lloyd
relation educated at
type school building
SELECT DISTINCT ?i WHERE { resource:Christopher_Lloyd property:educated_at ?i . ?i rdf:type ontology:school_building }
[]
school building
Q81153
SYSTEM
Lincoln College
Q81153
action filter_type
action find
entity Q5112751
relation P69
type Q1244442
[ANSWER] is the alma mater of that person
SELECT DISTINCT ?i WHERE { resource:Q5112751 property:P69 ?i . ?i rdf:type ontology:Q1244442 }
Lincoln College
Lincoln College is the alma mater of that person
Lincoln College
action filter_type
action find
entity Christopher Lloyd
relation educated at
type school building
SELECT DISTINCT ?i WHERE { resource:Christopher_Lloyd property:educated_at ?i . ?i rdf:type ontology:school_building }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3523760 Q5112751
P27
Q15617994
USER
Which administrative territories are the native countriesof Christopher Lloyd or Theophilus Waldmeier ?
OR((Q5112751,P27,c(Q15617994)), (Q3523760,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5112751
relation P27
action find
entity Q3523760
relation P27
type Q15617994
{'OR': [['Q5112751', 'P27', {'concept': 'Q15617994'}], ['Q3523760', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q3523760 property:P27 ?p } UNION { resource:Q5112751 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Theophilus Waldmeier Christopher Lloyd
action filter_type
action union
action find
entity Christopher Lloyd
relation country of citizenship
action find
entity Theophilus Waldmeier
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Christopher Lloyd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Theophilus Waldmeier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Theophilus_Waldmeier property:country_of_citizenship ?p } UNION { resource:Christopher_Lloyd property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39 Q145
SYSTEM
Switzerland, United Kingdom
Q39 Q145
OR((Q5112751,P27,c(Q15617994)), (Q3523760,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5112751
relation P27
action find
entity Q3523760
relation P27
type Q15617994
[ANSWERS] are the native countriesof Christopher Lloyd or Theophilus Waldmeier
{'OR': [['Q5112751', 'P27', {'concept': 'Q15617994'}], ['Q3523760', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q3523760 property:P27 ?p } UNION { resource:Q5112751 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Switzerland United Kingdom
Switzerland and United Kingdom are the native countriesof Christopher Lloyd or Theophilus Waldmeier
Switzerland United Kingdom
action filter_type
action union
action find
entity Christopher Lloyd
relation country of citizenship
action find
entity Theophilus Waldmeier
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Christopher Lloyd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Theophilus Waldmeier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Theophilus_Waldmeier property:country_of_citizenship ?p } UNION { resource:Christopher_Lloyd property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q39
P530
Q1048835
USER
Who have diplomatic relationships with that administrative territory ?
(Q39,P530,c(Q1048835))
action filter_type
action find
entity Q39
relation P530
type Q1048835
['Q39', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q39 property:P530 ?i . ?i rdf:type ontology:Q1048835 }
Switzerland
action filter_type
action find
entity Switzerland
relation diplomatic relation
type political territorial entity
['Switzerland', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Switzerland property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q145
SYSTEM
Did you mean United Kingdom ?
Q39 Q145
(Q39,P530,c(Q1048835)) (Q145,P530,c(Q1048835))
[ANSWER]
['Q39', 'P530', {'concept': 'Q1048835'}] ['Q145', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q39 property:P530 ?i . ?i rdf:type ontology:Q1048835 }
Switzerland United Kingdom
Did you mean United Kingdom ?
United Kingdom
['Switzerland', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Switzerland property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Switzerland. Could you tell me the answer for that?
(Q39,P530,c(Q1048835))
Q39
['Q39', 'P530', {'concept': 'Q1048835'}]
['Switzerland', 'diplomatic relation', {'concept': 'political territorial entity'}]
[]
Q408 Q16 Q183
SYSTEM
Australia, Canada, Germany
Q16 Q408 Q183
(Q39,P530,c(Q1048835))
action filter_type
action find
entity Q39
relation P530
type Q1048835
[ANSWERS] have diplomatic relationships with that administrative territory
['Q39', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q39 property:P530 ?i . ?i rdf:type ontology:Q1048835 }
Canada Australia Germany
Australia, Canada and Germany have diplomatic relationships with that administrative territory
Australia Canada Germany
action filter_type
action find
entity Switzerland
relation diplomatic relation
type political territorial entity
['Switzerland', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Switzerland property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q853614 Q874405 Q82799
USER
How many names are a component of approximately 1 identifiers or social groups ?
(c(Q82799),P361,c(Q853614)|c(Q874405))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q874405
value 1
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?p WHERE { { ?p property:P361 ?n . ?p rdf:type ontology:Q82799 . ?n rdf:type ontology:Q853614 } UNION { ?p property:P361 ?n . ?p rdf:type ontology:Q82799 . ?n rdf:type ontology:Q874405 } } GROUP BY ?p } . FILTER ( ?c = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type social group
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'social group'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?p WHERE { { ?p property:part_of ?n . ?p rdf:type ontology:name . ?n rdf:type ontology:identifier } UNION { ?p property:part_of ?n . ?p rdf:type ontology:name . ?n rdf:type ontology:social_group } } GROUP BY ?p } . FILTER ( ?c = 1 ) }
[]
identifier social group name
SYSTEM
253
Q19984029 Q23539781 Q16101731 Q16515753 Q27355533 Q22001585 Q26000745 Q26822115 Q19986366 Q19963541 Q20731004 Q27651197 Q21491652 Q21501467 Q27037178 Q21484983 Q12783920 Q27037174 Q27651212 Q12594770 Q27356490 Q1946932 Q21144151 Q20731003 Q27357908 Q18001608 Q26775417 Q20155939 Q26971843 Q27465067 Q18645215 Q12788667 Q19831808 Q27357598 Q21475479 Q24477965 Q21488853 Q21487329 Q24477968 Q24090443 Q20675459 Q21279602 Q16563753 Q21450326 Q21510209 Q25114460 Q27436303 Q21431253 Q20985269 Q27037161 Q355505 Q27037165 Q21498452 Q27037169 Q1513700 Q18515515 Q18808411 Q21492574 Q19688789 Q18844248 Q27678568 Q19311987 Q5646565 Q20089343 Q19672747 Q19828992 Q21043141 Q22673958 Q4082729 Q18171095 Q110874 Q26448488 Q19832245 Q26822136 Q26822137 Q27635577 Q26822132 Q19688838 Q23636060 Q26822155 Q16161715 Q11878943 Q21506948 Q2547055 Q21492983 Q21584287 Q23039002 Q27037119 Q19944848 Q21512664 Q27204774 Q18808940 Q1173421 Q27476988 Q23822720 Q21450808 Q25114459 Q27230306 Q27538384 Q16390676 Q26772804 Q26822160 Q20900701 Q26986281 Q26235096 Q26944932 Q15897047 Q27450778 Q27229561 Q26944931 Q23640302 Q3372303 Q17165817 Q26736729 Q21450395 Q27357173 Q27356099 Q1247793 Q27355703 Q27185681 Q21506801 Q27203015 Q23590373 Q27355517 Q26235204 Q21069157 Q27229604 Q23907762 Q27450583 Q27229563 Q27450587 Q15835964 Q21471177 Q20083701 Q885595 Q27203027 Q1707301 Q26822099 Q27229572 Q24573284 Q27251921 Q26868860 Q20003434 Q26877838 Q26986610 Q21502033 Q26449961 Q21452487 Q1158284 Q16876541 Q16932005 Q27642537 Q27450911 Q12788669 Q23590368 Q13639177 Q27037180 Q19944235 Q804437 Q21450555 Q27670177 Q23041619 Q1620641 Q21130107 Q808994 Q16279139 Q21447940 Q19998957 Q17505763 Q18552178 Q27356272 Q19768404 Q12036851 Q19810530 Q26822081 Q24090532 Q18228388 Q26906549 Q26742856 Q26986918 Q1703599 Q19961051 Q12020943 Q12188082 Q20010325 Q26235099 Q23578592 Q1557998 Q27133109 Q21491435 Q23767331 Q23767330 Q21507872 Q27450606 Q21508944 Q2824680 Q27450608 Q26774382 Q19550817 Q18689509 Q27355496 Q19768398 Q15813147 Q12784475 Q21431135 Q26772911 Q21484692 Q27037157 Q27651236 Q26972674 Q18402175 Q21886149 Q12785732 Q19839042 Q27450686 Q23569212 Q21492540 Q21142292 Q27450728 Q27450834 Q27450836 Q23907739 Q2287331 Q23578587 Q22348139 Q21057288 Q21476618 Q3701009 Q21484521 Q4812724 Q21534898 Q26234451 Q19550800 Q23538357 Q1737707 Q26972634 Q16175496 Q19856970 Q21143968 Q21143966 Q21450552 Q19839041 Q27450738 Q27450739 Q27131901 Q19582298 Q19688887 Q27450824 Q26220628 Q13582244 Q15789615 Q20982280 Q27450829
(c(Q82799),P361,c(Q853614)|c(Q874405))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q874405
value 1
[ANSWER]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?p WHERE { { ?p property:P361 ?n . ?p rdf:type ontology:Q82799 . ?n rdf:type ontology:Q853614 } UNION { ?p property:P361 ?n . ?p rdf:type ontology:Q82799 . ?n rdf:type ontology:Q874405 } } GROUP BY ?p } . FILTER ( ?c = 1 ) }
Minami Asami Carter Farkas Türkkan Lamont Meta Candan Brodie Cassie Crawford Littleton Esin Olivera Bainbridge Dwyer Abram Bridger Redmond Man Holly Moosa Fedde Crawford Ademola Sylvain Dalibor Clancy Ado Özgen Agostino Fabjan Loren Siemion Ersan Guibert Tyson Hewitt Guibert Matsuo Anania Regan Hunter Jayne Sierra Savva Gisbert Adamou Barrington Hakim Nobiliary particle Abner Kelso Hersey Gerlach Albano Egerton Loui Achim Rowan Sami Yoshihara Han Han Aubrey Shelley Cave Sherman Belarusian surname Armand patronymic Akiyoshi Sami Akilu Řehoř Gruffudd Wito Kaj Cassie Rauf Albin Urban Izumi Walther Regan Jabez Marshall Melvyn Eraydın Redouane Parvin Neil Davern Şentürk Malick Inal Savva Durmuş Fedde Falk Elias Chadi Nolan Seyfi Lillie Apple Percy Shigematsu Köken Apple Britt Mai Warren Olumide Hillis Cave Frenk Kinnon Eden Rickard Herschel Joby Raimond Savin Loudon Mateja Sweeney Florenz Asiedu Robison Mordaunt Mynors Prentice Man Blue Joby Tyler Ademola Aydın Laverne Lamont Cale Marielle Sanusi Addis Browning Takumi Alfonzo Heinz Máté Mai Robbie Mahrez Fabjan Raimond Jean Dalrymple Osborne Bakir Hilbert Ripley Stuart Hisataka Calvert Barry Máté Hester Paltiel Virgil Alonso Golden Courtney Michel Han Amin Minami Leonard Germann Fabiano Sabra Jordan Izumi Hunter James Ganna Lillie Aynsley Gyalwang Drukpa Arnell Norman Koren Koren Henning Wilf Finlay Ado Haym Chariton Alden Marion Milić Jonas Bas Amos Gill Abbas Neilson Řehoř Sylvester Thijs Bernard Alfonzo Berchtold Cushman Flower Clint Kingsley Gerbrand Greenbury Harouna Henrie Florian Simon Aynsley Ripley Hester Miwa Dale Romaine Ataman Fethi Rupert Alden Azuma Keefe Noah Bas Squire Herrmann Henrie Hamilton Cushman Keill Moumouni Tokiwa Melville Tone Savea Arian Dale Brady Maury Akpan
253
action count
action approx
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type social group
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'social group'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?p WHERE { { ?p property:part_of ?n . ?p rdf:type ontology:name . ?n rdf:type ontology:identifier } UNION { ?p property:part_of ?n . ?p rdf:type ontology:name . ?n rdf:type ontology:social_group } } GROUP BY ?p } . FILTER ( ?c = 1 ) }
[]