Simple Question (Direct)
Simple Question
Q3418467
P641
Q349
USER
Which sport did Ramez Dayoub participate in ?
(Q3418467,P641,c(Q349))
action filter_type
action find
entity Q3418467
relation P641
type Q349
['Q3418467', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q349 . resource:Q3418467 property:P641 ?t }
Ramez Dayoub
action filter_type
action find
entity Ramez Dayoub
relation sport
type sport
['Ramez Dayoub', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport . resource:Ramez_Dayoub property:sport ?t }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3418467,P641,c(Q349))
action filter_type
action find
entity Q3418467
relation P641
type Q349
Ramez Dayoub participated in [ANSWER]
['Q3418467', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q349 . resource:Q3418467 property:P641 ?t }
association football
Ramez Dayoub participated in association football
association football
action filter_type
action find
entity Ramez Dayoub
relation sport
type sport
['Ramez Dayoub', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport . resource:Ramez_Dayoub property:sport ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3418467
P54
Q12973014
USER
What is that person a member of ?
(Q2736,P54,c(Q12973014))
action filter_type
action find
entity Q3418467
relation P54
type Q12973014
['Q2736', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?y WHERE { resource:Q3418467 property:P54 ?y . ?y rdf:type ontology:Q12973014 }
Ramez Dayoub
action filter_type
action find
entity Ramez Dayoub
relation member of sports team
type sports team
['association football', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?y WHERE { resource:Ramez_Dayoub property:member_of_sports_team ?y . ?y rdf:type ontology:sports_team }
[]
sports team
Q6741881
SYSTEM
Malaysia League XI
Q6741881
(Q2736,P54,c(Q12973014))
action filter_type
action find
entity Q3418467
relation P54
type Q12973014
That person a member of is the [ANSWER]
['Q2736', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?y WHERE { resource:Q3418467 property:P54 ?y . ?y rdf:type ontology:Q12973014 }
Malaysia League XI
That person a member of is the Malaysia League XI
Malaysia League XI
action filter_type
action find
entity Ramez Dayoub
relation member of sports team
type sports team
['association football', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?y WHERE { resource:Ramez_Dayoub property:member_of_sports_team ?y . ?y rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3418467
P106
Q12737077
USER
Which occupation has Ramez Dayoub as his/her 's career ?
(Q3418467,P106,c(Q12737077))
action filter_type
action find
entity Q3418467
relation P106
type Q12737077
['Q3418467', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q3418467 property:P106 ?t }
Ramez Dayoub
action filter_type
action find
entity Ramez Dayoub
relation occupation
type occupation
['Ramez Dayoub', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Ramez_Dayoub property:occupation ?t }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3418467,P106,c(Q12737077))
action filter_type
action find
entity Q3418467
relation P106
type Q12737077
Player [ANSWER] has Ramez Dayoub as his/her 's career
['Q3418467', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q3418467 property:P106 ?t }
association football player
Player association football player has Ramez Dayoub as his/her 's career
association football player
action filter_type
action find
entity Ramez Dayoub
relation occupation
type occupation
['Ramez Dayoub', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Ramez_Dayoub property:occupation ?t }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q937857 Q2736
P425
Q349
USER
Does association football have that one as the associated field of occupation ?
(Q937857,P425,Q2736)
action is_in
entity Q2736
action find
entity Q937857
relation P425
['Q937857', 'P425', 'Q2736']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 }
association football player association football
action is_in
entity association football
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'association football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football }
[]
sport
SYSTEM
YES
(Q937857,P425,Q2736)
action is_in
entity Q2736
action find
entity Q937857
relation P425
[ANSWER]
['Q937857', 'P425', 'Q2736']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'association football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saints of around 1 occupation ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?m ) WHERE { ?t rdf:type ontology:Q502895 . ?e rdf:type ontology:Q12737077 . ?e property:P417 ?t } GROUP BY ?t } . FILTER ( ?m = 1 ) }
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?m ) WHERE { ?t rdf:type ontology:common_name . ?e rdf:type ontology:occupation . ?e property:patron_saint ?t } GROUP BY ?t } . FILTER ( ?m = 1 ) }
[]
common name occupation
Q9438 Q60059 Q44281
SYSTEM
Thomas Aquinas, Albertus Magnus, Ignatius of Loyola
Q453698 Q152457 Q43689 Q163900 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q508214 Q9200 Q193507 Q463600 Q43669 Q40662 Q332656 Q320171 Q137947 Q80513 Q324700 Q44015 Q149727 Q232427 Q60059 Q17590 Q271474 Q276148
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[ANSWERS] are the patron saints of around 1 occupation
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?m ) WHERE { ?t rdf:type ontology:Q502895 . ?e rdf:type ontology:Q12737077 . ?e property:P417 ?t } GROUP BY ?t } . FILTER ( ?m = 1 ) }
Saint Amand Saint Roch Ambrose Saint Francis Xavier Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Urban of Langres John the Apostle Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Charalampus
Thomas Aquinas, Albertus Magnus and Ignatius of Loyola are the patron saints of around 1 occupation
Thomas Aquinas Albertus Magnus Ignatius of Loyola
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?m ) WHERE { ?t rdf:type ontology:common_name . ?e rdf:type ontology:occupation . ?e property:patron_saint ?t } GROUP BY ?t } . FILTER ( ?m = 1 ) }
[]