Simple Question (Direct)
Simple Question
Q4993282
P26
Q502895
USER
Which person is the spouse of Marie of Blois, Duchess of Anjou ?
(Q4993282,P26,c(Q502895))
action filter_type
action find
entity Q4993282
relation P26
type Q502895
['Q4993282', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q4993282 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Marie of Blois, Duchess of Anjou
action filter_type
action find
entity Marie of Blois, Duchess of Anjou
relation spouse
type common name
['Marie of Blois, Duchess of Anjou', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Marie_of_Blois,_Duchess_of_Anjou property:spouse ?e . ?e rdf:type ontology:common_name }
[]
common name
Q348961
SYSTEM
Louis I, Duke of Anjou
Q348961
(Q4993282,P26,c(Q502895))
action filter_type
action find
entity Q4993282
relation P26
type Q502895
[ANSWER] is the spouse of Marie of Blois, Duchess of Anjou
['Q4993282', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q4993282 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Louis I, Duke of Anjou
Louis I, Duke of Anjou is the spouse of Marie of Blois, Duchess of Anjou
Louis I, Duke of Anjou
action filter_type
action find
entity Marie of Blois, Duchess of Anjou
relation spouse
type common name
['Marie of Blois, Duchess of Anjou', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Marie_of_Blois,_Duchess_of_Anjou property:spouse ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4993282
P21
Q290
USER
What is the sex of Marie of Blois, Duchess of Anjou ?
(Q4993282,P21,c(Q290))
action filter_type
action find
entity Q4993282
relation P21
type Q290
['Q4993282', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q4993282 property:P21 ?h . ?h rdf:type ontology:Q290 }
Marie of Blois, Duchess of Anjou
action filter_type
action find
entity Marie of Blois, Duchess of Anjou
relation gender
type sex
['Marie of Blois, Duchess of Anjou', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Marie_of_Blois,_Duchess_of_Anjou property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q4993282,P21,c(Q290))
action filter_type
action find
entity Q4993282
relation P21
type Q290
The sex of Marie of Blois , Duchess of is the [ANSWER]
['Q4993282', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q4993282 property:P21 ?h . ?h rdf:type ontology:Q290 }
female
The sex of Marie of Blois , Duchess of is the female
female
action filter_type
action find
entity Marie of Blois, Duchess of Anjou
relation gender
type sex
['Marie of Blois, Duchess of Anjou', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Marie_of_Blois,_Duchess_of_Anjou property:gender ?h . ?h rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q22670
P144
Q502895 Q2342494 Q201658
USER
Which people are more number of collectables and film genres a fork of than Friedrich Schiller ?
(c(Q2342494)|c(Q201658),P144,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q502895
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q22670
relation P144
type Q2342494
type Q201658
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?f ) WHERE { VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q201658 ) } . ?h rdf:type ?c } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:P144 resource:Q22670 . { ?x rdf:type ?v . VALUES ( ?v ) { ( ontology:Q2342494 ) ( ontology:Q201658 ) } } } } . FILTER ( ?f > ?z ) }
Friedrich Schiller
action greater
action union
action find_reverse_tuple_counts
relation based on
type common name
type collectable
action find_reverse_tuple_counts
relation based on
type common name
type film genre
action count
action filter_multi_types
action find_reverse
entity Friedrich Schiller
relation based on
type collectable
type film genre
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?f ) WHERE { VALUES ( ?c ) { ( ontology:collectable ) ( ontology:film_genre ) } . ?h rdf:type ?c } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:based_on resource:Friedrich_Schiller . { ?x rdf:type ?v . VALUES ( ?v ) { ( ontology:collectable ) ( ontology:film_genre ) } } } } . FILTER ( ?f > ?z ) }
[]
common name collectable film genre
Q1394 Q57619 Q334993
SYSTEM
Vladimir Lenin, Frank Wedekind, Eugene V. Debs
Q7804399 Q4924985 Q3051562 Q5591308 Q125970 Q5889990 Q7117020 Q45260 Q4800383 Q334993 Q4216886 Q7789278 Q5537975 Q7372970 Q6818964 Q5321676 Q6687108 Q5338634 Q5703041 Q6227202 Q5927524 Q4877153 Q7183998 Q6218902 Q4768685 Q7332345 Q4800758 Q5660079 Q4864591 Q6796494 Q6264086 Q1394 Q57619 Q3036753 Q6523671 Q6104852 Q6796103 Q5487034 Q5588501 Q1681907 Q4974043 Q508218 Q6721439 Q4885219 Q5345906 Q6284021 Q5665780 Q3262364 Q2580253 Q13378842 Q5082874 Q4877593 Q2835441 Q5342811 Q7167474 Q7146872 Q6832927 Q5538382 Q5201165 Q5345201 Q3037185 Q4225064
(c(Q2342494)|c(Q201658),P144,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q502895
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q22670
relation P144
type Q2342494
type Q201658
[ANSWERS] are more number of collectables and film genres a fork of than Friedrich Schiller
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?f ) WHERE { VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q201658 ) } . ?h rdf:type ?c } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:P144 resource:Q22670 . { ?x rdf:type ?v . VALUES ( ?v ) { ( ontology:Q2342494 ) ( ontology:Q201658 ) } } } } . FILTER ( ?f > ?z ) }
Tim Toyama Bland Holt Elmer Blaney Harris Grace Miller White Keigo Higashino Homer Croy P.J. Ramster Hans Kohlhase Arthur Stringer Eugene V. Debs Egerton Castle Thomas Edward Spencer George Clifford Shedd Roy Horniman Meredith Nicholson E. V. Timms Louis Esson Edith O'Shaughnessy Helen Reimensnyder Martin John Cosgrove Hubert Osborne Beatrice Grimshaw Philip Lytton John Ames Mitchell Anne Nichols Rida Johnson Young Arthur Wright Harold Bell Wright Barry Pain May Edginton John Willard Vladimir Lenin Frank Wedekind Brian Oswald Donn-Byrne Leo Ditrichstein J. Breckenridge Ellis Mary Gleed Tuttiett Frank H. Spearman Gouverneur Morris IV Sophie van der Stap Bronson Howard Nisio Isin Mabel Forrest Ben Ames Williams Edward William O'Sullivan Joseph Hocking Harrison Owen Louis Joseph Vance William Pittenger George Lutz Charles Tazewell Beaumont Smith Alfred Savoir Edward Everett Rose Percy Marks Patrick Joseph Hartigan Michael Morton George Darrell Cyrus Woods Edward Salisbury Field Dorothy Scarborough Richard Cobbold
Vladimir Lenin, Frank Wedekind and Eugene V. Debs are more number of collectables and film genres a fork of than Friedrich Schiller
Vladimir Lenin Frank Wedekind Eugene V. Debs
action greater
action union
action find_reverse_tuple_counts
relation based on
type common name
type collectable
action find_reverse_tuple_counts
relation based on
type common name
type film genre
action count
action filter_multi_types
action find_reverse
entity Friedrich Schiller
relation based on
type collectable
type film genre
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?f ) WHERE { VALUES ( ?c ) { ( ontology:collectable ) ( ontology:film_genre ) } . ?h rdf:type ?c } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:based_on resource:Friedrich_Schiller . { ?x rdf:type ?v . VALUES ( ?v ) { ( ontology:collectable ) ( ontology:film_genre ) } } } } . FILTER ( ?f > ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q4954433
P144
Q502895 Q2342494 Q201658
USER
And how about Wanda Holloway?
(c(Q2342494)|c(Q201658),P144,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q502895
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q4954433
relation P144
type Q2342494
type Q201658
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?x ) WHERE { { ?q property:P144 ?b . ?b rdf:type ontology:Q502895 . ?q rdf:type ontology:Q2342494 } UNION { ?b rdf:type ontology:Q502895 . ?q rdf:type ontology:Q201658 . ?q property:P144 ?b } } GROUP BY ?b } . FILTER ( ?x > ?a ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w property:P144 resource:Q4954433 . { { ?w rdf:type ontology:Q2342494 } UNION { ?w rdf:type ontology:Q201658 } } } } }
Wanda Holloway
action greater
action union
action find_reverse_tuple_counts
relation based on
type common name
type collectable
action find_reverse_tuple_counts
relation based on
type common name
type film genre
action count
action filter_multi_types
action find_reverse
entity Wanda Holloway
relation based on
type collectable
type film genre
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?x ) WHERE { { ?q property:based_on ?b . ?b rdf:type ontology:common_name . ?q rdf:type ontology:collectable } UNION { ?b rdf:type ontology:common_name . ?q rdf:type ontology:film_genre . ?q property:based_on ?b } } GROUP BY ?b } . FILTER ( ?x > ?a ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w property:based_on resource:Wanda_Holloway . { { ?w rdf:type ontology:collectable } UNION { ?w rdf:type ontology:film_genre } } } } }
[]
common name collectable film genre
Q1394 Q57619 Q334993
SYSTEM
Vladimir Lenin, Frank Wedekind, Eugene V. Debs
Q7804399 Q4924985 Q3051562 Q5591308 Q125970 Q5889990 Q7117020 Q45260 Q4800383 Q334993 Q4216886 Q7789278 Q5537975 Q7372970 Q6818964 Q5321676 Q6687108 Q5338634 Q5703041 Q6227202 Q5927524 Q4877153 Q7183998 Q6218902 Q4768685 Q7332345 Q4800758 Q5660079 Q4864591 Q6796494 Q6264086 Q1394 Q57619 Q3036753 Q6523671 Q6104852 Q6796103 Q5487034 Q5588501 Q1681907 Q4974043 Q508218 Q6721439 Q4885219 Q5345906 Q6284021 Q5665780 Q3262364 Q2580253 Q13378842 Q5082874 Q4877593 Q2835441 Q5342811 Q7167474 Q7146872 Q6832927 Q5538382 Q5201165 Q5345201 Q3037185 Q4225064
(c(Q2342494)|c(Q201658),P144,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q502895
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q4954433
relation P144
type Q2342494
type Q201658
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?x ) WHERE { { ?q property:P144 ?b . ?b rdf:type ontology:Q502895 . ?q rdf:type ontology:Q2342494 } UNION { ?b rdf:type ontology:Q502895 . ?q rdf:type ontology:Q201658 . ?q property:P144 ?b } } GROUP BY ?b } . FILTER ( ?x > ?a ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w property:P144 resource:Q4954433 . { { ?w rdf:type ontology:Q2342494 } UNION { ?w rdf:type ontology:Q201658 } } } } }
Tim Toyama Bland Holt Elmer Blaney Harris Grace Miller White Keigo Higashino Homer Croy P.J. Ramster Hans Kohlhase Arthur Stringer Eugene V. Debs Egerton Castle Thomas Edward Spencer George Clifford Shedd Roy Horniman Meredith Nicholson E. V. Timms Louis Esson Edith O'Shaughnessy Helen Reimensnyder Martin John Cosgrove Hubert Osborne Beatrice Grimshaw Philip Lytton John Ames Mitchell Anne Nichols Rida Johnson Young Arthur Wright Harold Bell Wright Barry Pain May Edginton John Willard Vladimir Lenin Frank Wedekind Brian Oswald Donn-Byrne Leo Ditrichstein J. Breckenridge Ellis Mary Gleed Tuttiett Frank H. Spearman Gouverneur Morris IV Sophie van der Stap Bronson Howard Nisio Isin Mabel Forrest Ben Ames Williams Edward William O'Sullivan Joseph Hocking Harrison Owen Louis Joseph Vance William Pittenger George Lutz Charles Tazewell Beaumont Smith Alfred Savoir Edward Everett Rose Percy Marks Patrick Joseph Hartigan Michael Morton George Darrell Cyrus Woods Edward Salisbury Field Dorothy Scarborough Richard Cobbold
Vladimir Lenin Frank Wedekind Eugene V. Debs
action greater
action union
action find_reverse_tuple_counts
relation based on
type common name
type collectable
action find_reverse_tuple_counts
relation based on
type common name
type film genre
action count
action filter_multi_types
action find_reverse
entity Wanda Holloway
relation based on
type collectable
type film genre
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?x ) WHERE { { ?q property:based_on ?b . ?b rdf:type ontology:common_name . ?q rdf:type ontology:collectable } UNION { ?b rdf:type ontology:common_name . ?q rdf:type ontology:film_genre . ?q property:based_on ?b } } GROUP BY ?b } . FILTER ( ?x > ?a ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w property:based_on resource:Wanda_Holloway . { { ?w rdf:type ontology:collectable } UNION { ?w rdf:type ontology:film_genre } } } } }
[]