Simple Question (Direct)
Simple Question
Q4526785
P27
Q7275
USER
Which state is Genrikh Shteynberg a civilian of ?
(Q4526785,P27,c(Q7275))
action filter_type
action find
entity Q4526785
relation P27
type Q7275
['Q4526785', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { resource:Q4526785 property:P27 ?c . ?c rdf:type ontology:Q7275 }
Genrikh Shteynberg
action filter_type
action find
entity Genrikh Shteynberg
relation country of citizenship
type state
['Genrikh Shteynberg', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { resource:Genrikh_Shteynberg property:country_of_citizenship ?c . ?c rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q4526785,P27,c(Q7275))
action filter_type
action find
entity Q4526785
relation P27
type Q7275
The [ANSWER] is Genrikh Shteynberg a civilian of
['Q4526785', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { resource:Q4526785 property:P27 ?c . ?c rdf:type ontology:Q7275 }
Soviet Union
The Soviet Union is Genrikh Shteynberg a civilian of
Soviet Union
action filter_type
action find
entity Genrikh Shteynberg
relation country of citizenship
type state
['Genrikh Shteynberg', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { resource:Genrikh_Shteynberg property:country_of_citizenship ?c . ?c rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4526785
P106
Q12737077
USER
What does Genrikh Shteynberg do for a living ?
(Q4526785,P106,c(Q12737077))
action filter_type
action find
entity Q4526785
relation P106
type Q12737077
['Q4526785', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q4526785 property:P106 ?z }
Genrikh Shteynberg
action filter_type
action find
entity Genrikh Shteynberg
relation occupation
type occupation
['Genrikh Shteynberg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Genrikh_Shteynberg property:occupation ?z }
[]
occupation
Q901
SYSTEM
scientist
Q901
(Q4526785,P106,c(Q12737077))
action filter_type
action find
entity Q4526785
relation P106
type Q12737077
[ANSWER] Genrikh Shteynberg does for a living
['Q4526785', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q4526785 property:P106 ?z }
scientist
Scientist Genrikh Shteynberg does for a living
scientist
action filter_type
action find
entity Genrikh Shteynberg
relation occupation
type occupation
['Genrikh Shteynberg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Genrikh_Shteynberg property:occupation ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4526785
P101
Q1047113
USER
Which special field is the area of Genrikh Shteynberg ?
(Q4526785,P101,c(Q1047113))
action filter_type
action find
entity Q4526785
relation P101
type Q1047113
['Q4526785', 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ?j WHERE { resource:Q4526785 property:P101 ?j . ?j rdf:type ontology:Q1047113 }
Genrikh Shteynberg
action filter_type
action find
entity Genrikh Shteynberg
relation field of work
type special field
['Genrikh Shteynberg', 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ?j WHERE { resource:Genrikh_Shteynberg property:field_of_work ?j . ?j rdf:type ontology:special_field }
[]
special field
Q102904
SYSTEM
volcanology
Q102904
(Q4526785,P101,c(Q1047113))
action filter_type
action find
entity Q4526785
relation P101
type Q1047113
[ANSWER] is the area of Genrikh Shteynberg
['Q4526785', 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ?j WHERE { resource:Q4526785 property:P101 ?j . ?j rdf:type ontology:Q1047113 }
volcanology
Volcanology is the area of Genrikh Shteynberg
volcanology
action filter_type
action find
entity Genrikh Shteynberg
relation field of work
type special field
['Genrikh Shteynberg', 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ?j WHERE { resource:Genrikh_Shteynberg property:field_of_work ?j . ?j rdf:type ontology:special_field }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1475667 Q4526785
P101 P1995
Q1047113
USER
Which special fields are the fields of work of Genrikh Shteynberg or are the medical specalities concerned with taeniasis ?
OR((Q4526785,P101,c(Q1047113)), (Q1475667,P1995,c(Q1047113)))
action filter_type
action union
action find
entity Q4526785
relation P101
action find
entity Q1475667
relation P1995
type Q1047113
{'OR': [['Q4526785', 'P101', {'concept': 'Q1047113'}], ['Q1475667', 'P1995', {'concept': 'Q1047113'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1475667 property:P1995 ?n } UNION { resource:Q4526785 property:P101 ?n } } . ?n rdf:type ontology:Q1047113 }
taeniasis Genrikh Shteynberg
action filter_type
action union
action find
entity Genrikh Shteynberg
relation field of work
action find
entity taeniasis
relation medical specialty
type special field
{'OR': [['Genrikh Shteynberg', 'field of work', {'concept': 'special field'}], ['taeniasis', 'medical specialty', {'concept': 'special field'}]]}
SELECT DISTINCT ?n WHERE { { { resource:taeniasis property:medical_specialty ?n } UNION { resource:Genrikh_Shteynberg property:field_of_work ?n } } . ?n rdf:type ontology:special_field }
[]
special field
Q102904 Q788926
SYSTEM
volcanology, Infectious disease
Q102904 Q788926
OR((Q4526785,P101,c(Q1047113)), (Q1475667,P1995,c(Q1047113)))
action filter_type
action union
action find
entity Q4526785
relation P101
action find
entity Q1475667
relation P1995
type Q1047113
[ANSWERS] are the fields of work of Genrikh Shteynberg or are the medical specalities concerned with taeniasis
{'OR': [['Q4526785', 'P101', {'concept': 'Q1047113'}], ['Q1475667', 'P1995', {'concept': 'Q1047113'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1475667 property:P1995 ?n } UNION { resource:Q4526785 property:P101 ?n } } . ?n rdf:type ontology:Q1047113 }
volcanology Infectious disease
Volcanology and Infectious disease are the fields of work of Genrikh Shteynberg or are the medical specalities concerned with taeniasis
volcanology Infectious disease
action filter_type
action union
action find
entity Genrikh Shteynberg
relation field of work
action find
entity taeniasis
relation medical specialty
type special field
{'OR': [['Genrikh Shteynberg', 'field of work', {'concept': 'special field'}], ['taeniasis', 'medical specialty', {'concept': 'special field'}]]}
SELECT DISTINCT ?n WHERE { { { resource:taeniasis property:medical_specialty ?n } UNION { resource:Genrikh_Shteynberg property:field_of_work ?n } } . ?n rdf:type ontology:special_field }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P101
Q1047113 Q21114848 Q43229
USER
Which special fields do more number of magazine genres or organizations belong to than that special field ?
(c(Q21114848)|c(Q43229),P101,c(Q1047113))
[[{'concept': 'Q21114848'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q1047113 . ?x rdf:type ontology:Q43229 }
[[{'concept': 'magazine genre'}, {'concept': 'organization'}], 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:special_field . ?x rdf:type ontology:organization }
[]
special field magazine genre organization
Comparative|More/Less|Mult. entity type|Clarification
Q102904
SYSTEM
Did you mean volcanology ?
(c(Q21114848)|c(Q43229),P101,c(Q1047113))
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q1047113 . ?x rdf:type ontology:Q43229 }
Did you mean volcanology ?
volcanology
[[{'concept': 'magazine genre'}, {'concept': 'organization'}], 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:special_field . ?x rdf:type ontology:organization }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q21114848)|c(Q43229),P101,c(Q1047113))
[[{'concept': 'Q21114848'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q1047113'}]
[[{'concept': 'magazine genre'}, {'concept': 'organization'}], 'field of work', {'concept': 'special field'}]
[]
Q207011 Q614304 Q1569011
SYSTEM
neuroscience, pharmacy, Urban history
Q614304 Q128406 Q5891 Q7218 Q1407263 Q103824 Q1773974 Q123028 Q83042 Q376680 Q7867 Q199655 Q1569011 Q2861470 Q840545 Q161437 Q1774688 Q441 Q207011 Q23498
(c(Q21114848)|c(Q43229),P101,c(Q1047113))
[ANSWERS] more number of magazine genres or organizations belong to than that special field
[[{'concept': 'Q21114848'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q1047113 . ?x rdf:type ontology:Q43229 }
pharmacy pharmacology philosophy toxicology forensic psychiatry hematology preventive medicine pediatrics neurology traumatology psychiatry library science Urban history emergency medicine sports medicine ophthalmology clinical pharmacology botany neuroscience archaeology
Neuroscience, pharmacy and Urban history more number of magazine genres or organizations belong to than that special field
neuroscience pharmacy Urban history
[[{'concept': 'magazine genre'}, {'concept': 'organization'}], 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:special_field . ?x rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15180
P127
Q502895
USER
Which person is under posessision of Soviet Union ?
(c(Q502895),P127,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P127
type Q502895
[{'concept': 'Q502895'}, 'P127', 'Q15180']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P127 resource:Q15180 }
Soviet Union
action filter_type
action find_reverse
entity Soviet Union
relation owned by
type common name
[{'concept': 'common name'}, 'owned by', 'Soviet Union']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:owned_by resource:Soviet_Union }
[]
common name
Q327132
SYSTEM
Soviet space dog
Q327132
(c(Q502895),P127,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P127
type Q502895
[ANSWER] is under posessision of Soviet Union
[{'concept': 'Q502895'}, 'P127', 'Q15180']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P127 resource:Q15180 }
Soviet space dog
Soviet space dog is under posessision of Soviet Union
Soviet space dog
action filter_type
action find_reverse
entity Soviet Union
relation owned by
type common name
[{'concept': 'common name'}, 'owned by', 'Soviet Union']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:owned_by resource:Soviet_Union }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15180
P112
Q131257
USER
Which intellectual properties were founded by that state ?
(c(Q131257),P112,Q327132)
action filter_type
action find_reverse
entity Q15180
relation P112
type Q131257
[{'concept': 'Q131257'}, 'P112', 'Q327132']
SELECT DISTINCT ?t WHERE { ?t property:P112 resource:Q15180 . ?t rdf:type ontology:Q131257 }
Soviet Union
action filter_type
action find_reverse
entity Soviet Union
relation founder
type intellectual property
[{'concept': 'intellectual property'}, 'founder', 'Soviet space dog']
SELECT DISTINCT ?t WHERE { ?t property:founder resource:Soviet_Union . ?t rdf:type ontology:intellectual_property }
[]
intellectual property
Q1371118 Q2100063
SYSTEM
Raketa, Pobeda
Q1371118 Q2100063
(c(Q131257),P112,Q327132)
action filter_type
action find_reverse
entity Q15180
relation P112
type Q131257
[ANSWERS] were founded by that state
[{'concept': 'Q131257'}, 'P112', 'Q327132']
SELECT DISTINCT ?t WHERE { ?t property:P112 resource:Q15180 . ?t rdf:type ontology:Q131257 }
Raketa Pobeda
Raketa and Pobeda were founded by that state
Raketa Pobeda
action filter_type
action find_reverse
entity Soviet Union
relation founder
type intellectual property
[{'concept': 'intellectual property'}, 'founder', 'Soviet space dog']
SELECT DISTINCT ?t WHERE { ?t property:founder resource:Soviet_Union . ?t rdf:type ontology:intellectual_property }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2181426
P355
Q131257 Q4830453 Q43229
USER
Which intellectual properties are less number of business enterprises or organizations the parent company of than Leader Price ?
(c(Q4830453)|c(Q43229),P355,c(Q131257))
action less
action union
action find_reverse_tuple_counts
relation P355
type Q131257
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q131257
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q2181426
relation P355
type Q4830453
type Q43229
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q131257'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?o WHERE { { ?p property:P355 ?o . ?p rdf:type ontology:Q4830453 . ?o rdf:type ontology:Q131257 } UNION { ?p property:P355 ?o . ?o rdf:type ontology:Q131257 . ?p rdf:type ontology:Q43229 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:P355 resource:Q2181426 . { { ?f rdf:type ontology:Q4830453 } UNION { ?f rdf:type ontology:Q43229 } } } } . FILTER ( ?v < ?l ) }
Leader Price
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type intellectual property
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type intellectual property
type organization
action count
action filter_multi_types
action find_reverse
entity Leader Price
relation subsidiary
type business enterprise
type organization
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'intellectual property'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?o WHERE { { ?p property:subsidiary ?o . ?p rdf:type ontology:business_enterprise . ?o rdf:type ontology:intellectual_property } UNION { ?p property:subsidiary ?o . ?o rdf:type ontology:intellectual_property . ?p rdf:type ontology:organization } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:subsidiary resource:Leader_Price . { { ?f rdf:type ontology:business_enterprise } UNION { ?f rdf:type ontology:organization } } } } . FILTER ( ?v < ?l ) }
[]
intellectual property business enterprise organization
Q6677525 Q2932616 Q2376804
SYSTEM
Cadbury, Cadbury France, Chocolat Poulain
Q1094559 Q2085762 Q2007340 Q1545718 Q18215890 Q3377305 Q3200090 Q2964274 Q1637028 Q3071657 Q3411867 Q6435805 Q3116568 Q119203 Q2940457 Q1150967 Q3368437 Q470995 Q3139416 Q3557667 Q3160119 Q2932947 Q841470 Q3313133 Q3211619 Q2468046 Q3115443 Q749554 Q2932538 Q1686705 Q1531983 Q3134930 Q215707 Q6677525 Q536691 Q2376804 Q2961481 Q757388 Q5016273 Q138585 Q2357825 Q2932616 Q3360531 Q3554480 Q3306551 Q2744433 Q1146710 Q638523 Q3315811 Q2904636
(c(Q4830453)|c(Q43229),P355,c(Q131257))
action less
action union
action find_reverse_tuple_counts
relation P355
type Q131257
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q131257
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q2181426
relation P355
type Q4830453
type Q43229
[ANSWERS] are less number of business enterprises or organizations the parent company of than Leader Price
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q131257'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?o WHERE { { ?p property:P355 ?o . ?p rdf:type ontology:Q4830453 . ?o rdf:type ontology:Q131257 } UNION { ?p property:P355 ?o . ?o rdf:type ontology:Q131257 . ?p rdf:type ontology:Q43229 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:P355 resource:Q2181426 . { { ?f rdf:type ontology:Q4830453 } UNION { ?f rdf:type ontology:Q43229 } } } } . FILTER ( ?v < ?l ) }
Leibniz-Keks Philadelphia cream cheese Chokotoff Nabisco Borio Petit écolier Kréma Chocolat Suchard Mythos Brewery Figolu Pépito Kraft Dinner Grey Poupon Granola Carte Noire Côte d'Or Pastador Carambar Hollywood Chewing Gum Victoria Jacques Vabre Café Grand'Mère Vegemite Mikado La Pie qui Chante Jacobs Grany Malabar Cachou Lajaunie Jell-O Kool-Aid Heudebert Toblerone Cadbury Cheez Whiz Chocolat Poulain Chat Noir Milka Cadbury Mr. Big Oreo Vichy Pastilles Cadbury France Paille d'or Vandamme Maxwell House Tang Lumix Tassimo Miracle Whip Biscuiterie Belin
Cadbury, Cadbury France and Chocolat Poulain are less number of business enterprises or organizations the parent company of than Leader Price
Cadbury Cadbury France Chocolat Poulain
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type intellectual property
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type intellectual property
type organization
action count
action filter_multi_types
action find_reverse
entity Leader Price
relation subsidiary
type business enterprise
type organization
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'intellectual property'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?o WHERE { { ?p property:subsidiary ?o . ?p rdf:type ontology:business_enterprise . ?o rdf:type ontology:intellectual_property } UNION { ?p property:subsidiary ?o . ?o rdf:type ontology:intellectual_property . ?p rdf:type ontology:organization } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:subsidiary resource:Leader_Price . { { ?f rdf:type ontology:business_enterprise } UNION { ?f rdf:type ontology:organization } } } } . FILTER ( ?v < ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3487556
P355
Q131257 Q4830453 Q43229
USER
And what about Société?
(c(Q4830453)|c(Q43229),P355,c(Q131257))
action less
action union
action find_reverse_tuple_counts
relation P355
type Q131257
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q131257
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q3487556
relation P355
type Q4830453
type Q43229
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q131257'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?w WHERE { { ?r property:P355 ?w . ?w rdf:type ontology:Q131257 . ?r rdf:type ontology:Q43229 } UNION { ?r property:P355 ?w . ?r rdf:type ontology:Q4830453 . ?w rdf:type ontology:Q131257 } } GROUP BY ?w } . FILTER ( ?l < ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P355 resource:Q3487556 . { VALUES ( ?f ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } . ?n rdf:type ?f } } } }
Société
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type intellectual property
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type intellectual property
type organization
action count
action filter_multi_types
action find_reverse
entity Société
relation subsidiary
type business enterprise
type organization
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'intellectual property'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?w WHERE { { ?r property:subsidiary ?w . ?w rdf:type ontology:intellectual_property . ?r rdf:type ontology:organization } UNION { ?r property:subsidiary ?w . ?r rdf:type ontology:business_enterprise . ?w rdf:type ontology:intellectual_property } } GROUP BY ?w } . FILTER ( ?l < ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:subsidiary resource:Société . { VALUES ( ?f ) { ( ontology:business_enterprise ) ( ontology:organization ) } . ?n rdf:type ?f } } } }
[]
intellectual property business enterprise organization
Q6677525 Q2932616 Q2376804
SYSTEM
Cadbury, Cadbury France, Chocolat Poulain
Q1094559 Q2085762 Q2007340 Q1545718 Q18215890 Q3377305 Q3200090 Q2964274 Q1637028 Q3071657 Q3411867 Q6435805 Q3116568 Q119203 Q2940457 Q1150967 Q3368437 Q470995 Q3139416 Q3557667 Q3160119 Q2932947 Q841470 Q3313133 Q3211619 Q2468046 Q3115443 Q749554 Q2932538 Q1686705 Q1531983 Q3134930 Q215707 Q6677525 Q536691 Q2376804 Q2961481 Q757388 Q5016273 Q138585 Q2357825 Q2932616 Q3360531 Q3554480 Q3306551 Q2744433 Q1146710 Q638523 Q3315811 Q2904636
(c(Q4830453)|c(Q43229),P355,c(Q131257))
action less
action union
action find_reverse_tuple_counts
relation P355
type Q131257
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q131257
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q3487556
relation P355
type Q4830453
type Q43229
[ANSWERS]
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q131257'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?w WHERE { { ?r property:P355 ?w . ?w rdf:type ontology:Q131257 . ?r rdf:type ontology:Q43229 } UNION { ?r property:P355 ?w . ?r rdf:type ontology:Q4830453 . ?w rdf:type ontology:Q131257 } } GROUP BY ?w } . FILTER ( ?l < ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P355 resource:Q3487556 . { VALUES ( ?f ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } . ?n rdf:type ?f } } } }
Leibniz-Keks Philadelphia cream cheese Chokotoff Nabisco Borio Petit écolier Kréma Chocolat Suchard Mythos Brewery Figolu Pépito Kraft Dinner Grey Poupon Granola Carte Noire Côte d'Or Pastador Carambar Hollywood Chewing Gum Victoria Jacques Vabre Café Grand'Mère Vegemite Mikado La Pie qui Chante Jacobs Grany Malabar Cachou Lajaunie Jell-O Kool-Aid Heudebert Toblerone Cadbury Cheez Whiz Chocolat Poulain Chat Noir Milka Cadbury Mr. Big Oreo Vichy Pastilles Cadbury France Paille d'or Vandamme Maxwell House Tang Lumix Tassimo Miracle Whip Biscuiterie Belin
Cadbury Cadbury France Chocolat Poulain
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type intellectual property
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type intellectual property
type organization
action count
action filter_multi_types
action find_reverse
entity Société
relation subsidiary
type business enterprise
type organization
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'intellectual property'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?w WHERE { { ?r property:subsidiary ?w . ?w rdf:type ontology:intellectual_property . ?r rdf:type ontology:organization } UNION { ?r property:subsidiary ?w . ?r rdf:type ontology:business_enterprise . ?w rdf:type ontology:intellectual_property } } GROUP BY ?w } . FILTER ( ?l < ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:subsidiary resource:Société . { VALUES ( ?f ) { ( ontology:business_enterprise ) ( ontology:organization ) } . ?n rdf:type ?f } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q23010103
P355
Q131257 Q4830453
USER
How many business enterprises contains greater number of intellectual properties as their subordinate than Kadeau København ?
(c(Q4830453),P355,c(Q131257))
action count
action greater
action find_tuple_counts
relation P355
type Q4830453
type Q131257
action count
action filter_type
action find
entity Q23010103
relation P355
type Q4830453
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q131257'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { FILTER ( ?n > ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Q23010103 property:P355 ?j . ?j rdf:type ontology:Q4830453 } } . { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?n ) WHERE { ?f property:P355 ?l . ?f rdf:type ontology:Q4830453 . ?l rdf:type ontology:Q131257 } GROUP BY ?f } }
Kadeau København
action count
action greater
action find_tuple_counts
relation subsidiary
type business enterprise
type intellectual property
action count
action filter_type
action find
entity Kadeau København
relation subsidiary
type business enterprise
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'intellectual property'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { FILTER ( ?n > ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Kadeau_København property:subsidiary ?j . ?j rdf:type ontology:business_enterprise } } . { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?n ) WHERE { ?f property:subsidiary ?l . ?f rdf:type ontology:business_enterprise . ?l rdf:type ontology:intellectual_property } GROUP BY ?f } }
[]
intellectual property business enterprise
SYSTEM
2
Q329426 Q160746
(c(Q4830453),P355,c(Q131257))
action count
action greater
action find_tuple_counts
relation P355
type Q4830453
type Q131257
action count
action filter_type
action find
entity Q23010103
relation P355
type Q4830453
[ANSWER]
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q131257'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { FILTER ( ?n > ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Q23010103 property:P355 ?j . ?j rdf:type ontology:Q4830453 } } . { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?n ) WHERE { ?f property:P355 ?l . ?f rdf:type ontology:Q4830453 . ?l rdf:type ontology:Q131257 } GROUP BY ?f } }
Danone Nestlé
2
action count
action greater
action find_tuple_counts
relation subsidiary
type business enterprise
type intellectual property
action count
action filter_type
action find
entity Kadeau København
relation subsidiary
type business enterprise
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'intellectual property'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { FILTER ( ?n > ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Kadeau_København property:subsidiary ?j . ?j rdf:type ontology:business_enterprise } } . { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?n ) WHERE { ?f property:subsidiary ?l . ?f rdf:type ontology:business_enterprise . ?l rdf:type ontology:intellectual_property } GROUP BY ?f } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q27231583
P355
Q131257 Q4830453
USER
And how about PFA HOLDING?
(c(Q4830453),P355,c(Q131257))
action count
action greater
action find_tuple_counts
relation P355
type Q4830453
type Q131257
action count
action filter_type
action find
entity Q27231583
relation P355
type Q4830453
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q131257'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?x ) WHERE { ?j property:P355 ?i . ?i rdf:type ontology:Q131257 . ?j rdf:type ontology:Q4830453 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q27231583 property:P355 ?z . ?z rdf:type ontology:Q4830453 } } . FILTER ( ?x > ?y ) }
PFA HOLDING
action count
action greater
action find_tuple_counts
relation subsidiary
type business enterprise
type intellectual property
action count
action filter_type
action find
entity PFA HOLDING
relation subsidiary
type business enterprise
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'intellectual property'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?x ) WHERE { ?j property:subsidiary ?i . ?i rdf:type ontology:intellectual_property . ?j rdf:type ontology:business_enterprise } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:PFA_HOLDING property:subsidiary ?z . ?z rdf:type ontology:business_enterprise } } . FILTER ( ?x > ?y ) }
[]
intellectual property business enterprise
SYSTEM
2
Q329426 Q160746
(c(Q4830453),P355,c(Q131257))
action count
action greater
action find_tuple_counts
relation P355
type Q4830453
type Q131257
action count
action filter_type
action find
entity Q27231583
relation P355
type Q4830453
[ANSWER]
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q131257'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?x ) WHERE { ?j property:P355 ?i . ?i rdf:type ontology:Q131257 . ?j rdf:type ontology:Q4830453 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q27231583 property:P355 ?z . ?z rdf:type ontology:Q4830453 } } . FILTER ( ?x > ?y ) }
Danone Nestlé
2
action count
action greater
action find_tuple_counts
relation subsidiary
type business enterprise
type intellectual property
action count
action filter_type
action find
entity PFA HOLDING
relation subsidiary
type business enterprise
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'intellectual property'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?x ) WHERE { ?j property:subsidiary ?i . ?i rdf:type ontology:intellectual_property . ?j rdf:type ontology:business_enterprise } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:PFA_HOLDING property:subsidiary ?z . ?z rdf:type ontology:business_enterprise } } . FILTER ( ?x > ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6677525
P1454
Q2712963
USER
Which abstract noun is the type of legal form of Cadbury ?
(Q6677525,P1454,c(Q2712963))
action filter_type
action find
entity Q6677525
relation P1454
type Q2712963
['Q6677525', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2712963 . resource:Q6677525 property:P1454 ?s }
Cadbury
action filter_type
action find
entity Cadbury
relation legal form
type abstract noun
['Cadbury', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:abstract_noun . resource:Cadbury property:legal_form ?s }
[]
abstract noun
Q5225895
SYSTEM
public limited company
Q5225895
(Q6677525,P1454,c(Q2712963))
action filter_type
action find
entity Q6677525
relation P1454
type Q2712963
The [ANSWER] is the type of legal form of Cadbury
['Q6677525', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2712963 . resource:Q6677525 property:P1454 ?s }
public limited company
The public limited company is the type of legal form of Cadbury
public limited company
action filter_type
action find
entity Cadbury
relation legal form
type abstract noun
['Cadbury', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:abstract_noun . resource:Cadbury property:legal_form ?s }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3360531
P355
Q131257 Q43229 Q4830453
USER
How many intellectual properties are more number of organizations or business enterprises the parent company of than Paille d'or ?
(c(Q43229)|c(Q4830453),P355,c(Q131257))
action count
action greater
action union
action find_reverse_tuple_counts
relation P355
type Q131257
type Q43229
action find_reverse_tuple_counts
relation P355
type Q131257
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q3360531
relation P355
type Q43229
type Q4830453
[[{'concept': 'Q43229'}, {'concept': 'Q4830453'}], 'P355', {'concept': 'Q131257'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?i ) WHERE { { ?h property:P355 ?z . ?h rdf:type ontology:Q43229 . ?z rdf:type ontology:Q131257 } UNION { ?z rdf:type ontology:Q131257 . ?h rdf:type ontology:Q4830453 . ?h property:P355 ?z } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:P355 resource:Q3360531 . { { ?c rdf:type ontology:Q43229 } UNION { ?c rdf:type ontology:Q4830453 } } } } . FILTER ( ?i > ?t ) }
Paille d'or
action count
action greater
action union
action find_reverse_tuple_counts
relation subsidiary
type intellectual property
type organization
action find_reverse_tuple_counts
relation subsidiary
type intellectual property
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Paille d'or
relation subsidiary
type organization
type business enterprise
[[{'concept': 'organization'}, {'concept': 'business enterprise'}], 'subsidiary', {'concept': 'intellectual property'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?i ) WHERE { { ?h property:subsidiary ?z . ?h rdf:type ontology:organization . ?z rdf:type ontology:intellectual_property } UNION { ?z rdf:type ontology:intellectual_property . ?h rdf:type ontology:business_enterprise . ?h property:subsidiary ?z } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:subsidiary resource:Paille_d'or . { { ?c rdf:type ontology:organization } UNION { ?c rdf:type ontology:business_enterprise } } } } . FILTER ( ?i > ?t ) }
[]
intellectual property organization business enterprise
SYSTEM
23
Q2181426 Q1142157 Q2308887 Q1702123 Q1798985 Q1630895 Q5731989 Q585992 Q2148593 Q1092618 Q3487556 Q1993628 Q8032660 Q614920 Q629009 Q2061707 Q1050918 Q1034035 Q304992 Q3338446 Q152532 Q779511 Q3500302
(c(Q43229)|c(Q4830453),P355,c(Q131257))
action count
action greater
action union
action find_reverse_tuple_counts
relation P355
type Q131257
type Q43229
action find_reverse_tuple_counts
relation P355
type Q131257
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q3360531
relation P355
type Q43229
type Q4830453
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q4830453'}], 'P355', {'concept': 'Q131257'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?i ) WHERE { { ?h property:P355 ?z . ?h rdf:type ontology:Q43229 . ?z rdf:type ontology:Q131257 } UNION { ?z rdf:type ontology:Q131257 . ?h rdf:type ontology:Q4830453 . ?h property:P355 ?z } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:P355 resource:Q3360531 . { { ?c rdf:type ontology:Q43229 } UNION { ?c rdf:type ontology:Q4830453 } } } } . FILTER ( ?i > ?t ) }
Leader Price Cruzan Rum Vittel Saint-Gobain Weber SKYY Vodka Hotel Formule 1 Bonka Southern Comfort Ricard Cinzano Société Nestea Woodford Reserve BSH Hausgeräte San Pellegrino Wild Turkey Evian Finlandia Vodka Gatorade Nestlé Waters Skol Lefèvre-Utile Always
23
action count
action greater
action union
action find_reverse_tuple_counts
relation subsidiary
type intellectual property
type organization
action find_reverse_tuple_counts
relation subsidiary
type intellectual property
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Paille d'or
relation subsidiary
type organization
type business enterprise
[[{'concept': 'organization'}, {'concept': 'business enterprise'}], 'subsidiary', {'concept': 'intellectual property'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?i ) WHERE { { ?h property:subsidiary ?z . ?h rdf:type ontology:organization . ?z rdf:type ontology:intellectual_property } UNION { ?z rdf:type ontology:intellectual_property . ?h rdf:type ontology:business_enterprise . ?h property:subsidiary ?z } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:subsidiary resource:Paille_d'or . { { ?c rdf:type ontology:organization } UNION { ?c rdf:type ontology:business_enterprise } } } } . FILTER ( ?i > ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q614304
P425
Q12737077
USER
Which occupations do pharmacy belong to ?
(c(Q12737077),P425,Q614304)
action filter_type
action find_reverse
entity Q614304
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q614304']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . ?a property:P425 resource:Q614304 }
pharmacy
action filter_type
action find_reverse
entity pharmacy
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'pharmacy']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . ?a property:field_of_this_occupation resource:pharmacy }
[]
occupation
Q543219 Q105186
SYSTEM
pharmacy technician, pharmacist
Q543219 Q105186
(c(Q12737077),P425,Q614304)
action filter_type
action find_reverse
entity Q614304
relation P425
type Q12737077
Pharmacy belong to [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q614304']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . ?a property:P425 resource:Q614304 }
pharmacy technician pharmacist
Pharmacy belong to pharmacy technician and pharmacist
pharmacy technician pharmacist
action filter_type
action find_reverse
entity pharmacy
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'pharmacy']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . ?a property:field_of_this_occupation resource:pharmacy }
[]