Simple Question (Direct)
Simple Question
Q20202404
P21
Q290
USER
Which sex does Derek Middleton possess ?
(Q20202404,P21,c(Q290))
action filter_type
action find
entity Q20202404
relation P21
type Q290
['Q20202404', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q20202404 property:P21 ?x }
Derek Middleton
action filter_type
action find
entity Derek Middleton
relation gender
type sex
['Derek Middleton', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Derek_Middleton property:gender ?x }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20202404,P21,c(Q290))
action filter_type
action find
entity Q20202404
relation P21
type Q290
Derek Middleton possesses a [ANSWER]
['Q20202404', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q20202404 property:P21 ?x }
male
Derek Middleton possesses a male
male
action filter_type
action find
entity Derek Middleton
relation gender
type sex
['Derek Middleton', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Derek_Middleton property:gender ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20202404
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q20202404
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q20202404 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Derek Middleton
action filter_type
action find
entity Derek Middleton
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Derek_Middleton property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q20202404
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q20202404 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Derek Middleton
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Derek_Middleton property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q12737077 Q2342494 Q502895
USER
How many occupations are the area of lesser number of collectables and people than that occupation ?
(c(Q2342494)|c(Q502895),P101,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q2342494
type Q502895
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?z WHERE { ?s rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2342494 ) ( ontology:Q502895 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b property:P101 resource:Q937857 . { VALUES ( ?h ) { ( ontology:Q2342494 ) ( ontology:Q502895 ) } . ?b rdf:type ?h } } } . FILTER ( ?i < ?m ) }
action count
action less
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type collectable
type common name
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?z WHERE { ?s rdf:type ?p . VALUES ( ?p ) { ( ontology:collectable ) ( ontology:common_name ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b property:field_of_work resource:association_football_player . { VALUES ( ?h ) { ( ontology:collectable ) ( ontology:common_name ) } . ?b rdf:type ?h } } } . FILTER ( ?i < ?m ) }
[]
occupation collectable common name
SYSTEM
10
Q652122 Q211423 Q2259451 Q326358 Q705908 Q2205972 Q901 Q3387717 Q154549 Q2490358
(c(Q2342494)|c(Q502895),P101,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q2342494
type Q502895
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?z WHERE { ?s rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2342494 ) ( ontology:Q502895 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b property:P101 resource:Q937857 . { VALUES ( ?h ) { ( ontology:Q2342494 ) ( ontology:Q502895 ) } . ?b rdf:type ?h } } } . FILTER ( ?i < ?m ) }
sewing goldsmith stage actor joiner agency agreement stained-glass artist scientist theatre director carpenter choreographer
10
action count
action less
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type collectable
type common name
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?z WHERE { ?s rdf:type ?p . VALUES ( ?p ) { ( ontology:collectable ) ( ontology:common_name ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b property:field_of_work resource:association_football_player . { VALUES ( ?h ) { ( ontology:collectable ) ( ontology:common_name ) } . ?b rdf:type ?h } } } . FILTER ( ?i < ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20202404
P19
Q56061
USER
Which administrative territory was Derek Middleton born at ?
(Q20202404,P19,c(Q56061))
action filter_type
action find
entity Q20202404
relation P19
type Q56061
['Q20202404', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q20202404 property:P19 ?z }
Derek Middleton
action filter_type
action find
entity Derek Middleton
relation place of birth
type administrative territorial entity
['Derek Middleton', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Derek_Middleton property:place_of_birth ?z }
[]
administrative territorial entity
Q2046537
SYSTEM
Ashby-de-la-Zouch
Q2046537
(Q20202404,P19,c(Q56061))
action filter_type
action find
entity Q20202404
relation P19
type Q56061
Derek Middleton was born at [ANSWER]
['Q20202404', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q20202404 property:P19 ?z }
Ashby-de-la-Zouch
Derek Middleton was born at Ashby-de-la-Zouch
Ashby-de-la-Zouch
action filter_type
action find
entity Derek Middleton
relation place of birth
type administrative territorial entity
['Derek Middleton', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Derek_Middleton property:place_of_birth ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2046537
P190
Q20667921
USER
Which french administrative division is twin city of that administrative territory ?
(Q2046537,P190,c(Q20667921))
action filter_type
action find
entity Q2046537
relation P190
type Q20667921
['Q2046537', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q2046537 property:P190 ?n . ?n rdf:type ontology:Q20667921 }
Ashby-de-la-Zouch
action filter_type
action find
entity Ashby-de-la-Zouch
relation sister city
type type of french administrative division
['Ashby-de-la-Zouch', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Ashby-de-la-Zouch property:sister_city ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q217159
SYSTEM
Pithiviers
Q217159
(Q2046537,P190,c(Q20667921))
action filter_type
action find
entity Q2046537
relation P190
type Q20667921
[ANSWER] is twin city of that administrative territory
['Q2046537', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q2046537 property:P190 ?n . ?n rdf:type ontology:Q20667921 }
Pithiviers
Pithiviers is twin city of that administrative territory
Pithiviers
action filter_type
action find
entity Ashby-de-la-Zouch
relation sister city
type type of french administrative division
['Ashby-de-la-Zouch', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Ashby-de-la-Zouch property:sister_city ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q217159
P119
Q502895
USER
Which person was burried at that french administrative division ?
(c(Q502895),P119,Q217159)
action filter_type
action find_reverse
entity Q217159
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q217159']
SELECT DISTINCT ?k WHERE { ?k property:P119 resource:Q217159 . ?k rdf:type ontology:Q502895 }
Pithiviers
action filter_type
action find_reverse
entity Pithiviers
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Pithiviers']
SELECT DISTINCT ?k WHERE { ?k property:place_of_burial resource:Pithiviers . ?k rdf:type ontology:common_name }
[]
common name
Q2847731
SYSTEM
André Eve
Q2847731
(c(Q502895),P119,Q217159)
action filter_type
action find_reverse
entity Q217159
relation P119
type Q502895
[ANSWER] was burried at that french administrative division
[{'concept': 'Q502895'}, 'P119', 'Q217159']
SELECT DISTINCT ?k WHERE { ?k property:P119 resource:Q217159 . ?k rdf:type ontology:Q502895 }
André Eve
André Eve was burried at that french administrative division
André Eve
action filter_type
action find_reverse
entity Pithiviers
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Pithiviers']
SELECT DISTINCT ?k WHERE { ?k property:place_of_burial resource:Pithiviers . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2847731
P20
Q20667921
USER
Which french administrative division is the place of death of that person ?
(Q2847731,P20,c(Q20667921))
action filter_type
action find
entity Q2847731
relation P20
type Q20667921
['Q2847731', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q2847731 property:P20 ?i . ?i rdf:type ontology:Q20667921 }
André Eve
action filter_type
action find
entity André Eve
relation place of death
type type of french administrative division
['André Eve', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:André_Eve property:place_of_death ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q217159
SYSTEM
Pithiviers
Q217159
(Q2847731,P20,c(Q20667921))
action filter_type
action find
entity Q2847731
relation P20
type Q20667921
[ANSWER] is the place of death of that person
['Q2847731', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q2847731 property:P20 ?i . ?i rdf:type ontology:Q20667921 }
Pithiviers
Pithiviers is the place of death of that person
Pithiviers
action filter_type
action find
entity André Eve
relation place of death
type type of french administrative division
['André Eve', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:André_Eve property:place_of_death ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q217159
P47
Q20667921
USER
Which french administrative divisions are bordered by that one ?
(c(Q20667921),P47,Q217159)
action filter_type
action find
entity Q217159
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q217159']
SELECT DISTINCT ?f WHERE { resource:Q217159 property:P47 ?f . ?f rdf:type ontology:Q20667921 }
Pithiviers
action filter_type
action find
entity Pithiviers
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Pithiviers']
SELECT DISTINCT ?f WHERE { resource:Pithiviers property:shares_border_with ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1378579 Q1167484 Q784941
SYSTEM
Pithiviers-le-Vieil, Dadonville, Marsainvilliers
Q1378579 Q1167484 Q784941 Q527413
(c(Q20667921),P47,Q217159)
action filter_type
action find
entity Q217159
relation P47
type Q20667921
[ANSWERS] are bordered by that one
[{'concept': 'Q20667921'}, 'P47', 'Q217159']
SELECT DISTINCT ?f WHERE { resource:Q217159 property:P47 ?f . ?f rdf:type ontology:Q20667921 }
Pithiviers-le-Vieil Dadonville Marsainvilliers Bondaroy
Pithiviers-le-Vieil, Dadonville and Marsainvilliers are bordered by that one
Pithiviers-le-Vieil Dadonville Marsainvilliers
action filter_type
action find
entity Pithiviers
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Pithiviers']
SELECT DISTINCT ?f WHERE { resource:Pithiviers property:shares_border_with ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1378579 Q1167484 Q784941
P47
Q20667921
USER
Which french administrative divisions are bordered by those ones ?
(c(Q20667921),P47,Q1378579) (c(Q20667921),P47,Q1167484) (c(Q20667921),P47,Q784941)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q1378579'] [{'concept': 'Q20667921'}, 'P47', 'Q1167484'] [{'concept': 'Q20667921'}, 'P47', 'Q784941']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q20667921 . VALUES ( ?r ) { ( resource:Q1378579 ) ( resource:Q1167484 ) ( resource:Q784941 ) } . ?r property:P47 ?d }
Pithiviers-le-Vieil Dadonville Marsainvilliers
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Pithiviers-le-Vieil'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Dadonville'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Marsainvilliers']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_french_administrative_division . VALUES ( ?r ) { ( resource:Pithiviers-le-Vieil ) ( resource:Dadonville ) ( resource:Marsainvilliers ) } . ?r property:shares_border_with ?d }
[]
type of french administrative division
Q1378579 Q1378579 Q217159
SYSTEM
Pithiviers-le-Vieil for 1st, 2nd, Pithiviers for 3rd
Q217159 Q1115796 Q784941 Q1105303 Q1391717 Q669736 Q1167484 Q661574 Q1463950 Q736264 Q217159 Q1169587 Q1105303 Q582862 Q831229 Q1378579 Q527413 Q217159 Q1378511 Q582862 Q1378579 Q736264 Q527413
(c(Q20667921),P47,Q1378579) (c(Q20667921),P47,Q1167484) (c(Q20667921),P47,Q784941)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[ANSWERS]
[{'concept': 'Q20667921'}, 'P47', 'Q1378579'] [{'concept': 'Q20667921'}, 'P47', 'Q1167484'] [{'concept': 'Q20667921'}, 'P47', 'Q784941']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q20667921 . VALUES ( ?r ) { ( resource:Q1378579 ) ( resource:Q1167484 ) ( resource:Q784941 ) } . ?r property:P47 ?d }
Pithiviers Escrennes Marsainvilliers Ascoux Guigneville Greneville-en-Beauce Dadonville Jouy-en-Pithiverais Laas Engenville Pithiviers Bouilly-en-Gâtinais Ascoux Estouy Yèvre-la-Ville Pithiviers-le-Vieil Bondaroy Pithiviers Ramoulu Estouy Pithiviers-le-Vieil Engenville Bondaroy
Pithiviers-le-Vieil, Pithiviers-le-Vieil and Pithiviers are bordered by those ones
Pithiviers-le-Vieil Pithiviers-le-Vieil Pithiviers
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Pithiviers-le-Vieil'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Dadonville'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Marsainvilliers']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_french_administrative_division . VALUES ( ?r ) { ( resource:Pithiviers-le-Vieil ) ( resource:Dadonville ) ( resource:Marsainvilliers ) } . ?r property:shares_border_with ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q217159
P1376
Q20667921
USER
Which french administrative division has Pithiviers as its county seat ?
(Q217159,P1376,c(Q20667921))
action filter_type
action find
entity Q217159
relation P1376
type Q20667921
['Q217159', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q217159 property:P1376 ?z . ?z rdf:type ontology:Q20667921 }
Pithiviers
action filter_type
action find
entity Pithiviers
relation capital of
type type of french administrative division
['Pithiviers', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Pithiviers property:capital_of ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1726699
SYSTEM
canton of Pithiviers
Q1726699
(Q217159,P1376,c(Q20667921))
action filter_type
action find
entity Q217159
relation P1376
type Q20667921
[ANSWER] has Pithiviers as its county seat
['Q217159', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q217159 property:P1376 ?z . ?z rdf:type ontology:Q20667921 }
canton of Pithiviers
Canton of Pithiviers has Pithiviers as its county seat
canton of Pithiviers
action filter_type
action find
entity Pithiviers
relation capital of
type type of french administrative division
['Pithiviers', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Pithiviers property:capital_of ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q243675
Q20667921
USER
And how about Creully?
(Q243675,P1376,c(Q20667921))
action filter_type
action find
entity Q243675
relation P1376
type Q20667921
['Q243675', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q243675 property:P1376 ?b . ?b rdf:type ontology:Q20667921 }
Creully
action filter_type
action find
entity Creully
relation capital of
type type of french administrative division
['Creully', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Creully property:capital_of ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q369853
SYSTEM
canton of Creully
Q369853
(Q243675,P1376,c(Q20667921))
action filter_type
action find
entity Q243675
relation P1376
type Q20667921
[ANSWER]
['Q243675', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q243675 property:P1376 ?b . ?b rdf:type ontology:Q20667921 }
canton of Creully
canton of Creully
action filter_type
action find
entity Creully
relation capital of
type type of french administrative division
['Creully', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Creully property:capital_of ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q87621
P825
Q502895 Q207628 Q41176
USER
How many people are greater number of musical compositions and buildings dedicated to than Antonie Brentano ?
(c(Q207628)|c(Q41176),P825,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q207628
action find_reverse_tuple_counts
relation P825
type Q502895
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q87621
relation P825
type Q207628
type Q41176
[[{'concept': 'Q207628'}, {'concept': 'Q41176'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?m WHERE { { ?y property:P825 ?m . ?y rdf:type ontology:Q207628 . ?m rdf:type ontology:Q502895 } UNION { ?y property:P825 ?m . ?m rdf:type ontology:Q502895 . ?y rdf:type ontology:Q41176 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { { ?x rdf:type ontology:Q207628 } UNION { ?x rdf:type ontology:Q41176 } } . ?x property:P825 resource:Q87621 } } . FILTER ( ?u > ?t ) }
Antonie Brentano
action count
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type musical composition
action find_reverse_tuple_counts
relation dedicated to
type common name
type building
action count
action filter_multi_types
action find_reverse
entity Antonie Brentano
relation dedicated to
type musical composition
type building
[[{'concept': 'musical composition'}, {'concept': 'building'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?m WHERE { { ?y property:dedicated_to ?m . ?y rdf:type ontology:musical_composition . ?m rdf:type ontology:common_name } UNION { ?y property:dedicated_to ?m . ?m rdf:type ontology:common_name . ?y rdf:type ontology:building } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { { ?x rdf:type ontology:musical_composition } UNION { ?x rdf:type ontology:building } } . ?x property:dedicated_to resource:Antonie_Brentano } } . FILTER ( ?u > ?t ) }
[]
common name musical composition building
SYSTEM
74
Q983142 Q11403872 Q85210 Q65318 Q1774929 Q3190301 Q150767 Q2288858 Q179718 Q7593283 Q1948037 Q19629510 Q683792 Q171411 Q94316 Q11074321 Q461258 Q4127503 Q1889720 Q55398 Q44039 Q174231 Q200188 Q443559 Q187550 Q313942 Q966298 Q1196817 Q433995 Q43600 Q160257 Q314846 Q32613 Q66005 Q11633375 Q311080 Q570845 Q502943 Q1036864 Q51056 Q314802 Q700317 Q171977 Q11403852 Q183332 Q269520 Q346 Q1132756 Q11619989 Q382005 Q3618054 Q349287 Q3099236 Q472635 Q92467 Q316658 Q538335 Q179971 Q11368835 Q164294 Q164522 Q11403867 Q149727 Q31966 Q468122 Q310462 Q10881970 Q232803 Q179858 Q317997 Q40662 Q299179 Q836214 Q41309
(c(Q207628)|c(Q41176),P825,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q207628
action find_reverse_tuple_counts
relation P825
type Q502895
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q87621
relation P825
type Q207628
type Q41176
[ANSWER]
[[{'concept': 'Q207628'}, {'concept': 'Q41176'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?m WHERE { { ?y property:P825 ?m . ?y rdf:type ontology:Q207628 . ?m rdf:type ontology:Q502895 } UNION { ?y property:P825 ?m . ?m rdf:type ontology:Q502895 . ?y rdf:type ontology:Q41176 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { { ?x rdf:type ontology:Q207628 } UNION { ?x rdf:type ontology:Q41176 } } . ?x property:P825 resource:Q87621 } } . FILTER ( ?u > ?t ) }
Julian the Hospitaller Kitabatake Akiyoshi Karl Ritter von Stremayr Kibitsuhiko-no-mikoto Ferreolus Just of Lyon Benjamin Britten Moriyoshi-shinnō Catherine of Alexandria St Govan Moritz Reichsgraf von Fries Saint Goustan Kitabatake Chikafusa Oda Nobunaga Kikuchi Taketoki Kaneyoshi-shinnō Yamato Takeru Ferrutio Cadoc Bernadette Soubirous Ludwig II of Bavaria Meiji Jimmu Elizabeth Sprague Coolidge Toyotomi Hideyoshi Go-Daigo Kusunoki Masatsura Maeda Toshiie Fujiwara no Kamatari Matthew the Apostle Wanda Landowska Emperor Kammu Minamoto no Yoshiie Margrave Christian Ludwig of Brandenburg-Schwedt Prince Toyokiirihiko Uesugi Kenshin Joseph Franz von Lobkowitz Andrey Razumovsky Kitabatake Akiie Franz Joseph I of Austria Tenji Yasuhito Chichibu Tokugawa Ieyasu Kitabatake Morichika Saint Sebastian Shōken Louis IX of France Sakai Tadatsugu Prince Uji no Wakiiratsuko Sugawara no Michizane Annibale Cressoni Sutoku Minamoto no Tsunemoto Gustav, Prince of Vasa Theodor Avé-Lallemant Go-Toba Marianne Kirchgessner Chūai Shizuko Nogi Saint Anna Hieda no Are Kitabatake Akinobu Saint Giles Mark the Evangelist Nogi Maresuke Saigō Takamori Itsuse no Mikoto Empress Jingu Urho Kekkonen Ōjin John the Baptist Kōmei Princess Tōchi Franz Liszt
74
action count
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type musical composition
action find_reverse_tuple_counts
relation dedicated to
type common name
type building
action count
action filter_multi_types
action find_reverse
entity Antonie Brentano
relation dedicated to
type musical composition
type building
[[{'concept': 'musical composition'}, {'concept': 'building'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?m WHERE { { ?y property:dedicated_to ?m . ?y rdf:type ontology:musical_composition . ?m rdf:type ontology:common_name } UNION { ?y property:dedicated_to ?m . ?m rdf:type ontology:common_name . ?y rdf:type ontology:building } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { { ?x rdf:type ontology:musical_composition } UNION { ?x rdf:type ontology:building } } . ?x property:dedicated_to resource:Antonie_Brentano } } . FILTER ( ?u > ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q93362
P825
Q502895 Q207628 Q41176
USER
And also tell me about Archduke Maximilian Francis of Austria?
(c(Q207628)|c(Q41176),P825,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q207628
action find_reverse_tuple_counts
relation P825
type Q502895
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q93362
relation P825
type Q207628
type Q41176
[[{'concept': 'Q207628'}, {'concept': 'Q41176'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?h WHERE { ?n rdf:type ?u . VALUES ( ?u ) { ( ontology:Q207628 ) ( ontology:Q41176 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:P825 resource:Q93362 . { { ?o rdf:type ontology:Q207628 } UNION { ?o rdf:type ontology:Q41176 } } } } . FILTER ( ?c > ?s ) }
Archduke Maximilian Francis of Austria
action count
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type musical composition
action find_reverse_tuple_counts
relation dedicated to
type common name
type building
action count
action filter_multi_types
action find_reverse
entity Archduke Maximilian Francis of Austria
relation dedicated to
type musical composition
type building
[[{'concept': 'musical composition'}, {'concept': 'building'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?h WHERE { ?n rdf:type ?u . VALUES ( ?u ) { ( ontology:musical_composition ) ( ontology:building ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:dedicated_to resource:Archduke_Maximilian_Francis_of_Austria . { { ?o rdf:type ontology:musical_composition } UNION { ?o rdf:type ontology:building } } } } . FILTER ( ?c > ?s ) }
[]
common name musical composition building
SYSTEM
74
Q983142 Q11403872 Q85210 Q65318 Q1774929 Q3190301 Q150767 Q2288858 Q179718 Q7593283 Q1948037 Q19629510 Q683792 Q171411 Q94316 Q11074321 Q461258 Q4127503 Q1889720 Q55398 Q44039 Q174231 Q200188 Q443559 Q187550 Q313942 Q966298 Q1196817 Q433995 Q43600 Q160257 Q314846 Q32613 Q66005 Q11633375 Q311080 Q570845 Q502943 Q1036864 Q51056 Q314802 Q700317 Q171977 Q11403852 Q183332 Q269520 Q346 Q1132756 Q11619989 Q382005 Q3618054 Q349287 Q3099236 Q472635 Q92467 Q316658 Q538335 Q179971 Q11368835 Q164294 Q164522 Q11403867 Q149727 Q31966 Q468122 Q310462 Q10881970 Q232803 Q179858 Q317997 Q40662 Q299179 Q836214 Q41309
(c(Q207628)|c(Q41176),P825,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q207628
action find_reverse_tuple_counts
relation P825
type Q502895
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q93362
relation P825
type Q207628
type Q41176
[ANSWER]
[[{'concept': 'Q207628'}, {'concept': 'Q41176'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?h WHERE { ?n rdf:type ?u . VALUES ( ?u ) { ( ontology:Q207628 ) ( ontology:Q41176 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:P825 resource:Q93362 . { { ?o rdf:type ontology:Q207628 } UNION { ?o rdf:type ontology:Q41176 } } } } . FILTER ( ?c > ?s ) }
Julian the Hospitaller Kitabatake Akiyoshi Karl Ritter von Stremayr Kibitsuhiko-no-mikoto Ferreolus Just of Lyon Benjamin Britten Moriyoshi-shinnō Catherine of Alexandria St Govan Moritz Reichsgraf von Fries Saint Goustan Kitabatake Chikafusa Oda Nobunaga Kikuchi Taketoki Kaneyoshi-shinnō Yamato Takeru Ferrutio Cadoc Bernadette Soubirous Ludwig II of Bavaria Meiji Jimmu Elizabeth Sprague Coolidge Toyotomi Hideyoshi Go-Daigo Kusunoki Masatsura Maeda Toshiie Fujiwara no Kamatari Matthew the Apostle Wanda Landowska Emperor Kammu Minamoto no Yoshiie Margrave Christian Ludwig of Brandenburg-Schwedt Prince Toyokiirihiko Uesugi Kenshin Joseph Franz von Lobkowitz Andrey Razumovsky Kitabatake Akiie Franz Joseph I of Austria Tenji Yasuhito Chichibu Tokugawa Ieyasu Kitabatake Morichika Saint Sebastian Shōken Louis IX of France Sakai Tadatsugu Prince Uji no Wakiiratsuko Sugawara no Michizane Annibale Cressoni Sutoku Minamoto no Tsunemoto Gustav, Prince of Vasa Theodor Avé-Lallemant Go-Toba Marianne Kirchgessner Chūai Shizuko Nogi Saint Anna Hieda no Are Kitabatake Akinobu Saint Giles Mark the Evangelist Nogi Maresuke Saigō Takamori Itsuse no Mikoto Empress Jingu Urho Kekkonen Ōjin John the Baptist Kōmei Princess Tōchi Franz Liszt
74
action count
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type musical composition
action find_reverse_tuple_counts
relation dedicated to
type common name
type building
action count
action filter_multi_types
action find_reverse
entity Archduke Maximilian Francis of Austria
relation dedicated to
type musical composition
type building
[[{'concept': 'musical composition'}, {'concept': 'building'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?h WHERE { ?n rdf:type ?u . VALUES ( ?u ) { ( ontology:musical_composition ) ( ontology:building ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:dedicated_to resource:Archduke_Maximilian_Francis_of_Austria . { { ?o rdf:type ontology:musical_composition } UNION { ?o rdf:type ontology:building } } } } . FILTER ( ?c > ?s ) }
[]