Simple Question (Direct)
Simple Question
Q2896559
P106
Q151885
USER
Which concept has Benoît Lacroix as his/her 's career ?
(Q2896559,P106,c(Q151885))
action filter_type
action find
entity Q2896559
relation P106
type Q151885
['Q2896559', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { resource:Q2896559 property:P106 ?h . ?h rdf:type ontology:Q151885 }
Benoît Lacroix
action filter_type
action find
entity Benoît Lacroix
relation occupation
type concept
['Benoît Lacroix', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { resource:Benoît_Lacroix property:occupation ?h . ?h rdf:type ontology:concept }
[]
concept
Q4964182
SYSTEM
philosopher
Q4964182
(Q2896559,P106,c(Q151885))
action filter_type
action find
entity Q2896559
relation P106
type Q151885
The [ANSWER] has Benoît Lacroix as his/her 's career
['Q2896559', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { resource:Q2896559 property:P106 ?h . ?h rdf:type ontology:Q151885 }
philosopher
The philosopher has Benoît Lacroix as his/her 's career
philosopher
action filter_type
action find
entity Benoît Lacroix
relation occupation
type concept
['Benoît Lacroix', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { resource:Benoît_Lacroix property:occupation ?h . ?h rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2896559
P734
Q82799
USER
Which name is associated with Benoît Lacroix ?
(Q2896559,P734,c(Q82799))
action filter_type
action find
entity Q2896559
relation P734
type Q82799
['Q2896559', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q2896559 property:P734 ?a }
Benoît Lacroix
action filter_type
action find
entity Benoît Lacroix
relation family name
type name
['Benoît Lacroix', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:Benoît_Lacroix property:family_name ?a }
[]
name
Q24688808
SYSTEM
Lacroix
Q24688808
(Q2896559,P734,c(Q82799))
action filter_type
action find
entity Q2896559
relation P734
type Q82799
Is [ANSWER] is associated with Benoît [ANSWER]
['Q2896559', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q2896559 property:P734 ?a }
Lacroix
Is Lacroix is associated with Benoît Lacroix
Lacroix
action filter_type
action find
entity Benoît Lacroix
relation family name
type name
['Benoît Lacroix', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:Benoît_Lacroix property:family_name ?a }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q9458574
P180
Q82799 Q15709879 Q17335294
USER
How many names are demonstrated in more number of artwork series and coats of arms than wasp ?
(c(Q15709879)|c(Q17335294),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q9458574
relation P180
type Q15709879
type Q17335294
[[{'concept': 'Q15709879'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?u WHERE { { ?h property:P180 ?u . ?u rdf:type ontology:Q82799 . ?h rdf:type ontology:Q15709879 } UNION { ?h property:P180 ?u . ?u rdf:type ontology:Q82799 . ?h rdf:type ontology:Q17335294 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:P180 resource:Q9458574 . { { ?s rdf:type ontology:Q17335294 } UNION { ?s rdf:type ontology:Q15709879 } } } } . FILTER ( ?q > ?d ) }
wasp
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity wasp
relation depicts
type artwork series
type flag or coat of arms
[[{'concept': 'artwork series'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?u WHERE { { ?h property:depicts ?u . ?u rdf:type ontology:name . ?h rdf:type ontology:artwork_series } UNION { ?h property:depicts ?u . ?u rdf:type ontology:name . ?h rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:depicts resource:wasp . { { ?s rdf:type ontology:flag_or_coat_of_arms } UNION { ?s rdf:type ontology:artwork_series } } } } . FILTER ( ?q > ?d ) }
[]
name artwork series flag or coat of arms
SYSTEM
6
Q5 Q726 Q144 Q201251 Q43115 Q152
(c(Q15709879)|c(Q17335294),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q9458574
relation P180
type Q15709879
type Q17335294
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?u WHERE { { ?h property:P180 ?u . ?u rdf:type ontology:Q82799 . ?h rdf:type ontology:Q15709879 } UNION { ?h property:P180 ?u . ?u rdf:type ontology:Q82799 . ?h rdf:type ontology:Q17335294 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:P180 resource:Q9458574 . { { ?s rdf:type ontology:Q17335294 } UNION { ?s rdf:type ontology:Q15709879 } } } } . FILTER ( ?q > ?d ) }
human horse dog peacock saint fish
6
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity wasp
relation depicts
type artwork series
type flag or coat of arms
[[{'concept': 'artwork series'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?u WHERE { { ?h property:depicts ?u . ?u rdf:type ontology:name . ?h rdf:type ontology:artwork_series } UNION { ?h property:depicts ?u . ?u rdf:type ontology:name . ?h rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:depicts resource:wasp . { { ?s rdf:type ontology:flag_or_coat_of_arms } UNION { ?s rdf:type ontology:artwork_series } } } } . FILTER ( ?q > ?d ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q4964182 Q2994131
P39
Q502895
USER
How many people were responsible for occupying the position of philosopher or Montreal City Council ?
(c(Q502895),P39,Q4964182) (c(Q502895),P39,Q2994131)
action count
action union
action filter_type
action find_reverse
entity Q4964182
relation P39
type Q502895
action filter_type
action find_reverse
entity Q2994131
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q4964182'] [{'concept': 'Q502895'}, 'P39', 'Q2994131']
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { VALUES ( ?k ) { ( resource:Q4964182 ) ( resource:Q2994131 ) } . ?v property:P39 ?k }
philosopher Montreal City Council
action count
action union
action filter_type
action find_reverse
entity philosopher
relation position held
type common name
action filter_type
action find_reverse
entity Montreal City Council
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'philosopher'] [{'concept': 'common name'}, 'position held', 'Montreal City Council']
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { VALUES ( ?k ) { ( resource:philosopher ) ( resource:Montreal_City_Council ) } . ?v property:position_held ?k }
[]
common name
SYSTEM
3
Q15406938 Q3752708 Q3263752
(c(Q502895),P39,Q4964182) (c(Q502895),P39,Q2994131)
action count
action union
action filter_type
action find_reverse
entity Q4964182
relation P39
type Q502895
action filter_type
action find_reverse
entity Q2994131
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q4964182'] [{'concept': 'Q502895'}, 'P39', 'Q2994131']
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { VALUES ( ?k ) { ( resource:Q4964182 ) ( resource:Q2994131 ) } . ?v property:P39 ?k }
Anne Staquet Fredegiso di Tours Louise Harel
3
action count
action union
action filter_type
action find_reverse
entity philosopher
relation position held
type common name
action filter_type
action find_reverse
entity Montreal City Council
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'philosopher'] [{'concept': 'common name'}, 'position held', 'Montreal City Council']
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { VALUES ( ?k ) { ( resource:philosopher ) ( resource:Montreal_City_Council ) } . ?v property:position_held ?k }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2995537
P706
Q82794 Q2221906 Q151885
USER
How many concepts are located in more number of geographic regions and geographic locations than Soanian ?
(c(Q151885),P706,c(Q82794)|c(Q2221906))
action count
action greater
action union
action find_tuple_counts
relation P706
type Q151885
type Q82794
action find_tuple_counts
relation P706
type Q151885
type Q2221906
action count
action filter_multi_types
action find
entity Q2995537
relation P706
type Q82794
type Q2221906
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q82794'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?j ) WHERE { ?v rdf:type ?y . VALUES ( ?y ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { { ?h rdf:type ontology:Q82794 } UNION { ?h rdf:type ontology:Q2221906 } } . resource:Q2995537 property:P706 ?h } } . FILTER ( ?j > ?q ) }
Soanian
action count
action greater
action union
action find_tuple_counts
relation located on terrain feature
type concept
type geographic region
action find_tuple_counts
relation located on terrain feature
type concept
type geographic location
action count
action filter_multi_types
action find
entity Soanian
relation located on terrain feature
type geographic region
type geographic location
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'geographic region'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?j ) WHERE { ?v rdf:type ?y . VALUES ( ?y ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { { ?h rdf:type ontology:geographic_region } UNION { ?h rdf:type ontology:geographic_location } } . resource:Soanian property:located_on_terrain_feature ?h } } . FILTER ( ?j > ?q ) }
[]
geographic region geographic location concept
SYSTEM
50
Q402743 Q80974 Q1121344 Q314639 Q2560070 Q575396 Q2064825 Q647858 Q2379716 Q893119 Q831336 Q1807594 Q1987770 Q693549 Q756905 Q1075080 Q2603061 Q2632835 Q2619651 Q773818 Q570798 Q500099 Q1932196 Q127455 Q2098731 Q1090851 Q1470903 Q3485378 Q1886212 Q427986 Q202165 Q2216194 Q875115 Q1088939 Q2252048 Q459376 Q1041674 Q2370603 Q3651998 Q1139760 Q208247 Q1781546 Q746287 Q221901 Q1755265 Q470867 Q2556093 Q2347305 Q733489 Q806348
(c(Q151885),P706,c(Q82794)|c(Q2221906))
action count
action greater
action union
action find_tuple_counts
relation P706
type Q151885
type Q82794
action find_tuple_counts
relation P706
type Q151885
type Q2221906
action count
action filter_multi_types
action find
entity Q2995537
relation P706
type Q82794
type Q2221906
[ANSWER]
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q82794'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?j ) WHERE { ?v rdf:type ?y . VALUES ( ?y ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { { ?h rdf:type ontology:Q82794 } UNION { ?h rdf:type ontology:Q2221906 } } . resource:Q2995537 property:P706 ?h } } . FILTER ( ?j > ?q ) }
Ahrensburg culture Afanasevo culture Solutrean Baalberge group Magosian Cernavodă culture Pavlovian culture Zarzian culture Sögel-Wohlde culture Boat Axe culture Vinča culture Luco-Meluno culture Saltovo-Mayaki Magdalenian Gravettian Upper Xiajiadian culture Coțofeni culture Okunev Culture Asbestos-ceramic Unetice culture Michelsberg culture Jastorf culture Stroke-ornamented ware culture Ordos culture Slab Grave Culture Châtelperronian Iberomaurusian Clovis culture Rössen culture Gaudo culture Hallstatt culture Salzmünde group Funnelbeaker culture Kebaran Schussenried culture Andronovo culture Lower Xiajiadian culture Boian culture South-German Urnfield culture Creswellian culture La Tène culture Kongemose culture Oldowan Aurignacian Kulli culture Beaker culture Gumelniţa–Karanovo culture Polada culture Natufian culture Linear Pottery culture
50
action count
action greater
action union
action find_tuple_counts
relation located on terrain feature
type concept
type geographic region
action find_tuple_counts
relation located on terrain feature
type concept
type geographic location
action count
action filter_multi_types
action find
entity Soanian
relation located on terrain feature
type geographic region
type geographic location
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'geographic region'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?j ) WHERE { ?v rdf:type ?y . VALUES ( ?y ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { { ?h rdf:type ontology:geographic_region } UNION { ?h rdf:type ontology:geographic_location } } . resource:Soanian property:located_on_terrain_feature ?h } } . FILTER ( ?j > ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1241067
P706
Q82794 Q2221906 Q151885
USER
And how about Old Europe?
(c(Q151885),P706,c(Q82794)|c(Q2221906))
action count
action greater
action union
action find_tuple_counts
relation P706
type Q151885
type Q82794
action find_tuple_counts
relation P706
type Q151885
type Q2221906
action count
action filter_multi_types
action find
entity Q1241067
relation P706
type Q82794
type Q2221906
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q82794'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q1241067 property:P706 ?g . { ?g rdf:type ?b . VALUES ( ?b ) { ( ontology:Q82794 ) ( ontology:Q2221906 ) } } } } . FILTER ( ?w > ?p ) . { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?w ) WHERE { { ?u property:P706 ?a . ?u rdf:type ontology:Q151885 . ?a rdf:type ontology:Q2221906 } UNION { ?u property:P706 ?a . ?u rdf:type ontology:Q151885 . ?a rdf:type ontology:Q82794 } } GROUP BY ?u } }
Old Europe
action count
action greater
action union
action find_tuple_counts
relation located on terrain feature
type concept
type geographic region
action find_tuple_counts
relation located on terrain feature
type concept
type geographic location
action count
action filter_multi_types
action find
entity Old Europe
relation located on terrain feature
type geographic region
type geographic location
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'geographic region'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Old_Europe property:located_on_terrain_feature ?g . { ?g rdf:type ?b . VALUES ( ?b ) { ( ontology:geographic_region ) ( ontology:geographic_location ) } } } } . FILTER ( ?w > ?p ) . { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?w ) WHERE { { ?u property:located_on_terrain_feature ?a . ?u rdf:type ontology:concept . ?a rdf:type ontology:geographic_location } UNION { ?u property:located_on_terrain_feature ?a . ?u rdf:type ontology:concept . ?a rdf:type ontology:geographic_region } } GROUP BY ?u } }
[]
geographic region geographic location concept
SYSTEM
50
Q402743 Q80974 Q1121344 Q314639 Q2560070 Q575396 Q2064825 Q647858 Q2379716 Q893119 Q831336 Q1807594 Q1987770 Q693549 Q756905 Q1075080 Q2603061 Q2632835 Q2619651 Q773818 Q570798 Q500099 Q1932196 Q127455 Q2098731 Q1090851 Q1470903 Q3485378 Q1886212 Q427986 Q202165 Q2216194 Q875115 Q1088939 Q2252048 Q459376 Q1041674 Q2370603 Q3651998 Q1139760 Q208247 Q1781546 Q746287 Q221901 Q1755265 Q470867 Q2556093 Q2347305 Q733489 Q806348
(c(Q151885),P706,c(Q82794)|c(Q2221906))
action count
action greater
action union
action find_tuple_counts
relation P706
type Q151885
type Q82794
action find_tuple_counts
relation P706
type Q151885
type Q2221906
action count
action filter_multi_types
action find
entity Q1241067
relation P706
type Q82794
type Q2221906
[ANSWER]
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q82794'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q1241067 property:P706 ?g . { ?g rdf:type ?b . VALUES ( ?b ) { ( ontology:Q82794 ) ( ontology:Q2221906 ) } } } } . FILTER ( ?w > ?p ) . { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?w ) WHERE { { ?u property:P706 ?a . ?u rdf:type ontology:Q151885 . ?a rdf:type ontology:Q2221906 } UNION { ?u property:P706 ?a . ?u rdf:type ontology:Q151885 . ?a rdf:type ontology:Q82794 } } GROUP BY ?u } }
Ahrensburg culture Afanasevo culture Solutrean Baalberge group Magosian Cernavodă culture Pavlovian culture Zarzian culture Sögel-Wohlde culture Boat Axe culture Vinča culture Luco-Meluno culture Saltovo-Mayaki Magdalenian Gravettian Upper Xiajiadian culture Coțofeni culture Okunev Culture Asbestos-ceramic Unetice culture Michelsberg culture Jastorf culture Stroke-ornamented ware culture Ordos culture Slab Grave Culture Châtelperronian Iberomaurusian Clovis culture Rössen culture Gaudo culture Hallstatt culture Salzmünde group Funnelbeaker culture Kebaran Schussenried culture Andronovo culture Lower Xiajiadian culture Boian culture South-German Urnfield culture Creswellian culture La Tène culture Kongemose culture Oldowan Aurignacian Kulli culture Beaker culture Gumelniţa–Karanovo culture Polada culture Natufian culture Linear Pottery culture
50
action count
action greater
action union
action find_tuple_counts
relation located on terrain feature
type concept
type geographic region
action find_tuple_counts
relation located on terrain feature
type concept
type geographic location
action count
action filter_multi_types
action find
entity Old Europe
relation located on terrain feature
type geographic region
type geographic location
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'geographic region'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Old_Europe property:located_on_terrain_feature ?g . { ?g rdf:type ?b . VALUES ( ?b ) { ( ontology:geographic_region ) ( ontology:geographic_location ) } } } } . FILTER ( ?w > ?p ) . { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?w ) WHERE { { ?u property:located_on_terrain_feature ?a . ?u rdf:type ontology:concept . ?a rdf:type ontology:geographic_location } UNION { ?u property:located_on_terrain_feature ?a . ?u rdf:type ontology:concept . ?a rdf:type ontology:geographic_region } } GROUP BY ?u } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q24688808
P734 P21
Q502895
USER
Which people have Lacroix as family name and have male as the sex ?
AND((c(Q502895),P734,Q24688808), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q24688808
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q24688808'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P734 resource:Q24688808 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
male Lacroix
action filter_type
action intersection
action find_reverse
entity Lacroix
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Lacroix'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:family_name resource:Lacroix . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
common name
Q3262421 Q3302613 Q3435630 Q21293032 Q3310061 Q3102054 Q16064291 Q3036191 Q520407 Q3185191
SYSTEM
Some of them are Louis Lacroix, Maxime Lacroix, Robert Lacroix, Robert Lacroix, Michel Lacroix, Georges-André Lacroix, Paul Lacroix, Donat Lacroix, André Lacroix, Joseph Lacroix
Q3435630 Q3168560 Q3060035 Q2505871 Q3572436 Q3131398 Q586570 Q6710948 Q3027059 Q5026285 Q3384598 Q983382 Q3120001 Q16064291 Q17353001 Q16011428 Q17428497 Q3184242 Q15650364 Q2834555 Q3300985 Q5386929 Q2896559 Q20729873 Q1096845 Q3265576 Q15924670 Q3526320 Q21293032 Q3098738 Q3579923 Q350844 Q3288162 Q2959101 Q1626795 Q5373262 Q3169453 Q3185191 Q1361048 Q3168058 Q3219667 Q20204204 Q3524353 Q2965408 Q3484335 Q21403058 Q18656195 Q15724553 Q1607626 Q5217857 Q15133125 Q21000687 Q3134549 Q3385722 Q3385720 Q1558927 Q2966321 Q2966320 Q520407 Q3348844 Q3036191 Q16026877 Q2300596 Q3262421 Q3524030 Q15969151 Q3195737 Q3385716 Q522782 Q3295496 Q1026571 Q20807829 Q3484333 Q3591205 Q3102994 Q19358514 Q3264521 Q3298773 Q13091116 Q19946546 Q3367475 Q3310056 Q2848063 Q2848060 Q14087681 Q14949446 Q2831305 Q2125727 Q3172934 Q3021790 Q3568202 Q3510164 Q3102054 Q2383852 Q3166835 Q3118469 Q3435629 Q3310061 Q21511849 Q16841921 Q3302613 Q4759952 Q4759951 Q2093605 Q3807680 Q15118820 Q2833797
AND((c(Q502895),P734,Q24688808), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q24688808
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Lacroix as family name and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q24688808'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P734 resource:Q24688808 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
Robert Lacroix Jean-Paul Lacroix Eugène Milliès-Lacroix Emile Lacroix Yohann Lacroix Henri Lacroix Antoine Lacroix Léandre Lacroix Didier Lacroix Cameron Lacroix Pierre D. Lacroix Sylvestre François Lacroix Guillaume Lacroix Paul Lacroix Henri Lacroix Jean-Pierre Lacroix Arthur Lacroix Joseph-Eugène Lacroix Camille Lacroix Alexis Lacroix Maurice Lacroix Eric Lacroix Benoît Lacroix Jean Lacroix Claude Lacroix Lucien Lacroix Jean-Pierre Lacroix Théo Lacroix Robert Lacroix Gaspard-Jean Lacroix Édouard Lacroix Christian Lacroix Marc Lacroix Charles François Grenier de Lacroix Thierry Lacroix Emmanuel Lacroix Jean-Pierre Lacroix Joseph Lacroix Alphonse Lacroix Jean-Michel Lacroix Laurier Lacroix Marius Lacroix Thierry Lacroix Christian Lax Simon Lacroix Jean Lacroix Philippe Lacroix Xavier Lacroix Paul Lacroix Daniel Lacroix Jean-Yves Lacroix Paul Lacroix Hervé Lacroix Pierre Lacroix Pierre Lacroix Gérald Lacroix Christophe Lacroix Christophe Lacroix André Lacroix Octave Lacroix Donat Lacroix Julien Lacroix Alphonse François Lacroix Louis Lacroix Thibault Lacroix Augustin Lacroix Kevin Lacroix Pierre Lacroix Léo Lacroix Martin Lacroix Sébastien Lacroix Pierre Jean Lacroix Simon Lacroix Éric Lacroix Georges Lacroix Antoine Lacroix Loïc Lacroix Mathieu Lacroix Sigismond Lacroix Gabriel Lacroix Pascal Lacroix Michel Lacroix André Lacroix André Lacroix Philippe Lacroix Hubert Lacroix Albert Lacroix Emmanuel Lacroix Jean Lacroix Delphin Lacroix Wilfrid Lacroix Sébastien Lacroix Georges-André Lacroix Boris Lacroix Jean-Louis Lacroix Grégoire Lacroix Robert Lacroix Michel Lacroix Philippe Joseph Lacroix Clovis Lacroix Maxime Lacroix André Lacroix André Lacroix Pierre Lacroix Jean Lacroix Léo Lacroix Alexandre Lacroix
Louis Lacroix, Maxime Lacroix, Robert Lacroix, Robert Lacroix, Michel Lacroix, Georges-André Lacroix, Paul Lacroix, Donat Lacroix, André Lacroix and Joseph Lacroix have Lacroix as family name and have male as the sex
Louis Lacroix Maxime Lacroix Robert Lacroix Robert Lacroix Michel Lacroix Georges-André Lacroix Paul Lacroix Donat Lacroix André Lacroix Joseph Lacroix
action filter_type
action intersection
action find_reverse
entity Lacroix
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Lacroix'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:family_name resource:Lacroix . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do atleast 4260 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 4260
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?q ) WHERE { ?l rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 . ?j property:P1303 ?l } GROUP BY ?l } . FILTER ( ?q >= 4260 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 4260
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?q ) WHERE { ?l rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name . ?j property:instrument ?l } GROUP BY ?l } . FILTER ( ?q >= 4260 ) }
[]
musical instrument common name
SYSTEM
2
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 4260
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?q ) WHERE { ?l rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 . ?j property:P1303 ?l } GROUP BY ?l } . FILTER ( ?q >= 4260 ) }
piano violin
2
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 4260
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?q ) WHERE { ?l rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name . ?j property:instrument ?l } GROUP BY ?l } . FILTER ( ?q >= 4260 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3302613
P54
Q12973014
USER
Which sports teams are that person a member of ?
action filter_type
action find
entity Q3302613
relation P54
type Q12973014
SELECT DISTINCT ?e WHERE { resource:Q3302613 property:P54 ?e . ?e rdf:type ontology:Q12973014 }
Maxime Lacroix
action filter_type
action find
entity Maxime Lacroix
relation member of sports team
type sports team
SELECT DISTINCT ?e WHERE { resource:Maxime_Lacroix property:member_of_sports_team ?e . ?e rdf:type ontology:sports_team }
[]
sports team
Q1170911 Q569225
SYSTEM
Dragons de Rouen, Hershey Bears
Q1170911 Q569225
action filter_type
action find
entity Q3302613
relation P54
type Q12973014
[ANSWERS] are that person a member of
SELECT DISTINCT ?e WHERE { resource:Q3302613 property:P54 ?e . ?e rdf:type ontology:Q12973014 }
Dragons de Rouen Hershey Bears
Dragons de Rouen and Hershey Bears are that person a member of
Dragons de Rouen Hershey Bears
action filter_type
action find
entity Maxime Lacroix
relation member of sports team
type sports team
SELECT DISTINCT ?e WHERE { resource:Maxime_Lacroix property:member_of_sports_team ?e . ?e rdf:type ontology:sports_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q569225
P641
Q349
USER
Which sport was that sports team a part of ?
(Q569225,P641,c(Q349))
action filter_type
action find
entity Q569225
relation P641
type Q349
['Q569225', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q569225 property:P641 ?c . ?c rdf:type ontology:Q349 }
Hershey Bears
action filter_type
action find
entity Hershey Bears
relation sport
type sport
['Hershey Bears', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Hershey_Bears property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Clarification for simple ques.
Q1170911
SYSTEM
Did you mean Dragons de Rouen ?
Q1170911 Q569225
(Q1170911,P641,c(Q349)) (Q569225,P641,c(Q349))
[ANSWER]
['Q1170911', 'P641', {'concept': 'Q349'}] ['Q569225', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q569225 property:P641 ?c . ?c rdf:type ontology:Q349 }
Dragons de Rouen Hershey Bears
Did you mean Dragons de Rouen ?
Dragons de Rouen
['Dragons de Rouen', 'sport', {'concept': 'sport'}] ['Hershey Bears', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Hershey_Bears property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
USER
No, I meant Hershey Bears. Could you tell me the answer for that?
(Q569225,P641,c(Q349))
Q569225
['Q569225', 'P641', {'concept': 'Q349'}]
['Hershey Bears', 'sport', {'concept': 'sport'}]
[]
Q41466
SYSTEM
ice hockey
Q41466
(Q569225,P641,c(Q349))
action filter_type
action find
entity Q569225
relation P641
type Q349
The [ANSWER] was that sports team a part of
['Q569225', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q569225 property:P641 ?c . ?c rdf:type ontology:Q349 }
ice hockey
The ice hockey was that sports team a part of
ice hockey
action filter_type
action find
entity Hershey Bears
relation sport
type sport
['Hershey Bears', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Hershey_Bears property:sport ?c . ?c rdf:type ontology:sport }
[]