Simple Question (Direct)
Simple Question
Q1150724
P21
Q290
USER
Which sex does Svetlana Baitova possess ?
(Q1150724,P21,c(Q290))
action filter_type
action find
entity Q1150724
relation P21
type Q290
['Q1150724', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q1150724 property:P21 ?y . ?y rdf:type ontology:Q290 }
Svetlana Baitova
action filter_type
action find
entity Svetlana Baitova
relation gender
type sex
['Svetlana Baitova', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Svetlana_Baitova property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1150724,P21,c(Q290))
action filter_type
action find
entity Q1150724
relation P21
type Q290
Svetlana Baitova possesses a [ANSWER]
['Q1150724', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q1150724 property:P21 ?y . ?y rdf:type ontology:Q290 }
female
Svetlana Baitova possesses a female
female
action filter_type
action find
entity Svetlana Baitova
relation gender
type sex
['Svetlana Baitova', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Svetlana_Baitova property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1150724
P641
Q31629
USER
What did Svetlana Baitova participate in ?
(Q1150724,P641,c(Q31629))
action filter_type
action find
entity Q1150724
relation P641
type Q31629
['Q1150724', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?s WHERE { resource:Q1150724 property:P641 ?s . ?s rdf:type ontology:Q31629 }
Svetlana Baitova
action filter_type
action find
entity Svetlana Baitova
relation sport
type type of sport
['Svetlana Baitova', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?s WHERE { resource:Svetlana_Baitova property:sport ?s . ?s rdf:type ontology:type_of_sport }
[]
type of sport
Q326827
SYSTEM
artistic gymnastics
Q326827
(Q1150724,P641,c(Q31629))
action filter_type
action find
entity Q1150724
relation P641
type Q31629
Svetlana Baitova participated in [ANSWER]
['Q1150724', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?s WHERE { resource:Q1150724 property:P641 ?s . ?s rdf:type ontology:Q31629 }
artistic gymnastics
Svetlana Baitova participated in artistic gymnastics
artistic gymnastics
action filter_type
action find
entity Svetlana Baitova
relation sport
type type of sport
['Svetlana Baitova', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?s WHERE { resource:Svetlana_Baitova property:sport ?s . ?s rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1150724
P106
Q12737077
USER
What is the job of Svetlana Baitova ?
(Q1150724,P106,c(Q12737077))
action filter_type
action find
entity Q1150724
relation P106
type Q12737077
['Q1150724', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q1150724 property:P106 ?c }
Svetlana Baitova
action filter_type
action find
entity Svetlana Baitova
relation occupation
type occupation
['Svetlana Baitova', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Svetlana_Baitova property:occupation ?c }
[]
occupation
Q13381572
SYSTEM
artistic gymnast
Q13381572
(Q1150724,P106,c(Q12737077))
action filter_type
action find
entity Q1150724
relation P106
type Q12737077
The job of Svetlana Baitova is an [ANSWER]
['Q1150724', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q1150724 property:P106 ?c }
artistic gymnast
The job of Svetlana Baitova is an artistic gymnast
artistic gymnast
action filter_type
action find
entity Svetlana Baitova
relation occupation
type occupation
['Svetlana Baitova', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Svetlana_Baitova property:occupation ?c }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7788131
Q12737077
USER
And what about Thomas C. E. Ecclesine?
(Q7788131,P106,c(Q12737077))
action filter_type
action find
entity Q7788131
relation P106
type Q12737077
['Q7788131', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q7788131 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Thomas C. E. Ecclesine
action filter_type
action find
entity Thomas C. E. Ecclesine
relation occupation
type occupation
['Thomas C. E. Ecclesine', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Thomas_C._E._Ecclesine property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q7788131,P106,c(Q12737077))
action filter_type
action find
entity Q7788131
relation P106
type Q12737077
[ANSWER]
['Q7788131', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q7788131 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action find
entity Thomas C. E. Ecclesine
relation occupation
type occupation
['Thomas C. E. Ecclesine', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Thomas_C._E._Ecclesine property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P921
Q12737077 Q191067 Q838948
USER
How many occupations were discussed in greater number of articles or works of art than that occupation ?
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q82955
relation P921
type Q191067
type Q838948
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g property:P921 resource:Q82955 . { { ?g rdf:type ontology:Q191067 } UNION { ?g rdf:type ontology:Q838948 } } } } . FILTER ( ?r > ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?v WHERE { { ?s property:P921 ?v . ?v rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q191067 } UNION { ?s property:P921 ?v . ?v rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q838948 } } GROUP BY ?v } }
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity politician
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g property:main_subject resource:politician . { { ?g rdf:type ontology:article } UNION { ?g rdf:type ontology:work_of_art } } } } . FILTER ( ?r > ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?v WHERE { { ?s property:main_subject ?v . ?v rdf:type ontology:occupation . ?s rdf:type ontology:article } UNION { ?s property:main_subject ?v . ?v rdf:type ontology:occupation . ?s rdf:type ontology:work_of_art } } GROUP BY ?v } }
[]
occupation article work of art
SYSTEM
28
Q172907 Q15637082 Q911554 Q39631 Q1124183 Q11631 Q33999 Q36180 Q7358 Q1930187 Q9402 Q2961580 Q101539 Q316070 Q510373 Q205375 Q164236 Q152002 Q936969 Q16746569 Q16003605 Q245068 Q33231 Q732358 Q2095549 Q182436 Q1674312 Q16003532
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q82955
relation P921
type Q191067
type Q838948
[ANSWER]
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g property:P921 resource:Q82955 . { { ?g rdf:type ontology:Q191067 } UNION { ?g rdf:type ontology:Q838948 } } } } . FILTER ( ?r > ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?v WHERE { { ?s property:P921 ?v . ?v rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q191067 } UNION { ?s property:P921 ?v . ?v rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q838948 } } GROUP BY ?v } }
praetor industrialist business magnate physician lumberjack astronaut actor writer clown journalist ninja taxi driver flight attendant Fletcher Christian Lord High Steward inventor war correspondent pastor nanny high school student elementary school student comedian photographer Nomarch aviator librarian rag-and-bone man middle school student
28
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity politician
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g property:main_subject resource:politician . { { ?g rdf:type ontology:article } UNION { ?g rdf:type ontology:work_of_art } } } } . FILTER ( ?r > ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?v WHERE { { ?s property:main_subject ?v . ?v rdf:type ontology:occupation . ?s rdf:type ontology:article } UNION { ?s property:main_subject ?v . ?v rdf:type ontology:occupation . ?s rdf:type ontology:work_of_art } } GROUP BY ?v } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q386724 Q191067
USER
Which occupations were discussed in around 1 works or articles ?
(c(Q386724)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 1
[[{'concept': 'Q386724'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) ?z WHERE { { ?p property:P921 ?z . ?z rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q386724 } UNION { ?p property:P921 ?z . ?z rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q191067 } } GROUP BY ?z } . FILTER ( ?w = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type article
value 1
[[{'concept': 'work'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) ?z WHERE { { ?p property:main_subject ?z . ?z rdf:type ontology:occupation . ?p rdf:type ontology:work } UNION { ?p property:main_subject ?z . ?z rdf:type ontology:occupation . ?p rdf:type ontology:article } } GROUP BY ?z } . FILTER ( ?w = 1 ) }
[]
occupation work article
Q316070 Q182436 Q16003532
SYSTEM
Fletcher Christian, librarian, middle school student
Q172907 Q9402 Q316070 Q510373 Q152002 Q732358 Q182436 Q16003532
(c(Q386724)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 1
[ANSWERS] were discussed in around 1 works or articles
[[{'concept': 'Q386724'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) ?z WHERE { { ?p property:P921 ?z . ?z rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q386724 } UNION { ?p property:P921 ?z . ?z rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q191067 } } GROUP BY ?z } . FILTER ( ?w = 1 ) }
praetor ninja Fletcher Christian Lord High Steward pastor Nomarch librarian middle school student
Fletcher Christian, librarian and middle school student were discussed in around 1 works or articles
Fletcher Christian librarian middle school student
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type article
value 1
[[{'concept': 'work'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) ?z WHERE { { ?p property:main_subject ?z . ?z rdf:type ontology:occupation . ?p rdf:type ontology:work } UNION { ?p property:main_subject ?z . ?z rdf:type ontology:occupation . ?p rdf:type ontology:article } } GROUP BY ?z } . FILTER ( ?w = 1 ) }
[]