Simple Question (Direct)
Simple Question
Q2973035
P641
Q1914636
USER
Which activity was Cinzia Colaiacomo a part of ?
(Q2973035,P641,c(Q1914636))
action filter_type
action find
entity Q2973035
relation P641
type Q1914636
['Q2973035', 'P641', {'concept': 'Q1914636'}]
SELECT DISTINCT ?g WHERE { resource:Q2973035 property:P641 ?g . ?g rdf:type ontology:Q1914636 }
Cinzia Colaiacomo
action filter_type
action find
entity Cinzia Colaiacomo
relation sport
type activity
['Cinzia Colaiacomo', 'sport', {'concept': 'activity'}]
SELECT DISTINCT ?g WHERE { resource:Cinzia_Colaiacomo property:sport ?g . ?g rdf:type ontology:activity }
[]
activity
Q11419
SYSTEM
karate
Q11419
(Q2973035,P641,c(Q1914636))
action filter_type
action find
entity Q2973035
relation P641
type Q1914636
[ANSWER] was Cinzia Colaiacomo a part of
['Q2973035', 'P641', {'concept': 'Q1914636'}]
SELECT DISTINCT ?g WHERE { resource:Q2973035 property:P641 ?g . ?g rdf:type ontology:Q1914636 }
karate
Karate was Cinzia Colaiacomo a part of
karate
action filter_type
action find
entity Cinzia Colaiacomo
relation sport
type activity
['Cinzia Colaiacomo', 'sport', {'concept': 'activity'}]
SELECT DISTINCT ?g WHERE { resource:Cinzia_Colaiacomo property:sport ?g . ?g rdf:type ontology:activity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2973035
P413
Q11417
USER
Which martial arts is associated with Cinzia Colaiacomo ?
(Q2973035,P413,c(Q11417))
action filter_type
action find
entity Q2973035
relation P413
type Q11417
['Q2973035', 'P413', {'concept': 'Q11417'}]
SELECT DISTINCT ?y WHERE { resource:Q2973035 property:P413 ?y . ?y rdf:type ontology:Q11417 }
Cinzia Colaiacomo
action filter_type
action find
entity Cinzia Colaiacomo
relation position played on team / speciality
type martial arts
['Cinzia Colaiacomo', 'position played on team / speciality', {'concept': 'martial arts'}]
SELECT DISTINCT ?y WHERE { resource:Cinzia_Colaiacomo property:position_played_on_team_/_speciality ?y . ?y rdf:type ontology:martial_arts }
[]
martial arts
Q40795
SYSTEM
kata
Q40795
(Q2973035,P413,c(Q11417))
action filter_type
action find
entity Q2973035
relation P413
type Q11417
[ANSWER] is associated with Cinzia Colaiacomo
['Q2973035', 'P413', {'concept': 'Q11417'}]
SELECT DISTINCT ?y WHERE { resource:Q2973035 property:P413 ?y . ?y rdf:type ontology:Q11417 }
kata
Kata is associated with Cinzia Colaiacomo
kata
action filter_type
action find
entity Cinzia Colaiacomo
relation position played on team / speciality
type martial arts
['Cinzia Colaiacomo', 'position played on team / speciality', {'concept': 'martial arts'}]
SELECT DISTINCT ?y WHERE { resource:Cinzia_Colaiacomo property:position_played_on_team_/_speciality ?y . ?y rdf:type ontology:martial_arts }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3316080
Q11417
USER
And also tell me about Mirna Šenjug?
(Q3316080,P413,c(Q11417))
action filter_type
action find
entity Q3316080
relation P413
type Q11417
['Q3316080', 'P413', {'concept': 'Q11417'}]
SELECT DISTINCT ?r WHERE { resource:Q3316080 property:P413 ?r . ?r rdf:type ontology:Q11417 }
Mirna Šenjug
action filter_type
action find
entity Mirna Šenjug
relation position played on team / speciality
type martial arts
['Mirna Šenjug', 'position played on team / speciality', {'concept': 'martial arts'}]
SELECT DISTINCT ?r WHERE { resource:Mirna_Šenjug property:position_played_on_team_/_speciality ?r . ?r rdf:type ontology:martial_arts }
[]
martial arts
Q40795
SYSTEM
kata
Q40795
(Q3316080,P413,c(Q11417))
action filter_type
action find
entity Q3316080
relation P413
type Q11417
[ANSWER]
['Q3316080', 'P413', {'concept': 'Q11417'}]
SELECT DISTINCT ?r WHERE { resource:Q3316080 property:P413 ?r . ?r rdf:type ontology:Q11417 }
kata
kata
action filter_type
action find
entity Mirna Šenjug
relation position played on team / speciality
type martial arts
['Mirna Šenjug', 'position played on team / speciality', {'concept': 'martial arts'}]
SELECT DISTINCT ?r WHERE { resource:Mirna_Šenjug property:position_played_on_team_/_speciality ?r . ?r rdf:type ontology:martial_arts }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3316080
P106
Q12737077
USER
What does Mirna Šenjug do for a living ?
(Q3316080,P106,c(Q12737077))
action filter_type
action find
entity Q3316080
relation P106
type Q12737077
['Q3316080', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3316080 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Mirna Šenjug
action filter_type
action find
entity Mirna Šenjug
relation occupation
type occupation
['Mirna Šenjug', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Mirna_Šenjug property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q9017214
SYSTEM
karateka
Q9017214
(Q3316080,P106,c(Q12737077))
action filter_type
action find
entity Q3316080
relation P106
type Q12737077
[ANSWER] Mirna Šenjug does for a living
['Q3316080', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3316080 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
karateka
Karateka Mirna Šenjug does for a living
karateka
action filter_type
action find
entity Mirna Šenjug
relation occupation
type occupation
['Mirna Šenjug', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Mirna_Šenjug property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q9017214 Q6376898
P106
Q502895
USER
Does Kathleen Seidel have the profession as that occupation ?
(Q6376898,P106,Q9017214)
action is_in
entity Q6376898
action find
entity Q9017214
relation P106
['Q6376898', 'P106', 'Q9017214']
ASK WHERE { resource:Q9017214 property:P106 resource:Q6376898 }
karateka Kathleen Seidel
action is_in
entity Kathleen Seidel
action find
entity karateka
relation occupation
['Kathleen Seidel', 'occupation', 'karateka']
ASK WHERE { resource:karateka property:occupation resource:Kathleen_Seidel }
[]
common name
SYSTEM
NO
(Q6376898,P106,Q9017214)
action is_in
entity Q6376898
action find
entity Q9017214
relation P106
[ANSWER]
['Q6376898', 'P106', 'Q9017214']
ASK WHERE { resource:Q9017214 property:P106 resource:Q6376898 }
No
action is_in
entity Kathleen Seidel
action find
entity karateka
relation occupation
['Kathleen Seidel', 'occupation', 'karateka']
ASK WHERE { resource:karateka property:occupation resource:Kathleen_Seidel }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3924139
P417
Q502895 Q12737077
USER
How many people are the patron saint of greater number of occupations than Prospero da Centuripe ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q3924139
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?l ) WHERE { ?v rdf:type ontology:Q502895 . ?n rdf:type ontology:Q12737077 . ?n property:P417 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Q3924139 property:P417 ?q . ?q rdf:type ontology:Q502895 } } . FILTER ( ?l > ?w ) }
Prospero da Centuripe
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Prospero da Centuripe
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?l ) WHERE { ?v rdf:type ontology:common_name . ?n rdf:type ontology:occupation . ?n property:patron_saint ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Prospero_da_Centuripe property:patron_saint ?q . ?q rdf:type ontology:common_name } } . FILTER ( ?l > ?w ) }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q3924139
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?l ) WHERE { ?v rdf:type ontology:Q502895 . ?n rdf:type ontology:Q12737077 . ?n property:P417 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Q3924139 property:P417 ?q . ?q rdf:type ontology:Q502895 } } . FILTER ( ?l > ?w ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Prospero da Centuripe
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?l ) WHERE { ?v rdf:type ontology:common_name . ?n rdf:type ontology:occupation . ?n property:patron_saint ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Prospero_da_Centuripe property:patron_saint ?q . ?q rdf:type ontology:common_name } } . FILTER ( ?l > ?w ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q1914636 Q1183543 Q12737077
USER
Which activities are exactly 1 devices or occupations a component of ?
(c(Q1183543)|c(Q12737077),P361,c(Q1914636))
action equal
action union
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q1183543
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q12737077
value 1
[[{'concept': 'Q1183543'}, {'concept': 'Q12737077'}], 'P361', {'concept': 'Q1914636'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:P361 ?i . ?i rdf:type ontology:Q1914636 . ?j rdf:type ontology:Q1183543 } UNION { ?j property:P361 ?i . ?i rdf:type ontology:Q1914636 . ?j rdf:type ontology:Q12737077 } } GROUP BY ?i } . FILTER ( ?f = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation part of
type activity
type device
action find_reverse_tuple_counts
relation part of
type activity
type occupation
value 1
[[{'concept': 'device'}, {'concept': 'occupation'}], 'part of', {'concept': 'activity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:part_of ?i . ?i rdf:type ontology:activity . ?j rdf:type ontology:device } UNION { ?j property:part_of ?i . ?i rdf:type ontology:activity . ?j rdf:type ontology:occupation } } GROUP BY ?i } . FILTER ( ?f = 1 ) }
[]
activity device occupation
Q1924397 Q828812
SYSTEM
measurement technology, vocational education
Q1924397 Q828812
(c(Q1183543)|c(Q12737077),P361,c(Q1914636))
action equal
action union
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q1183543
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q12737077
value 1
[ANSWERS] are exactly 1 devices or occupations a component of
[[{'concept': 'Q1183543'}, {'concept': 'Q12737077'}], 'P361', {'concept': 'Q1914636'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:P361 ?i . ?i rdf:type ontology:Q1914636 . ?j rdf:type ontology:Q1183543 } UNION { ?j property:P361 ?i . ?i rdf:type ontology:Q1914636 . ?j rdf:type ontology:Q12737077 } } GROUP BY ?i } . FILTER ( ?f = 1 ) }
measurement technology vocational education
Measurement technology and vocational education are exactly 1 devices or occupations a component of
measurement technology vocational education
action equal
action union
action find_reverse_tuple_counts
relation part of
type activity
type device
action find_reverse_tuple_counts
relation part of
type activity
type occupation
value 1
[[{'concept': 'device'}, {'concept': 'occupation'}], 'part of', {'concept': 'activity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:part_of ?i . ?i rdf:type ontology:activity . ?j rdf:type ontology:device } UNION { ?j property:part_of ?i . ?i rdf:type ontology:activity . ?j rdf:type ontology:occupation } } GROUP BY ?i } . FILTER ( ?f = 1 ) }
[]