Simple Question (Direct)
Simple Question
Q4758665
P106
Q151885
USER
What is the profession of Andrew Sudduth ?
(Q4758665,P106,c(Q151885))
action filter_type
action find
entity Q4758665
relation P106
type Q151885
['Q4758665', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { resource:Q4758665 property:P106 ?d . ?d rdf:type ontology:Q151885 }
Andrew Sudduth
action filter_type
action find
entity Andrew Sudduth
relation occupation
type concept
['Andrew Sudduth', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { resource:Andrew_Sudduth property:occupation ?d . ?d rdf:type ontology:concept }
[]
concept
Q13382576
SYSTEM
rower
Q13382576
(Q4758665,P106,c(Q151885))
action filter_type
action find
entity Q4758665
relation P106
type Q151885
The profession of Andrew Sudduth is a [ANSWER]
['Q4758665', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { resource:Q4758665 property:P106 ?d . ?d rdf:type ontology:Q151885 }
rower
The profession of Andrew Sudduth is a rower
rower
action filter_type
action find
entity Andrew Sudduth
relation occupation
type concept
['Andrew Sudduth', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { resource:Andrew_Sudduth property:occupation ?d . ?d rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13382576
P425
Q31629
USER
Who has that concept as the associated field of occupation ?
(Q13382576,P425,c(Q31629))
action filter_type
action find
entity Q13382576
relation P425
type Q31629
['Q13382576', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?h WHERE { resource:Q13382576 property:P425 ?h . ?h rdf:type ontology:Q31629 }
rower
action filter_type
action find
entity rower
relation field of this occupation
type type of sport
['rower', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?h WHERE { resource:rower property:field_of_this_occupation ?h . ?h rdf:type ontology:type_of_sport }
[]
type of sport
Q159354
SYSTEM
rowing
Q159354
(Q13382576,P425,c(Q31629))
action filter_type
action find
entity Q13382576
relation P425
type Q31629
[ANSWER] has that concept as the associated field of occupation
['Q13382576', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?h WHERE { resource:Q13382576 property:P425 ?h . ?h rdf:type ontology:Q31629 }
rowing
Rowing has that concept as the associated field of occupation
rowing
action filter_type
action find
entity rower
relation field of this occupation
type type of sport
['rower', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?h WHERE { resource:rower property:field_of_this_occupation ?h . ?h rdf:type ontology:type_of_sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q22916339
Q31629
USER
And what about Summer biathlete?
(Q22916339,P425,c(Q31629))
action filter_type
action find
entity Q22916339
relation P425
type Q31629
['Q22916339', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q31629 . resource:Q22916339 property:P425 ?n }
Summer biathlete
action filter_type
action find
entity Summer biathlete
relation field of this occupation
type type of sport
['Summer biathlete', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:type_of_sport . resource:Summer_biathlete property:field_of_this_occupation ?n }
[]
type of sport
Q166788
SYSTEM
biathlon
Q166788
(Q22916339,P425,c(Q31629))
action filter_type
action find
entity Q22916339
relation P425
type Q31629
[ANSWER]
['Q22916339', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q31629 . resource:Q22916339 property:P425 ?n }
biathlon
biathlon
action filter_type
action find
entity Summer biathlete
relation field of this occupation
type type of sport
['Summer biathlete', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:type_of_sport . resource:Summer_biathlete property:field_of_this_occupation ?n }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1444
Q56061 Q31629
USER
How many administrative territories do atleast 3 types of sport finally stop at ?
(c(Q31629),P1444,c(Q56061))
action count
action atleast
action find_reverse_tuple_counts
relation P1444
type Q56061
type Q31629
value 3
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { FILTER ( ?l >= 3 ) . { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:P1444 ?m . ?m rdf:type ontology:Q56061 . ?j rdf:type ontology:Q31629 } GROUP BY ?m } }
action count
action atleast
action find_reverse_tuple_counts
relation destination point
type administrative territorial entity
type type of sport
value 3
[{'concept': 'type of sport'}, 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { FILTER ( ?l >= 3 ) . { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:destination_point ?m . ?m rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:type_of_sport } GROUP BY ?m } }
[]
administrative territorial entity type of sport
SYSTEM
2
Q644 Q3992
(c(Q31629),P1444,c(Q56061))
action count
action atleast
action find_reverse_tuple_counts
relation P1444
type Q56061
type Q31629
value 3
[ANSWER]
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { FILTER ( ?l >= 3 ) . { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:P1444 ?m . ?m rdf:type ontology:Q56061 . ?j rdf:type ontology:Q31629 } GROUP BY ?m } }
Sharm el-Sheikh Liège
2
action count
action atleast
action find_reverse_tuple_counts
relation destination point
type administrative territorial entity
type type of sport
value 3
[{'concept': 'type of sport'}, 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { FILTER ( ?l >= 3 ) . { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:destination_point ?m . ?m rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:type_of_sport } GROUP BY ?m } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q151885 Q1792379 Q838948
USER
Which concepts are depicted in atleast 161 art genres and works of art ?
(c(Q1792379)|c(Q838948),P180,c(Q151885))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q151885
type Q838948
value 161
[[{'concept': 'Q1792379'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?q >= 161 ) . { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?q ) WHERE { { ?t property:P180 ?m . ?m rdf:type ontology:Q151885 . ?t rdf:type ontology:Q1792379 } UNION { ?t property:P180 ?m . ?m rdf:type ontology:Q151885 . ?t rdf:type ontology:Q838948 } } GROUP BY ?m } }
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type concept
type art genre
action find_reverse_tuple_counts
relation depicts
type concept
type work of art
value 161
[[{'concept': 'art genre'}, {'concept': 'work of art'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?q >= 161 ) . { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?q ) WHERE { { ?t property:depicts ?m . ?m rdf:type ontology:concept . ?t rdf:type ontology:art_genre } UNION { ?t property:depicts ?m . ?m rdf:type ontology:concept . ?t rdf:type ontology:work_of_art } } GROUP BY ?m } }
[]
concept art genre work of art
Q467 Q8441
SYSTEM
woman, man
Q467 Q8441
(c(Q1792379)|c(Q838948),P180,c(Q151885))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q151885
type Q838948
value 161
[ANSWERS] are depicted in atleast 161 art genres and works of art
[[{'concept': 'Q1792379'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?q >= 161 ) . { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?q ) WHERE { { ?t property:P180 ?m . ?m rdf:type ontology:Q151885 . ?t rdf:type ontology:Q1792379 } UNION { ?t property:P180 ?m . ?m rdf:type ontology:Q151885 . ?t rdf:type ontology:Q838948 } } GROUP BY ?m } }
woman man
Woman and man are depicted in atleast 161 art genres and works of art
woman man
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type concept
type art genre
action find_reverse_tuple_counts
relation depicts
type concept
type work of art
value 161
[[{'concept': 'art genre'}, {'concept': 'work of art'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?q >= 161 ) . { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?q ) WHERE { { ?t property:depicts ?m . ?m rdf:type ontology:concept . ?t rdf:type ontology:art_genre } UNION { ?t property:depicts ?m . ?m rdf:type ontology:concept . ?t rdf:type ontology:work_of_art } } GROUP BY ?m } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q151885 Q21114848 Q43229
USER
How many concepts are the fields of work of around the same number of magazine genres and organizations as that concept ?
(c(Q21114848)|c(Q43229),P101,c(Q151885))
[[{'concept': 'Q21114848'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:Q627436 ?y } . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q151885 . ?x rdf:type ontology:Q43229 }
[[{'concept': 'magazine genre'}, {'concept': 'organization'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:field_of_work ?y } . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:concept . ?x rdf:type ontology:organization }
[]
concept magazine genre organization
Comparative|Count over More/Less|Mult. entity type|Clarification
Q467
SYSTEM
Did you mean woman ?
(c(Q21114848)|c(Q43229),P101,c(Q151885))
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:Q627436 ?y } . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q151885 . ?x rdf:type ontology:Q43229 }
Did you mean woman ?
woman
[[{'concept': 'magazine genre'}, {'concept': 'organization'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:field_of_work ?y } . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:concept . ?x rdf:type ontology:organization }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q21114848)|c(Q43229),P101,c(Q151885))
[[{'concept': 'Q21114848'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q151885'}]
[[{'concept': 'magazine genre'}, {'concept': 'organization'}], 'field of work', {'concept': 'concept'}]
[]
SYSTEM
65
Q132438 Q935586 Q26384 Q3281534 Q1080208 Q2474068 Q177571 Q5127848 Q9730 Q43343 Q212944 Q333018 Q131476 Q4204600 Q9778 Q826745 Q5465488 Q6661 Q37073 Q39072 Q674684 Q3014296 Q83270 Q612024 Q847526 Q38848 Q214917 Q860918 Q126236 Q131222 Q212024 Q1198874 Q373342 Q203549 Q908604 Q2389651 Q181043 Q4056436 Q4964182 Q186075 Q192781 Q903820 Q205560 Q467 Q1476215 Q83440 Q855091 Q2066131 Q39680 Q15253558 Q622512 Q10294 Q1065742 Q858517 Q1195695 Q135637 Q8341 Q792542 Q8361 Q1336170 Q396077 Q482980 Q6501221 Q11401 Q3242115
(c(Q21114848)|c(Q43229),P101,c(Q151885))
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q151885 . ?x rdf:type ontology:Q43229 }
black metal Liturgical music do it yourself modern history production theory cosmetology decision theory class classical music contemporary folk music klezmer Common descent graph theory History of Ancient Rome electronic music humanitarian aid food history French cuisine pop music microeconomics Sevdalinka motorcycle racer hard rock contemporary classical music queueing theory heavy metal music playwright Esperantist conquistador information theory Negro spiritual operator theory popular music scientific management social history children's music dissident Bard philosopher contemporary history military history field theory trip hop woman human rights activist country music guitarist sportsperson macroeconomics activist Spanish cuisine poverty religious music cultural history intellectual history chiptune jazz axiomatic system Baroque music Ramsey theory agrarian history author control theory hip hop revolutionary
65
[[{'concept': 'magazine genre'}, {'concept': 'organization'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:concept . ?x rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q467
P361
Q151885
USER
Which concept is woman a part of ?
(Q467,P361,c(Q151885))
action filter_type
action find
entity Q467
relation P361
type Q151885
['Q467', 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q151885 . resource:Q467 property:P361 ?c }
woman
action filter_type
action find
entity woman
relation part of
type concept
['woman', 'part of', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:concept . resource:woman property:part_of ?c }
[]
concept
Q8436
SYSTEM
family
Q8436
(Q467,P361,c(Q151885))
action filter_type
action find
entity Q467
relation P361
type Q151885
Which concept is woman a part of
['Q467', 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q151885 . resource:Q467 property:P361 ?c }
family
Which concept is woman a part of
family
action filter_type
action find
entity woman
relation part of
type concept
['woman', 'part of', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:concept . resource:woman property:part_of ?c }
[]