Simple Question (Direct)
Simple Question
Q451825
P21
Q290
USER
Which sex does Igorʹ Jakovlevič Pomerancev belong to ?
(Q451825,P21,c(Q290))
action filter_type
action find
entity Q451825
relation P21
type Q290
['Q451825', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q451825 property:P21 ?a . ?a rdf:type ontology:Q290 }
Igorʹ Jakovlevič Pomerancev
action filter_type
action find
entity Igorʹ Jakovlevič Pomerancev
relation gender
type sex
['Igorʹ Jakovlevič Pomerancev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Igorʹ_Jakovlevič_Pomerancev property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q451825,P21,c(Q290))
action filter_type
action find
entity Q451825
relation P21
type Q290
Igorʹ Jakovlevič Pomerancev belongs to [ANSWER]
['Q451825', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q451825 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
Igorʹ Jakovlevič Pomerancev belongs to male
male
action filter_type
action find
entity Igorʹ Jakovlevič Pomerancev
relation gender
type sex
['Igorʹ Jakovlevič Pomerancev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Igorʹ_Jakovlevič_Pomerancev property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q451825
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q451825
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q451825 property:P106 ?u }
Igorʹ Jakovlevič Pomerancev
action filter_type
action find
entity Igorʹ Jakovlevič Pomerancev
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Igorʹ_Jakovlevič_Pomerancev property:occupation ?u }
[]
occupation
Q1930187 Q49757 Q36180
SYSTEM
journalist, poet, writer
Q1930187 Q49757 Q36180
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q451825
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q451825 property:P106 ?u }
journalist poet writer
The professions of that person are journalist, poet and writer
journalist poet writer
action filter_type
action find
entity Igorʹ Jakovlevič Pomerancev
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Igorʹ_Jakovlevič_Pomerancev property:occupation ?u }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q12737077 Q2342494 Q43229
USER
How many occupations do around the same number of collectables or organizations belong to as that occupation ?
(c(Q2342494)|c(Q43229),P101,c(Q12737077))
[[{'concept': 'Q2342494'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
[[{'concept': 'collectable'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
occupation collectable organization
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1930187
SYSTEM
Did you mean journalist ?
(c(Q2342494)|c(Q43229),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
Did you mean journalist ?
journalist
[[{'concept': 'collectable'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2342494)|c(Q43229),P101,c(Q12737077))
[[{'concept': 'Q2342494'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
[[{'concept': 'collectable'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
[]
SYSTEM
116
Q6625963 Q4175034 Q177220 Q911554 Q80687 Q37226 Q39631 Q652122 Q765778 Q2995983 Q627325 Q33999 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q706364 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q17156912 Q2516866 Q2259451 Q947873 Q333634 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q183888 Q593644 Q7888586 Q81096 Q170790 Q30185 Q15839135 Q2405480 Q1930187 Q14467526 Q6500773 Q212238 Q11642 Q937857 Q157509 Q128124 Q1999841 Q131524 Q1172458 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q169470 Q36180 Q201788 Q15117302 Q483501 Q1114448 Q17167049 Q1423891 Q3665646 Q11063 Q1028181 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q36834 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q245068 Q8011071 Q219477 Q16009483 Q1607826 Q154549 Q1709010 Q639669 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q42603 Q3621491 Q11774891 Q6981670
(c(Q2342494)|c(Q43229),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
novelist legislator singer business magnate secretary teacher physician sewing organist double-bassist graphic designer actor hieromonk musicologist philologist food critic surgeon children's writer art director educationist seiyū bassist wood carver model violinist malariologist publisher stage actor television presenter translator short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer software developer chemist chemical engineer engineer mathematician mayor developmental biologist voice actor journalist linguist general practitioner civil servant pottery association football player legal guardian audio engineer faqih entrepreneur muhaddith hispanist university teacher district attorney director scenographer military leader prelate botanist member of the National Assembly of Armenia glass artist joiner germanist agency agreement art critic stained-glass artist violist chief of police physicist writer historian volleyball player artist cartoonist specialist in literature minister basketball player astronomer painter Train dispatcher scientist STEM fields mining engineer documentary filmmaker composer religious leader navigator theatre director type designer conductor rapper comedian animal trainer missionary sideshow performer editor carpenter software engineer musician mangaka photographer choreographer illustrator statistician non-fiction writer priest archaeologist ice hockey player Navajo weaving
116
[[{'concept': 'collectable'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of atleast 5 occupations ?
(c(Q12737077),P417,c(Q502895))
action count
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 5
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?u ) WHERE { ?j property:P417 ?x . ?j rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?u >= 5 ) }
action count
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 5
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?u ) WHERE { ?j property:patron_saint ?x . ?j rdf:type ontology:occupation . ?x rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?u >= 5 ) }
[]
common name occupation
SYSTEM
2
Q43982 Q179718
(c(Q12737077),P417,c(Q502895))
action count
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 5
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?u ) WHERE { ?j property:P417 ?x . ?j rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?u >= 5 ) }
Bartholomew the Apostle Catherine of Alexandria
2
action count
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 5
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?u ) WHERE { ?j property:patron_saint ?x . ?j rdf:type ontology:occupation . ?x rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?u >= 5 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saint of approximately 2 occupations ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:P417 ?m . ?s rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?c = 2 ) }
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:patron_saint ?m . ?s rdf:type ontology:occupation . ?m rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?c = 2 ) }
[]
common name occupation
Q166876 Q229190 Q44248
SYSTEM
Isidore of Seville, Catherine of Siena, Jerome
Q229190 Q328804 Q166876 Q170547 Q183240 Q196653 Q44265 Q744884 Q151967 Q44248
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[ANSWERS] are the patron saint of approximately 2 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:P417 ?m . ?s rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?c = 2 ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Saint Lucy Saint Veronica Benedict of Nursia Zita Saint Blaise Jerome
Isidore of Seville, Catherine of Siena and Jerome are the patron saint of approximately 2 occupations
Isidore of Seville Catherine of Siena Jerome
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:patron_saint ?m . ?s rdf:type ontology:occupation . ?m rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?c = 2 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P417
Q44539 Q1048835
USER
How many temples or political territories have that person as their patron saint ?
(c(Q44539),P417,Q44248) (c(Q1048835),P417,Q44248) (c(Q44539),P417,Q166876) (c(Q1048835),P417,Q166876) (c(Q44539),P417,Q229190) (c(Q1048835),P417,Q229190) (c(Q44539),P417,Q44248) (c(Q1048835),P417,Q44248)
[{'concept': 'Q44539'}, 'P417', 'Q44248'] [{'concept': 'Q1048835'}, 'P417', 'Q44248'] [{'concept': 'Q44539'}, 'P417', 'Q166876'] [{'concept': 'Q1048835'}, 'P417', 'Q166876'] [{'concept': 'Q44539'}, 'P417', 'Q229190'] [{'concept': 'Q1048835'}, 'P417', 'Q229190'] [{'concept': 'Q44539'}, 'P417', 'Q44248'] [{'concept': 'Q1048835'}, 'P417', 'Q44248']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q28914 resource:Q6182518 } UNION { ?y property:Q28914 resource:Q6182518 } UNION { ?z property:Q28914 resource:Q16231131 } UNION { ?y property:Q28914 resource:Q16231131 } UNION { ?z property:Q28914 resource:Q229190 } UNION { ?y property:Q28914 resource:Q229190 } UNION { ?z property:Q28914 resource:Q6182518 } UNION { ?y property:Q28914 resource:Q6182518 } } . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q1048835 }
[{'concept': 'temple'}, 'patron saint', 'Jerome'] [{'concept': 'political territorial entity'}, 'patron saint', 'Jerome'] [{'concept': 'temple'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'political territorial entity'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'temple'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'political territorial entity'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'temple'}, 'patron saint', 'Jerome'] [{'concept': 'political territorial entity'}, 'patron saint', 'Jerome']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:patron_saint resource:Jerome } UNION { ?y property:patron_saint resource:Jerome } UNION { ?z property:patron_saint resource:Isidore_of_Seville } UNION { ?y property:patron_saint resource:Isidore_of_Seville } UNION { ?z property:patron_saint resource:Catherine_of_Siena } UNION { ?y property:patron_saint resource:Catherine_of_Siena } UNION { ?z property:patron_saint resource:Jerome } UNION { ?y property:patron_saint resource:Jerome } } . ?z rdf:type ontology:temple . ?y rdf:type ontology:political_territorial_entity }
[]
temple political territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q44248
SYSTEM
Did you mean Jerome ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q28914 resource:Q6182518 } UNION { ?y property:Q28914 resource:Q6182518 } UNION { ?z property:Q28914 resource:Q16231131 } UNION { ?y property:Q28914 resource:Q16231131 } UNION { ?z property:Q28914 resource:Q229190 } UNION { ?y property:Q28914 resource:Q229190 } UNION { ?z property:Q28914 resource:Q6182518 } UNION { ?y property:Q28914 resource:Q6182518 } } . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q1048835 }
Did you mean Jerome ?
Jerome
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:patron_saint resource:Jerome } UNION { ?y property:patron_saint resource:Jerome } UNION { ?z property:patron_saint resource:Isidore_of_Seville } UNION { ?y property:patron_saint resource:Isidore_of_Seville } UNION { ?z property:patron_saint resource:Catherine_of_Siena } UNION { ?y property:patron_saint resource:Catherine_of_Siena } UNION { ?z property:patron_saint resource:Jerome } UNION { ?y property:patron_saint resource:Jerome } } . ?z rdf:type ontology:temple . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q44539),P417,Q44248) (c(Q1048835),P417,Q44248) (c(Q44539),P417,Q166876) (c(Q1048835),P417,Q166876) (c(Q44539),P417,Q229190) (c(Q1048835),P417,Q229190) (c(Q44539),P417,Q44248) (c(Q1048835),P417,Q44248)
[{'concept': 'Q44539'}, 'P417', 'Q44248'] [{'concept': 'Q1048835'}, 'P417', 'Q44248'] [{'concept': 'Q44539'}, 'P417', 'Q166876'] [{'concept': 'Q1048835'}, 'P417', 'Q166876'] [{'concept': 'Q44539'}, 'P417', 'Q229190'] [{'concept': 'Q1048835'}, 'P417', 'Q229190'] [{'concept': 'Q44539'}, 'P417', 'Q44248'] [{'concept': 'Q1048835'}, 'P417', 'Q44248']
[{'concept': 'temple'}, 'patron saint', 'Jerome'] [{'concept': 'political territorial entity'}, 'patron saint', 'Jerome'] [{'concept': 'temple'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'political territorial entity'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'temple'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'political territorial entity'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'temple'}, 'patron saint', 'Jerome'] [{'concept': 'political territorial entity'}, 'patron saint', 'Jerome']
[]
SYSTEM
2
Q888055 Q1751451
(c(Q44539),P417,Q44248) (c(Q1048835),P417,Q44248) (c(Q44539),P417,Q166876) (c(Q1048835),P417,Q166876) (c(Q44539),P417,Q229190) (c(Q1048835),P417,Q229190) (c(Q44539),P417,Q44248) (c(Q1048835),P417,Q44248)
[ANSWER]
[{'concept': 'Q44539'}, 'P417', 'Q44248'] [{'concept': 'Q1048835'}, 'P417', 'Q44248'] [{'concept': 'Q44539'}, 'P417', 'Q166876'] [{'concept': 'Q1048835'}, 'P417', 'Q166876'] [{'concept': 'Q44539'}, 'P417', 'Q229190'] [{'concept': 'Q1048835'}, 'P417', 'Q229190'] [{'concept': 'Q44539'}, 'P417', 'Q44248'] [{'concept': 'Q1048835'}, 'P417', 'Q44248']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q28914 resource:Q6182518 } UNION { ?y property:Q28914 resource:Q6182518 } UNION { ?z property:Q28914 resource:Q16231131 } UNION { ?y property:Q28914 resource:Q16231131 } UNION { ?z property:Q28914 resource:Q229190 } UNION { ?y property:Q28914 resource:Q229190 } UNION { ?z property:Q28914 resource:Q6182518 } UNION { ?y property:Q28914 resource:Q6182518 } } . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q1048835 }
San Girolamo della Carità Benferri
2
[{'concept': 'temple'}, 'patron saint', 'Jerome'] [{'concept': 'political territorial entity'}, 'patron saint', 'Jerome'] [{'concept': 'temple'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'political territorial entity'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'temple'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'political territorial entity'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'temple'}, 'patron saint', 'Jerome'] [{'concept': 'political territorial entity'}, 'patron saint', 'Jerome']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:patron_saint resource:Jerome } UNION { ?y property:patron_saint resource:Jerome } UNION { ?z property:patron_saint resource:Isidore_of_Seville } UNION { ?y property:patron_saint resource:Isidore_of_Seville } UNION { ?z property:patron_saint resource:Catherine_of_Siena } UNION { ?y property:patron_saint resource:Catherine_of_Siena } UNION { ?z property:patron_saint resource:Jerome } UNION { ?y property:patron_saint resource:Jerome } } . ?z rdf:type ontology:temple . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q44248
P180
Q838948 Q11060274
USER
How many works of art and prints express Jerome ?
(c(Q838948),P180,Q44248) (c(Q11060274),P180,Q44248)
action count
action union
action filter_type
action find_reverse
entity Q44248
relation P180
type Q838948
action filter_type
action find_reverse
entity Q44248
relation P180
type Q11060274
[{'concept': 'Q838948'}, 'P180', 'Q44248'] [{'concept': 'Q11060274'}, 'P180', 'Q44248']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { ?r rdf:type ontology:Q11060274 . ?r property:P180 resource:Q44248 } UNION { ?r property:P180 resource:Q44248 . ?r rdf:type ontology:Q838948 } }
Jerome
action count
action union
action filter_type
action find_reverse
entity Jerome
relation depicts
type work of art
action filter_type
action find_reverse
entity Jerome
relation depicts
type print
[{'concept': 'work of art'}, 'depicts', 'Jerome'] [{'concept': 'print'}, 'depicts', 'Jerome']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { ?r rdf:type ontology:print . ?r property:depicts resource:Jerome } UNION { ?r property:depicts resource:Jerome . ?r rdf:type ontology:work_of_art } }
[]
work of art print
SYSTEM
1 works of art and 5 prints
Q18339699 Q18339695 Q18917945 Q18338493 Q18339714 Q18339715
(c(Q838948),P180,Q44248) (c(Q11060274),P180,Q44248)
action count
action union
action filter_type
action find_reverse
entity Q44248
relation P180
type Q838948
action filter_type
action find_reverse
entity Q44248
relation P180
type Q11060274
[ANSWER]
[{'concept': 'Q838948'}, 'P180', 'Q44248'] [{'concept': 'Q11060274'}, 'P180', 'Q44248']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { ?r rdf:type ontology:Q11060274 . ?r property:P180 resource:Q44248 } UNION { ?r property:P180 resource:Q44248 . ?r rdf:type ontology:Q838948 } }
Saint Jerome Saint Jerome Saint Jerome Saint Jerome Penitent in the Wilderness Saint Jerome in a Cave Saint Jerome in His Cell
1 works of art and 5 prints
action count
action union
action filter_type
action find_reverse
entity Jerome
relation depicts
type work of art
action filter_type
action find_reverse
entity Jerome
relation depicts
type print
[{'concept': 'work of art'}, 'depicts', 'Jerome'] [{'concept': 'print'}, 'depicts', 'Jerome']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { ?r rdf:type ontology:print . ?r property:depicts resource:Jerome } UNION { ?r property:depicts resource:Jerome . ?r rdf:type ontology:work_of_art } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can around 1787 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1787
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?m = 1787 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1787
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?m = 1787 ) }
[]
musical instrument common name
Q46185 Q80019 Q8338
SYSTEM
bass guitar, double bass, trumpet
Q46185 Q80019 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1787
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?m = 1787 ) }
bass guitar double bass trumpet cello organ drum kit
Which musical instruments can around 1787 people perform with
bass guitar double bass trumpet
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1787
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?m = 1787 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q8338
P870
Q34379 Q188451 Q9748
USER
How many musical instruments were used in the composition of less number of music genres or concertoes than trumpet ?
(c(Q188451)|c(Q9748),P870,c(Q34379))
action count
action less
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q188451
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
action count
action filter_multi_types
action find_reverse
entity Q8338
relation P870
type Q188451
type Q9748
[[{'concept': 'Q188451'}, {'concept': 'Q9748'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { ?k rdf:type ?r . VALUES ( ?r ) { ( ontology:Q9748 ) ( ontology:Q188451 ) } } . ?k property:P870 resource:Q8338 } } . FILTER ( ?f < ?u ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?d WHERE { { ?a property:P870 ?d . ?d rdf:type ontology:Q34379 . ?a rdf:type ontology:Q188451 } UNION { ?a property:P870 ?d . ?d rdf:type ontology:Q34379 . ?a rdf:type ontology:Q9748 } } GROUP BY ?d } }
trumpet
action count
action less
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type music genre
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
action count
action filter_multi_types
action find_reverse
entity trumpet
relation instrumentation
type music genre
type concerto
[[{'concept': 'music genre'}, {'concept': 'concerto'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { ?k rdf:type ?r . VALUES ( ?r ) { ( ontology:concerto ) ( ontology:music_genre ) } } . ?k property:instrumentation resource:trumpet } } . FILTER ( ?f < ?u ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?d WHERE { { ?a property:instrumentation ?d . ?d rdf:type ontology:musical_instrument . ?a rdf:type ontology:music_genre } UNION { ?a property:instrumentation ?d . ?d rdf:type ontology:musical_instrument . ?a rdf:type ontology:concerto } } GROUP BY ?d } }
[]
musical instrument music genre concerto
SYSTEM
11
Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q320341 Q39777 Q206987
(c(Q188451)|c(Q9748),P870,c(Q34379))
action count
action less
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q188451
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
action count
action filter_multi_types
action find_reverse
entity Q8338
relation P870
type Q188451
type Q9748
[ANSWER]
[[{'concept': 'Q188451'}, {'concept': 'Q9748'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { ?k rdf:type ?r . VALUES ( ?r ) { ( ontology:Q9748 ) ( ontology:Q188451 ) } } . ?k property:P870 resource:Q8338 } } . FILTER ( ?f < ?u ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?d WHERE { { ?a property:P870 ?d . ?d rdf:type ontology:Q34379 . ?a rdf:type ontology:Q188451 } UNION { ?a property:P870 ?d . ?d rdf:type ontology:Q34379 . ?a rdf:type ontology:Q9748 } } GROUP BY ?d } }
harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton celesta maraca vibraphone
11
action count
action less
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type music genre
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
action count
action filter_multi_types
action find_reverse
entity trumpet
relation instrumentation
type music genre
type concerto
[[{'concept': 'music genre'}, {'concept': 'concerto'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { ?k rdf:type ?r . VALUES ( ?r ) { ( ontology:concerto ) ( ontology:music_genre ) } } . ?k property:instrumentation resource:trumpet } } . FILTER ( ?f < ?u ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?d WHERE { { ?a property:instrumentation ?d . ?d rdf:type ontology:musical_instrument . ?a rdf:type ontology:music_genre } UNION { ?a property:instrumentation ?d . ?d rdf:type ontology:musical_instrument . ?a rdf:type ontology:concerto } } GROUP BY ?d } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1444
P870
Q34379 Q188451 Q9748
USER
And what about organ?
(c(Q188451)|c(Q9748),P870,c(Q34379))
action count
action less
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q188451
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
action count
action filter_multi_types
action find_reverse
entity Q1444
relation P870
type Q188451
type Q9748
[[{'concept': 'Q188451'}, {'concept': 'Q9748'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:Q188451 ) ( ontology:Q9748 ) } . ?i rdf:type ?k } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P870 resource:Q1444 . { ?m rdf:type ?y . VALUES ( ?y ) { ( ontology:Q188451 ) ( ontology:Q9748 ) } } } } . FILTER ( ?t < ?v ) }
organ
action count
action less
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type music genre
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
action count
action filter_multi_types
action find_reverse
entity organ
relation instrumentation
type music genre
type concerto
[[{'concept': 'music genre'}, {'concept': 'concerto'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:music_genre ) ( ontology:concerto ) } . ?i rdf:type ?k } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:instrumentation resource:organ . { ?m rdf:type ?y . VALUES ( ?y ) { ( ontology:music_genre ) ( ontology:concerto ) } } } } . FILTER ( ?t < ?v ) }
[]
musical instrument music genre concerto
SYSTEM
16
Q80284 Q8371 Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q8338 Q320341 Q39777 Q11404 Q206987 Q81982
(c(Q188451)|c(Q9748),P870,c(Q34379))
action count
action less
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q188451
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
action count
action filter_multi_types
action find_reverse
entity Q1444
relation P870
type Q188451
type Q9748
[ANSWER]
[[{'concept': 'Q188451'}, {'concept': 'Q9748'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:Q188451 ) ( ontology:Q9748 ) } . ?i rdf:type ?k } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P870 resource:Q1444 . { ?m rdf:type ?y . VALUES ( ?y ) { ( ontology:Q188451 ) ( ontology:Q9748 ) } } } } . FILTER ( ?t < ?v ) }
viola cello harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton trumpet celesta maraca drum vibraphone harpsichord
16
action count
action less
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type music genre
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
action count
action filter_multi_types
action find_reverse
entity organ
relation instrumentation
type music genre
type concerto
[[{'concept': 'music genre'}, {'concept': 'concerto'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:music_genre ) ( ontology:concerto ) } . ?i rdf:type ?k } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:instrumentation resource:organ . { ?m rdf:type ?y . VALUES ( ?y ) { ( ontology:music_genre ) ( ontology:concerto ) } } } } . FILTER ( ?t < ?v ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q166876
P50
Q2342494 Q234460
USER
How many collectables or texts have Isidore of Seville as their author ?
(c(Q2342494),P50,Q166876) (c(Q234460),P50,Q166876)
action count
action union
action filter_type
action find_reverse
entity Q166876
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q166876
relation P50
type Q234460
[{'concept': 'Q2342494'}, 'P50', 'Q166876'] [{'concept': 'Q234460'}, 'P50', 'Q166876']
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2342494 ) ( ontology:Q234460 ) } }
Isidore of Seville
action count
action union
action filter_type
action find_reverse
entity Isidore of Seville
relation author
type collectable
action filter_type
action find_reverse
entity Isidore of Seville
relation author
type text
[{'concept': 'collectable'}, 'author', 'Isidore of Seville'] [{'concept': 'text'}, 'author', 'Isidore of Seville']
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:collectable ) ( ontology:text ) } }
[]
collectable text
SYSTEM
2
Q1218746 Q665934
(c(Q2342494),P50,Q166876) (c(Q234460),P50,Q166876)
action count
action union
action filter_type
action find_reverse
entity Q166876
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q166876
relation P50
type Q234460
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q166876'] [{'concept': 'Q234460'}, 'P50', 'Q166876']
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2342494 ) ( ontology:Q234460 ) } }
Historia de regibus Gothorum, Vandalorum et Suevorum Etymologiae
2
action count
action union
action filter_type
action find_reverse
entity Isidore of Seville
relation author
type collectable
action filter_type
action find_reverse
entity Isidore of Seville
relation author
type text
[{'concept': 'collectable'}, 'author', 'Isidore of Seville'] [{'concept': 'text'}, 'author', 'Isidore of Seville']
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:collectable ) ( ontology:text ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q166876
P674
Q223393
USER
Which literary genre has the character that person ?
action filter_type
action find_reverse
entity Q166876
relation P674
type Q223393
SELECT DISTINCT ?n WHERE { ?n property:P674 resource:Q166876 . ?n rdf:type ontology:Q223393 }
Isidore of Seville
action filter_type
action find_reverse
entity Isidore of Seville
relation characters
type literary genre
SELECT DISTINCT ?n WHERE { ?n property:characters resource:Isidore_of_Seville . ?n rdf:type ontology:literary_genre }
[]
literary genre
Q40185
SYSTEM
The Divine Comedy
Q40185
action filter_type
action find_reverse
entity Q166876
relation P674
type Q223393
[ANSWER] has the character that person
SELECT DISTINCT ?n WHERE { ?n property:P674 resource:Q166876 . ?n rdf:type ontology:Q223393 }
The Divine Comedy
The Divine Comedy has the character that person
The Divine Comedy
action filter_type
action find_reverse
entity Isidore of Seville
relation characters
type literary genre
SELECT DISTINCT ?n WHERE { ?n property:characters resource:Isidore_of_Seville . ?n rdf:type ontology:literary_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q166876
P140
Q874405
USER
Which social group is the religion of that person ?
(Q40185,P140,c(Q874405))
action filter_type
action find
entity Q166876
relation P140
type Q874405
['Q40185', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { resource:Q166876 property:P140 ?y . ?y rdf:type ontology:Q874405 }
Isidore of Seville
action filter_type
action find
entity Isidore of Seville
relation religion
type social group
['The Divine Comedy', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { resource:Isidore_of_Seville property:religion ?y . ?y rdf:type ontology:social_group }
[]
social group
Q5043
SYSTEM
Christianity
Q5043
(Q40185,P140,c(Q874405))
action filter_type
action find
entity Q166876
relation P140
type Q874405
[ANSWER] is the religion of that person
['Q40185', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { resource:Q166876 property:P140 ?y . ?y rdf:type ontology:Q874405 }
Christianity
Christianity is the religion of that person
Christianity
action filter_type
action find
entity Isidore of Seville
relation religion
type social group
['The Divine Comedy', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { resource:Isidore_of_Seville property:religion ?y . ?y rdf:type ontology:social_group }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q4231920 Q166876
P140
Q874405
USER
And also Robert Vadra
AND((Q166876,P140,c(Q874405)), (Q4231920,P140,c(Q874405)))
action filter_type
action intersection
action find
entity Q166876
relation P140
action find
entity Q4231920
relation P140
type Q874405
{'AND': [['Q166876', 'P140', {'concept': 'Q874405'}], ['Q4231920', 'P140', {'concept': 'Q874405'}]]}
SELECT DISTINCT ?r WHERE { resource:Q166876 property:P140 ?r . resource:Q4231920 property:P140 ?r . ?r rdf:type ontology:Q874405 }
Robert Vadra Isidore of Seville
action filter_type
action intersection
action find
entity Isidore of Seville
relation religion
action find
entity Robert Vadra
relation religion
type social group
{'AND': [['Isidore of Seville', 'religion', {'concept': 'social group'}], ['Robert Vadra', 'religion', {'concept': 'social group'}]]}
SELECT DISTINCT ?r WHERE { resource:Isidore_of_Seville property:religion ?r . resource:Robert_Vadra property:religion ?r . ?r rdf:type ontology:social_group }
[]
social group
Q5043
SYSTEM
Christianity
Q5043
AND((Q166876,P140,c(Q874405)), (Q4231920,P140,c(Q874405)))
action filter_type
action intersection
action find
entity Q166876
relation P140
action find
entity Q4231920
relation P140
type Q874405
[ANSWER]
{'AND': [['Q166876', 'P140', {'concept': 'Q874405'}], ['Q4231920', 'P140', {'concept': 'Q874405'}]]}
SELECT DISTINCT ?r WHERE { resource:Q166876 property:P140 ?r . resource:Q4231920 property:P140 ?r . ?r rdf:type ontology:Q874405 }
Christianity
Christianity
action filter_type
action intersection
action find
entity Isidore of Seville
relation religion
action find
entity Robert Vadra
relation religion
type social group
{'AND': [['Isidore of Seville', 'religion', {'concept': 'social group'}], ['Robert Vadra', 'religion', {'concept': 'social group'}]]}
SELECT DISTINCT ?r WHERE { resource:Isidore_of_Seville property:religion ?r . resource:Robert_Vadra property:religion ?r . ?r rdf:type ontology:social_group }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5043 Q6831584
P140
Q502895
USER
Does Michael James belong to that social group religion ?
(Q6831584,P140,Q5043)
action is_in
entity Q6831584
action find
entity Q5043
relation P140
['Q6831584', 'P140', 'Q5043']
ASK WHERE { resource:Q5043 property:P140 resource:Q6831584 }
Christianity Michael James
action is_in
entity Michael James
action find
entity Christianity
relation religion
['Michael James', 'religion', 'Christianity']
ASK WHERE { resource:Christianity property:religion resource:Michael_James }
[]
common name
SYSTEM
NO
(Q6831584,P140,Q5043)
action is_in
entity Q6831584
action find
entity Q5043
relation P140
[ANSWER]
['Q6831584', 'P140', 'Q5043']
ASK WHERE { resource:Q5043 property:P140 resource:Q6831584 }
No
action is_in
entity Michael James
action find
entity Christianity
relation religion
['Michael James', 'religion', 'Christianity']
ASK WHERE { resource:Christianity property:religion resource:Michael_James }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3343510 Q6831584
P734
Q82799
USER
Which names have the surname Michael James or Norbert Morin ?
OR((Q6831584,P734,c(Q82799)), (Q3343510,P734,c(Q82799)))
action filter_type
action union
action find
entity Q6831584
relation P734
action find
entity Q3343510
relation P734
type Q82799
{'OR': [['Q6831584', 'P734', {'concept': 'Q82799'}], ['Q3343510', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q82799 . { { resource:Q3343510 property:P734 ?k } UNION { resource:Q6831584 property:P734 ?k } } }
Norbert Morin Michael James
action filter_type
action union
action find
entity Michael James
relation family name
action find
entity Norbert Morin
relation family name
type name
{'OR': [['Michael James', 'family name', {'concept': 'name'}], ['Norbert Morin', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:name . { { resource:Norbert_Morin property:family_name ?k } UNION { resource:Michael_James property:family_name ?k } } }
[]
name
Q12188082 Q21449200
SYSTEM
James, Morin
Q12188082 Q21449200
OR((Q6831584,P734,c(Q82799)), (Q3343510,P734,c(Q82799)))
action filter_type
action union
action find
entity Q6831584
relation P734
action find
entity Q3343510
relation P734
type Q82799
As [ANSWERS] have the surname Michael James or Norbert Morin
{'OR': [['Q6831584', 'P734', {'concept': 'Q82799'}], ['Q3343510', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q82799 . { { resource:Q3343510 property:P734 ?k } UNION { resource:Q6831584 property:P734 ?k } } }
James Morin
As James and Morin have the surname Michael James or Norbert Morin
James Morin
action filter_type
action union
action find
entity Michael James
relation family name
action find
entity Norbert Morin
relation family name
type name
{'OR': [['Michael James', 'family name', {'concept': 'name'}], ['Norbert Morin', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:name . { { resource:Norbert_Morin property:family_name ?k } UNION { resource:Michael_James property:family_name ?k } } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P361
Q9332 Q82799
USER
Which names are a portion of greater number of behaviors than that name ?
(c(Q82799),P361,c(Q9332))
[{'concept': 'Q82799'}, 'P361', {'concept': 'Q9332'}]
SELECT DISTINCT ?z WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q9332 }
[{'concept': 'name'}, 'part of', {'concept': 'behavior'}]
SELECT DISTINCT ?z WHERE { ?z property:part_of ?y . ?z rdf:type ontology:name . ?y rdf:type ontology:behavior }
[]
behavior name
Comparative|More/Less|Single entity type|Clarification
Q12188082
SYSTEM
Did you mean James ?
(c(Q82799),P361,c(Q9332))
[ANSWER]
[{'concept': 'Q82799'}, 'P361', {'concept': 'Q9332'}]
SELECT DISTINCT ?z WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q9332 }
Did you mean James ?
James
[{'concept': 'name'}, 'part of', {'concept': 'behavior'}]
SELECT DISTINCT ?z WHERE { ?z property:part_of ?y . ?z rdf:type ontology:name . ?y rdf:type ontology:behavior }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q82799),P361,c(Q9332))
[{'concept': 'Q82799'}, 'P361', {'concept': 'Q9332'}]
[{'concept': 'name'}, 'part of', {'concept': 'behavior'}]
[]
Q382004
SYSTEM
Afa-Negus
Q382004
(c(Q82799),P361,c(Q9332))
[ANSWER] is a portion of greater number of behaviors than that name
[{'concept': 'Q82799'}, 'P361', {'concept': 'Q9332'}]
SELECT DISTINCT ?z WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q9332 }
Afa-Negus
Afa-Negus is a portion of greater number of behaviors than that name
Afa-Negus
[{'concept': 'name'}, 'part of', {'concept': 'behavior'}]
SELECT DISTINCT ?z WHERE { ?z property:part_of ?y . ?z rdf:type ontology:name . ?y rdf:type ontology:behavior }
[]