Simple Question (Direct)
Simple Question
Q2303038
P734
Q82799
USER
Who is associated with Oswaldo Ibarra ?
(Q2303038,P734,c(Q82799))
action filter_type
action find
entity Q2303038
relation P734
type Q82799
['Q2303038', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q2303038 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Oswaldo Ibarra
action filter_type
action find
entity Oswaldo Ibarra
relation family name
type name
['Oswaldo Ibarra', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Oswaldo_Ibarra property:family_name ?b . ?b rdf:type ontology:name }
[]
name
Q16870951
SYSTEM
Ibarra
Q16870951
(Q2303038,P734,c(Q82799))
action filter_type
action find
entity Q2303038
relation P734
type Q82799
[ANSWER] is associated with Oswaldo [ANSWER]
['Q2303038', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q2303038 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Ibarra
Ibarra is associated with Oswaldo Ibarra
Ibarra
action filter_type
action find
entity Oswaldo Ibarra
relation family name
type name
['Oswaldo Ibarra', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Oswaldo_Ibarra property:family_name ?b . ?b rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q13414913
P407
Q34770 Q82799
USER
Which languages are the languages of work for greater number of names than Simplified Chinese ?
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q13414913
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P407 ?h . ?h rdf:type ontology:Q34770 . ?b rdf:type ontology:Q82799 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Q13414913 property:P407 ?w . ?w rdf:type ontology:Q34770 } } . FILTER ( ?a > ?d ) }
Simplified Chinese
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Simplified Chinese
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:language_of_work_or_name ?h . ?h rdf:type ontology:language . ?b rdf:type ontology:name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Simplified_Chinese property:language_of_work_or_name ?w . ?w rdf:type ontology:language } } . FILTER ( ?a > ?d ) }
[]
language name
Q1860 Q397 Q9056
SYSTEM
English, Latin, Czech
Q1860 Q8785 Q1321 Q397 Q9056 Q8752 Q652 Q35505 Q56982 Q35308
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q13414913
relation P407
type Q34770
[ANSWERS] are the languages of work for greater number of names than Simplified Chinese
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P407 ?h . ?h rdf:type ontology:Q34770 . ?b rdf:type ontology:Q82799 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Q13414913 property:P407 ?w . ?w rdf:type ontology:Q34770 } } . FILTER ( ?a > ?d ) }
English Armenian Spanish Latin Czech Basque Italian Old Norse language Judaeo-Portuguese Old Irish
English, Latin and Czech are the languages of work for greater number of names than Simplified Chinese
English Latin Czech
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Simplified Chinese
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:language_of_work_or_name ?h . ?h rdf:type ontology:language . ?b rdf:type ontology:name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Simplified_Chinese property:language_of_work_or_name ?w . ?w rdf:type ontology:language } } . FILTER ( ?a > ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q8752
P407
Q34770 Q82799
USER
And what about Basque?
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q8752
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a rdf:type ontology:Q34770 . resource:Q8752 property:P407 ?a } } . FILTER ( ?g > ?w ) . { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?g ) WHERE { ?v rdf:type ontology:Q34770 . ?z rdf:type ontology:Q82799 . ?z property:P407 ?v } GROUP BY ?v } }
Basque
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Basque
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a rdf:type ontology:language . resource:Basque property:language_of_work_or_name ?a } } . FILTER ( ?g > ?w ) . { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?g ) WHERE { ?v rdf:type ontology:language . ?z rdf:type ontology:name . ?z property:language_of_work_or_name ?v } GROUP BY ?v } }
[]
language name
Q1860 Q9056 Q1321
SYSTEM
English, Czech, Spanish
Q1860 Q1321 Q9056 Q652
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q8752
relation P407
type Q34770
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a rdf:type ontology:Q34770 . resource:Q8752 property:P407 ?a } } . FILTER ( ?g > ?w ) . { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?g ) WHERE { ?v rdf:type ontology:Q34770 . ?z rdf:type ontology:Q82799 . ?z property:P407 ?v } GROUP BY ?v } }
English Spanish Czech Italian
English Czech Spanish
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Basque
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a rdf:type ontology:language . resource:Basque property:language_of_work_or_name ?a } } . FILTER ( ?g > ?w ) . { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?g ) WHERE { ?v rdf:type ontology:language . ?z rdf:type ontology:name . ?z property:language_of_work_or_name ?v } GROUP BY ?v } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2303038
P1344
Q15275719
USER
Which recurring event did Oswaldo Ibarra participate in ?
(Q2303038,P1344,c(Q15275719))
action filter_type
action find
entity Q2303038
relation P1344
type Q15275719
['Q2303038', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15275719 . resource:Q2303038 property:P1344 ?h }
Oswaldo Ibarra
action filter_type
action find
entity Oswaldo Ibarra
relation participant of
type recurring event
['Oswaldo Ibarra', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:recurring_event . resource:Oswaldo_Ibarra property:participant_of ?h }
[]
recurring event
Q47735
SYSTEM
2002 FIFA World Cup
Q47735
(Q2303038,P1344,c(Q15275719))
action filter_type
action find
entity Q2303038
relation P1344
type Q15275719
Oswaldo Ibarra participated in [ANSWER]
['Q2303038', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15275719 . resource:Q2303038 property:P1344 ?h }
2002 FIFA World Cup
Oswaldo Ibarra participated in 2002 FIFA World Cup
2002 FIFA World Cup
action filter_type
action find
entity Oswaldo Ibarra
relation participant of
type recurring event
['Oswaldo Ibarra', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:recurring_event . resource:Oswaldo_Ibarra property:participant_of ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2303038
P54
Q1194951
USER
Which national sports team is that person a member of ?
(Q47735,P54,c(Q1194951))
action filter_type
action find
entity Q2303038
relation P54
type Q1194951
['Q47735', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1194951 . resource:Q2303038 property:P54 ?y }
Oswaldo Ibarra
action filter_type
action find
entity Oswaldo Ibarra
relation member of sports team
type national sports team
['2002 FIFA World Cup', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:national_sports_team . resource:Oswaldo_Ibarra property:member_of_sports_team ?y }
[]
national sports team
Q987584
SYSTEM
Ecuador national football team
Q987584
(Q47735,P54,c(Q1194951))
action filter_type
action find
entity Q2303038
relation P54
type Q1194951
The [ANSWER] is that person a member of
['Q47735', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1194951 . resource:Q2303038 property:P54 ?y }
Ecuador national football team
The Ecuador national football team is that person a member of
Ecuador national football team
action filter_type
action find
entity Oswaldo Ibarra
relation member of sports team
type national sports team
['2002 FIFA World Cup', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:national_sports_team . resource:Oswaldo_Ibarra property:member_of_sports_team ?y }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q987584 Q736 Q81128
P17
Q15617994
USER
Is that national sports team situated in Ecuador and Eisingen ?
(Q987584,P17,Q736) (Q987584,P17,Q81128)
action is_in
entity Q987584
action intersection
action find_reverse
entity Q736
relation P17
action find_reverse
entity Q81128
relation P17
['Q987584', 'P17', 'Q736'] ['Q987584', 'P17', 'Q81128']
ASK WHERE { resource:Q987584 property:P17 resource:Q736 . resource:Q987584 property:P17 resource:Q81128 }
Ecuador national football team Ecuador Eisingen
action is_in
entity Ecuador national football team
action intersection
action find_reverse
entity Ecuador
relation country
action find_reverse
entity Eisingen
relation country
['Ecuador national football team', 'country', 'Ecuador'] ['Ecuador national football team', 'country', 'Eisingen']
ASK WHERE { resource:Ecuador_national_football_team property:country resource:Ecuador . resource:Ecuador_national_football_team property:country resource:Eisingen }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q987584,P17,Q736) (Q987584,P17,Q81128)
action is_in
entity Q987584
action intersection
action find_reverse
entity Q736
relation P17
action find_reverse
entity Q81128
relation P17
[ANSWER]
['Q987584', 'P17', 'Q736'] ['Q987584', 'P17', 'Q81128']
ASK WHERE { resource:Q987584 property:P17 resource:Q736 . resource:Q987584 property:P17 resource:Q81128 }
YES and NO respectively
action is_in
entity Ecuador national football team
action intersection
action find_reverse
entity Ecuador
relation country
action find_reverse
entity Eisingen
relation country
['Ecuador national football team', 'country', 'Ecuador'] ['Ecuador national football team', 'country', 'Eisingen']
ASK WHERE { resource:Ecuador_national_football_team property:country resource:Ecuador . resource:Ecuador_national_football_team property:country resource:Eisingen }
[]