Simple Question (Direct)
Simple Question
Q318982
P26
Q502895
USER
Which person is the life partner of Grant Hackett ?
(Q318982,P26,c(Q502895))
action filter_type
action find
entity Q318982
relation P26
type Q502895
['Q318982', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q318982 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Grant Hackett
action filter_type
action find
entity Grant Hackett
relation spouse
type common name
['Grant Hackett', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Grant_Hackett property:spouse ?c . ?c rdf:type ontology:common_name }
[]
common name
Q5031676
SYSTEM
Candice Alley
Q5031676
(Q318982,P26,c(Q502895))
action filter_type
action find
entity Q318982
relation P26
type Q502895
[ANSWER] is the life partner of Grant Hackett
['Q318982', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q318982 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Candice Alley
Candice Alley is the life partner of Grant Hackett
Candice Alley
action filter_type
action find
entity Grant Hackett
relation spouse
type common name
['Grant Hackett', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Grant_Hackett property:spouse ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5031676
P106
Q12737077
USER
What is the job of that person ?
(Q5031676,P106,c(Q12737077))
action filter_type
action find
entity Q5031676
relation P106
type Q12737077
['Q5031676', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q5031676 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Candice Alley
action filter_type
action find
entity Candice Alley
relation occupation
type occupation
['Candice Alley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Candice_Alley property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q177220
SYSTEM
singer
Q177220
(Q5031676,P106,c(Q12737077))
action filter_type
action find
entity Q5031676
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q5031676', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q5031676 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
singer
The job of that person is a singer
singer
action filter_type
action find
entity Candice Alley
relation occupation
type occupation
['Candice Alley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Candice_Alley property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q18783400 Q15709879
USER
How many occupations are demonstrated in around 1 genres of sculpture and artwork series ?
(c(Q18783400)|c(Q15709879),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
value 1
[[{'concept': 'Q18783400'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) ?e WHERE { VALUES ( ?m ) { ( ontology:Q18783400 ) ( ontology:Q15709879 ) } . ?v rdf:type ?m } GROUP BY ?e } . FILTER ( ?b = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
value 1
[[{'concept': 'genre of sculpture'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) ?e WHERE { VALUES ( ?m ) { ( ontology:genre_of_sculpture ) ( ontology:artwork_series ) } . ?v rdf:type ?m } GROUP BY ?e } . FILTER ( ?b = 1 ) }
[]
occupation genre of sculpture artwork series
SYSTEM
6
Q131512 Q47064 Q805221 Q12059906 Q622630 Q39631
(c(Q18783400)|c(Q15709879),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
value 1
[ANSWER]
[[{'concept': 'Q18783400'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) ?e WHERE { VALUES ( ?m ) { ( ontology:Q18783400 ) ( ontology:Q15709879 ) } . ?v rdf:type ?m } GROUP BY ?e } . FILTER ( ?b = 1 ) }
farmer military personnel ballet dancer herder odalisque physician
6
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
value 1
[[{'concept': 'genre of sculpture'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) ?e WHERE { VALUES ( ?m ) { ( ontology:genre_of_sculpture ) ( ontology:artwork_series ) } . ?v rdf:type ?m } GROUP BY ?e } . FILTER ( ?b = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q12737077 Q191067 Q732577
USER
Which occupations were the main subjects of min number of articles and publications 's work ?
(c(Q191067)|c(Q732577),P921,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) ?r WHERE { { ?o property:P921 ?r . ?r rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q191067 } UNION { ?r rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q732577 . ?o property:P921 ?r } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?a WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:Q191067 ) ( ontology:Q732577 ) } } GROUP BY ?a } . FILTER ( ?p = ?m ) }
action argmin
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
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) ?r WHERE { { ?o property:main_subject ?r . ?r rdf:type ontology:occupation . ?o rdf:type ontology:article } UNION { ?r rdf:type ontology:occupation . ?o rdf:type ontology:publication . ?o property:main_subject ?r } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?a WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:article ) ( ontology:publication ) } } GROUP BY ?a } . FILTER ( ?p = ?m ) }
[]
occupation article publication
Q131512 Q42973 Q16707842
SYSTEM
farmer, architect, Member of Parliament in the United Kingdom
Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q33999 Q36180 Q774306 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q9402 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q14373094 Q483501 Q1114448 Q16533 Q18220900 Q936969 Q16746569 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q191067)|c(Q732577),P921,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
[ANSWERS] were the main subjects of min number of articles and publications 's work
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) ?r WHERE { { ?o property:P921 ?r . ?r rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q191067 } UNION { ?r rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q732577 . ?o property:P921 ?r } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?a WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:Q191067 ) ( ontology:Q732577 ) } } GROUP BY ?a } . FILTER ( ?p = ?m ) }
industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist actor writer surgeon Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate ninja taxi driver businessperson gridiron football player call girl flight attendant political commissar double agent member of the Lok Sabha soldier bishop member of parliament violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil rugby league player artist cartoonist judge Member of the South Australian House of Assembly nanny high school student caricaturist painter American football player legal profession composer rabbi völva conductor elementary school student comedian photographer peasant missionary United States federal judge musician poet medical examiner police officer aviator statesman political scientist cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Farmer, architect and Member of Parliament in the United Kingdom were the main subjects of min number of articles and publications 's work
farmer architect Member of Parliament in the United Kingdom
action argmin
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
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) ?r WHERE { { ?o property:main_subject ?r . ?r rdf:type ontology:occupation . ?o rdf:type ontology:article } UNION { ?r rdf:type ontology:occupation . ?o rdf:type ontology:publication . ?o property:main_subject ?r } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?a WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:article ) ( ontology:publication ) } } GROUP BY ?a } . FILTER ( ?p = ?m ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q340169 Q3305213
USER
How many occupations are depicted in approximately 4 medias and paintings ?
(c(Q340169)|c(Q3305213),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
value 4
[[{'concept': 'Q340169'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?r ) WHERE { VALUES ( ?i ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } . ?h rdf:type ?i } GROUP BY ?z } . FILTER ( ?r = 4 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
value 4
[[{'concept': 'media'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?r ) WHERE { VALUES ( ?i ) { ( ontology:media ) ( ontology:painting ) } . ?h rdf:type ?i } GROUP BY ?z } . FILTER ( ?r = 4 ) }
[]
occupation media painting
SYSTEM
2
Q733786 Q42603
(c(Q340169)|c(Q3305213),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
value 4
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?r ) WHERE { VALUES ( ?i ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } . ?h rdf:type ?i } GROUP BY ?z } . FILTER ( ?r = 4 ) }
monk priest
2
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
value 4
[[{'concept': 'media'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?r ) WHERE { VALUES ( ?i ) { ( ontology:media ) ( ontology:painting ) } . ?h rdf:type ?i } GROUP BY ?z } . FILTER ( ?r = 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1158446
P407
Q34770
USER
Which language is Smith composed in ?
(Q1158446,P407,c(Q34770))
action filter_type
action find
entity Q1158446
relation P407
type Q34770
['Q1158446', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q1158446 property:P407 ?p . ?p rdf:type ontology:Q34770 }
Smith
action filter_type
action find
entity Smith
relation language of work or name
type language
['Smith', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Smith property:language_of_work_or_name ?p . ?p rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1158446,P407,c(Q34770))
action filter_type
action find
entity Q1158446
relation P407
type Q34770
Smith is composed of [ANSWER]
['Q1158446', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q1158446 property:P407 ?p . ?p rdf:type ontology:Q34770 }
English
Smith is composed of English
English
action filter_type
action find
entity Smith
relation language of work or name
type language
['Smith', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Smith property:language_of_work_or_name ?p . ?p rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6842719
Q34770
USER
And also tell me about Midnight Man?
(Q6842719,P407,c(Q34770))
action filter_type
action find
entity Q6842719
relation P407
type Q34770
['Q6842719', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q34770 . resource:Q6842719 property:P407 ?g }
Midnight Man
action filter_type
action find
entity Midnight Man
relation language of work or name
type language
['Midnight Man', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:language . resource:Midnight_Man property:language_of_work_or_name ?g }
[]
language
Q1860
SYSTEM
English
Q1860
(Q6842719,P407,c(Q34770))
action filter_type
action find
entity Q6842719
relation P407
type Q34770
[ANSWER]
['Q6842719', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q34770 . resource:Q6842719 property:P407 ?g }
English
English
action filter_type
action find
entity Midnight Man
relation language of work or name
type language
['Midnight Man', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:language . resource:Midnight_Man property:language_of_work_or_name ?g }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P37
Q34770 Q7275
USER
Which states are known to have approximately 1 language as their official language ?
(c(Q7275),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q7275
type Q34770
value 1
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?x ) WHERE { ?b property:P37 ?p . ?p rdf:type ontology:Q34770 . ?b rdf:type ontology:Q7275 } GROUP BY ?b } . FILTER ( ?x = 1 ) }
action approx
action find_tuple_counts
relation official language
type state
type language
value 1
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?x ) WHERE { ?b property:official_language ?p . ?p rdf:type ontology:language . ?b rdf:type ontology:state } GROUP BY ?b } . FILTER ( ?x = 1 ) }
[]
language state
Q33946 Q26273 Q25279
SYSTEM
Czechoslovakia, Sint Maarten, Curaçao
Q105092 Q6083755 Q33946 Q1152445 Q1617495 Q185488 Q25279 Q1322229 Q953432 Q2353425 Q1709185 Q7251405 Q746443 Q1123960 Q1423680 Q1083009 Q26988 Q26273 Q551798 Q188586 Q204920 Q25227 Q744042
(c(Q7275),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q7275
type Q34770
value 1
[ANSWERS] are known to have approximately 1 language as their official language
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?x ) WHERE { ?b property:P37 ?p . ?p rdf:type ontology:Q34770 . ?b rdf:type ontology:Q7275 } GROUP BY ?b } . FILTER ( ?x = 1 ) }
Kingdom of Mercia Islands of Refreshment Czechoslovakia Aerican Empire Kingdom of Jaén Volga Bulgaria Curaçao Enlightenment in Spain Couto Misto Talossa Kingdom of Spain under Joseph Bonaparte Protectorate of Peru Golden Ambrosian Republic Conch Republic Gay and Lesbian Kingdom of the Coral Sea Islands Principality of Wy Cook Islands Sint Maarten Grand Duchy of Flandrensis Kingdom of Sicily Crown of Aragon Netherlands Antilles Grand Duchy of Avram
Czechoslovakia, Sint Maarten and Curaçao are known to have approximately 1 language as their official language
Czechoslovakia Sint Maarten Curaçao
action approx
action find_tuple_counts
relation official language
type state
type language
value 1
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?x ) WHERE { ?b property:official_language ?p . ?p rdf:type ontology:language . ?b rdf:type ontology:state } GROUP BY ?b } . FILTER ( ?x = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q14562680
P194
Q11204 Q7275
USER
How many legislatures govern more number of states than Regional Council of Apulia ?
(c(Q7275),P194,c(Q11204))
action count
action greater
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
action count
action filter_type
action find
entity Q14562680
relation P194
type Q11204
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:P194 ?o . ?o rdf:type ontology:Q11204 . ?f rdf:type ontology:Q7275 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:Q11204 . resource:Q14562680 property:P194 ?p } } . FILTER ( ?a > ?t ) }
Regional Council of Apulia
action count
action greater
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
action count
action filter_type
action find
entity Regional Council of Apulia
relation legislative body
type legislature
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:legislative_body ?o . ?o rdf:type ontology:legislature . ?f rdf:type ontology:state } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:legislature . resource:Regional_Council_of_Apulia property:legislative_body ?p } } . FILTER ( ?a > ?t ) }
[]
legislature state
SYSTEM
15
Q494162 Q6879217 Q980284 Q669970 Q1579497 Q3244416 Q388526 Q539149 Q3363019 Q2326816 Q700757 Q920222 Q876529 Q497578 Q3103766
(c(Q7275),P194,c(Q11204))
action count
action greater
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
action count
action filter_type
action find
entity Q14562680
relation P194
type Q11204
[ANSWER]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:P194 ?o . ?o rdf:type ontology:Q11204 . ?f rdf:type ontology:Q7275 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:Q11204 . resource:Q14562680 property:P194 ?p } } . FILTER ( ?a > ?t ) }
National Assembly Mississippi Legislature South Carolina General Assembly Imperial Diet Parliament of Montenegro East Bengal Legislative Assembly Estates of Sint Maarten Congress of Deputies Assembly of the Union Estates of Curaçao Diet of Hungary National Assembly Imperial Diet Witenagemot Georgia General Assembly
15
action count
action greater
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
action count
action filter_type
action find
entity Regional Council of Apulia
relation legislative body
type legislature
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:legislative_body ?o . ?o rdf:type ontology:legislature . ?f rdf:type ontology:state } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:legislature . resource:Regional_Council_of_Apulia property:legislative_body ?p } } . FILTER ( ?a > ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2518570
P194
Q11204 Q7275
USER
And also tell me about Regional Council of Rhône-Alpes?
(c(Q7275),P194,c(Q11204))
action count
action greater
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
action count
action filter_type
action find
entity Q2518570
relation P194
type Q11204
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Q2518570 property:P194 ?i . ?i rdf:type ontology:Q11204 } } . FILTER ( ?p > ?s ) . { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:P194 ?w . ?w rdf:type ontology:Q11204 . ?c rdf:type ontology:Q7275 } GROUP BY ?w } }
Regional Council of Rhône-Alpes
action count
action greater
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
action count
action filter_type
action find
entity Regional Council of Rhône-Alpes
relation legislative body
type legislature
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Regional_Council_of_Rhône-Alpes property:legislative_body ?i . ?i rdf:type ontology:legislature } } . FILTER ( ?p > ?s ) . { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:legislative_body ?w . ?w rdf:type ontology:legislature . ?c rdf:type ontology:state } GROUP BY ?w } }
[]
legislature state
SYSTEM
15
Q494162 Q6879217 Q980284 Q669970 Q1579497 Q3244416 Q388526 Q539149 Q3363019 Q2326816 Q700757 Q920222 Q876529 Q497578 Q3103766
(c(Q7275),P194,c(Q11204))
action count
action greater
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
action count
action filter_type
action find
entity Q2518570
relation P194
type Q11204
[ANSWER]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Q2518570 property:P194 ?i . ?i rdf:type ontology:Q11204 } } . FILTER ( ?p > ?s ) . { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:P194 ?w . ?w rdf:type ontology:Q11204 . ?c rdf:type ontology:Q7275 } GROUP BY ?w } }
National Assembly Mississippi Legislature South Carolina General Assembly Imperial Diet Parliament of Montenegro East Bengal Legislative Assembly Estates of Sint Maarten Congress of Deputies Assembly of the Union Estates of Curaçao Diet of Hungary National Assembly Imperial Diet Witenagemot Georgia General Assembly
15
action count
action greater
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
action count
action filter_type
action find
entity Regional Council of Rhône-Alpes
relation legislative body
type legislature
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Regional_Council_of_Rhône-Alpes property:legislative_body ?i . ?i rdf:type ontology:legislature } } . FILTER ( ?p > ?s ) . { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:legislative_body ?w . ?w rdf:type ontology:legislature . ?c rdf:type ontology:state } GROUP BY ?w } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84
P840
Q2342494
USER
Which collectables have their narrative set in London ?
(c(Q2342494),P840,Q84)
action filter_type
action find_reverse
entity Q84
relation P840
type Q2342494
[{'concept': 'Q2342494'}, 'P840', 'Q84']
SELECT DISTINCT ?g WHERE { ?g property:P840 resource:Q84 . ?g rdf:type ontology:Q2342494 }
London
action filter_type
action find_reverse
entity London
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'London']
SELECT DISTINCT ?g WHERE { ?g property:narrative_location resource:London . ?g rdf:type ontology:collectable }
[]
collectable
Q140527 Q41542 Q1219561
SYSTEM
The Three Musketeers, Dracula, Around the World in Eighty Days
Q4733389 Q19870861 Q5170080 Q7758153 Q6912579 Q6938902 Q6412478 Q17512899 Q19840217 Q7857583 Q18162235 Q2437572 Q4632083 Q19902616 Q308918 Q15052542 Q15052544 Q15052547 Q15052548 Q19573516 Q7720459 Q19873569 Q7733293 Q7142911 Q80771 Q4597073 Q2609365 Q4271834 Q1866618 Q894151 Q7748128 Q18205140 Q7728933 Q4659842 Q7715236 Q6498710 Q45192 Q466103 Q5158290 Q3235087 Q323146 Q5245384 Q7766153 Q18162049 Q4656085 Q4656082 Q7429901 Q208808 Q38190 Q7714299 Q6412050 Q7775982 Q7730012 Q17022627 Q7737761 Q3156703 Q4655878 Q5135271 Q7819143 Q21685892 Q17018027 Q7577006 Q7060158 Q7729904 Q3706022 Q7570517 Q5689602 Q7162382 Q7898114 Q7747934 Q4657628 Q2062047 Q12031711 Q3795866 Q864150 Q847642 Q7045063 Q7094198 Q6815201 Q7820247 Q6946122 Q1610831 Q7798044 Q12081234 Q905112 Q7720897 Q1307175 Q3821704 Q7200551 Q7726840 Q3794796 Q7733600 Q17062312 Q7323142 Q6938896 Q4003598 Q6675470 Q5469862 Q8051717 Q477831 Q7775036 Q7394793 Q7763420 Q1758655 Q7746015 Q7843184 Q7658550 Q6090994 Q6024737 Q5583302 Q7302516 Q7768180 Q217352 Q5451249 Q2648737 Q4926573 Q4160095 Q7757255 Q7045999 Q18162677 Q7156777 Q7719013 Q6917380 Q16992073 Q4656667 Q1195793 Q7740567 Q4659983 Q7783705 Q7760651 Q6762022 Q7230171 Q6651985 Q6029480 Q7748043 Q1214221 Q4655383 Q16993035 Q5401319 Q10483376 Q7334728 Q6669769 Q7824261 Q3795782 Q5139687 Q7767098 Q7677872 Q2377147 Q734675 Q8029796 Q7420985 Q15052535 Q7749036 Q15052537 Q15052531 Q15052532 Q7324654 Q15052539 Q15052538 Q6669862 Q3793123 Q7766317 Q4843544 Q6412292 Q5056403 Q17019147 Q17021815 Q17985487 Q3818676 Q2490677 Q7798424 Q2700566 Q3828527 Q7763545 Q7782693 Q7741422 Q7729758 Q7711746 Q7768371 Q7663682 Q4762241 Q7302220 Q7284874 Q17019316 Q7782676 Q7765188 Q4660604 Q3881234 Q7756730 Q38187 Q7772099 Q732360 Q582509 Q5967444 Q2295976 Q4690778 Q4655860 Q7232185 Q1514807 Q3795974 Q7722317 Q6671238 Q7714576 Q7810950 Q8058414 Q650949 Q6946419 Q4951671 Q62879 Q4749995 Q7730371 Q16258615 Q16839792 Q7745014 Q368357 Q7646079 Q4659655 Q748075 Q1355487 Q3857990 Q4656885 Q7739106 Q5519036 Q4395914 Q3274167 Q7771659 Q7754510 Q5468212 Q10494155 Q6906090 Q17103648 Q7761850 Q4920293 Q10455260 Q6412325 Q10455262 Q7720033 Q959816 Q5247360 Q15052560 Q6985697 Q7033599 Q6006812 Q15052558 Q7718255 Q5752164 Q2842656 Q5608665 Q6407724 Q18160256 Q7228775 Q300467 Q275292 Q11266905 Q3226889 Q5278688 Q1750535 Q7762822 Q5967402 Q2668869 Q1219561 Q7763333 Q7993989 Q223131 Q7681092 Q7719967 Q7740602 Q5287384 Q7770706 Q8059138 Q5050867 Q5985487 Q4659428 Q5249096 Q7755569 Q7733925 Q6670367 Q7726745 Q7728342 Q7302115 Q7721032 Q7270728 Q7751500 Q460519 Q7732179 Q5434072 Q5608829 Q7757062 Q7722034 Q3878871 Q15052526 Q15052527 Q5911219 Q7007870 Q11897591 Q676477 Q31179 Q6581958 Q16851233 Q3823252 Q4105840 Q7661878 Q4657555 Q617379 Q7734986 Q7753080 Q7751701 Q6407166 Q6937644 Q752584 Q7772490 Q7716299 Q4752297 Q6517204 Q1539509 Q4660779 Q140527 Q5504246 Q7338336 Q7722550 Q7379453 Q5397001 Q208825 Q7732913 Q219552 Q19572638 Q7170453 Q1750300 Q808113 Q7765340 Q821671 Q7758326 Q598071 Q6907535 Q733582 Q4351814 Q7091530 Q7495081 Q4928036 Q4973296 Q1192689 Q2372071 Q716712 Q5533791 Q5195595 Q7738173 Q7767912 Q3233990 Q7225171 Q5324776 Q2264850 Q10381460 Q5051078 Q7335613 Q7736722 Q5648081 Q6670198 Q7730522 Q7765016 Q2700616 Q4315352 Q6679480 Q4685732 Q4655527 Q7713979 Q7767674 Q15052556 Q4747643 Q15052552 Q3716970 Q164974 Q4783322 Q7753436 Q7740293 Q7712626 Q1247666 Q4669763 Q3629098 Q7739591 Q7719318 Q2387225 Q3234223 Q7729716 Q7740267 Q7714972 Q4926551 Q9346175 Q5460016 Q7977263 Q2479243 Q5582822 Q5519209 Q3510735 Q191949 Q972609 Q5519201 Q4928072 Q15052561 Q825220 Q482424 Q4784 Q208460 Q5432666 Q3863265 Q7734404 Q3792823 Q5223788 Q5098501 Q5559536 Q2631397 Q4353928 Q7809270 Q8036897 Q7445948 Q2052103 Q783288 Q7766849 Q7766848 Q15052534 Q7739239 Q7960580 Q6421918 Q1636948 Q466852 Q3793854 Q7739423 Q7713947 Q7736259 Q5705328 Q18160299 Q6863586 Q7763668 Q380831 Q2758232 Q7749017 Q7848184 Q5685281 Q4774579 Q5624139 Q5432244 Q7776249 Q5597530 Q6306151 Q4709639 Q7271018 Q7085053 Q7719212 Q7761666 Q1750849 Q1723053 Q17022838 Q19896235 Q2796032 Q7621042 Q3258840 Q7829583 Q7542985 Q5245078 Q5142457 Q7768533 Q6730826 Q4959485 Q4658420 Q2162432 Q7728976 Q7763360 Q4655693 Q1217656 Q7731571 Q3828573 Q5891884 Q7766746 Q7093569 Q19843206 Q4896674 Q7769263 Q23163 Q7096512 Q7718418 Q4750041 Q5654210 Q1217093 Q3207382 Q7747909 Q866980 Q5287908 Q4659106 Q41542 Q20036800 Q246014 Q7495075 Q4337552 Q7712198 Q7541980 Q7772514 Q1992396 Q7577129 Q5403239 Q113610 Q7992821 Q4410342
(c(Q2342494),P840,Q84)
action filter_type
action find_reverse
entity Q84
relation P840
type Q2342494
[ANSWERS] have their narrative set in London
[{'concept': 'Q2342494'}, 'P840', 'Q84']
SELECT DISTINCT ?g WHERE { ?g property:P840 resource:Q84 . ?g rdf:type ontology:Q2342494 }
Ally's World At Freddie's Corduroy Mansions The Price of Murder Morlock Night Murphy's Revenge Kingdom Come Dan Leno and the Limehouse Golem Human Voices Twelve Bar Blues The Children Act To Sir, With Love 253 A Scandal in Belgravia A Tale of Two Cities Light Thickens Messiah (novel) The Post-Birthday World Shuttlecock Our Spoons Came from Woolworths The Buccaneers The Golden Child The Family Arsenal Past Mortem Sons and Lovers 20,000 Streets Under the Sky The Thirty-Nine Steps Love and Mr Lewisham Liza of Lambeth The Borrible Trilogy The Lonely Londoners Apartment 16 The Dark Eyes of London A Stranger in Mayfair The Bachelors Laura Blundy The Hound of the Baskervilles The Difference Engine Conceit The Rats About a Boy Dead Romance The St Zita Society Stella Bain A Conspiracy of Paper A Conspiracy of Friends Scandal at High Chimneys The Bottle Factory Outing Sour Sweet The Armourer's House King Solomon's Carpet The World Is Full of Married Men The Devil in Velvet The Sweet-Shop Owner The Great Fire of London I Was Dora Suarez A Choice of Enemies Close to Home Tommy's Tale Most secret war Poor Cow Spider Northwest Passage The Devil's Company To Wake the Dead Southern Style Headhunters Pendennis Up the Junction The Load of Unicorn A Landing on the Sun Guignol's Band King Rat Bruno's Dream The Diary of a Nobody Nicholas Nickleby No Telephone to Heaven Only Human Memento Mori Tomorrow My Name Is Legion Night and Day Threepenny Novel Christina Alberta's Father The End of the Affair The Cabinet of Light Ordinary Thunderstorms Offshore Plague 99 The Color of Death The Ten Teacups The Feast of the Drowned The Water Gipsies Riceyman Steps Murphy's Law Her Fearful Symmetry Lookout Cartridge Forlorn Sunset Yellow Dog The Magician's Nephew The Wimbledon Trilogy STORM: The Infinity Code The Seven-Per-Cent Solution Gods Behaving Badly The Last Sherlock Holmes Story Trip City Swing Brother Swing It's a Battlefield Indigo Goodbye Piccadilly, Farewell Leicester Square Reckless The Tea Rose Strange Case of Dr Jekyll and Mr Hyde Fire, Burn! Into the Gauntlet Blind Justice Jack Maggs The Pirates! in an Adventure with Communists Nobody Ordered Wolves The White Family Payment Deferred The Bodysnatchers Mother London The Farm A Far Cry From Kensington Of Human Bondage The House in Lordship Lane A Taste for Death They Drive by Night The Rich Pay Late Mariana Porky Little Soldier Infernal Devices The London Eye Mystery The Queen of the Damned A Beautiful Blue Death The Goddess: A Demon Esther Waters A Little Princess Ring Out Bow Bells! London Tooth and Nail Sexing the Cherry Cocksure The Stud Take a Girl Like You Zero History The Big Four Wolf Saplings The Gilt Kid The Lover I'll Go to Bed at Noon English Music (novel) The Far Country (novel) Richard Carvel Journey Through a Small Planet Intimacy (novel) London Blues The Cater Street Hangman The Starlight Barking London Bridge: Guignol's Band II King of Shadows Cecilia The Romance of a Shop Sweet William All That I Am The Good Apprentice Can You Keep a Secret? Through a Glass Darkly The Hollow Man Manalive The Shadow Lines There But For The The Illustrated Mum The Deptford Mice The 12.30 from Croydon The Temptation of Eileen Hughes System Shock Angel Pavement Rebuilding Coventry Rainforest Personal There Ain't No Justice The Somnambulist A Week in December All Passion Spent The Peripheral The Night Watch The Vault The Little White Bird At Bertram's Hotel I, Lucifer Pattern Recognition Afternoon Men A Child of the Jago Portobello The Well of Loneliness The Phoenix and the Carpet The Chelsea Murders Londonstani The Artist's Widow To Have and To Hold Young Sherlock Holmes: Black Ice The Sleeper Awakes My Son the Fanatic Boxer, Beetle A Christmas Carol An Expert in Murder The Distant Hours Worst. Person. Ever. Before She Met Me The L-Shaped Room Shopaholic and Baby Surfeit of Lampreys A Solitary Grief High Fidelity Down and Out in Paris and London Millennium People A Full and True Account of the Wonderful Mission of Earl Lavender The Head of the House of Coombe Gallia Rodney Stone Notes on a Scandal The Unlimited Dream Company The Nursing Home Murder Foreign Affairs The Dead Montmorency City of the Mind The Runaways Black As He's Painted Clockwork Prince King of the City Clockwork Princess The Bride of Newgate The Man Who Was Thursday Death in a White Tie The West End Horror Necropolis Night and the City Imperial Palace Verdigris (Doctor Who) The Black Book Hide My Eyes Amelia Gridlock Killing Me Softly Hollow City Poor Jack A Long Way Down The Birds on the Trees Lost Those Who Hunt the Night Dinosaurs Don't Die The Poisoned Chocolates Case The Seance I, Coriander Glamorama Around the World in Eighty Days The September Society Whispers Under Ground A Study in Scarlet Tamburlaine Must Die The Brentford Trilogy The House of Doctor Dee Doctor Slaughter The Tumbled House Youth: Scenes from Provincial Life II Casualties of Peace Ice in the Bedroom A Severed Head Deception The Other Side of Truth The Final Passage London Fields The Collector Collector The Crystal Prison Rebels and Traitors The Calligrapher Queens The Millstone The Pendragon Legend The Enemy Fanny by Gaslight Griffin and Sabine The Picturegoers The Chameleon's Shadow Nights at the Circus Auriol Capital Hotel Babylon New Grub Street The Clockwise Man Armadillo The Ballad of Peckham Rye The Judas Window Justine The Death of the Heart The Ministry of Fear Symposium A Kid for Two Farthings The Secret Adversary The Four-Gated City The Nanny The Miser's Daughter Kill Your Friends Murder Being Once Done Mrs Dalloway The Vet's Daughter The Beetle Anatomy of a Disappearance Legacy The Invisible Man A Word Child The Three Musketeers Friends in Low Places Rivers of London The Chinese Agent Run, Spy, Run Escape from Furnace Flight into Camden The Eye in the Door Great Expectations Life and Death of Harriett Frean Person or Persons Unknown Dracula the Un-dead Walking on Glass The Sot-Weed Factor Candy The Princess and the Unicorn Concrete Island Moon Over Soho His Last Bow The Good Terrorist On the Run Sherlock Holmes: The Way of All Flesh Bloodtide Broken The Buddha of Suburbia The World in Winter The Girls of Slender Means Gents Curtain Up The Green Knight The Tain Cecilia Politics E The Citadel The Haunting of Alaizabel Cray Cat among the Pigeons Ripley Bogle The Glass Lake Hangover Square London Calling The Dog Who Came in from the Cold The Snow The Old Curiosity Shop Not George Washington Lord Kelvin's Machine Adrift in Soho A Blues for Shindig The Apes of God The Swimming Pool Library Trumpet (novel) Amorality Tale The Three Clerks Déjà vu Oliver Twist Arabella The Nether World The Horn of Mortal Danger The Adventures of Roderick Random The Secret Agent Absolute Beginners Loitering with Intent The High Commissioner The Book of Ultimate Truths Bridget Jones's Diary The Spoiler The Demoniacs The Hopkins Manuscript The Autograph Man Blind Faith The Documents in the Case Flood We Are All Made of Glue Ptolemy's Gate Good News, Bad News Gallows Thief The £1,000,000 Bank Note and Other New Stories Brave New World Sweet Tooth Gallowglass Bloody Jack The Wizard of London The Cricket on the Hearth An Episode of Sparrows Metroland Nineteen Eighty-Four False Scent Original Sin The Fleet Street Murders The Napoleon of Notting Hill Darkside Children of This Earth Gideon's Day The Winter Queen Lola Rose Tirra Lirra by the River Wormwood Seesaw The Murder Room Stone's Fall The Story of the Weasel The Story of the Treasure Seekers The Giant, O'Brien The Heat of the Day Waiting for Sunrise Knees Up Mother Earth Revelation Under the Net Gabriel's Gift The Heralds The Antipope The Ghost Behind the Wall Heligoland House of Small Shadows Mind the Gap The Shape of Snakes Last Orders Clockwork Angel The Loveday Scandals Trusted Like the Fox Hawksmoor Antic Hay Gym and Slimline Fallen Grace The Woven Path Grasshopper Julia Albert Angelo Vile Bodies Old St. Paul's The Book of Dave The Royal Ballet School Diaries The Secret Dreamworld of a Shopaholic Saturday Time of Trial The Street of Adventure The Unpleasantness at the Bellona Club Straight Talking: A Novel Un Lun Dun Towards the End of the Morning Small World Dead Air Cold is the Grave The Terrorist Magic Seeds Breakfast in the Ruins A Mysterious Affair of Style Point Blanc The Dark Portal The Serpent's Shadow A Buyer's Market Keep the Aspidistra Flying The Edge of the Cloud The Chimes Homunculus The Story of Cirrus Flux One of the Family The Girl on the Train Best Friends in Love The Tiger in the Smoke A Scientific Romance Opening Night The Black Prince An Imaginative Experience Harare North The Investigation The British Museum Is Falling Down The Living and the Dead White Teeth Dodger A Quiet Drink Dracula The Black Prince St. Urbain's Horseman Sherlock Holmes's War of the Worlds The Great Train Robbery The Acceptance World Slow Chocolate Autopsy The Vice Society The Finkler Question Spies Ethel and Ernest Neverwhere When William Came Kraken
The Three Musketeers, Dracula and Around the World in Eighty Days have their narrative set in London
The Three Musketeers Dracula Around the World in Eighty Days
action filter_type
action find_reverse
entity London
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'London']
SELECT DISTINCT ?g WHERE { ?g property:narrative_location resource:London . ?g rdf:type ontology:collectable }
[]
Clarification
Simple Question|Single Entity|Indirect
Q41542
P674
Q15619164
USER
Which abstract beings plays a role in that collectable ?
(Q41542,P674,c(Q15619164))
action filter_type
action find
entity Q41542
relation P674
type Q15619164
['Q41542', 'P674', {'concept': 'Q15619164'}]
SELECT DISTINCT ?h WHERE { resource:Q41542 property:P674 ?h . ?h rdf:type ontology:Q15619164 }
Dracula
action filter_type
action find
entity Dracula
relation characters
type abstract being
['Dracula', 'characters', {'concept': 'abstract being'}]
SELECT DISTINCT ?h WHERE { resource:Dracula property:characters ?h . ?h rdf:type ontology:abstract_being }
[]
abstract being
Clarification for simple ques.
Q140527
SYSTEM
Did you mean The Three Musketeers ?
Q140527 Q41542 Q1219561
(Q140527,P674,c(Q15619164)) (Q41542,P674,c(Q15619164)) (Q1219561,P674,c(Q15619164))
[ANSWER]
['Q140527', 'P674', {'concept': 'Q15619164'}] ['Q41542', 'P674', {'concept': 'Q15619164'}] ['Q1219561', 'P674', {'concept': 'Q15619164'}]
SELECT DISTINCT ?h WHERE { resource:Q41542 property:P674 ?h . ?h rdf:type ontology:Q15619164 }
The Three Musketeers Dracula Around the World in Eighty Days
Did you mean The Three Musketeers ?
The Three Musketeers
['The Three Musketeers', 'characters', {'concept': 'abstract being'}] ['Dracula', 'characters', {'concept': 'abstract being'}] ['Around the World in Eighty Days', 'characters', {'concept': 'abstract being'}]
SELECT DISTINCT ?h WHERE { resource:Dracula property:characters ?h . ?h rdf:type ontology:abstract_being }
[]
Simple Question (Coreferenced)
USER
No, I meant Dracula. Could you tell me the answer for that?
(Q41542,P674,c(Q15619164))
Q41542
['Q41542', 'P674', {'concept': 'Q15619164'}]
['Dracula', 'characters', {'concept': 'abstract being'}]
[]
Q2570236 Q2404481 Q3266236
SYSTEM
Mina Harker, Lucy Westenra, Count Dracula
Q2404481 Q4966141 Q2570236 Q3266236
(Q41542,P674,c(Q15619164))
action filter_type
action find
entity Q41542
relation P674
type Q15619164
[ANSWERS] play a role in that collectable
['Q41542', 'P674', {'concept': 'Q15619164'}]
SELECT DISTINCT ?h WHERE { resource:Q41542 property:P674 ?h . ?h rdf:type ontology:Q15619164 }
Lucy Westenra Brides of Dracula Mina Harker Count Dracula
Mina Harker, Lucy Westenra and Count Dracula play a role in that collectable
Mina Harker Lucy Westenra Count Dracula
action filter_type
action find
entity Dracula
relation characters
type abstract being
['Dracula', 'characters', {'concept': 'abstract being'}]
SELECT DISTINCT ?h WHERE { resource:Dracula property:characters ?h . ?h rdf:type ontology:abstract_being }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q2342494 Q3895768 Q95074
USER
How many collectables contain approximately 4 fictional locations and fictional characters ?
(c(Q3895768)|c(Q95074),P1441,c(Q2342494))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q3895768
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q95074
value 4
[[{'concept': 'Q3895768'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?d WHERE { { ?o property:P1441 ?d . ?d rdf:type ontology:Q2342494 . ?o rdf:type ontology:Q3895768 } UNION { ?o property:P1441 ?d . ?d rdf:type ontology:Q2342494 . ?o rdf:type ontology:Q95074 } } GROUP BY ?d } . FILTER ( ?v = 4 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional location
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional character
value 4
[[{'concept': 'fictional location'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?d WHERE { { ?o property:present_in_work ?d . ?d rdf:type ontology:collectable . ?o rdf:type ontology:fictional_location } UNION { ?o property:present_in_work ?d . ?d rdf:type ontology:collectable . ?o rdf:type ontology:fictional_character } } GROUP BY ?d } . FILTER ( ?v = 4 ) }
[]
collectable fictional location fictional character
SYSTEM
7
Q220331 Q218950 Q74287 Q16998127 Q19867004 Q208460 Q181488
(c(Q3895768)|c(Q95074),P1441,c(Q2342494))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q3895768
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q95074
value 4
[ANSWER]
[[{'concept': 'Q3895768'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?d WHERE { { ?o property:P1441 ?d . ?d rdf:type ontology:Q2342494 . ?o rdf:type ontology:Q3895768 } UNION { ?o property:P1441 ?d . ?d rdf:type ontology:Q2342494 . ?o rdf:type ontology:Q95074 } } GROUP BY ?d } . FILTER ( ?v = 4 ) }
Through the Looking-Glass Prince Caspian The Hobbit Kara-Tur: The Eastern Realms Baldur's Gate Nineteen Eighty-Four Gulliver's Travels
7
action count
action approx
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional location
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional character
value 4
[[{'concept': 'fictional location'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?d WHERE { { ?o property:present_in_work ?d . ?d rdf:type ontology:collectable . ?o rdf:type ontology:fictional_location } UNION { ?o property:present_in_work ?d . ?d rdf:type ontology:collectable . ?o rdf:type ontology:fictional_character } } GROUP BY ?d } . FILTER ( ?v = 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3266236
P138
Q8054
USER
Which protein has Count Dracula as its toponym ?
(c(Q8054),P138,Q3266236)
action filter_type
action find_reverse
entity Q3266236
relation P138
type Q8054
[{'concept': 'Q8054'}, 'P138', 'Q3266236']
SELECT DISTINCT ?r WHERE { ?r property:P138 resource:Q3266236 . ?r rdf:type ontology:Q8054 }
Count Dracula
action filter_type
action find_reverse
entity Count Dracula
relation named after
type protein
[{'concept': 'protein'}, 'named after', 'Count Dracula']
SELECT DISTINCT ?r WHERE { ?r property:named_after resource:Count_Dracula . ?r rdf:type ontology:protein }
[]
protein
Q11046720
SYSTEM
Draculin
Q11046720
(c(Q8054),P138,Q3266236)
action filter_type
action find_reverse
entity Q3266236
relation P138
type Q8054
[ANSWER] has Count Dracula as its toponym
[{'concept': 'Q8054'}, 'P138', 'Q3266236']
SELECT DISTINCT ?r WHERE { ?r property:P138 resource:Q3266236 . ?r rdf:type ontology:Q8054 }
Draculin
Draculin has Count Dracula as its toponym
Draculin
action filter_type
action find_reverse
entity Count Dracula
relation named after
type protein
[{'concept': 'protein'}, 'named after', 'Count Dracula']
SELECT DISTINCT ?r WHERE { ?r property:named_after resource:Count_Dracula . ?r rdf:type ontology:protein }
[]