Simple Question (Direct)
Simple Question
Q3188602
P39
Q12737077
USER
What was the position held by Jules Gaillard ?
(Q3188602,P39,c(Q12737077))
action filter_type
action find
entity Q3188602
relation P39
type Q12737077
['Q3188602', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q3188602 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Jules Gaillard
action filter_type
action find
entity Jules Gaillard
relation position held
type occupation
['Jules Gaillard', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Jules_Gaillard property:position_held ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q3188602,P39,c(Q12737077))
action filter_type
action find
entity Q3188602
relation P39
type Q12737077
The position held by Jules Gaillard was a member of the French National Assembly
['Q3188602', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q3188602 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
member of the French National Assembly
The position held by Jules Gaillard was a member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Jules Gaillard
relation position held
type occupation
['Jules Gaillard', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Jules_Gaillard property:position_held ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3188602
P21
Q290
USER
Which sex does Jules Gaillard belong to ?
(Q3188602,P21,c(Q290))
action filter_type
action find
entity Q3188602
relation P21
type Q290
['Q3188602', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q3188602 property:P21 ?l . ?l rdf:type ontology:Q290 }
Jules Gaillard
action filter_type
action find
entity Jules Gaillard
relation gender
type sex
['Jules Gaillard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Jules_Gaillard property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3188602,P21,c(Q290))
action filter_type
action find
entity Q3188602
relation P21
type Q290
Jules Gaillard belongs to [ANSWER]
['Q3188602', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q3188602 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
Jules Gaillard belongs to male
male
action filter_type
action find
entity Jules Gaillard
relation gender
type sex
['Jules Gaillard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Jules_Gaillard property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12026913
Q290
USER
And what about Josefine Weber?
(Q12026913,P21,c(Q290))
action filter_type
action find
entity Q12026913
relation P21
type Q290
['Q12026913', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q12026913 property:P21 ?j . ?j rdf:type ontology:Q290 }
Josefine Weber
action filter_type
action find
entity Josefine Weber
relation gender
type sex
['Josefine Weber', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Josefine_Weber property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q12026913,P21,c(Q290))
action filter_type
action find
entity Q12026913
relation P21
type Q290
[ANSWER]
['Q12026913', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q12026913 property:P21 ?j . ?j rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Josefine Weber
relation gender
type sex
['Josefine Weber', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Josefine_Weber property:gender ?j . ?j rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q12737077 Q838948 Q732577
USER
Which occupations were the main subjects of min number of works of art and publications 's work ?
(c(Q838948)|c(Q732577),P921,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
[[{'concept': 'Q838948'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?t ) { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?s ) WHERE { { ?u property:P921 ?r . ?r rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q838948 } UNION { ?r rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q732577 . ?u property:P921 ?r } } GROUP BY ?r } } . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?o ) WHERE { { ?v property:P921 ?b . ?b rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q732577 } UNION { ?v property:P921 ?b . ?b rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q838948 } } GROUP BY ?b } . FILTER ( ?o = ?t ) }
action argmin
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
[[{'concept': 'work of art'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?t ) { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?s ) WHERE { { ?u property:main_subject ?r . ?r rdf:type ontology:occupation . ?u rdf:type ontology:work_of_art } UNION { ?r rdf:type ontology:occupation . ?u rdf:type ontology:publication . ?u property:main_subject ?r } } GROUP BY ?r } } . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?o ) WHERE { { ?v property:main_subject ?b . ?b rdf:type ontology:occupation . ?v rdf:type ontology:publication } UNION { ?v property:main_subject ?b . ?b rdf:type ontology:occupation . ?v rdf:type ontology:work_of_art } } GROUP BY ?b } . FILTER ( ?o = ?t ) }
[]
occupation work of art publication
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q9045502 Q2666591 Q5185440 Q765778 Q774306 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q131512 Q1708232 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q43845 Q14128148 Q814356 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q133485 Q1477129 Q158852 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q372436 Q1238570 Q182436 Q2259532 Q361593 Q1856798 Q16707842
(c(Q838948)|c(Q732577),P921,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
[ANSWERS] were the main subjects of min number of works of art and publications 's work
[[{'concept': 'Q838948'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?t ) { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?s ) WHERE { { ?u property:P921 ?r . ?r rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q838948 } UNION { ?r rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q732577 . ?u property:P921 ?r } } GROUP BY ?r } } . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?o ) WHERE { { ?v property:P921 ?b . ?b rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q732577 } UNION { ?v property:P921 ?b . ?b rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q838948 } } GROUP BY ?b } . FILTER ( ?o = ?t ) }
praetor member of the Parliament of Norway Chair of the Federal Reserve Crime scene cleanup organist surgeon Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives farmer medallist politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate businessperson gridiron football player call girl political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly caricaturist painter American football player legal profession composer rabbi völva conductor peasant missionary United States federal judge musician Nomarch poet medical examiner police officer statesman political scientist librarian cleric police officer baseball umpire Member of Parliament in the United Kingdom
Fletcher Christian, farmer and librarian were the main subjects of min number of works of art and publications 's work
Fletcher Christian farmer librarian
action argmin
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
[[{'concept': 'work of art'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?t ) { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?s ) WHERE { { ?u property:main_subject ?r . ?r rdf:type ontology:occupation . ?u rdf:type ontology:work_of_art } UNION { ?r rdf:type ontology:occupation . ?u rdf:type ontology:publication . ?u property:main_subject ?r } } GROUP BY ?r } } . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?o ) WHERE { { ?v property:main_subject ?b . ?b rdf:type ontology:occupation . ?v rdf:type ontology:publication } UNION { ?v property:main_subject ?b . ?b rdf:type ontology:occupation . ?v rdf:type ontology:work_of_art } } GROUP BY ?b } . FILTER ( ?o = ?t ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3044918
P17
Q15617994
USER
How many administrative territories are member of the French National Assembly present in ?
(Q3044918,P17,c(Q15617994))
action count
action filter_type
action find
entity Q3044918
relation P17
type Q15617994
['Q3044918', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { resource:Q3044918 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
member of the French National Assembly
action count
action filter_type
action find
entity member of the French National Assembly
relation country
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { resource:member_of_the_French National_Assembly property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q3044918,P17,c(Q15617994))
action count
action filter_type
action find
entity Q3044918
relation P17
type Q15617994
[ANSWER]
['Q3044918', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { resource:Q3044918 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity member of the French National Assembly
relation country
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { resource:member_of_the_French National_Assembly property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131512
P180
Q18783400
USER
Which genre of sculpture demonstrates farmer ?
(c(Q18783400),P180,Q131512)
action filter_type
action find_reverse
entity Q131512
relation P180
type Q18783400
[{'concept': 'Q18783400'}, 'P180', 'Q131512']
SELECT DISTINCT ?c WHERE { ?c property:P180 resource:Q131512 . ?c rdf:type ontology:Q18783400 }
farmer
action filter_type
action find_reverse
entity farmer
relation depicts
type genre of sculpture
[{'concept': 'genre of sculpture'}, 'depicts', 'farmer']
SELECT DISTINCT ?c WHERE { ?c property:depicts resource:farmer . ?c rdf:type ontology:genre_of_sculpture }
[]
genre of sculpture
Q627114
SYSTEM
Worker and Kolkhoz Woman
Q627114
(c(Q18783400),P180,Q131512)
action filter_type
action find_reverse
entity Q131512
relation P180
type Q18783400
[ANSWER] demonstrates farmer
[{'concept': 'Q18783400'}, 'P180', 'Q131512']
SELECT DISTINCT ?c WHERE { ?c property:P180 resource:Q131512 . ?c rdf:type ontology:Q18783400 }
Worker and Kolkhoz Woman
Worker and Kolkhoz Woman demonstrates farmer
Worker and Kolkhoz Woman
action filter_type
action find_reverse
entity farmer
relation depicts
type genre of sculpture
[{'concept': 'genre of sculpture'}, 'depicts', 'farmer']
SELECT DISTINCT ?c WHERE { ?c property:depicts resource:farmer . ?c rdf:type ontology:genre_of_sculpture }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q627114
P135
Q2198855
USER
Which cultural movements were that genre of sculpture associated with ?
(Q627114,P135,c(Q2198855))
action filter_type
action find
entity Q627114
relation P135
type Q2198855
['Q627114', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?m WHERE { resource:Q627114 property:P135 ?m . ?m rdf:type ontology:Q2198855 }
Worker and Kolkhoz Woman
action filter_type
action find
entity Worker and Kolkhoz Woman
relation movement
type cultural movement
['Worker and Kolkhoz Woman', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?m WHERE { resource:Worker_and_Kolkhoz_Woman property:movement ?m . ?m rdf:type ontology:cultural_movement }
[]
cultural movement
Q180902 Q173782
SYSTEM
socialist realism, Art Deco
Q180902 Q173782
(Q627114,P135,c(Q2198855))
action filter_type
action find
entity Q627114
relation P135
type Q2198855
That genre of sculpture were associated with [ANSWERS]
['Q627114', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?m WHERE { resource:Q627114 property:P135 ?m . ?m rdf:type ontology:Q2198855 }
socialist realism Art Deco
That genre of sculpture were associated with socialist realism and Art Deco
socialist realism Art Deco
action filter_type
action find
entity Worker and Kolkhoz Woman
relation movement
type cultural movement
['Worker and Kolkhoz Woman', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?m WHERE { resource:Worker_and_Kolkhoz_Woman property:movement ?m . ?m rdf:type ontology:cultural_movement }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1962478
P135
Q2198855 Q340169 Q3305213
USER
How many cultural movements were more number of medias or paintings linked with than Post-painterly Abstraction ?
(c(Q340169)|c(Q3305213),P135,c(Q2198855))
action count
action greater
action union
action find_reverse_tuple_counts
relation P135
type Q2198855
type Q340169
action find_reverse_tuple_counts
relation P135
type Q2198855
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q1962478
relation P135
type Q340169
type Q3305213
[[{'concept': 'Q340169'}, {'concept': 'Q3305213'}], 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) ?t WHERE { VALUES ( ?e ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } . ?d rdf:type ?e } GROUP BY ?t } . FILTER ( ?z > ?y ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { ?w property:P135 resource:Q1962478 . { ?w rdf:type ?q . VALUES ( ?q ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } } } } }
Post-painterly Abstraction
action count
action greater
action union
action find_reverse_tuple_counts
relation movement
type cultural movement
type media
action find_reverse_tuple_counts
relation movement
type cultural movement
type painting
action count
action filter_multi_types
action find_reverse
entity Post-painterly Abstraction
relation movement
type media
type painting
[[{'concept': 'media'}, {'concept': 'painting'}], 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) ?t WHERE { VALUES ( ?e ) { ( ontology:media ) ( ontology:painting ) } . ?d rdf:type ?e } GROUP BY ?t } . FILTER ( ?z > ?y ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { ?w property:movement resource:Post-painterly_Abstraction . { ?w rdf:type ?q . VALUES ( ?q ) { ( ontology:media ) ( ontology:painting ) } } } } }
[]
cultural movement media painting
SYSTEM
24
Q166713 Q3562740 Q134147 Q837024 Q37853 Q979160 Q1474884 Q443153 Q1842924 Q42865 Q46825 Q10857409 Q154432 Q131808 Q1472236 Q878985 Q4692 Q2352880 Q40415 Q211884 Q122960 Q14378 Q2455000 Q42934
(c(Q340169)|c(Q3305213),P135,c(Q2198855))
action count
action greater
action union
action find_reverse_tuple_counts
relation P135
type Q2198855
type Q340169
action find_reverse_tuple_counts
relation P135
type Q2198855
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q1962478
relation P135
type Q340169
type Q3305213
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q3305213'}], 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) ?t WHERE { VALUES ( ?e ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } . ?d rdf:type ?e } GROUP BY ?t } . FILTER ( ?z > ?y ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { ?w property:P135 resource:Q1962478 . { ?w rdf:type ?q . VALUES ( ?q ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } } } } }
Post-Impressionism Volcano School pop art social realism Baroque Proto-Renaissance High Renaissance Early Netherlandish painting Prehistoric art Orientalism Gothic art realism Biedermeier Mannerism Early Renaissance modernism renaissance Dutch Golden Age painting impressionism Byzantine art rococo neoclassicism German Renaissance cubism
24
action count
action greater
action union
action find_reverse_tuple_counts
relation movement
type cultural movement
type media
action find_reverse_tuple_counts
relation movement
type cultural movement
type painting
action count
action filter_multi_types
action find_reverse
entity Post-painterly Abstraction
relation movement
type media
type painting
[[{'concept': 'media'}, {'concept': 'painting'}], 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) ?t WHERE { VALUES ( ?e ) { ( ontology:media ) ( ontology:painting ) } . ?d rdf:type ?e } GROUP BY ?t } . FILTER ( ?z > ?y ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { ?w property:movement resource:Post-painterly_Abstraction . { ?w rdf:type ?q . VALUES ( ?q ) { ( ontology:media ) ( ontology:painting ) } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q37853
P135
Q2198855 Q340169 Q3305213
USER
And how about Baroque?
(c(Q340169)|c(Q3305213),P135,c(Q2198855))
action count
action greater
action union
action find_reverse_tuple_counts
relation P135
type Q2198855
type Q340169
action find_reverse_tuple_counts
relation P135
type Q2198855
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q37853
relation P135
type Q340169
type Q3305213
[[{'concept': 'Q340169'}, {'concept': 'Q3305213'}], 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ?x . VALUES ( ?x ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P135 resource:Q37853 . { { ?z rdf:type ontology:Q340169 } UNION { ?z rdf:type ontology:Q3305213 } } } } . FILTER ( ?a > ?r ) }
Baroque
action count
action greater
action union
action find_reverse_tuple_counts
relation movement
type cultural movement
type media
action find_reverse_tuple_counts
relation movement
type cultural movement
type painting
action count
action filter_multi_types
action find_reverse
entity Baroque
relation movement
type media
type painting
[[{'concept': 'media'}, {'concept': 'painting'}], 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ?x . VALUES ( ?x ) { ( ontology:media ) ( ontology:painting ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:movement resource:Baroque . { { ?z rdf:type ontology:media } UNION { ?z rdf:type ontology:painting } } } } . FILTER ( ?a > ?r ) }
[]
cultural movement media painting
SYSTEM
7
Q979160 Q1474884 Q443153 Q42865 Q1472236 Q122960 Q2455000
(c(Q340169)|c(Q3305213),P135,c(Q2198855))
action count
action greater
action union
action find_reverse_tuple_counts
relation P135
type Q2198855
type Q340169
action find_reverse_tuple_counts
relation P135
type Q2198855
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q37853
relation P135
type Q340169
type Q3305213
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q3305213'}], 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ?x . VALUES ( ?x ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P135 resource:Q37853 . { { ?z rdf:type ontology:Q340169 } UNION { ?z rdf:type ontology:Q3305213 } } } } . FILTER ( ?a > ?r ) }
Proto-Renaissance High Renaissance Early Netherlandish painting Orientalism Early Renaissance rococo German Renaissance
7
action count
action greater
action union
action find_reverse_tuple_counts
relation movement
type cultural movement
type media
action find_reverse_tuple_counts
relation movement
type cultural movement
type painting
action count
action filter_multi_types
action find_reverse
entity Baroque
relation movement
type media
type painting
[[{'concept': 'media'}, {'concept': 'painting'}], 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ?x . VALUES ( ?x ) { ( ontology:media ) ( ontology:painting ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:movement resource:Baroque . { { ?z rdf:type ontology:media } UNION { ?z rdf:type ontology:painting } } } } . FILTER ( ?a > ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q173782
P135
Q33506 Q44539
USER
How many museums or temples are associated with Art Deco ?
(c(Q33506),P135,Q173782) (c(Q44539),P135,Q173782)
action count
action union
action filter_type
action find_reverse
entity Q173782
relation P135
type Q33506
action filter_type
action find_reverse
entity Q173782
relation P135
type Q44539
[{'concept': 'Q33506'}, 'P135', 'Q173782'] [{'concept': 'Q44539'}, 'P135', 'Q173782']
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ?l . VALUES ( ?l ) { ( ontology:Q33506 ) ( ontology:Q44539 ) } }
Art Deco
action count
action union
action filter_type
action find_reverse
entity Art Deco
relation movement
type museum
action filter_type
action find_reverse
entity Art Deco
relation movement
type temple
[{'concept': 'museum'}, 'movement', 'Art Deco'] [{'concept': 'temple'}, 'movement', 'Art Deco']
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ?l . VALUES ( ?l ) { ( ontology:museum ) ( ontology:temple ) } }
[]
museum temple
SYSTEM
7
Q2723096 Q2415827 Q18904321 Q3581401 Q3107385 Q1088224 Q1955748
(c(Q33506),P135,Q173782) (c(Q44539),P135,Q173782)
action count
action union
action filter_type
action find_reverse
entity Q173782
relation P135
type Q33506
action filter_type
action find_reverse
entity Q173782
relation P135
type Q44539
[ANSWER]
[{'concept': 'Q33506'}, 'P135', 'Q173782'] [{'concept': 'Q44539'}, 'P135', 'Q173782']
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ?l . VALUES ( ?l ) { ( ontology:Q33506 ) ( ontology:Q44539 ) } }
Folk Art Museum Casablanca Cathedral église Sainte-Pudentienne de Châlons-en-Champagne Saint-Esprit-de-Rosemont Church Sainte Jeanne d'Arc Church Cua Bac Church La Piscine
7
action count
action union
action filter_type
action find_reverse
entity Art Deco
relation movement
type museum
action filter_type
action find_reverse
entity Art Deco
relation movement
type temple
[{'concept': 'museum'}, 'movement', 'Art Deco'] [{'concept': 'temple'}, 'movement', 'Art Deco']
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ?l . VALUES ( ?l ) { ( ontology:museum ) ( ontology:temple ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q173782
P135
Q502895 Q41176
USER
How many people and buildings are associated with Art Deco ?
(c(Q502895),P135,Q173782) (c(Q41176),P135,Q173782)
action count
action union
action filter_type
action find_reverse
entity Q173782
relation P135
type Q502895
action filter_type
action find_reverse
entity Q173782
relation P135
type Q41176
[{'concept': 'Q502895'}, 'P135', 'Q173782'] [{'concept': 'Q41176'}, 'P135', 'Q173782']
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { VALUES ( ?w ) { ( ontology:Q41176 ) ( ontology:Q502895 ) } . ?h rdf:type ?w }
Art Deco
action count
action union
action filter_type
action find_reverse
entity Art Deco
relation movement
type common name
action filter_type
action find_reverse
entity Art Deco
relation movement
type building
[{'concept': 'common name'}, 'movement', 'Art Deco'] [{'concept': 'building'}, 'movement', 'Art Deco']
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { VALUES ( ?w ) { ( ontology:building ) ( ontology:common_name ) } . ?h rdf:type ?w }
[]
common name building
SYSTEM
26 people and 14 buildings
Q229351 Q2456198 Q3188504 Q2926823 Q239028 Q2943690 Q18603572 Q21088674 Q2224700 Q262273 Q753437 Q3426229 Q3891589 Q3350186 Q2239788 Q3171870 Q21481356 Q451400 Q3826139 Q24275200 Q3279717 Q3288979 Q3387206 Q1925179 Q3261329 Q1044613 Q3164573 Q3436103 Q1809902 Q3547795 Q11919388 Q3141913 Q11644640 Q954875 Q726531 Q7287533 Q13641206 Q665935 Q26702231 Q2816206
(c(Q502895),P135,Q173782) (c(Q41176),P135,Q173782)
action count
action union
action filter_type
action find_reverse
entity Q173782
relation P135
type Q502895
action filter_type
action find_reverse
entity Q173782
relation P135
type Q41176
[ANSWER]
[{'concept': 'Q502895'}, 'P135', 'Q173782'] [{'concept': 'Q41176'}, 'P135', 'Q173782']
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { VALUES ( ?w ) { ( ontology:Q41176 ) ( ontology:Q502895 ) } . ?h rdf:type ?w }
Tamara de Lempicka Leon Hoet Jules Criqui Bruno Guillermin Stoclet Palace Cecil de Blaquiere Howard Thelma Saks Bradford Ingersoll 17 rue Benjamin-Franklin Chicago Board of Trade Building Jean-Michel Frank Radio City Music Hall René Gabriel Alix Aymé Virgin Hotels Chicago Brixton Academy Jean Dupas Eugène Belville René Lalique Baralt Theater Maurice Alet Maison de la Mutualité Marcel Gaumont Palmolive Building Carbide & Carbon Building Louis Bouquet Helsinki Central railway station Jean-Bernard Descomps Robert Poughéon Le Grand Rex Ugo Cipriani Enrique Estévez Ochoa Hubert-Denis Etcheverry Mounet Satomi Jacques-Émile Ruhlmann Théâtre des Champs-Élysées Ralph Gerganoff Geo Henderick Isidore Odorico Bruno Zach 333 North Michigan
26 people and 14 buildings
action count
action union
action filter_type
action find_reverse
entity Art Deco
relation movement
type common name
action filter_type
action find_reverse
entity Art Deco
relation movement
type building
[{'concept': 'common name'}, 'movement', 'Art Deco'] [{'concept': 'building'}, 'movement', 'Art Deco']
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { VALUES ( ?w ) { ( ontology:building ) ( ontology:common_name ) } . ?h rdf:type ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q173782
P135
Q502895
USER
How many people are associated with Art Deco ?
(c(Q502895),P135,Q173782)
action count
action filter_type
action find_reverse
entity Q173782
relation P135
type Q502895
[{'concept': 'Q502895'}, 'P135', 'Q173782']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:P135 resource:Q173782 . ?p rdf:type ontology:Q502895 }
Art Deco
action count
action filter_type
action find_reverse
entity Art Deco
relation movement
type common name
[{'concept': 'common name'}, 'movement', 'Art Deco']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:movement resource:Art_Deco . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
26
Q262273 Q3891589 Q229351 Q451400 Q3261329 Q2926823 Q18603572 Q3436103 Q13641206 Q2943690 Q954875 Q3171870 Q3164573 Q21481356 Q3426229 Q7287533 Q2456198 Q3141913 Q11919388 Q3188504 Q24275200 Q3288979 Q26702231 Q665935 Q11644640 Q3547795
(c(Q502895),P135,Q173782)
action count
action filter_type
action find_reverse
entity Q173782
relation P135
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P135', 'Q173782']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:P135 resource:Q173782 . ?p rdf:type ontology:Q502895 }
Jean-Michel Frank Alix Aymé Tamara de Lempicka René Lalique Louis Bouquet Bruno Guillermin Thelma Saks Bradford Ingersoll Robert Poughéon Geo Henderick Cecil de Blaquiere Howard Jacques-Émile Ruhlmann Jean Dupas Jean-Bernard Descomps Eugène Belville René Gabriel Ralph Gerganoff Leon Hoet Hubert-Denis Etcheverry Enrique Estévez Ochoa Jules Criqui Maurice Alet Marcel Gaumont Bruno Zach Isidore Odorico Mounet Satomi Ugo Cipriani
26
action count
action filter_type
action find_reverse
entity Art Deco
relation movement
type common name
[{'concept': 'common name'}, 'movement', 'Art Deco']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:movement resource:Art_Deco . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q173782
P737
Q502895
USER
Which people influenced that cultural movement ?
action filter_type
action find
entity Q173782
relation P737
type Q502895
SELECT DISTINCT ?y WHERE { resource:Q173782 property:P737 ?y . ?y rdf:type ontology:Q502895 }
Art Deco
action filter_type
action find
entity Art Deco
relation influenced by
type common name
SELECT DISTINCT ?y WHERE { resource:Art_Deco property:influenced_by ?y . ?y rdf:type ontology:common_name }
[]
common name
Q35548 Q153793 Q524154
SYSTEM
Paul Cézanne, Georges Braque, Eugène Grasset
Q35548 Q153793 Q524154
action filter_type
action find
entity Q173782
relation P737
type Q502895
[ANSWERS] influenced that cultural movement
SELECT DISTINCT ?y WHERE { resource:Q173782 property:P737 ?y . ?y rdf:type ontology:Q502895 }
Paul Cézanne Georges Braque Eugène Grasset
Paul Cézanne, Georges Braque and Eugène Grasset influenced that cultural movement
Paul Cézanne Georges Braque Eugène Grasset
action filter_type
action find
entity Art Deco
relation influenced by
type common name
SELECT DISTINCT ?y WHERE { resource:Art_Deco property:influenced_by ?y . ?y rdf:type ontology:common_name }
[]