Simple Question (Direct)
Simple Question
Q878798
P607
Q198
USER
Which war did Hugh Carey take part in ?
(Q878798,P607,c(Q198))
action filter_type
action find
entity Q878798
relation P607
type Q198
['Q878798', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { resource:Q878798 property:P607 ?v . ?v rdf:type ontology:Q198 }
Hugh Carey
action filter_type
action find
entity Hugh Carey
relation conflict
type war
['Hugh Carey', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { resource:Hugh_Carey property:conflict ?v . ?v rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q878798,P607,c(Q198))
action filter_type
action find
entity Q878798
relation P607
type Q198
Hugh Carey took part in [ANSWER]
['Q878798', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { resource:Q878798 property:P607 ?v . ?v rdf:type ontology:Q198 }
World War II
Hugh Carey took part in World War II
World War II
action filter_type
action find
entity Hugh Carey
relation conflict
type war
['Hugh Carey', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { resource:Hugh_Carey property:conflict ?v . ?v rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q878798
P734
Q82799
USER
Who is associated with Hugh Carey ?
(Q878798,P734,c(Q82799))
action filter_type
action find
entity Q878798
relation P734
type Q82799
['Q878798', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q878798 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Hugh Carey
action filter_type
action find
entity Hugh Carey
relation family name
type name
['Hugh Carey', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Hugh_Carey property:family_name ?s . ?s rdf:type ontology:name }
[]
name
Q5039154
SYSTEM
Carey
Q5039154
(Q878798,P734,c(Q82799))
action filter_type
action find
entity Q878798
relation P734
type Q82799
[ANSWER] is associated with Hugh [ANSWER]
['Q878798', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q878798 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Carey
Carey is associated with Hugh Carey
Carey
action filter_type
action find
entity Hugh Carey
relation family name
type name
['Hugh Carey', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Hugh_Carey property:family_name ?s . ?s rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q878798
P19
Q56061
USER
Where was that person born ?
(Q5039154,P19,c(Q56061))
action filter_type
action find
entity Q878798
relation P19
type Q56061
['Q5039154', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q878798 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Hugh Carey
action filter_type
action find
entity Hugh Carey
relation place of birth
type administrative territorial entity
['Carey', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Hugh_Carey property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q18419
SYSTEM
Brooklyn
Q18419
(Q5039154,P19,c(Q56061))
action filter_type
action find
entity Q878798
relation P19
type Q56061
That person was born in [ANSWER]
['Q5039154', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q878798 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Brooklyn
That person was born in Brooklyn
Brooklyn
action filter_type
action find
entity Hugh Carey
relation place of birth
type administrative territorial entity
['Carey', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Hugh_Carey property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q151885 Q853614 Q82799
USER
How many names are a component of around 1 concepts and identifiers ?
(c(Q82799),P361,c(Q151885)|c(Q853614))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q151885
action find_tuple_counts
relation P361
type Q82799
type Q853614
value 1
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q151885'}, {'concept': 'Q853614'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?t ) WHERE { { ?n property:P361 ?v . ?v rdf:type ontology:Q151885 . ?n rdf:type ontology:Q82799 } UNION { ?n property:P361 ?v . ?n rdf:type ontology:Q82799 . ?v rdf:type ontology:Q853614 } } GROUP BY ?n } . FILTER ( ?t = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation part of
type name
type concept
action find_tuple_counts
relation part of
type name
type identifier
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'concept'}, {'concept': 'identifier'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?t ) WHERE { { ?n property:part_of ?v . ?v rdf:type ontology:concept . ?n rdf:type ontology:name } UNION { ?n property:part_of ?v . ?n rdf:type ontology:name . ?v rdf:type ontology:identifier } } GROUP BY ?n } . FILTER ( ?t = 1 ) }
[]
concept identifier name
SYSTEM
255
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 Q1058384 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 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 Q746990 Q4812724 Q21534898 Q26234451 Q19550800 Q23538357 Q1737707 Q26972634 Q16175496 Q19856970 Q21143968 Q21143966 Q21450552 Q19839041 Q27450738 Q27450739 Q876933 Q27131901 Q19582298 Q19688887 Q27450824 Q26220628 Q13582244 Q15789615 Q20982280 Q27450829
(c(Q82799),P361,c(Q151885)|c(Q853614))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q151885
action find_tuple_counts
relation P361
type Q82799
type Q853614
value 1
[ANSWER]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q151885'}, {'concept': 'Q853614'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?t ) WHERE { { ?n property:P361 ?v . ?v rdf:type ontology:Q151885 . ?n rdf:type ontology:Q82799 } UNION { ?n property:P361 ?v . ?n rdf:type ontology:Q82799 . ?v rdf:type ontology:Q853614 } } GROUP BY ?n } . FILTER ( ?t = 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 hakham 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 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 Brahman Ataman Fethi Rupert Alden Azuma Keefe Noah Bas Squire Herrmann Henrie Hamilton Cushman Keill Moumouni magi Tokiwa Melville Tone Savea Arian Dale Brady Maury Akpan
255
action count
action approx
action union
action find_tuple_counts
relation part of
type name
type concept
action find_tuple_counts
relation part of
type name
type identifier
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'concept'}, {'concept': 'identifier'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?t ) WHERE { { ?n property:part_of ?v . ?v rdf:type ontology:concept . ?n rdf:type ontology:name } UNION { ?n property:part_of ?v . ?n rdf:type ontology:name . ?v rdf:type ontology:identifier } } GROUP BY ?n } . FILTER ( ?t = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q198 Q2342494 Q838948
USER
Which wars were discussed in atmost 32 collectables or works of art ?
(c(Q2342494)|c(Q838948),P921,c(Q198))
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
value 32
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) ?v WHERE { VALUES ( ?l ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?o rdf:type ?l } GROUP BY ?v } . FILTER ( ?t <= 32 ) }
action atmost
action union
action find_reverse_tuple_counts
relation main subject
type war
type collectable
action find_reverse_tuple_counts
relation main subject
type war
type work of art
value 32
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) ?v WHERE { VALUES ( ?l ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?o rdf:type ?l } GROUP BY ?v } . FILTER ( ?t <= 32 ) }
[]
war collectable work of art
Q545449 Q178810 Q211855
SYSTEM
Iraq War, Syrian Civil War, Finnish Civil War
Q81545 Q211855 Q633862 Q188972 Q129053 Q1049945 Q209297 Q242352 Q201424 Q142529 Q75984 Q178810 Q545449 Q243620
(c(Q2342494)|c(Q838948),P921,c(Q198))
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
value 32
[ANSWERS] were discussed in atmost 32 collectables or works of art
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) ?v WHERE { VALUES ( ?l ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?o rdf:type ?l } GROUP BY ?v } . FILTER ( ?t <= 32 ) }
2011 Libyan Civil War Finnish Civil War Cold War Greek Civil War partition of India Jacobite rising of 1745 Farroupilha Revolution Yugoslav Wars nuclear war Algerian Civil War Dirty War Syrian Civil War Iraq War Somali Civil War
Iraq War, Syrian Civil War and Finnish Civil War were discussed in atmost 32 collectables or works of art
Iraq War Syrian Civil War Finnish Civil War
action atmost
action union
action find_reverse_tuple_counts
relation main subject
type war
type collectable
action find_reverse_tuple_counts
relation main subject
type war
type work of art
value 32
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) ?v WHERE { VALUES ( ?l ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?o rdf:type ?l } GROUP BY ?v } . FILTER ( ?t <= 32 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q545449
P790
Q41487
USER
Which court approves that war ?
(Q545449,P790,c(Q41487))
action filter_type
action find
entity Q545449
relation P790
type Q41487
['Q545449', 'P790', {'concept': 'Q41487'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q41487 . resource:Q545449 property:P790 ?a }
Iraq War
action filter_type
action find
entity Iraq War
relation approved by
type court
['Iraq War', 'approved by', {'concept': 'court'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:court . resource:Iraq_War property:approved_by ?a }
[]
court
Clarification for simple ques.
Q178810
SYSTEM
Did you mean Syrian Civil War ?
Q545449 Q178810 Q211855
(Q545449,P790,c(Q41487)) (Q178810,P790,c(Q41487)) (Q211855,P790,c(Q41487))
[ANSWER]
['Q545449', 'P790', {'concept': 'Q41487'}] ['Q178810', 'P790', {'concept': 'Q41487'}] ['Q211855', 'P790', {'concept': 'Q41487'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q41487 . resource:Q545449 property:P790 ?a }
Iraq War Syrian Civil War Finnish Civil War
Did you mean Syrian Civil War ?
Syrian Civil War
['Iraq War', 'approved by', {'concept': 'court'}] ['Syrian Civil War', 'approved by', {'concept': 'court'}] ['Finnish Civil War', 'approved by', {'concept': 'court'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:court . resource:Iraq_War property:approved_by ?a }
[]
Simple Question (Coreferenced)
USER
No, I meant Iraq War. Could you tell me the answer for that?
(Q545449,P790,c(Q41487))
Q545449
['Q545449', 'P790', {'concept': 'Q41487'}]
['Iraq War', 'approved by', {'concept': 'court'}]
[]
Q250492
SYSTEM
United States Court of Appeals for the First Circuit
Q250492
(Q545449,P790,c(Q41487))
action filter_type
action find
entity Q545449
relation P790
type Q41487
The [ANSWER] approves that war
['Q545449', 'P790', {'concept': 'Q41487'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q41487 . resource:Q545449 property:P790 ?a }
United States Court of Appeals for the First Circuit
The United States Court of Appeals for the First Circuit approves that war
United States Court of Appeals for the First Circuit
action filter_type
action find
entity Iraq War
relation approved by
type court
['Iraq War', 'approved by', {'concept': 'court'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:court . resource:Iraq_War property:approved_by ?a }
[]