Simple Question (Direct)
Simple Question
Q133556
P26
Q502895
USER
Which person is the spouse of Ashley Cole ?
(Q133556,P26,c(Q502895))
action filter_type
action find
entity Q133556
relation P26
type Q502895
['Q133556', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q133556 property:P26 ?b . ?b rdf:type ontology:Q502895 }
Ashley Cole
action filter_type
action find
entity Ashley Cole
relation spouse
type common name
['Ashley Cole', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Ashley_Cole property:spouse ?b . ?b rdf:type ontology:common_name }
[]
common name
Q212772
SYSTEM
Cheryl Fernandez-Versini
Q212772
(Q133556,P26,c(Q502895))
action filter_type
action find
entity Q133556
relation P26
type Q502895
[ANSWER] is the spouse of Ashley Cole
['Q133556', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q133556 property:P26 ?b . ?b rdf:type ontology:Q502895 }
Cheryl Fernandez-Versini
Cheryl Fernandez-Versini is the spouse of Ashley Cole
Cheryl Fernandez-Versini
action filter_type
action find
entity Ashley Cole
relation spouse
type common name
['Ashley Cole', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Ashley_Cole property:spouse ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q133556
P1344
Q1375427
USER
What European Championships did Ashley Cole participate in ?
(Q133556,P1344,c(Q1375427))
action filter_type
action find
entity Q133556
relation P1344
type Q1375427
['Q133556', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?y WHERE { resource:Q133556 property:P1344 ?y . ?y rdf:type ontology:Q1375427 }
Ashley Cole
action filter_type
action find
entity Ashley Cole
relation participant of
type European Championship
['Ashley Cole', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?y WHERE { resource:Ashley_Cole property:participant_of ?y . ?y rdf:type ontology:European_Championship }
[]
European Championship
Q22669 Q102920
SYSTEM
UEFA Euro 2012, UEFA Euro 2004
Q22669 Q102920
(Q133556,P1344,c(Q1375427))
action filter_type
action find
entity Q133556
relation P1344
type Q1375427
Ashley Cole participated in [ANSWERS]
['Q133556', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?y WHERE { resource:Q133556 property:P1344 ?y . ?y rdf:type ontology:Q1375427 }
UEFA Euro 2012 UEFA Euro 2004
Ashley Cole participated in UEFA Euro 2012 and UEFA Euro 2004
UEFA Euro 2012 UEFA Euro 2004
action filter_type
action find
entity Ashley Cole
relation participant of
type European Championship
['Ashley Cole', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?y WHERE { resource:Ashley_Cole property:participant_of ?y . ?y rdf:type ontology:European_Championship }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q133556
P734
Q82799
USER
Who is associated with Ashley Cole ?
(Q133556,P734,c(Q82799))
action filter_type
action find
entity Q133556
relation P734
type Q82799
['Q133556', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q133556 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Ashley Cole
action filter_type
action find
entity Ashley Cole
relation family name
type name
['Ashley Cole', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Ashley_Cole property:family_name ?m . ?m rdf:type ontology:name }
[]
name
Q1128028
SYSTEM
Cole
Q1128028
(Q133556,P734,c(Q82799))
action filter_type
action find
entity Q133556
relation P734
type Q82799
[ANSWER] is associated with Ashley [ANSWER]
['Q133556', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q133556 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Cole
Cole is associated with Ashley Cole
Cole
action filter_type
action find
entity Ashley Cole
relation family name
type name
['Ashley Cole', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Ashley_Cole property:family_name ?m . ?m rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are around 53 names in ?
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 53
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:P407 ?s . ?s rdf:type ontology:Q34770 . ?h rdf:type ontology:Q82799 } GROUP BY ?s } . FILTER ( ?n = 53 ) }
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 53
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:language_of_work_or_name ?s . ?s rdf:type ontology:language . ?h rdf:type ontology:name } GROUP BY ?s } . FILTER ( ?n = 53 ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 53
[ANSWERS] are around 53 names in
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:P407 ?s . ?s rdf:type ontology:Q34770 . ?h rdf:type ontology:Q82799 } GROUP BY ?s } . FILTER ( ?n = 53 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are around 53 names in
Old Egyptian Old Church Slavonic Etruscan
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 53
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:language_of_work_or_name ?s . ?s rdf:type ontology:language . ?h rdf:type ontology:name } GROUP BY ?s } . FILTER ( ?n = 53 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1128028
P734 P21
Q502895
USER
Which people have Cole as their family name and are a male ?
AND((c(Q502895),P734,Q1128028), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1128028
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q1128028'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e property:P734 resource:Q1128028 . ?e property:P21 resource:Q6581097 . ?e rdf:type ontology:Q502895 }
male Cole
action filter_type
action intersection
action find_reverse
entity Cole
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Cole'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e property:family_name resource:Cole . ?e property:gender resource:male . ?e rdf:type ontology:common_name }
[]
common name
Q1363803 Q184946 Q334001 Q8006973 Q18085759 Q216928 Q18531124 Q1997627 Q8006976 Q434897
SYSTEM
Some of them are Juan Cole, Joe Cole, Thomas Cole, William Cole, John Cole, Andrew Cole, William Cole, Duncan Cole, William Cole, Shannon Cole
Q674513 Q204018 Q6226609 Q6226608 Q24037036 Q3809158 Q14950899 Q537906 Q704570 Q2401060 Q3561158 Q184946 Q18531128 Q3814580 Q18531126 Q3666655 Q3044933 Q18531123 Q1507136 Q1927177 Q18531124 Q15994369 Q434897 Q6226615 Q7614575 Q3968219 Q6772647 Q137042 Q3814457 Q16728135 Q18085759 Q1997627 Q6226606 Q133556 Q2471551 Q1370493 Q8006973 Q8006972 Q8006975 Q8006974 Q1082122 Q1639645 Q639311 Q216928 Q8006977 Q19839030 Q303553 Q1363803 Q173839 Q365726 Q1316007 Q315864 Q6226610 Q635864 Q3608041 Q7838376 Q23780935 Q6226617 Q3180025 Q16204894 Q6226613 Q1562857 Q334001 Q18922396 Q1464625 Q969944 Q8006976 Q180408
AND((c(Q502895),P734,Q1128028), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1128028
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Cole as their family name and are a male
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q1128028'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e property:P734 resource:Q1128028 . ?e property:P21 resource:Q6581097 . ?e rdf:type ontology:Q502895 }
Larnell Cole J. Cole John Cole John Cole John Brantley Cole John Cole Justin Cole Henry Cole Chris Cole Teju Cole Gary Cole Joe Cole William Cole Kenneth Cole William Cole Charlie Cole G. D. H. Cole William Cole George Cole Michael Cole William Cole John Cole Shannon Cole John Cole Steven Cole Stanley Cole Marquice Cole Nat King Cole Ken Cole David N. Cole John Cole Duncan Cole John Cole Ashley Cole Adrian Cole Lloyd Cole William Cole William Cole William Cole William Cole Richard Cole B. J. Cole Audie Cole Andrew Cole William Cole Ed Cole Alphaeus Philemon Cole Juan Cole Tom Cole Nigel Cole Theodore Cole Gary Cole John Cole Dan Cole Albert Cole Trent Cole Joe Robert Cole John Cole Joe Cole William Cole John Cole Michael Cole Thomas Cole John Cole Bradley Cole Robert G. Cole William Cole Freddy Cole
Juan Cole, Joe Cole, Thomas Cole, William Cole, John Cole, Andrew Cole, William Cole, Duncan Cole, William Cole and Shannon Cole have Cole as their family name and are a male
Juan Cole Joe Cole Thomas Cole William Cole John Cole Andrew Cole William Cole Duncan Cole William Cole Shannon Cole
action filter_type
action intersection
action find_reverse
entity Cole
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Cole'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e property:family_name resource:Cole . ?e property:gender resource:male . ?e rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1280574
P725
Q502895 Q15416
USER
Which television programs have been dubbed by around the same number of people as The Adventures of Tweeny Witches ?
(c(Q15416),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q1280574
relation P725
type Q15416
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?y = ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Q1280574 property:P725 ?o . ?o rdf:type ontology:Q15416 } } . { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?y ) WHERE { ?w property:P725 ?j . ?w rdf:type ontology:Q15416 . ?j rdf:type ontology:Q502895 } GROUP BY ?w } }
The Adventures of Tweeny Witches
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity The Adventures of Tweeny Witches
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?y = ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:The_Adventures_of_Tweeny_Witches property:voice_actor ?o . ?o rdf:type ontology:television_program } } . { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?y ) WHERE { ?w property:voice_actor ?j . ?w rdf:type ontology:television_program . ?j rdf:type ontology:common_name } GROUP BY ?w } }
[]
common name television program
Q472309 Q1617715 Q2275664
SYSTEM
Princess of Thieves, The Wonderful Galaxy of Oz, Kim Possible: A Sitch in Time
Q1280574 Q4049303 Q715723 Q1135343 Q613823 Q467722 Q239937 Q1857269 Q1195326 Q5227700 Q4773554 Q4120156 Q962161 Q1617715 Q696310 Q15176855 Q472309 Q2573191 Q2581704 Q917980 Q3547706 Q845452 Q307507 Q483943 Q3596105 Q757148 Q3106852 Q25059 Q1284240 Q14493917 Q749629 Q10913555 Q1315951 Q1361413 Q543203 Q128969 Q2455207 Q2452999 Q2275664 Q702039 Q7496805 Q962132 Q20669175 Q1050091 Q699760 Q1146803 Q2140751 Q4033639 Q550555 Q1640364 Q483106 Q3098248 Q633432 Q12019559 Q18558839 Q1072208 Q304290 Q1215573 Q2619211 Q1140254 Q1317932 Q5139461 Q18559016 Q430369 Q1494222 Q452374 Q2339582 Q15039539 Q3492143 Q5976198 Q1353486 Q45035
(c(Q15416),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q1280574
relation P725
type Q15416
[ANSWERS] have been dubbed by around the same number of people as The Adventures of Tweeny Witches
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?y = ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Q1280574 property:P725 ?o . ?o rdf:type ontology:Q15416 } } . { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?y ) WHERE { ?w property:P725 ?j . ?w rdf:type ontology:Q15416 . ?j rdf:type ontology:Q502895 } GROUP BY ?w } }
The Adventures of Tweeny Witches Seraphim Call Urusei Yatsura Wish Upon the Pleiades Ghost Hound The Puppy's Further Adventures Pokémon Rio: Rainbow Gate! LOG HORIZON Tenchi in Tokyo Mi cola D.I.C.E. Eureka Seven The Wonderful Galaxy of Oz Hamtaro Wizard Barristers: Benmashi Cecil Princess of Thieves Onegai My Melody Willo the Wisp Witch Hunter Robin Uchūsen Sagittarius Project Blue Earth SOS H2O: Footprints in the Sand Anohana: The Flower We Saw That Day Popeye the Sailor Rocko's Modern Life Todd McFarlane's Spawn Penguin Drum Burst Angel Galileo Donna Kid vs. Kat The Melancholy of Haruhi Suzumiya Psycho-Pass Night Raid 1931 Chip 'n Dale Rescue Rangers Calimero Mnemosyne Remi, Nobody's Girl Kim Possible: A Sitch in Time The Story of Pollyanna, Girl of Love Shima Shima Tora no Shimajirō Pink Panther and Pals Hana Yori Dango Dastardly and Muttley in Their Flying Machines Saiyuki Cuéntame cómo pasó Boogiepop Phantom Akahori Gedou Hour Rabuge Gravity Falls Wild Arms: Twilight Venom Freezing Stratos 4 The Emperor's New School Free! Soul Eater Not! The Wonderful Adventures of Nils Rugrats The Proud Family Tsuritama Transformers: Animated Negima!? Engage Planet Kiss Dum Berserk The Critic Garfield in the Rough Ah My Buddha Trapp Family Story The Steamboat Adventures of Riverboat Bill Puss in Boots: The Three Diablos I Am the Greatest: The Adventures of Muhammad Ali Marumo no Okite Renkin 3-kyū Magical? Pokān
Princess of Thieves, The Wonderful Galaxy of Oz and Kim Possible: A Sitch in Time have been dubbed by around the same number of people as The Adventures of Tweeny Witches
Princess of Thieves The Wonderful Galaxy of Oz Kim Possible: A Sitch in Time
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity The Adventures of Tweeny Witches
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?y = ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:The_Adventures_of_Tweeny_Witches property:voice_actor ?o . ?o rdf:type ontology:television_program } } . { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?y ) WHERE { ?w property:voice_actor ?j . ?w rdf:type ontology:television_program . ?j rdf:type ontology:common_name } GROUP BY ?w } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q12019559
P725
Q502895 Q15416
USER
And also tell me about Free!?
(c(Q15416),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q12019559
relation P725
type Q15416
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?n ) WHERE { ?d rdf:type ontology:Q15416 . ?h rdf:type ontology:Q502895 . ?d property:P725 ?h } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Q12019559 property:P725 ?e . ?e rdf:type ontology:Q15416 } } . FILTER ( ?n = ?o ) }
Free!
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Free!
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?n ) WHERE { ?d rdf:type ontology:television_program . ?h rdf:type ontology:common_name . ?d property:voice_actor ?h } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Free! property:voice_actor ?e . ?e rdf:type ontology:television_program } } . FILTER ( ?n = ?o ) }
[]
common name television program
Q472309 Q1617715 Q2275664
SYSTEM
Princess of Thieves, The Wonderful Galaxy of Oz, Kim Possible: A Sitch in Time
Q1280574 Q4049303 Q715723 Q1135343 Q613823 Q689114 Q467722 Q239937 Q1857269 Q1195326 Q5227700 Q4773554 Q4120156 Q962161 Q1617715 Q696310 Q15176855 Q472309 Q2573191 Q2581704 Q917980 Q3547706 Q845452 Q307507 Q483943 Q3596105 Q757148 Q3106852 Q25059 Q1284240 Q14493917 Q749629 Q10913555 Q1315951 Q1361413 Q543203 Q128969 Q2455207 Q2452999 Q2275664 Q702039 Q7496805 Q962132 Q18579178 Q20669175 Q1050091 Q699760 Q1146803 Q2140751 Q4033639 Q550555 Q20899576 Q1640364 Q483106 Q3098248 Q633432 Q12019559 Q18558839 Q1072208 Q304290 Q1215573 Q2619211 Q1140254 Q1317932 Q5139461 Q18559016 Q430369 Q1494222 Q452374 Q2339582 Q15039539 Q3492143 Q5976198 Q1353486 Q1143800 Q331031 Q45035
(c(Q15416),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q12019559
relation P725
type Q15416
[ANSWERS]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?n ) WHERE { ?d rdf:type ontology:Q15416 . ?h rdf:type ontology:Q502895 . ?d property:P725 ?h } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Q12019559 property:P725 ?e . ?e rdf:type ontology:Q15416 } } . FILTER ( ?n = ?o ) }
The Adventures of Tweeny Witches Seraphim Call Urusei Yatsura Wish Upon the Pleiades Ghost Hound Digimon Adventure The Puppy's Further Adventures Pokémon Rio: Rainbow Gate! LOG HORIZON Tenchi in Tokyo Mi cola D.I.C.E. Eureka Seven The Wonderful Galaxy of Oz Hamtaro Wizard Barristers: Benmashi Cecil Princess of Thieves Onegai My Melody Willo the Wisp Witch Hunter Robin Uchūsen Sagittarius Project Blue Earth SOS H2O: Footprints in the Sand Anohana: The Flower We Saw That Day Popeye the Sailor Rocko's Modern Life Todd McFarlane's Spawn Penguin Drum Burst Angel Galileo Donna Kid vs. Kat The Melancholy of Haruhi Suzumiya Psycho-Pass Night Raid 1931 Chip 'n Dale Rescue Rangers Calimero Mnemosyne Remi, Nobody's Girl Kim Possible: A Sitch in Time The Story of Pollyanna, Girl of Love Shima Shima Tora no Shimajirō Pink Panther and Pals Kabaneri of the Iron Fortress Hana Yori Dango Dastardly and Muttley in Their Flying Machines Saiyuki Cuéntame cómo pasó Boogiepop Phantom Akahori Gedou Hour Rabuge Gravity Falls Shimmer and Shine Wild Arms: Twilight Venom Freezing Stratos 4 The Emperor's New School Free! Soul Eater Not! The Wonderful Adventures of Nils Rugrats The Proud Family Tsuritama Transformers: Animated Negima!? Engage Planet Kiss Dum Berserk The Critic Garfield in the Rough Ah My Buddha Trapp Family Story The Steamboat Adventures of Riverboat Bill Puss in Boots: The Three Diablos I Am the Greatest: The Adventures of Muhammad Ali Marumo no Okite Postman Pat Dora the Explorer Renkin 3-kyū Magical? Pokān
Princess of Thieves The Wonderful Galaxy of Oz Kim Possible: A Sitch in Time
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Free!
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?n ) WHERE { ?d rdf:type ontology:television_program . ?h rdf:type ontology:common_name . ?d property:voice_actor ?h } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Free! property:voice_actor ?e . ?e rdf:type ontology:television_program } } . FILTER ( ?n = ?o ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2470594 Q334001
P941 P737
Q2198855
USER
Which cultural movements have Thomas Cole as source of inspiration or were AKhRR an influence for ?
OR((c(Q2198855),P941,Q334001), (c(Q2198855),P737,Q2470594))
action filter_type
action union
action find_reverse
entity Q334001
relation P941
action find_reverse
entity Q2470594
relation P737
type Q2198855
{'OR': [[{'concept': 'Q2198855'}, 'P941', 'Q334001'], [{'concept': 'Q2198855'}, 'P737', 'Q2470594']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2198855 . { { ?j property:P941 resource:Q334001 } UNION { ?j property:P737 resource:Q2470594 } } }
AKhRR Thomas Cole
action filter_type
action union
action find_reverse
entity Thomas Cole
relation inspired by
action find_reverse
entity AKhRR
relation influenced by
type cultural movement
{'OR': [[{'concept': 'cultural movement'}, 'inspired by', 'Thomas Cole'], [{'concept': 'cultural movement'}, 'influenced by', 'AKhRR']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:cultural_movement . { { ?j property:inspired_by resource:Thomas_Cole } UNION { ?j property:influenced_by resource:AKhRR } } }
[]
cultural movement
Q180902 Q943853
SYSTEM
socialist realism, Hudson River School
Q180902 Q943853
OR((c(Q2198855),P941,Q334001), (c(Q2198855),P737,Q2470594))
action filter_type
action union
action find_reverse
entity Q334001
relation P941
action find_reverse
entity Q2470594
relation P737
type Q2198855
[ANSWERS] have Thomas Cole as source of inspiration or were AKhRR an influence for
{'OR': [[{'concept': 'Q2198855'}, 'P941', 'Q334001'], [{'concept': 'Q2198855'}, 'P737', 'Q2470594']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2198855 . { { ?j property:P941 resource:Q334001 } UNION { ?j property:P737 resource:Q2470594 } } }
socialist realism Hudson River School
Socialist realism and Hudson River School have Thomas Cole as source of inspiration or were AKhRR an influence for
socialist realism Hudson River School
action filter_type
action union
action find_reverse
entity Thomas Cole
relation inspired by
action find_reverse
entity AKhRR
relation influenced by
type cultural movement
{'OR': [[{'concept': 'cultural movement'}, 'inspired by', 'Thomas Cole'], [{'concept': 'cultural movement'}, 'influenced by', 'AKhRR']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:cultural_movement . { { ?j property:inspired_by resource:Thomas_Cole } UNION { ?j property:influenced_by resource:AKhRR } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4384100 Q1280574
P495
Q15617994
USER
Which administrative territories are the origins of The Adventures of Tweeny Witches or Lahpet ?
OR((Q1280574,P495,c(Q15617994)), (Q4384100,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1280574
relation P495
action find
entity Q4384100
relation P495
type Q15617994
{'OR': [['Q1280574', 'P495', {'concept': 'Q15617994'}], ['Q4384100', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . { ?a property:P495 ?x . VALUES ( ?a ) { ( resource:Q4384100 ) ( resource:Q1280574 ) } } }
Lahpet The Adventures of Tweeny Witches
action filter_type
action union
action find
entity The Adventures of Tweeny Witches
relation country of origin
action find
entity Lahpet
relation country of origin
type designation for an administrative territorial entity
{'OR': [['The Adventures of Tweeny Witches', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Lahpet', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?a property:country_of_origin ?x . VALUES ( ?a ) { ( resource:Lahpet ) ( resource:The_Adventures_of_Tweeny_Witches ) } } }
[]
designation for an administrative territorial entity
Q17 Q836
SYSTEM
Japan, Myanmar
Q17 Q836
OR((Q1280574,P495,c(Q15617994)), (Q4384100,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1280574
relation P495
action find
entity Q4384100
relation P495
type Q15617994
[ANSWERS] are the origins of The Adventures of Tweeny Witches or Lahpet
{'OR': [['Q1280574', 'P495', {'concept': 'Q15617994'}], ['Q4384100', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . { ?a property:P495 ?x . VALUES ( ?a ) { ( resource:Q4384100 ) ( resource:Q1280574 ) } } }
Japan Myanmar
Japan and Myanmar are the origins of The Adventures of Tweeny Witches or Lahpet
Japan Myanmar
action filter_type
action union
action find
entity The Adventures of Tweeny Witches
relation country of origin
action find
entity Lahpet
relation country of origin
type designation for an administrative territorial entity
{'OR': [['The Adventures of Tweeny Witches', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Lahpet', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?a property:country_of_origin ?x . VALUES ( ?a ) { ( resource:Lahpet ) ( resource:The_Adventures_of_Tweeny_Witches ) } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q15617994
USER
How many administrative territories share the border with that administrative territory ?
(Q836,P47,c(Q15617994))
['Q836', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q836 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
['Myanmar', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Myanmar property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q17
SYSTEM
Did you mean Japan ?
(Q17,P47,c(Q15617994)) (Q836,P47,c(Q15617994))
[ANSWER]
['Q17', 'P47', {'concept': 'Q15617994'}] ['Q836', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q836 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Japan ?
Japan
['Japan', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Myanmar', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Myanmar property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Myanmar. Could you tell me the answer for that?
(Q836,P47,c(Q15617994))
Q836
['Q836', 'P47', {'concept': 'Q15617994'}]
['Myanmar', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
5
Q869 Q148 Q902 Q819 Q668
(Q836,P47,c(Q15617994))
[ANSWER]
['Q836', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q836 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
Thailand People's Republic of China Bangladesh Laos India
5
['Myanmar', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Myanmar property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q93634 Q1363803
P50
Q2342494
USER
Which collectables are Juan Cole or Michael D. C. Drout an author of ?
OR((c(Q2342494),P50,Q1363803), (c(Q2342494),P50,Q93634))
action filter_type
action union
action find_reverse
entity Q1363803
relation P50
action find_reverse
entity Q93634
relation P50
type Q2342494
{'OR': [[{'concept': 'Q2342494'}, 'P50', 'Q1363803'], [{'concept': 'Q2342494'}, 'P50', 'Q93634']]}
SELECT DISTINCT ?k WHERE { { ?k property:P50 ?l . VALUES ( ?l ) { ( resource:Q1363803 ) ( resource:Q93634 ) } } . ?k rdf:type ontology:Q2342494 }
Michael D. C. Drout Juan Cole
action filter_type
action union
action find_reverse
entity Juan Cole
relation author
action find_reverse
entity Michael D. C. Drout
relation author
type collectable
{'OR': [[{'concept': 'collectable'}, 'author', 'Juan Cole'], [{'concept': 'collectable'}, 'author', 'Michael D. C. Drout']]}
SELECT DISTINCT ?k WHERE { { ?k property:author ?l . VALUES ( ?l ) { ( resource:Juan_Cole ) ( resource:Michael_D._C._Drout ) } } . ?k rdf:type ontology:collectable }
[]
collectable
Q82951 Q330242 Q5377425
SYSTEM
J. R. R. Tolkien Encyclopedia, Beowulf and the Critics, Engaging the Muslim World
Q82951 Q330242 Q5377425
OR((c(Q2342494),P50,Q1363803), (c(Q2342494),P50,Q93634))
action filter_type
action union
action find_reverse
entity Q1363803
relation P50
action find_reverse
entity Q93634
relation P50
type Q2342494
[ANSWERS]
{'OR': [[{'concept': 'Q2342494'}, 'P50', 'Q1363803'], [{'concept': 'Q2342494'}, 'P50', 'Q93634']]}
SELECT DISTINCT ?k WHERE { { ?k property:P50 ?l . VALUES ( ?l ) { ( resource:Q1363803 ) ( resource:Q93634 ) } } . ?k rdf:type ontology:Q2342494 }
J. R. R. Tolkien Encyclopedia Beowulf and the Critics Engaging the Muslim World
J. R. Tolkien Encyclopedia, Beowulf and the Critics and engaging the Muslim World are Juan Cole or Michael D. C. Drout an author of
J. R. R. Tolkien Encyclopedia Beowulf and the Critics Engaging the Muslim World
action filter_type
action union
action find_reverse
entity Juan Cole
relation author
action find_reverse
entity Michael D. C. Drout
relation author
type collectable
{'OR': [[{'concept': 'collectable'}, 'author', 'Juan Cole'], [{'concept': 'collectable'}, 'author', 'Michael D. C. Drout']]}
SELECT DISTINCT ?k WHERE { { ?k property:author ?l . VALUES ( ?l ) { ( resource:Juan_Cole ) ( resource:Michael_D._C._Drout ) } } . ?k rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q82951 Q330242 Q5377425
P50
Q502895
USER
Who authored J. R. R. Tolkien Encyclopedia, Beowulf and the Critics and Engaging the Muslim World ?
(Q82951,P50,c(Q502895)) (Q330242,P50,c(Q502895)) (Q5377425,P50,c(Q502895))
action union
action filter_type
action find
entity Q82951
relation P50
type Q502895
action filter_type
action find
entity Q330242
relation P50
type Q502895
action filter_type
action find
entity Q5377425
relation P50
type Q502895
['Q82951', 'P50', {'concept': 'Q502895'}] ['Q330242', 'P50', {'concept': 'Q502895'}] ['Q5377425', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?a property:P50 ?p . VALUES ( ?a ) { ( resource:Q82951 ) ( resource:Q330242 ) } }
J. R. R. Tolkien Encyclopedia Beowulf and the Critics Engaging the Muslim World
action union
action filter_type
action find
entity J. R. R. Tolkien Encyclopedia
relation author
type common name
action filter_type
action find
entity Beowulf and the Critics
relation author
type common name
action filter_type
action find
entity Engaging the Muslim World
relation author
type common name
['J. R. R. Tolkien Encyclopedia', 'author', {'concept': 'common name'}] ['Beowulf and the Critics', 'author', {'concept': 'common name'}] ['Engaging the Muslim World', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?a property:author ?p . VALUES ( ?a ) { ( resource:J._R._R._Tolkien_Encyclopedia ) ( resource:Beowulf_and_the_Critics ) } }
[]
common name
Q892 Q1363803 Q93634
SYSTEM
J. R. R. Tolkien, Juan Cole, Michael D. C. Drout
Q93634 Q93634 Q892 Q1363803
(Q82951,P50,c(Q502895)) (Q330242,P50,c(Q502895)) (Q5377425,P50,c(Q502895))
action union
action filter_type
action find
entity Q82951
relation P50
type Q502895
action filter_type
action find
entity Q330242
relation P50
type Q502895
action filter_type
action find
entity Q5377425
relation P50
type Q502895
[ANSWERS]
['Q82951', 'P50', {'concept': 'Q502895'}] ['Q330242', 'P50', {'concept': 'Q502895'}] ['Q5377425', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?a property:P50 ?p . VALUES ( ?a ) { ( resource:Q82951 ) ( resource:Q330242 ) } }
Michael D. C. Drout Michael D. C. Drout J. R. R. Tolkien Juan Cole
J. Tolkien, Juan Cole and Michael D. C. Drout authored J. R. R. Tolkien Encyclopedia, Beowulf and the Critics and engaging the Muslim World
J. R. R. Tolkien Juan Cole Michael D. C. Drout
action union
action filter_type
action find
entity J. R. R. Tolkien Encyclopedia
relation author
type common name
action filter_type
action find
entity Beowulf and the Critics
relation author
type common name
action filter_type
action find
entity Engaging the Muslim World
relation author
type common name
['J. R. R. Tolkien Encyclopedia', 'author', {'concept': 'common name'}] ['Beowulf and the Critics', 'author', {'concept': 'common name'}] ['Engaging the Muslim World', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?a property:author ?p . VALUES ( ?a ) { ( resource:J._R._R._Tolkien_Encyclopedia ) ( resource:Beowulf_and_the_Critics ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q892 Q1363803 Q93634
P1412
Q34770
USER
Which languages are spoken by those people ?
(Q892,P1412,c(Q34770)) (Q1363803,P1412,c(Q34770)) (Q93634,P1412,c(Q34770))
action filter_type
action find
entity prev_answer
relation P1412
type Q34770
['Q892', 'P1412', {'concept': 'Q34770'}] ['Q1363803', 'P1412', {'concept': 'Q34770'}] ['Q93634', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q34770 . ?i property:P1412 ?f . VALUES ( ?i ) { ( resource:Q93634 ) ( resource:Q93634 ) ( resource:Q892 ) } }
J. R. R. Tolkien Juan Cole Michael D. C. Drout
action filter_type
action find
entity prev_answer
relation languages spoken, written or signed
type language
['J. R. R. Tolkien', 'languages spoken, written or signed', {'concept': 'language'}] ['Juan Cole', 'languages spoken, written or signed', {'concept': 'language'}] ['Michael D. C. Drout', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:language . ?i property:languages_spoken,_written_or_signed ?f . VALUES ( ?i ) { ( resource:Michael_D._C._Drout ) ( resource:Michael_D._C._Drout ) ( resource:J._R._R._Tolkien ) } }
[]
language
Q1860 Q1860 Q1860
SYSTEM
English
Q1860 Q1860 Q1860
(Q892,P1412,c(Q34770)) (Q1363803,P1412,c(Q34770)) (Q93634,P1412,c(Q34770))
action filter_type
action find
entity prev_answer
relation P1412
type Q34770
Is [ANSWER], [ANSWER] and [ANSWER] are spoken by those people
['Q892', 'P1412', {'concept': 'Q34770'}] ['Q1363803', 'P1412', {'concept': 'Q34770'}] ['Q93634', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q34770 . ?i property:P1412 ?f . VALUES ( ?i ) { ( resource:Q93634 ) ( resource:Q93634 ) ( resource:Q892 ) } }
English English English
Is English, English and English are spoken by those people
English English English
action filter_type
action find
entity prev_answer
relation languages spoken, written or signed
type language
['J. R. R. Tolkien', 'languages spoken, written or signed', {'concept': 'language'}] ['Juan Cole', 'languages spoken, written or signed', {'concept': 'language'}] ['Michael D. C. Drout', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:language . ?i property:languages_spoken,_written_or_signed ?f . VALUES ( ?i ) { ( resource:Michael_D._C._Drout ) ( resource:Michael_D._C._Drout ) ( resource:J._R._R._Tolkien ) } }
[]