Simple Question (Direct)
Simple Question
Q310783
P184
Q502895
USER
Which person was the doctoral advisor of Lodovico Ferrari ?
(Q310783,P184,c(Q502895))
action filter_type
action find
entity Q310783
relation P184
type Q502895
['Q310783', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q310783 property:P184 ?e . ?e rdf:type ontology:Q502895 }
Lodovico Ferrari
action filter_type
action find
entity Lodovico Ferrari
relation doctoral advisor
type common name
['Lodovico Ferrari', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Lodovico_Ferrari property:doctoral_advisor ?e . ?e rdf:type ontology:common_name }
[]
common name
Q184530
SYSTEM
Gerolamo Cardano
Q184530
(Q310783,P184,c(Q502895))
action filter_type
action find
entity Q310783
relation P184
type Q502895
[ANSWER] was the doctoral advisor of Lodovico Ferrari
['Q310783', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q310783 property:P184 ?e . ?e rdf:type ontology:Q502895 }
Gerolamo Cardano
Gerolamo Cardano was the doctoral advisor of Lodovico Ferrari
Gerolamo Cardano
action filter_type
action find
entity Lodovico Ferrari
relation doctoral advisor
type common name
['Lodovico Ferrari', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Lodovico_Ferrari property:doctoral_advisor ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q310783
P101
Q11862829
USER
Which academic discipline is the area of Lodovico Ferrari ?
(Q310783,P101,c(Q11862829))
action filter_type
action find
entity Q310783
relation P101
type Q11862829
['Q310783', 'P101', {'concept': 'Q11862829'}]
SELECT DISTINCT ?t WHERE { resource:Q310783 property:P101 ?t . ?t rdf:type ontology:Q11862829 }
Lodovico Ferrari
action filter_type
action find
entity Lodovico Ferrari
relation field of work
type academic discipline
['Lodovico Ferrari', 'field of work', {'concept': 'academic discipline'}]
SELECT DISTINCT ?t WHERE { resource:Lodovico_Ferrari property:field_of_work ?t . ?t rdf:type ontology:academic_discipline }
[]
academic discipline
Q3968
SYSTEM
algebra
Q3968
(Q310783,P101,c(Q11862829))
action filter_type
action find
entity Q310783
relation P101
type Q11862829
[ANSWER] is the area of Lodovico Ferrari
['Q310783', 'P101', {'concept': 'Q11862829'}]
SELECT DISTINCT ?t WHERE { resource:Q310783 property:P101 ?t . ?t rdf:type ontology:Q11862829 }
algebra
Algebra is the area of Lodovico Ferrari
algebra
action filter_type
action find
entity Lodovico Ferrari
relation field of work
type academic discipline
['Lodovico Ferrari', 'field of work', {'concept': 'academic discipline'}]
SELECT DISTINCT ?t WHERE { resource:Lodovico_Ferrari property:field_of_work ?t . ?t rdf:type ontology:academic_discipline }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q310783
P734
Q82799
USER
Which name is associated with Lodovico Ferrari ?
(Q310783,P734,c(Q82799))
action filter_type
action find
entity Q310783
relation P734
type Q82799
['Q310783', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q310783 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Lodovico Ferrari
action filter_type
action find
entity Lodovico Ferrari
relation family name
type name
['Lodovico Ferrari', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Lodovico_Ferrari property:family_name ?l . ?l rdf:type ontology:name }
[]
name
Q1407594
SYSTEM
Ferrari
Q1407594
(Q310783,P734,c(Q82799))
action filter_type
action find
entity Q310783
relation P734
type Q82799
[ANSWER] is associated with Lodovico [ANSWER]
['Q310783', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q310783 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Ferrari
Ferrari is associated with Lodovico Ferrari
Ferrari
action filter_type
action find
entity Lodovico Ferrari
relation family name
type name
['Lodovico Ferrari', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Lodovico_Ferrari property:family_name ?l . ?l rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16101746
Q82799
USER
And also tell me about Werner Frey?
(Q16101746,P734,c(Q82799))
action filter_type
action find
entity Q16101746
relation P734
type Q82799
['Q16101746', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q16101746 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Werner Frey
action filter_type
action find
entity Werner Frey
relation family name
type name
['Werner Frey', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Werner_Frey property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q14787975
SYSTEM
Frey
Q14787975
(Q16101746,P734,c(Q82799))
action filter_type
action find
entity Q16101746
relation P734
type Q82799
[ANSWER]
['Q16101746', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q16101746 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Frey
Frey
action filter_type
action find
entity Werner Frey
relation family name
type name
['Werner Frey', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Werner_Frey property:family_name ?v . ?v rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q14787975 Q7824113
P734
Q502895
USER
Does Toomas Frey have that name as surname ?
(Q7824113,P734,Q14787975)
action is_in
entity Q14787975
action find
entity Q7824113
relation P734
['Q7824113', 'P734', 'Q14787975']
ASK WHERE { resource:Q7824113 property:P734 resource:Q14787975 }
Frey Toomas Frey
action is_in
entity Frey
action find
entity Toomas Frey
relation family name
['Toomas Frey', 'family name', 'Frey']
ASK WHERE { resource:Toomas_Frey property:family_name resource:Frey }
[]
common name
SYSTEM
YES
(Q7824113,P734,Q14787975)
action is_in
entity Q14787975
action find
entity Q7824113
relation P734
[ANSWER]
['Q7824113', 'P734', 'Q14787975']
ASK WHERE { resource:Q7824113 property:P734 resource:Q14787975 }
Yes
action is_in
entity Frey
action find
entity Toomas Frey
relation family name
['Toomas Frey', 'family name', 'Frey']
ASK WHERE { resource:Toomas_Frey property:family_name resource:Frey }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
How many languages are atleast 10 names in ?
(c(Q82799),P407,c(Q34770))
action count
action atleast
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 10
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:P407 ?p . ?z rdf:type ontology:Q82799 . ?p rdf:type ontology:Q34770 } GROUP BY ?p } . FILTER ( ?m >= 10 ) }
action count
action atleast
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 10
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:language_of_work_or_name ?p . ?z rdf:type ontology:name . ?p rdf:type ontology:language } GROUP BY ?p } . FILTER ( ?m >= 10 ) }
[]
language name
SYSTEM
4
Q1860 Q1321 Q9056 Q652
(c(Q82799),P407,c(Q34770))
action count
action atleast
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 10
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:P407 ?p . ?z rdf:type ontology:Q82799 . ?p rdf:type ontology:Q34770 } GROUP BY ?p } . FILTER ( ?m >= 10 ) }
English Spanish Czech Italian
4
action count
action atleast
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 10
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:language_of_work_or_name ?p . ?z rdf:type ontology:name . ?p rdf:type ontology:language } GROUP BY ?p } . FILTER ( ?m >= 10 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q184530
P138
Q17444909
USER
Which astronomical object type is the eponym of Gerolamo Cardano ?
(c(Q17444909),P138,Q184530)
action filter_type
action find_reverse
entity Q184530
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q184530']
SELECT DISTINCT ?f WHERE { ?f property:P138 resource:Q184530 . ?f rdf:type ontology:Q17444909 }
Gerolamo Cardano
action filter_type
action find_reverse
entity Gerolamo Cardano
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Gerolamo Cardano']
SELECT DISTINCT ?f WHERE { ?f property:named_after resource:Gerolamo_Cardano . ?f rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q2626410
SYSTEM
11421 Cardano
Q2626410
(c(Q17444909),P138,Q184530)
action filter_type
action find_reverse
entity Q184530
relation P138
type Q17444909
[ANSWER] is the eponym of Gerolamo Cardano
[{'concept': 'Q17444909'}, 'P138', 'Q184530']
SELECT DISTINCT ?f WHERE { ?f property:P138 resource:Q184530 . ?f rdf:type ontology:Q17444909 }
11421 Cardano
11421 Cardano is the eponym of Gerolamo Cardano
11421 Cardano
action filter_type
action find_reverse
entity Gerolamo Cardano
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Gerolamo Cardano']
SELECT DISTINCT ?f WHERE { ?f property:named_after resource:Gerolamo_Cardano . ?f rdf:type ontology:astronomical_object_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q184530
P50
Q2342494
USER
Which collectable is written by Gerolamo Cardano ?
(c(Q2342494),P50,Q184530)
action filter_type
action find_reverse
entity Q184530
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q184530']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2342494 . ?z property:P50 resource:Q184530 }
Gerolamo Cardano
action filter_type
action find_reverse
entity Gerolamo Cardano
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Gerolamo Cardano']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:collectable . ?z property:author resource:Gerolamo_Cardano }
[]
collectable
Q1231083
SYSTEM
Ars Magna
Q1231083
(c(Q2342494),P50,Q184530)
action filter_type
action find_reverse
entity Q184530
relation P50
type Q2342494
The [ANSWER] is written by Gerolamo Cardano
[{'concept': 'Q2342494'}, 'P50', 'Q184530']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2342494 . ?z property:P50 resource:Q184530 }
Ars Magna
The Ars Magna is written by Gerolamo Cardano
Ars Magna
action filter_type
action find_reverse
entity Gerolamo Cardano
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Gerolamo Cardano']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:collectable . ?z property:author resource:Gerolamo_Cardano }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1231083 Q38
P495
Q15617994
USER
Is Italy the origin of Ars Magna ?
(Q1231083,P495,Q38)
action is_in
entity Q38
action find
entity Q1231083
relation P495
['Q1231083', 'P495', 'Q38']
ASK WHERE { resource:Q1231083 property:P495 resource:Q38 }
Ars Magna Italy
action is_in
entity Italy
action find
entity Ars Magna
relation country of origin
['Ars Magna', 'country of origin', 'Italy']
ASK WHERE { resource:Ars_Magna property:country_of_origin resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1231083,P495,Q38)
action is_in
entity Q38
action find
entity Q1231083
relation P495
[ANSWER]
['Q1231083', 'P495', 'Q38']
ASK WHERE { resource:Q1231083 property:P495 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Ars Magna
relation country of origin
['Ars Magna', 'country of origin', 'Italy']
ASK WHERE { resource:Ars_Magna property:country_of_origin resource:Italy }
[]