Simple Question (Direct)
Simple Question
Q380357
P21
Q290
USER
What is the sex of Roland Mark Schoeman ?
(Q380357,P21,c(Q290))
action filter_type
action find
entity Q380357
relation P21
type Q290
['Q380357', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q380357 property:P21 ?n . ?n rdf:type ontology:Q290 }
Roland Mark Schoeman
action filter_type
action find
entity Roland Mark Schoeman
relation gender
type sex
['Roland Mark Schoeman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Roland_Mark_Schoeman property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q380357,P21,c(Q290))
action filter_type
action find
entity Q380357
relation P21
type Q290
The sex of Roland Mark Schoeman is a [ANSWER]
['Q380357', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q380357 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
The sex of Roland Mark Schoeman is a male
male
action filter_type
action find
entity Roland Mark Schoeman
relation gender
type sex
['Roland Mark Schoeman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Roland_Mark_Schoeman property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q380357
P734
Q82799
USER
Who is associated with Roland Mark Schoeman ?
(Q380357,P734,c(Q82799))
action filter_type
action find
entity Q380357
relation P734
type Q82799
['Q380357', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q82799 . resource:Q380357 property:P734 ?o }
Roland Mark Schoeman
action filter_type
action find
entity Roland Mark Schoeman
relation family name
type name
['Roland Mark Schoeman', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:name . resource:Roland_Mark_Schoeman property:family_name ?o }
[]
name
Q21493389
SYSTEM
Schoeman
Q21493389
(Q380357,P734,c(Q82799))
action filter_type
action find
entity Q380357
relation P734
type Q82799
Mark [ANSWER] is associated with Roland Mark [ANSWER]
['Q380357', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q82799 . resource:Q380357 property:P734 ?o }
Schoeman
Mark Schoeman is associated with Roland Mark Schoeman
Schoeman
action filter_type
action find
entity Roland Mark Schoeman
relation family name
type name
['Roland Mark Schoeman', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:name . resource:Roland_Mark_Schoeman property:family_name ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
How many languages are around 140 names composed in ?
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 140
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P407 ?v . ?v rdf:type ontology:Q34770 . ?e rdf:type ontology:Q82799 } GROUP BY ?v } . FILTER ( ?p = 140 ) }
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 140
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:language_of_work_or_name ?v . ?v rdf:type ontology:language . ?e rdf:type ontology:name } GROUP BY ?v } . FILTER ( ?p = 140 ) }
[]
language name
SYSTEM
2
Q1321 Q652
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 140
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P407 ?v . ?v rdf:type ontology:Q34770 . ?e rdf:type ontology:Q82799 } GROUP BY ?v } . FILTER ( ?p = 140 ) }
Spanish Italian
2
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 140
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:language_of_work_or_name ?v . ?v rdf:type ontology:language . ?e rdf:type ontology:name } GROUP BY ?v } . FILTER ( ?p = 140 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q380357
P19
Q515
USER
Which city is the birthplace of Roland Mark Schoeman ?
(Q380357,P19,c(Q515))
action filter_type
action find
entity Q380357
relation P19
type Q515
['Q380357', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { resource:Q380357 property:P19 ?k . ?k rdf:type ontology:Q515 }
Roland Mark Schoeman
action filter_type
action find
entity Roland Mark Schoeman
relation place of birth
type city
['Roland Mark Schoeman', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { resource:Roland_Mark_Schoeman property:place_of_birth ?k . ?k rdf:type ontology:city }
[]
city
Q3926
SYSTEM
Pretoria
Q3926
(Q380357,P19,c(Q515))
action filter_type
action find
entity Q380357
relation P19
type Q515
[ANSWER] is the birthplace of Roland Mark Schoeman
['Q380357', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { resource:Q380357 property:P19 ?k . ?k rdf:type ontology:Q515 }
Pretoria
Pretoria is the birthplace of Roland Mark Schoeman
Pretoria
action filter_type
action find
entity Roland Mark Schoeman
relation place of birth
type city
['Roland Mark Schoeman', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { resource:Roland_Mark_Schoeman property:place_of_birth ?k . ?k rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q380357
P106
Q151885
USER
What does Roland Mark Schoeman do for a living ?
(Q380357,P106,c(Q151885))
action filter_type
action find
entity Q380357
relation P106
type Q151885
['Q380357', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { resource:Q380357 property:P106 ?c . ?c rdf:type ontology:Q151885 }
Roland Mark Schoeman
action filter_type
action find
entity Roland Mark Schoeman
relation occupation
type concept
['Roland Mark Schoeman', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { resource:Roland_Mark_Schoeman property:occupation ?c . ?c rdf:type ontology:concept }
[]
concept
Q10843402
SYSTEM
swimmer
Q10843402
(Q380357,P106,c(Q151885))
action filter_type
action find
entity Q380357
relation P106
type Q151885
Roland Mark Schoeman does a [ANSWER] for a living
['Q380357', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { resource:Q380357 property:P106 ?c . ?c rdf:type ontology:Q151885 }
swimmer
Roland Mark Schoeman does a swimmer for a living
swimmer
action filter_type
action find
entity Roland Mark Schoeman
relation occupation
type concept
['Roland Mark Schoeman', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { resource:Roland_Mark_Schoeman property:occupation ?c . ?c rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q380357
P641
Q349
USER
Which sport did Roland Mark Schoeman participate in ?
(Q380357,P641,c(Q349))
action filter_type
action find
entity Q380357
relation P641
type Q349
['Q380357', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q380357 property:P641 ?y }
Roland Mark Schoeman
action filter_type
action find
entity Roland Mark Schoeman
relation sport
type sport
['Roland Mark Schoeman', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Roland_Mark_Schoeman property:sport ?y }
[]
sport
Q31920
SYSTEM
swimming
Q31920
(Q380357,P641,c(Q349))
action filter_type
action find
entity Q380357
relation P641
type Q349
Roland Mark Schoeman participated in [ANSWER]
['Q380357', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q380357 property:P641 ?y }
swimming
Roland Mark Schoeman participated in swimming
swimming
action filter_type
action find
entity Roland Mark Schoeman
relation sport
type sport
['Roland Mark Schoeman', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Roland_Mark_Schoeman property:sport ?y }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27607407
Q349
USER
And how about 1991 French Open Badminton Championships – Women's singles?
(Q27607407,P641,c(Q349))
action filter_type
action find
entity Q27607407
relation P641
type Q349
['Q27607407', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q27607407 property:P641 ?p . ?p rdf:type ontology:Q349 }
1991 French Open Badminton Championships – Women's singles
action filter_type
action find
entity 1991 French Open Badminton Championships – Women's singles
relation sport
type sport
["1991 French Open Badminton Championships – Women's singles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:1991_French_Open_Badminton_Championships_–_Women's_singles property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q7291
SYSTEM
badminton
Q7291
(Q27607407,P641,c(Q349))
action filter_type
action find
entity Q27607407
relation P641
type Q349
[ANSWER]
['Q27607407', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q27607407 property:P641 ?p . ?p rdf:type ontology:Q349 }
badminton
badminton
action filter_type
action find
entity 1991 French Open Badminton Championships – Women's singles
relation sport
type sport
["1991 French Open Badminton Championships – Women's singles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:1991_French_Open_Badminton_Championships_–_Women's_singles property:sport ?p . ?p rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P366
Q349 Q2235308 Q2424752
USER
How many sports are considered to be the main utilization of more number of ship types and products than that sport ?
(c(Q2235308)|c(Q2424752),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
action count
action filter_multi_types
action find_reverse
entity Q7291
relation P366
type Q2235308
type Q2424752
[[{'concept': 'Q2235308'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?k WHERE { VALUES ( ?h ) { ( ontology:Q2235308 ) ( ontology:Q2424752 ) } . ?p rdf:type ?h } GROUP BY ?k } . FILTER ( ?j > ?x ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { { ?n rdf:type ontology:Q2424752 } UNION { ?n rdf:type ontology:Q2235308 } } . ?n property:P366 resource:Q7291 } } }
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type ship type
action find_reverse_tuple_counts
relation use
type sport
type product
action count
action filter_multi_types
action find_reverse
entity badminton
relation use
type ship type
type product
[[{'concept': 'ship type'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?k WHERE { VALUES ( ?h ) { ( ontology:ship_type ) ( ontology:product ) } . ?p rdf:type ?h } GROUP BY ?k } . FILTER ( ?j > ?x ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { { ?n rdf:type ontology:product } UNION { ?n rdf:type ontology:ship_type } } . ?n property:use resource:badminton } } }
[]
sport ship type product
SYSTEM
2
Q1875777 Q61065
(c(Q2235308)|c(Q2424752),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
action count
action filter_multi_types
action find_reverse
entity Q7291
relation P366
type Q2235308
type Q2424752
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?k WHERE { VALUES ( ?h ) { ( ontology:Q2235308 ) ( ontology:Q2424752 ) } . ?p rdf:type ?h } GROUP BY ?k } . FILTER ( ?j > ?x ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { { ?n rdf:type ontology:Q2424752 } UNION { ?n rdf:type ontology:Q2235308 } } . ?n property:P366 resource:Q7291 } } }
air racing water sport
2
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type ship type
action find_reverse_tuple_counts
relation use
type sport
type product
action count
action filter_multi_types
action find_reverse
entity badminton
relation use
type ship type
type product
[[{'concept': 'ship type'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?k WHERE { VALUES ( ?h ) { ( ontology:ship_type ) ( ontology:product ) } . ?p rdf:type ?h } GROUP BY ?k } . FILTER ( ?j > ?x ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { { ?n rdf:type ontology:product } UNION { ?n rdf:type ontology:ship_type } } . ?n property:use resource:badminton } } }
[]