Simple Question (Direct)
Simple Question
Q6169287
P21
Q290
USER
Which sex does Jean-François Simard belong to ?
(Q6169287,P21,c(Q290))
action filter_type
action find
entity Q6169287
relation P21
type Q290
['Q6169287', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q6169287 property:P21 ?b }
Jean-François Simard
action filter_type
action find
entity Jean-François Simard
relation gender
type sex
['Jean-François Simard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Jean-François_Simard property:gender ?b }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6169287,P21,c(Q290))
action filter_type
action find
entity Q6169287
relation P21
type Q290
Jean-François Simard belongs to [ANSWER]
['Q6169287', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q6169287 property:P21 ?b }
male
Jean-François Simard belongs to male
male
action filter_type
action find
entity Jean-François Simard
relation gender
type sex
['Jean-François Simard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Jean-François_Simard property:gender ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6169287
P27
Q1048835
USER
Which political territory is Jean-François Simard a civilian of ?
(Q6169287,P27,c(Q1048835))
action filter_type
action find
entity Q6169287
relation P27
type Q1048835
['Q6169287', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q6169287 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Jean-François Simard
action filter_type
action find
entity Jean-François Simard
relation country of citizenship
type political territorial entity
['Jean-François Simard', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Jean-François_Simard property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q6169287,P27,c(Q1048835))
action filter_type
action find
entity Q6169287
relation P27
type Q1048835
[ANSWER] is Jean-François Simard a civilian of
['Q6169287', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q6169287 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Canada
Canada is Jean-François Simard a civilian of
Canada
action filter_type
action find
entity Jean-François Simard
relation country of citizenship
type political territorial entity
['Jean-François Simard', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Jean-François_Simard property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that political territory ?
(Q16,P1313,c(Q12737077))
action filter_type
action find
entity Q16
relation P1313
type Q12737077
['Q16', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q16 property:P1313 ?i . ?i rdf:type ontology:Q12737077 }
Canada
action filter_type
action find
entity Canada
relation office held by head of government
type occupation
['Canada', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Canada property:office_held_by_head_of_government ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q839078
SYSTEM
Prime Minister of Canada
Q839078
(Q16,P1313,c(Q12737077))
action filter_type
action find
entity Q16
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that political territory
['Q16', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q16 property:P1313 ?i . ?i rdf:type ontology:Q12737077 }
Prime Minister of Canada
The Prime Minister of Canada serves as the political office that is fulfilled by the head of the government of that political territory
Prime Minister of Canada
action filter_type
action find
entity Canada
relation office held by head of government
type occupation
['Canada', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Canada property:office_held_by_head_of_government ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P36
Q56061
USER
What is the capital of Canada ?
(Q16,P36,c(Q56061))
action filter_type
action find
entity Q16
relation P36
type Q56061
['Q16', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q16 property:P36 ?l }
Canada
action filter_type
action find
entity Canada
relation capital
type administrative territorial entity
['Canada', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Canada property:capital ?l }
[]
administrative territorial entity
Q1930
SYSTEM
Ottawa
Q1930
(Q16,P36,c(Q56061))
action filter_type
action find
entity Q16
relation P36
type Q56061
The capital of Canada is [ANSWER]
['Q16', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q16 property:P36 ?l }
Ottawa
The capital of Canada is Ottawa
Ottawa
action filter_type
action find
entity Canada
relation capital
type administrative territorial entity
['Canada', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Canada property:capital ?l }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1009883
Q56061
USER
And how about Gârleni?
(Q1009883,P36,c(Q56061))
action filter_type
action find
entity Q1009883
relation P36
type Q56061
['Q1009883', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1009883 property:P36 ?y . ?y rdf:type ontology:Q56061 }
Gârleni
action filter_type
action find
entity Gârleni
relation capital
type administrative territorial entity
['Gârleni', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Gârleni property:capital ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12095976
SYSTEM
Gârlenii de Sus
Q12095976
(Q1009883,P36,c(Q56061))
action filter_type
action find
entity Q1009883
relation P36
type Q56061
[ANSWER]
['Q1009883', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1009883 property:P36 ?y . ?y rdf:type ontology:Q56061 }
Gârlenii de Sus
Gârlenii de Sus
action filter_type
action find
entity Gârleni
relation capital
type administrative territorial entity
['Gârleni', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Gârleni property:capital ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12095976 Q641840
P17
Q15617994
USER
Does Gârlenii de Sus belong to Offstein ?
(Q12095976,P17,Q641840)
action is_in
entity Q641840
action find
entity Q12095976
relation P17
['Q12095976', 'P17', 'Q641840']
ASK WHERE { resource:Q12095976 property:P17 resource:Q641840 }
Gârlenii de Sus Offstein
action is_in
entity Offstein
action find
entity Gârlenii de Sus
relation country
['Gârlenii de Sus', 'country', 'Offstein']
ASK WHERE { resource:Gârlenii_de_Sus property:country resource:Offstein }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q12095976,P17,Q641840)
action is_in
entity Q641840
action find
entity Q12095976
relation P17
[ANSWER]
['Q12095976', 'P17', 'Q641840']
ASK WHERE { resource:Q12095976 property:P17 resource:Q641840 }
No
action is_in
entity Offstein
action find
entity Gârlenii de Sus
relation country
['Gârlenii de Sus', 'country', 'Offstein']
ASK WHERE { resource:Gârlenii_de_Sus property:country resource:Offstein }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q814356
P921
Q12737077 Q191067 Q732577
USER
Which occupations were the main subjects of greater number of articles and publications 's work than call girl ?
(c(Q191067)|c(Q732577),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q814356
relation P921
type Q191067
type Q732577
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?j ) WHERE { { ?r property:P921 ?h . ?r rdf:type ontology:Q191067 . ?h rdf:type ontology:Q12737077 } UNION { ?r property:P921 ?h . ?h rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q732577 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { { ?w rdf:type ontology:Q191067 } UNION { ?w rdf:type ontology:Q732577 } } . ?w property:P921 resource:Q814356 } } . FILTER ( ?j > ?a ) }
call girl
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity call girl
relation main subject
type article
type publication
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?j ) WHERE { { ?r property:main_subject ?h . ?r rdf:type ontology:article . ?h rdf:type ontology:occupation } UNION { ?r property:main_subject ?h . ?h rdf:type ontology:occupation . ?r rdf:type ontology:publication } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { { ?w rdf:type ontology:article } UNION { ?w rdf:type ontology:publication } } . ?w property:main_subject resource:call_girl } } . FILTER ( ?j > ?a ) }
[]
occupation article publication
Q316070 Q182436 Q3809586
SYSTEM
Fletcher Christian, librarian, Wikipedian in Residence
Q172907 Q3809586 Q2094335 Q316070 Q510373 Q152002 Q15320003 Q732358 Q182436
(c(Q191067)|c(Q732577),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q814356
relation P921
type Q191067
type Q732577
[ANSWERS] were the main subjects of greater number of articles and publications 's work than call girl
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?j ) WHERE { { ?r property:P921 ?h . ?r rdf:type ontology:Q191067 . ?h rdf:type ontology:Q12737077 } UNION { ?r property:P921 ?h . ?h rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q732577 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { { ?w rdf:type ontology:Q191067 } UNION { ?w rdf:type ontology:Q732577 } } . ?w property:P921 resource:Q814356 } } . FILTER ( ?j > ?a ) }
praetor Wikipedian in Residence United States Attorney Fletcher Christian Lord High Steward pastor migrant worker Nomarch librarian
Fletcher Christian, librarian and Wikipedian in Residence were the main subjects of greater number of articles and publications 's work than call girl
Fletcher Christian librarian Wikipedian in Residence
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity call girl
relation main subject
type article
type publication
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?j ) WHERE { { ?r property:main_subject ?h . ?r rdf:type ontology:article . ?h rdf:type ontology:occupation } UNION { ?r property:main_subject ?h . ?h rdf:type ontology:occupation . ?r rdf:type ontology:publication } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { { ?w rdf:type ontology:article } UNION { ?w rdf:type ontology:publication } } . ?w property:main_subject resource:call_girl } } . FILTER ( ?j > ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q18145518
P921
Q12737077 Q191067 Q732577
USER
And also tell me about Member of the New Zealand House of Representatives?
(c(Q191067)|c(Q732577),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q18145518
relation P921
type Q191067
type Q732577
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?g WHERE { { ?v property:P921 ?g . ?v rdf:type ontology:Q732577 . ?g rdf:type ontology:Q12737077 } UNION { ?g rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q191067 . ?v property:P921 ?g } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:P921 resource:Q18145518 . { { ?c rdf:type ontology:Q191067 } UNION { ?c rdf:type ontology:Q732577 } } } } . FILTER ( ?s > ?j ) }
Member of the New Zealand House of Representatives
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity Member of the New Zealand House of Representatives
relation main subject
type article
type publication
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?g WHERE { { ?v property:main_subject ?g . ?v rdf:type ontology:publication . ?g rdf:type ontology:occupation } UNION { ?g rdf:type ontology:occupation . ?v rdf:type ontology:article . ?v property:main_subject ?g } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:main_subject resource:Member_of_the_New_Zealand_House_of_Representatives . { { ?c rdf:type ontology:article } UNION { ?c rdf:type ontology:publication } } } } . FILTER ( ?s > ?j ) }
[]
occupation article publication
Q316070 Q182436 Q3809586
SYSTEM
Fletcher Christian, librarian, Wikipedian in Residence
Q172907 Q3809586 Q2094335 Q316070 Q510373 Q152002 Q15320003 Q732358 Q182436
(c(Q191067)|c(Q732577),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q18145518
relation P921
type Q191067
type Q732577
[ANSWERS]
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?g WHERE { { ?v property:P921 ?g . ?v rdf:type ontology:Q732577 . ?g rdf:type ontology:Q12737077 } UNION { ?g rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q191067 . ?v property:P921 ?g } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:P921 resource:Q18145518 . { { ?c rdf:type ontology:Q191067 } UNION { ?c rdf:type ontology:Q732577 } } } } . FILTER ( ?s > ?j ) }
praetor Wikipedian in Residence United States Attorney Fletcher Christian Lord High Steward pastor migrant worker Nomarch librarian
Fletcher Christian librarian Wikipedian in Residence
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity Member of the New Zealand House of Representatives
relation main subject
type article
type publication
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?g WHERE { { ?v property:main_subject ?g . ?v rdf:type ontology:publication . ?g rdf:type ontology:occupation } UNION { ?g rdf:type ontology:occupation . ?v rdf:type ontology:article . ?v property:main_subject ?g } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:main_subject resource:Member_of_the_New_Zealand_House_of_Representatives . { { ?c rdf:type ontology:article } UNION { ?c rdf:type ontology:publication } } } } . FILTER ( ?s > ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q361297 Q316070
P22
Q502895
USER
Which people have Fletcher Christian or Joe Jackson as father ?
OR((c(Q502895),P22,Q316070), (c(Q502895),P22,Q361297))
action filter_type
action union
action find_reverse
entity Q316070
relation P22
action find_reverse
entity Q361297
relation P22
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P22', 'Q316070'], [{'concept': 'Q502895'}, 'P22', 'Q361297']]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?e ) { ( resource:Q316070 ) ( resource:Q361297 ) } . ?j property:P22 ?e } . ?j rdf:type ontology:Q502895 }
Joe Jackson Fletcher Christian
action filter_type
action union
action find_reverse
entity Fletcher Christian
relation father
action find_reverse
entity Joe Jackson
relation father
type common name
{'OR': [[{'concept': 'common name'}, 'father', 'Fletcher Christian'], [{'concept': 'common name'}, 'father', 'Joe Jackson']]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?e ) { ( resource:Fletcher_Christian ) ( resource:Joe_Jackson ) } . ?j property:father ?e } . ?j rdf:type ontology:common_name }
[]
common name
Q349461 Q317784 Q2336911 Q319392 Q234388 Q336222 Q2831 Q217427 Q131324 Q44855
SYSTEM
Randy Jackson, Jermaine Jackson, Thursday October Christian I, Marlon Jackson, Rebbie Jackson, Tito Jackson, Michael Jackson, La Toya Jackson, Janet Jackson, Jackie Jackson
Q349461 Q317784 Q2336911 Q319392 Q234388 Q336222 Q2831 Q217427 Q131324 Q44855
OR((c(Q502895),P22,Q316070), (c(Q502895),P22,Q361297))
action filter_type
action union
action find_reverse
entity Q316070
relation P22
action find_reverse
entity Q361297
relation P22
type Q502895
[ANSWERS] have Fletcher Christian or Joe Jackson as father
{'OR': [[{'concept': 'Q502895'}, 'P22', 'Q316070'], [{'concept': 'Q502895'}, 'P22', 'Q361297']]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?e ) { ( resource:Q316070 ) ( resource:Q361297 ) } . ?j property:P22 ?e } . ?j rdf:type ontology:Q502895 }
Randy Jackson Jermaine Jackson Thursday October Christian I Marlon Jackson Rebbie Jackson Tito Jackson Michael Jackson La Toya Jackson Janet Jackson Jackie Jackson
Randy Jackson, Jermaine Jackson, Thursday October Christian I, Marlon Jackson, Rebbie Jackson, Tito Jackson, Michael Jackson, La Toya Jackson, Janet Jackson and Jackie Jackson have Fletcher Christian or Joe Jackson as father
Randy Jackson Jermaine Jackson Thursday October Christian I Marlon Jackson Rebbie Jackson Tito Jackson Michael Jackson La Toya Jackson Janet Jackson Jackie Jackson
action filter_type
action union
action find_reverse
entity Fletcher Christian
relation father
action find_reverse
entity Joe Jackson
relation father
type common name
{'OR': [[{'concept': 'common name'}, 'father', 'Fletcher Christian'], [{'concept': 'common name'}, 'father', 'Joe Jackson']]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?e ) { ( resource:Fletcher_Christian ) ( resource:Joe_Jackson ) } . ?j property:father ?e } . ?j rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q18577675
P725
Q502895 Q15416
USER
How many television programs had greater number of people as the dubbing artist than Darker than Black ?
(c(Q15416),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q18577675
relation P725
type Q15416
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q18577675 property:P725 ?w . ?w rdf:type ontology:Q15416 } } . FILTER ( ?r > ?l ) . { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?r ) WHERE { ?z property:P725 ?f . ?z rdf:type ontology:Q15416 . ?f rdf:type ontology:Q502895 } GROUP BY ?z } }
Darker than Black
action count
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Darker than Black
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Darker_than_Black property:voice_actor ?w . ?w rdf:type ontology:television_program } } . FILTER ( ?r > ?l ) . { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?r ) WHERE { ?z property:voice_actor ?f . ?z rdf:type ontology:television_program . ?f rdf:type ontology:common_name } GROUP BY ?z } }
[]
common name television program
SYSTEM
7
Q23558 Q18571935 Q165515 Q10358973 Q25000347 Q18553975 Q17183708
(c(Q15416),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q18577675
relation P725
type Q15416
[ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q18577675 property:P725 ?w . ?w rdf:type ontology:Q15416 } } . FILTER ( ?r > ?l ) . { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?r ) WHERE { ?z property:P725 ?f . ?z rdf:type ontology:Q15416 . ?f rdf:type ontology:Q502895 } GROUP BY ?z } }
House The Big O 101 Dalmatians: The Series Reynard the Fox Pirate Express Soul Eater The 7D
7
action count
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Darker than Black
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Darker_than_Black property:voice_actor ?w . ?w rdf:type ontology:television_program } } . FILTER ( ?r > ?l ) . { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?r ) WHERE { ?z property:voice_actor ?f . ?z rdf:type ontology:television_program . ?f rdf:type ontology:common_name } GROUP BY ?z } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q3106852
P725
Q502895 Q15416
USER
And also tell me about Todd McFarlane's Spawn?
(c(Q15416),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q3106852
relation P725
type Q15416
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?s ) WHERE { ?e property:P725 ?x . ?e rdf:type ontology:Q15416 . ?x rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?s > ?j ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Q3106852 property:P725 ?a . ?a rdf:type ontology:Q15416 } } }
Todd McFarlane's Spawn
action count
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Todd McFarlane's Spawn
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?s ) WHERE { ?e property:voice_actor ?x . ?e rdf:type ontology:television_program . ?x rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?s > ?j ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Todd_McFarlane's_Spawn property:voice_actor ?a . ?a rdf:type ontology:television_program } } }
[]
common name television program
SYSTEM
40
Q689114 Q467722 Q2042834 Q239937 Q23558 Q15863567 Q1857269 Q951078 Q15176855 Q18571935 Q165515 Q10358973 Q3596105 Q757148 Q543203 Q2275664 Q962132 Q18579178 Q20669175 Q25000347 Q1050091 Q18553975 Q18577675 Q1002254 Q550555 Q20899576 Q483106 Q633432 Q12019559 Q18558839 Q428130 Q5139461 Q18559016 Q17183708 Q18575654 Q15039539 Q3492143 Q1143800 Q15863577 Q331031
(c(Q15416),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q3106852
relation P725
type Q15416
[ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?s ) WHERE { ?e property:P725 ?x . ?e rdf:type ontology:Q15416 . ?x rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?s > ?j ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Q3106852 property:P725 ?a . ?a rdf:type ontology:Q15416 } } }
Digimon Adventure The Puppy's Further Adventures The Proud Family Movie Pokémon House K-On! Rio: Rainbow Gate! Hellsing Wizard Barristers: Benmashi Cecil The Big O 101 Dalmatians: The Series Reynard the Fox Popeye the Sailor Rocko's Modern Life Chip 'n Dale Rescue Rangers Kim Possible: A Sitch in Time Pink Panther and Pals Kabaneri of the Iron Fortress Hana Yori Dango Pirate Express Dastardly and Muttley in Their Flying Machines Soul Eater Darker than Black Wacky Races Gravity Falls Shimmer and Shine Freezing The Emperor's New School Free! Soul Eater Not! Sonic X Engage Planet Kiss Dum Berserk The 7D Trigun The Steamboat Adventures of Riverboat Bill Puss in Boots: The Three Diablos Postman Pat K-On!! Dora the Explorer
40
action count
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Todd McFarlane's Spawn
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?s ) WHERE { ?e property:voice_actor ?x . ?e rdf:type ontology:television_program . ?x rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?s > ?j ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Todd_McFarlane's_Spawn property:voice_actor ?a . ?a rdf:type ontology:television_program } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2831
P264
Q334453
USER
Which division is the record label of Michael Jackson ?
(Q2831,P264,c(Q334453))
action filter_type
action find
entity Q2831
relation P264
type Q334453
['Q2831', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { resource:Q2831 property:P264 ?v . ?v rdf:type ontology:Q334453 }
Michael Jackson
action filter_type
action find
entity Michael Jackson
relation record label
type division
['Michael Jackson', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { resource:Michael_Jackson property:record_label ?v . ?v rdf:type ontology:division }
[]
division
Q216364
SYSTEM
Epic Records
Q216364
(Q2831,P264,c(Q334453))
action filter_type
action find
entity Q2831
relation P264
type Q334453
Records [ANSWER] is the record label of Michael Jackson
['Q2831', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { resource:Q2831 property:P264 ?v . ?v rdf:type ontology:Q334453 }
Epic Records
Records Epic Records is the record label of Michael Jackson
Epic Records
action filter_type
action find
entity Michael Jackson
relation record label
type division
['Michael Jackson', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { resource:Michael_Jackson property:record_label ?v . ?v rdf:type ontology:division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3990924
Q334453
USER
And also tell me about Thug Lovin'?
(Q3990924,P264,c(Q334453))
action filter_type
action find
entity Q3990924
relation P264
type Q334453
['Q3990924', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { resource:Q3990924 property:P264 ?v . ?v rdf:type ontology:Q334453 }
Thug Lovin'
action filter_type
action find
entity Thug Lovin'
relation record label
type division
["Thug Lovin'", 'record label', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { resource:Thug_Lovin' property:record_label ?v . ?v rdf:type ontology:division }
[]
division
Q654283 Q700359 Q1337601
SYSTEM
Def Jam Recordings, PolyGram, The Inc. Records
Q654283 Q700359 Q1337601
(Q3990924,P264,c(Q334453))
action filter_type
action find
entity Q3990924
relation P264
type Q334453
[ANSWERS]
['Q3990924', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { resource:Q3990924 property:P264 ?v . ?v rdf:type ontology:Q334453 }
Def Jam Recordings PolyGram The Inc. Records
Def Jam Recordings PolyGram The Inc. Records
action filter_type
action find
entity Thug Lovin'
relation record label
type division
["Thug Lovin'", 'record label', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { resource:Thug_Lovin' property:record_label ?v . ?v rdf:type ontology:division }
[]