Simple Question (Direct)
Simple Question
Q5085024
P27
Q15617994
USER
Which administrative territory is Charlie Hill an inhabitant of ?
(Q5085024,P27,c(Q15617994))
action filter_type
action find
entity Q5085024
relation P27
type Q15617994
['Q5085024', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q5085024 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Charlie Hill
action filter_type
action find
entity Charlie Hill
relation country of citizenship
type designation for an administrative territorial entity
['Charlie Hill', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Charlie_Hill property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5085024,P27,c(Q15617994))
action filter_type
action find
entity Q5085024
relation P27
type Q15617994
The [ANSWER] is Charlie Hill an inhabitant of
['Q5085024', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q5085024 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
United States of America
The United States of America is Charlie Hill an inhabitant of
United States of America
action filter_type
action find
entity Charlie Hill
relation country of citizenship
type designation for an administrative territorial entity
['Charlie Hill', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Charlie_Hill property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P138
Q2235308
USER
Which ship types have that administrative territory as their toponym ?
(c(Q2235308),P138,Q30)
action filter_type
action find_reverse
entity Q30
relation P138
type Q2235308
[{'concept': 'Q2235308'}, 'P138', 'Q30']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2235308 . ?k property:P138 resource:Q30 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'United States of America']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:ship_type . ?k property:named_after resource:United_States_of_America }
[]
ship type
Q509266 Q7408497
SYSTEM
USS America, USS America
Q509266 Q7408497
(c(Q2235308),P138,Q30)
action filter_type
action find_reverse
entity Q30
relation P138
type Q2235308
[ANSWERS] have that administrative territory as their toponym
[{'concept': 'Q2235308'}, 'P138', 'Q30']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2235308 . ?k property:P138 resource:Q30 }
USS America USS America
USS America and USS America have that administrative territory as their toponym
USS America USS America
action filter_type
action find_reverse
entity United States of America
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'United States of America']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:ship_type . ?k property:named_after resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10720375 Q30
P6 P7
Q502895
USER
Which people are the heads of the government of United States of America or are the brother of Li Jing ?
OR((Q30,P6,c(Q502895)), (Q10720375,P7,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q10720375
relation P7
type Q502895
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q10720375', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q30 property:P6 ?v } UNION { resource:Q10720375 property:P7 ?v } } . ?v rdf:type ontology:Q502895 }
Li Jing United States of America
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Li Jing
relation brother
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Li Jing', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { { { resource:United_States_of_America property:head_of_government ?v } UNION { resource:Li_Jing property:brother ?v } } . ?v rdf:type ontology:common_name }
[]
common name
Q22686 Q35498 Q23 Q36023 Q9916 Q11881 Q6538710 Q9749 Q11816 Q9696
SYSTEM
Some of them are Donald Trump, Chester A. Arthur, George Washington, Calvin Coolidge, Dwight D. Eisenhower, John Tyler, Li Cong, Emperor Suzong of Tang, John Quincy Adams, John F. Kennedy
Q35171 Q11815 Q11816 Q11817 Q9588 Q11812 Q11813 Q10720201 Q91 Q10719244 Q12325 Q33866 Q35648 Q35498 Q10719962 Q9582 Q1124 Q6538710 Q11869 Q207 Q12306 Q35236 Q23685 Q9696 Q10719160 Q22686 Q34597 Q36023 Q11881 Q5972977 Q10720020 Q10719322 Q12312 Q11806 Q10719457 Q10720319 Q6539240 Q10719214 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q11896 Q34836 Q8007 Q10337309 Q9749 Q10719817 Q34296 Q76 Q8612 Q10719917 Q23505 Q10720135 Q23 Q10720076 Q10719284 Q11613 Q706559 Q9916 Q9960 Q11891 Q10719402 Q10719506
OR((Q30,P6,c(Q502895)), (Q10720375,P7,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q10720375
relation P7
type Q502895
[ANSWERS] are the heads of the government of United States of America or are the brother of Li Jing
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q10720375', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q30 property:P6 ?v } UNION { resource:Q10720375 property:P7 ?v } } . ?v rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Richard Nixon Thomas Jefferson James Madison Li Gong Abraham Lincoln Li Wan James Buchanan Theodore Roosevelt William Howard Taft Chester A. Arthur Li Huan Gerald Ford Bill Clinton Li Cong William Henry Harrison George W. Bush Millard Fillmore Herbert Hoover Jimmy Carter John F. Kennedy Li Tan Donald Trump James A. Garfield Calvin Coolidge John Tyler Li Mao Li Huang Li Yi Franklin Pierce John Adams Li Jiao Li Xuan Li Ying Li Yao Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Zachary Taylor Ulysses S. Grant Franklin Delano Roosevelt Li Zhen Emperor Suzong of Tang Li Bin Woodrow Wilson Barack Obama Andrew Johnson Li Qi George H. W. Bush Li Gui George Washington Li Ci Li Ju Harry S. Truman Li Lin Dwight D. Eisenhower Ronald Reagan James K. Polk Li Sui Li Min
Donald Trump, Chester A. Arthur, George Washington, Calvin Coolidge, Dwight D. Eisenhower, John Tyler, Li Cong, Emperor Suzong of Tang, John Quincy Adams and John F. Kennedy are the heads of the government of United States of America or are the brother of Li Jing
Donald Trump Chester A. Arthur George Washington Calvin Coolidge Dwight D. Eisenhower John Tyler Li Cong Emperor Suzong of Tang John Quincy Adams John F. Kennedy
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Li Jing
relation brother
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Li Jing', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { { { resource:United_States_of_America property:head_of_government ?v } UNION { resource:Li_Jing property:brother ?v } } . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q10720375
P7
Q502895
USER
How many people have Li Jing as their sibling ?
(c(Q502895),P7,Q10720375)
action count
action filter_type
action find_reverse
entity Q10720375
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q10720375']
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:P7 resource:Q10720375 . ?e rdf:type ontology:Q502895 }
Li Jing
action count
action filter_type
action find_reverse
entity Li Jing
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Li Jing']
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:brother resource:Li_Jing . ?e rdf:type ontology:common_name }
[]
common name
SYSTEM
53
Q10721682 Q10721270 Q10721451 Q10721658 Q10719214 Q10720976 Q10720319 Q10720135 Q9749 Q10721781 Q10721018 Q10721612 Q10720927 Q10721415 Q10721233 Q10719244 Q10719284 Q11089714 Q10721332 Q10721489 Q10720777 Q10720865 Q10720020 Q10721746 Q10719322 Q10721552 Q706559 Q10719917 Q10720201 Q10721717 Q10720822 Q6539240 Q10719506 Q10719962 Q10721193 Q10720896 Q10721580 Q10719457 Q10719817 Q10720736 Q10720703 Q5972977 Q10720076 Q10719402 Q10721371 Q10337309 Q10566854 Q6538710 Q10720656 Q10721083 Q10721524 Q10721148 Q10719160
(c(Q502895),P7,Q10720375)
action count
action filter_type
action find_reverse
entity Q10720375
relation P7
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q10720375']
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:P7 resource:Q10720375 . ?e rdf:type ontology:Q502895 }
Princess Shouguang Princess Xincheng Princess Song Princess Taihua Li Yao Princess Huaisi Li Xuan Li Gui Emperor Suzong of Tang Princess Shou'an Princess Jin Princess Wanchun Princess Shangxian Princess Yongning Princess Zhenyang Li Wan Li Ju Princess Pukang Princess Shouchun Princess Ningqin Princess Tangchang Princess Changshan Li Huang Princess Xinping Li Yi Princess Yichun Li Lin Li Qi Li Gong Princess Lecheng Princess Lingchang Li Ying Li Min Li Huan Princess Wei Princess Wan'an Princess Guangning Li Jiao Li Bin Princess Xiaochang Princess Changfen Li Mao Li Ci Li Sui Princess Changle Li Zhen Princess Gaoyang Li Cong Princess Yongmu Princess Xinchang Princess Xianyi Princess Linjin Li Tan
53
action count
action filter_type
action find_reverse
entity Li Jing
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Li Jing']
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:brother resource:Li_Jing . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q849017
P7
Q502895
USER
And how about Stefan Branković?
(c(Q502895),P7,Q849017)
action count
action filter_type
action find_reverse
entity Q849017
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q849017']
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:P7 resource:Q849017 . ?u rdf:type ontology:Q502895 }
Stefan Branković
action count
action filter_type
action find_reverse
entity Stefan Branković
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Stefan Branković']
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:brother resource:Stefan_Branković . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q222373 Q452777 Q1259857 Q2745464
(c(Q502895),P7,Q849017)
action count
action filter_type
action find_reverse
entity Q849017
relation P7
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q849017']
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:P7 resource:Q849017 . ?u rdf:type ontology:Q502895 }
Lazar Branković Mara Branković Katarina Branković Grgur Branković
4
action count
action filter_type
action find_reverse
entity Stefan Branković
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Stefan Branković']
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:brother resource:Stefan_Branković . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q5398426
USER
Which television series had approximately 22 people as the dubbing artist ?
(c(Q5398426),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 22
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?g ) WHERE { ?j property:P725 ?z . ?j rdf:type ontology:Q5398426 . ?z rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?g = 22 ) }
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
value 22
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?g ) WHERE { ?j property:voice_actor ?z . ?j rdf:type ontology:television_series . ?z rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?g = 22 ) }
[]
common name television series
Q662 Q881797 Q483535
SYSTEM
Neon Genesis Evangelion, YuruYuri, Ore no Imōto ga Konna ni Kawaii Wake ga Nai
Q662 Q881797 Q483535
(c(Q5398426),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 22
[ANSWERS] had approximately 22 people as the dubbing artist
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?g ) WHERE { ?j property:P725 ?z . ?j rdf:type ontology:Q5398426 . ?z rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?g = 22 ) }
Neon Genesis Evangelion YuruYuri Ore no Imōto ga Konna ni Kawaii Wake ga Nai
Neon Genesis Evangelion, YuruYuri and Ore no Imōto ga Konna ni Kawaii Wake ga Nai had approximately 22 people as the dubbing artist
Neon Genesis Evangelion YuruYuri Ore no Imōto ga Konna ni Kawaii Wake ga Nai
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
value 22
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?g ) WHERE { ?j property:voice_actor ?z . ?j rdf:type ontology:television_series . ?z rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?g = 22 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P144
Q26971562 Q21191019
USER
How many comic formats or Japanese TV series are derived from that television series ?
(c(Q26971562),P144,Q881797) (c(Q21191019),P144,Q881797) (c(Q26971562),P144,Q662) (c(Q21191019),P144,Q662) (c(Q26971562),P144,Q881797) (c(Q21191019),P144,Q881797) (c(Q26971562),P144,Q483535) (c(Q21191019),P144,Q483535)
[{'concept': 'Q26971562'}, 'P144', 'Q881797'] [{'concept': 'Q21191019'}, 'P144', 'Q881797'] [{'concept': 'Q26971562'}, 'P144', 'Q662'] [{'concept': 'Q21191019'}, 'P144', 'Q662'] [{'concept': 'Q26971562'}, 'P144', 'Q881797'] [{'concept': 'Q21191019'}, 'P144', 'Q881797'] [{'concept': 'Q26971562'}, 'P144', 'Q483535'] [{'concept': 'Q21191019'}, 'P144', 'Q483535']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P144 resource:Q881797 } UNION { ?y property:P144 resource:Q881797 } UNION { ?z property:P144 resource:Q662 } UNION { ?y property:P144 resource:Q662 } UNION { ?z property:P144 resource:Q881797 } UNION { ?y property:P144 resource:Q881797 } UNION { ?z property:P144 resource:Q483535 } UNION { ?y property:P144 resource:Q483535 } } . ?z rdf:type ontology:Q26971562 . ?y rdf:type ontology:Q21191019 }
[{'concept': 'comic format'}, 'based on', 'YuruYuri'] [{'concept': 'Japanese TV series'}, 'based on', 'YuruYuri'] [{'concept': 'comic format'}, 'based on', 'Neon Genesis Evangelion'] [{'concept': 'Japanese TV series'}, 'based on', 'Neon Genesis Evangelion'] [{'concept': 'comic format'}, 'based on', 'YuruYuri'] [{'concept': 'Japanese TV series'}, 'based on', 'YuruYuri'] [{'concept': 'comic format'}, 'based on', 'Ore no Imōto ga Konna ni Kawaii Wake ga Nai'] [{'concept': 'Japanese TV series'}, 'based on', 'Ore no Imōto ga Konna ni Kawaii Wake ga Nai']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:based_on resource:YuruYuri } UNION { ?y property:based_on resource:YuruYuri } UNION { ?z property:based_on resource:Neon_Genesis_Evangelion } UNION { ?y property:based_on resource:Neon_Genesis_Evangelion } UNION { ?z property:based_on resource:YuruYuri } UNION { ?y property:based_on resource:YuruYuri } UNION { ?z property:based_on resource:Ore_no_Imōto_ga_Konna_ni_Kawaii_Wake_ga_Nai } UNION { ?y property:based_on resource:Ore_no_Imōto_ga_Konna_ni_Kawaii_Wake_ga_Nai } } . ?z rdf:type ontology:comic_format . ?y rdf:type ontology:Japanese_TV_series }
[]
comic format Japanese TV series
Quantitative|Count|Mult. entity type|Clarification
Q483535
SYSTEM
Did you mean Ore no Imōto ga Konna ni Kawaii Wake ga Nai ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P144 resource:Q881797 } UNION { ?y property:P144 resource:Q881797 } UNION { ?z property:P144 resource:Q662 } UNION { ?y property:P144 resource:Q662 } UNION { ?z property:P144 resource:Q881797 } UNION { ?y property:P144 resource:Q881797 } UNION { ?z property:P144 resource:Q483535 } UNION { ?y property:P144 resource:Q483535 } } . ?z rdf:type ontology:Q26971562 . ?y rdf:type ontology:Q21191019 }
Did you mean Ore no Imōto ga Konna ni Kawaii Wake ga Nai ?
Ore no Imōto ga Konna ni Kawaii Wake ga Nai
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:based_on resource:YuruYuri } UNION { ?y property:based_on resource:YuruYuri } UNION { ?z property:based_on resource:Neon_Genesis_Evangelion } UNION { ?y property:based_on resource:Neon_Genesis_Evangelion } UNION { ?z property:based_on resource:YuruYuri } UNION { ?y property:based_on resource:YuruYuri } UNION { ?z property:based_on resource:Ore_no_Imōto_ga_Konna_ni_Kawaii_Wake_ga_Nai } UNION { ?y property:based_on resource:Ore_no_Imōto_ga_Konna_ni_Kawaii_Wake_ga_Nai } } . ?z rdf:type ontology:comic_format . ?y rdf:type ontology:Japanese_TV_series }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant YuruYuri. Could you tell me the answer for that?
(c(Q26971562),P144,Q881797) (c(Q21191019),P144,Q881797) (c(Q26971562),P144,Q662) (c(Q21191019),P144,Q662) (c(Q26971562),P144,Q881797) (c(Q21191019),P144,Q881797) (c(Q26971562),P144,Q483535) (c(Q21191019),P144,Q483535)
Q881797
[{'concept': 'Q26971562'}, 'P144', 'Q881797'] [{'concept': 'Q21191019'}, 'P144', 'Q881797'] [{'concept': 'Q26971562'}, 'P144', 'Q662'] [{'concept': 'Q21191019'}, 'P144', 'Q662'] [{'concept': 'Q26971562'}, 'P144', 'Q881797'] [{'concept': 'Q21191019'}, 'P144', 'Q881797'] [{'concept': 'Q26971562'}, 'P144', 'Q483535'] [{'concept': 'Q21191019'}, 'P144', 'Q483535']
[{'concept': 'comic format'}, 'based on', 'YuruYuri'] [{'concept': 'Japanese TV series'}, 'based on', 'YuruYuri'] [{'concept': 'comic format'}, 'based on', 'Neon Genesis Evangelion'] [{'concept': 'Japanese TV series'}, 'based on', 'Neon Genesis Evangelion'] [{'concept': 'comic format'}, 'based on', 'YuruYuri'] [{'concept': 'Japanese TV series'}, 'based on', 'YuruYuri'] [{'concept': 'comic format'}, 'based on', 'Ore no Imōto ga Konna ni Kawaii Wake ga Nai'] [{'concept': 'Japanese TV series'}, 'based on', 'Ore no Imōto ga Konna ni Kawaii Wake ga Nai']
[]
SYSTEM
3
Q15945046 Q16830198 Q16830190
(c(Q26971562),P144,Q881797) (c(Q21191019),P144,Q881797) (c(Q26971562),P144,Q662) (c(Q21191019),P144,Q662) (c(Q26971562),P144,Q881797) (c(Q21191019),P144,Q881797) (c(Q26971562),P144,Q483535) (c(Q21191019),P144,Q483535)
[ANSWER]
[{'concept': 'Q26971562'}, 'P144', 'Q881797'] [{'concept': 'Q21191019'}, 'P144', 'Q881797'] [{'concept': 'Q26971562'}, 'P144', 'Q662'] [{'concept': 'Q21191019'}, 'P144', 'Q662'] [{'concept': 'Q26971562'}, 'P144', 'Q881797'] [{'concept': 'Q21191019'}, 'P144', 'Q881797'] [{'concept': 'Q26971562'}, 'P144', 'Q483535'] [{'concept': 'Q21191019'}, 'P144', 'Q483535']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P144 resource:Q881797 } UNION { ?y property:P144 resource:Q881797 } UNION { ?z property:P144 resource:Q662 } UNION { ?y property:P144 resource:Q662 } UNION { ?z property:P144 resource:Q881797 } UNION { ?y property:P144 resource:Q881797 } UNION { ?z property:P144 resource:Q483535 } UNION { ?y property:P144 resource:Q483535 } } . ?z rdf:type ontology:Q26971562 . ?y rdf:type ontology:Q21191019 }
Ōmuro-ke YuruYuri♪♪ Reset!
3
[{'concept': 'comic format'}, 'based on', 'YuruYuri'] [{'concept': 'Japanese TV series'}, 'based on', 'YuruYuri'] [{'concept': 'comic format'}, 'based on', 'Neon Genesis Evangelion'] [{'concept': 'Japanese TV series'}, 'based on', 'Neon Genesis Evangelion'] [{'concept': 'comic format'}, 'based on', 'YuruYuri'] [{'concept': 'Japanese TV series'}, 'based on', 'YuruYuri'] [{'concept': 'comic format'}, 'based on', 'Ore no Imōto ga Konna ni Kawaii Wake ga Nai'] [{'concept': 'Japanese TV series'}, 'based on', 'Ore no Imōto ga Konna ni Kawaii Wake ga Nai']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:based_on resource:YuruYuri } UNION { ?y property:based_on resource:YuruYuri } UNION { ?z property:based_on resource:Neon_Genesis_Evangelion } UNION { ?y property:based_on resource:Neon_Genesis_Evangelion } UNION { ?z property:based_on resource:YuruYuri } UNION { ?y property:based_on resource:YuruYuri } UNION { ?z property:based_on resource:Ore_no_Imōto_ga_Konna_ni_Kawaii_Wake_ga_Nai } UNION { ?y property:based_on resource:Ore_no_Imōto_ga_Konna_ni_Kawaii_Wake_ga_Nai } } . ?z rdf:type ontology:comic_format . ?y rdf:type ontology:Japanese_TV_series }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q6619679 Q15619164 Q5398426
USER
How many television series are exactly 2 fictional humanoids and abstract beings a character of ?
(c(Q5398426),P674,c(Q6619679)|c(Q15619164))
action count
action equal
action union
action find_tuple_counts
relation P674
type Q5398426
type Q6619679
action find_tuple_counts
relation P674
type Q5398426
type Q15619164
value 2
[{'concept': 'Q5398426'}, 'P674', [{'concept': 'Q6619679'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { FILTER ( ?x = 2 ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?k WHERE { { ?k property:P674 ?o . ?o rdf:type ontology:Q6619679 . ?k rdf:type ontology:Q5398426 } UNION { ?k property:P674 ?o . ?o rdf:type ontology:Q15619164 . ?k rdf:type ontology:Q5398426 } } GROUP BY ?k } }
action count
action equal
action union
action find_tuple_counts
relation characters
type television series
type fictional humanoid
action find_tuple_counts
relation characters
type television series
type abstract being
value 2
[{'concept': 'television series'}, 'characters', [{'concept': 'fictional humanoid'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { FILTER ( ?x = 2 ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?k WHERE { { ?k property:characters ?o . ?o rdf:type ontology:fictional_humanoid . ?k rdf:type ontology:television_series } UNION { ?k property:characters ?o . ?o rdf:type ontology:abstract_being . ?k rdf:type ontology:television_series } } GROUP BY ?k } }
[]
fictional humanoid abstract being television series
SYSTEM
6
Q2989881 Q477916 Q1768718 Q2989836 Q906811 Q1768716
(c(Q5398426),P674,c(Q6619679)|c(Q15619164))
action count
action equal
action union
action find_tuple_counts
relation P674
type Q5398426
type Q6619679
action find_tuple_counts
relation P674
type Q5398426
type Q15619164
value 2
[ANSWER]
[{'concept': 'Q5398426'}, 'P674', [{'concept': 'Q6619679'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { FILTER ( ?x = 2 ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?k WHERE { { ?k property:P674 ?o . ?o rdf:type ontology:Q6619679 . ?k rdf:type ontology:Q5398426 } UNION { ?k property:P674 ?o . ?o rdf:type ontology:Q15619164 . ?k rdf:type ontology:Q5398426 } } GROUP BY ?k } }
Marco Polo Dragon Ball Z An Unearthly Child The Edge of Destruction Gankutsuou: The Count of Monte Cristo The Daleks
6
action count
action equal
action union
action find_tuple_counts
relation characters
type television series
type fictional humanoid
action find_tuple_counts
relation characters
type television series
type abstract being
value 2
[{'concept': 'television series'}, 'characters', [{'concept': 'fictional humanoid'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { FILTER ( ?x = 2 ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?k WHERE { { ?k property:characters ?o . ?o rdf:type ontology:fictional_humanoid . ?k rdf:type ontology:television_series } UNION { ?k property:characters ?o . ?o rdf:type ontology:abstract_being . ?k rdf:type ontology:television_series } } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a portion of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?y WHERE { resource:Q1860 property:P361 ?y . ?y rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?y WHERE { resource:English property:part_of ?y . ?y rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
Are [ANSWERS] are English a portion of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?y WHERE { resource:Q1860 property:P361 ?y . ?y rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Are Anglic languages and Anglo-Frisian languages are English a portion of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?y WHERE { resource:English property:part_of ?y . ?y rdf:type ontology:classification_scheme }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1860
P361
Q34770
USER
Are English a component of those classification schemes ?
(Q1860,P361,Q1346342) (Q1860,P361,Q5329170)
action is_in
entity prev_answer
action find
entity Q1860
relation P361
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q5329170']
ASK WHERE { resource:Q1860 property:P361 ?d . VALUES ( ?d ) { ( resource:Q1346342 ) ( resource:Q5329170 ) } }
English
action is_in
entity prev_answer
action find
entity English
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'Anglo-Frisian languages']
ASK WHERE { resource:English property:part_of ?d . VALUES ( ?d ) { ( resource:Anglic_languages ) ( resource:Anglo-Frisian_languages ) } }
[]
language
SYSTEM
YES
(Q1860,P361,Q1346342) (Q1860,P361,Q5329170)
action is_in
entity prev_answer
action find
entity Q1860
relation P361
[ANSWER]
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q5329170']
ASK WHERE { resource:Q1860 property:P361 ?d . VALUES ( ?d ) { ( resource:Q1346342 ) ( resource:Q5329170 ) } }
Yes
action is_in
entity prev_answer
action find
entity English
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'Anglo-Frisian languages']
ASK WHERE { resource:English property:part_of ?d . VALUES ( ?d ) { ( resource:Anglic_languages ) ( resource:Anglo-Frisian_languages ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22686
P127
Q1076486
USER
Which sports venues are owned by Donald Trump ?
(c(Q1076486),P127,Q22686)
action filter_type
action find_reverse
entity Q22686
relation P127
type Q1076486
[{'concept': 'Q1076486'}, 'P127', 'Q22686']
SELECT DISTINCT ?k WHERE { ?k property:P127 resource:Q22686 . ?k rdf:type ontology:Q1076486 }
Donald Trump
action filter_type
action find_reverse
entity Donald Trump
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Donald Trump']
SELECT DISTINCT ?k WHERE { ?k property:owned_by resource:Donald_Trump . ?k rdf:type ontology:sports_venue }
[]
sports venue
Q20714076 Q7847774
SYSTEM
Trump National Golf Club, Trump National Golf Club
Q20714076 Q7847774
(c(Q1076486),P127,Q22686)
action filter_type
action find_reverse
entity Q22686
relation P127
type Q1076486
[ANSWERS] are owned by Donald Trump
[{'concept': 'Q1076486'}, 'P127', 'Q22686']
SELECT DISTINCT ?k WHERE { ?k property:P127 resource:Q22686 . ?k rdf:type ontology:Q1076486 }
Trump National Golf Club Trump National Golf Club
Trump National Golf Club and Trump National Golf Club are owned by Donald Trump
Trump National Golf Club Trump National Golf Club
action filter_type
action find_reverse
entity Donald Trump
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Donald Trump']
SELECT DISTINCT ?k WHERE { ?k property:owned_by resource:Donald_Trump . ?k rdf:type ontology:sports_venue }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7847774
P287
Q502895
USER
Which people are the designers of that sports venue ?
(Q7847774,P287,c(Q502895))
action filter_type
action find
entity Q7847774
relation P287
type Q502895
['Q7847774', 'P287', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q7847774 property:P287 ?r . ?r rdf:type ontology:Q502895 }
Trump National Golf Club
action filter_type
action find
entity Trump National Golf Club
relation designer
type common name
['Trump National Golf Club', 'designer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Trump_National_Golf_Club property:designer ?r . ?r rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q20714076
SYSTEM
Did you mean Trump National Golf Club ?
Q20714076 Q7847774
(Q20714076,P287,c(Q502895)) (Q7847774,P287,c(Q502895))
[ANSWER]
['Q20714076', 'P287', {'concept': 'Q502895'}] ['Q7847774', 'P287', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q7847774 property:P287 ?r . ?r rdf:type ontology:Q502895 }
Trump National Golf Club Trump National Golf Club
Did you mean Trump National Golf Club ?
Trump National Golf Club
['Trump National Golf Club', 'designer', {'concept': 'common name'}] ['Trump National Golf Club', 'designer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Trump_National_Golf_Club property:designer ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Trump National Golf Club. Could you tell me the answer for that?
(Q7847774,P287,c(Q502895))
Q7847774
['Q7847774', 'P287', {'concept': 'Q502895'}]
['Trump National Golf Club', 'designer', {'concept': 'common name'}]
[]
Q1944936 Q22686
SYSTEM
Pete Dye, Donald Trump
Q1944936 Q22686
(Q7847774,P287,c(Q502895))
action filter_type
action find
entity Q7847774
relation P287
type Q502895
[ANSWERS] are the designers of that sports venue
['Q7847774', 'P287', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q7847774 property:P287 ?r . ?r rdf:type ontology:Q502895 }
Pete Dye Donald Trump
Pete Dye and Donald Trump are the designers of that sports venue
Pete Dye Donald Trump
action filter_type
action find
entity Trump National Golf Club
relation designer
type common name
['Trump National Golf Club', 'designer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Trump_National_Golf_Club property:designer ?r . ?r rdf:type ontology:common_name }
[]