Simple Question (Direct)
Simple Question
Q4733830
P54
Q1194951
USER
Which national sports team is Almir Tolja a member of ?
(Q4733830,P54,c(Q1194951))
action filter_type
action find
entity Q4733830
relation P54
type Q1194951
['Q4733830', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1194951 . resource:Q4733830 property:P54 ?l }
Almir Tolja
action filter_type
action find
entity Almir Tolja
relation member of sports team
type national sports team
['Almir Tolja', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:national_sports_team . resource:Almir_Tolja property:member_of_sports_team ?l }
[]
national sports team
Q181190
SYSTEM
Bosnia and Herzegovina national football team
Q181190
(Q4733830,P54,c(Q1194951))
action filter_type
action find
entity Q4733830
relation P54
type Q1194951
[ANSWER] is Almir Tolja a member of
['Q4733830', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1194951 . resource:Q4733830 property:P54 ?l }
Bosnia and Herzegovina national football team
Bosnia and Herzegovina national football team is Almir Tolja a member of
Bosnia and Herzegovina national football team
action filter_type
action find
entity Almir Tolja
relation member of sports team
type national sports team
['Almir Tolja', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:national_sports_team . resource:Almir_Tolja property:member_of_sports_team ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181190
P805
Q18340514
USER
What was that national sports team dedicated to ?
(c(Q18340514),P805,Q181190)
action filter_type
action find_reverse
entity Q181190
relation P805
type Q18340514
[{'concept': 'Q18340514'}, 'P805', 'Q181190']
SELECT DISTINCT ?a WHERE { ?a property:P805 resource:Q181190 . ?a rdf:type ontology:Q18340514 }
Bosnia and Herzegovina national football team
action filter_type
action find_reverse
entity Bosnia and Herzegovina national football team
relation subject of
type article about events in a specific year or time period
[{'concept': 'article about events in a specific year or time period'}, 'subject of', 'Bosnia and Herzegovina national football team']
SELECT DISTINCT ?a WHERE { ?a property:subject_of resource:Bosnia_and_Herzegovina_national_football_team . ?a rdf:type ontology:article_about_events_in_a_specific_year_or_time_period }
[]
article about events in a specific year or time period
Q19841338
SYSTEM
Voetbalelftal van Bosnië en Herzegovina in 2014
Q19841338
(c(Q18340514),P805,Q181190)
action filter_type
action find_reverse
entity Q181190
relation P805
type Q18340514
That national sports team was dedicated to [ANSWER]
[{'concept': 'Q18340514'}, 'P805', 'Q181190']
SELECT DISTINCT ?a WHERE { ?a property:P805 resource:Q181190 . ?a rdf:type ontology:Q18340514 }
Voetbalelftal van Bosnië en Herzegovina in 2014
That national sports team was dedicated to Voetbalelftal van Bosnië en Herzegovina in 2014
Voetbalelftal van Bosnië en Herzegovina in 2014
action filter_type
action find_reverse
entity Bosnia and Herzegovina national football team
relation subject of
type article about events in a specific year or time period
[{'concept': 'article about events in a specific year or time period'}, 'subject of', 'Bosnia and Herzegovina national football team']
SELECT DISTINCT ?a WHERE { ?a property:subject_of resource:Bosnia_and_Herzegovina_national_football_team . ?a rdf:type ontology:article_about_events_in_a_specific_year_or_time_period }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19841338
P17
Q15617994
USER
Which administrative territory is that article about events in a specific year or time period present in ?
(Q19841338,P17,c(Q15617994))
action filter_type
action find
entity Q19841338
relation P17
type Q15617994
['Q19841338', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q19841338 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Voetbalelftal van Bosnië en Herzegovina in 2014
action filter_type
action find
entity Voetbalelftal van Bosnië en Herzegovina in 2014
relation country
type designation for an administrative territorial entity
['Voetbalelftal van Bosnië en Herzegovina in 2014', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Voetbalelftal_van_Bosnië_en_Herzegovina_in_2014 property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q225
SYSTEM
Bosnia and Herzegovina
Q225
(Q19841338,P17,c(Q15617994))
action filter_type
action find
entity Q19841338
relation P17
type Q15617994
[ANSWER] is that article about events in a specific year or time period present in
['Q19841338', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q19841338 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Bosnia and Herzegovina
Bosnia and Herzegovina is that article about events in a specific year or time period present in
Bosnia and Herzegovina
action filter_type
action find
entity Voetbalelftal van Bosnië en Herzegovina in 2014
relation country
type designation for an administrative territorial entity
['Voetbalelftal van Bosnië en Herzegovina in 2014', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Voetbalelftal_van_Bosnië_en_Herzegovina_in_2014 property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q225 Q183
P530
Q15617994
USER
How many administrative territories have tactful political relations with Bosnia and Herzegovina and Germany ?
(c(Q15617994),P530,Q225) (c(Q15617994),P530,Q183)
action count
action intersection
action filter_type
action find_reverse
entity Q225
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q183
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q225'] [{'concept': 'Q15617994'}, 'P530', 'Q183']
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:P530 resource:Q225 . ?o rdf:type ontology:Q15617994 . ?o property:P530 resource:Q183 . ?o rdf:type ontology:Q15617994 }
Bosnia and Herzegovina Germany
action count
action intersection
action filter_type
action find_reverse
entity Bosnia and Herzegovina
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Bosnia and Herzegovina'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Germany']
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:diplomatic_relation resource:Bosnia_and_Herzegovina . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation resource:Germany . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q38 Q230
(c(Q15617994),P530,Q225) (c(Q15617994),P530,Q183)
action count
action intersection
action filter_type
action find_reverse
entity Q225
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q183
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q225'] [{'concept': 'Q15617994'}, 'P530', 'Q183']
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:P530 resource:Q225 . ?o rdf:type ontology:Q15617994 . ?o property:P530 resource:Q183 . ?o rdf:type ontology:Q15617994 }
Italy Georgia
2
action count
action intersection
action filter_type
action find_reverse
entity Bosnia and Herzegovina
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Bosnia and Herzegovina'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Germany']
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:diplomatic_relation resource:Bosnia_and_Herzegovina . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation resource:Germany . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q10464049 Q19841338
P54 P805
Q1194951
USER
Which national sports teams are Voetbalelftal van Bosnië en Herzegovina in 2014 a subject and are Nebojša Pejić a member of ?
AND((Q19841338,P805,c(Q1194951)), (Q10464049,P54,c(Q1194951)))
action filter_type
action intersection
action find
entity Q19841338
relation P805
action find
entity Q10464049
relation P54
type Q1194951
{'AND': [['Q19841338', 'P805', {'concept': 'Q1194951'}], ['Q10464049', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?v WHERE { resource:Q19841338 property:P805 ?v . resource:Q10464049 property:P54 ?v . ?v rdf:type ontology:Q1194951 }
Nebojša Pejić Voetbalelftal van Bosnië en Herzegovina in 2014
action filter_type
action intersection
action find
entity Voetbalelftal van Bosnië en Herzegovina in 2014
relation subject of
action find
entity Nebojša Pejić
relation member of sports team
type national sports team
{'AND': [['Voetbalelftal van Bosnië en Herzegovina in 2014', 'subject of', {'concept': 'national sports team'}], ['Nebojša Pejić', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?v WHERE { resource:Voetbalelftal_van_Bosnië_en_Herzegovina_in_2014 property:subject_of ?v . resource:Nebojša_Pejić property:member_of_sports_team ?v . ?v rdf:type ontology:national_sports_team }
[]
national sports team
Q181190
SYSTEM
Bosnia and Herzegovina national football team
Q181190
AND((Q19841338,P805,c(Q1194951)), (Q10464049,P54,c(Q1194951)))
action filter_type
action intersection
action find
entity Q19841338
relation P805
action find
entity Q10464049
relation P54
type Q1194951
[ANSWER] is Voetbalelftal van Bosnië en Herzegovina in 2014 a subject and is Nebojša Pejić a member of
{'AND': [['Q19841338', 'P805', {'concept': 'Q1194951'}], ['Q10464049', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?v WHERE { resource:Q19841338 property:P805 ?v . resource:Q10464049 property:P54 ?v . ?v rdf:type ontology:Q1194951 }
Bosnia and Herzegovina national football team
Bosnia and Herzegovina national football team is Voetbalelftal van Bosnië en Herzegovina in 2014 a subject and is Nebojša Pejić a member of
Bosnia and Herzegovina national football team
action filter_type
action intersection
action find
entity Voetbalelftal van Bosnië en Herzegovina in 2014
relation subject of
action find
entity Nebojša Pejić
relation member of sports team
type national sports team
{'AND': [['Voetbalelftal van Bosnië en Herzegovina in 2014', 'subject of', {'concept': 'national sports team'}], ['Nebojša Pejić', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?v WHERE { resource:Voetbalelftal_van_Bosnië_en_Herzegovina_in_2014 property:subject_of ?v . resource:Nebojša_Pejić property:member_of_sports_team ?v . ?v rdf:type ontology:national_sports_team }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q132529 Q19841338
P805 P1923
Q1194951
USER
Which national sports teams have Voetbalelftal van Bosnië en Herzegovina in 2014 as their subject or took part in 1990 FIFA World Cup ?
OR((Q19841338,P805,c(Q1194951)), (Q132529,P1923,c(Q1194951)))
action filter_type
action union
action find
entity Q19841338
relation P805
action find
entity Q132529
relation P1923
type Q1194951
{'OR': [['Q19841338', 'P805', {'concept': 'Q1194951'}], ['Q132529', 'P1923', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q19841338 property:P805 ?a } UNION { resource:Q132529 property:P1923 ?a } } . ?a rdf:type ontology:Q1194951 }
1990 FIFA World Cup Voetbalelftal van Bosnië en Herzegovina in 2014
action filter_type
action union
action find
entity Voetbalelftal van Bosnië en Herzegovina in 2014
relation subject of
action find
entity 1990 FIFA World Cup
relation participating teams
type national sports team
{'OR': [['Voetbalelftal van Bosnië en Herzegovina in 2014', 'subject of', {'concept': 'national sports team'}], ['1990 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Voetbalelftal_van_Bosnië_en_Herzegovina_in_2014 property:subject_of ?a } UNION { resource:1990_FIFA_World_Cup property:participating_teams ?a } } . ?a rdf:type ontology:national_sports_team }
[]
national sports team
Q182072 Q163534 Q235910 Q34044 Q175309 Q134916 Q212564 Q166776 Q28089 Q79800
SYSTEM
Some of them are Czechoslovakia national football team, Austria national football team, United Arab Emirates national football team, Scotland national football team, Cameroon national football team, Uruguay national football team, Colombia national football team, Belgium national football team, Egypt national football team, Argentina national football team
Q28089 Q163547 Q182072 Q47050 Q42267 Q166776 Q160826 Q189275 Q34044 Q83459 Q175309 Q181190 Q164134 Q79800 Q134916 Q47762 Q212564 Q163534 Q188363 Q543842 Q43310 Q676899 Q235910 Q194387 Q168397
OR((Q19841338,P805,c(Q1194951)), (Q132529,P1923,c(Q1194951)))
action filter_type
action union
action find
entity Q19841338
relation P805
action find
entity Q132529
relation P1923
type Q1194951
[ANSWERS] have Voetbalelftal van Bosnië en Herzegovina in 2014 as their subject or took part in 1990 FIFA World Cup
{'OR': [['Q19841338', 'P805', {'concept': 'Q1194951'}], ['Q132529', 'P1923', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q19841338 property:P805 ?a } UNION { resource:Q132529 property:P1923 ?a } } . ?a rdf:type ontology:Q1194951 }
Egypt national football team Republic of Ireland national football team Czechoslovakia national football team Netherlands national football team Spain national football team Belgium national football team Sweden national football team Soviet Union national football team Scotland national football team Brazil national football team Cameroon national football team Bosnia and Herzegovina national football team United States men's national soccer team Argentina national football team Uruguay national football team England national football team Colombia national football team Austria national football team Yugoslavia national football team South Korea national football team Germany national football team Italy national football team United Arab Emirates national football team Costa Rica national football team Romania national football team
Czechoslovakia national football team, Austria national football team, United Arab Emirates national football team, Scotland national football team, Cameroon national football team, Uruguay national football team, Colombia national football team, Belgium national football team, Egypt national football team and Argentina national football team have Voetbalelftal van Bosnië en Herzegovina in 2014 as their subject or took part in 1990 FIFA World Cup
Czechoslovakia national football team Austria national football team United Arab Emirates national football team Scotland national football team Cameroon national football team Uruguay national football team Colombia national football team Belgium national football team Egypt national football team Argentina national football team
action filter_type
action union
action find
entity Voetbalelftal van Bosnië en Herzegovina in 2014
relation subject of
action find
entity 1990 FIFA World Cup
relation participating teams
type national sports team
{'OR': [['Voetbalelftal van Bosnië en Herzegovina in 2014', 'subject of', {'concept': 'national sports team'}], ['1990 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Voetbalelftal_van_Bosnië_en_Herzegovina_in_2014 property:subject_of ?a } UNION { resource:1990_FIFA_World_Cup property:participating_teams ?a } } . ?a rdf:type ontology:national_sports_team }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q132529
P1923
Q15275719
USER
Did those national sports teams contest in 1990 FIFA World Cup ?
(Q132529,P1923,Q182072) (Q132529,P1923,Q163534) (Q132529,P1923,Q235910) (Q132529,P1923,Q34044) (Q132529,P1923,Q175309) (Q132529,P1923,Q134916) (Q132529,P1923,Q212564) (Q132529,P1923,Q166776) (Q132529,P1923,Q28089) (Q132529,P1923,Q79800)
action is_in
entity prev_answer
action find
entity Q132529
relation P1923
['Q132529', 'P1923', 'Q182072'] ['Q132529', 'P1923', 'Q163534'] ['Q132529', 'P1923', 'Q235910'] ['Q132529', 'P1923', 'Q34044'] ['Q132529', 'P1923', 'Q175309'] ['Q132529', 'P1923', 'Q134916'] ['Q132529', 'P1923', 'Q212564'] ['Q132529', 'P1923', 'Q166776'] ['Q132529', 'P1923', 'Q28089'] ['Q132529', 'P1923', 'Q79800']
ASK WHERE { resource:Q132529 property:P1923 ?a . VALUES ( ?a ) { ( resource:Q28089 ) ( resource:Q163547 ) ( resource:Q182072 ) } }
1990 FIFA World Cup
action is_in
entity prev_answer
action find
entity 1990 FIFA World Cup
relation participating teams
['1990 FIFA World Cup', 'participating teams', 'Czechoslovakia national football team'] ['1990 FIFA World Cup', 'participating teams', 'Austria national football team'] ['1990 FIFA World Cup', 'participating teams', 'United Arab Emirates national football team'] ['1990 FIFA World Cup', 'participating teams', 'Scotland national football team'] ['1990 FIFA World Cup', 'participating teams', 'Cameroon national football team'] ['1990 FIFA World Cup', 'participating teams', 'Uruguay national football team'] ['1990 FIFA World Cup', 'participating teams', 'Colombia national football team'] ['1990 FIFA World Cup', 'participating teams', 'Belgium national football team'] ['1990 FIFA World Cup', 'participating teams', 'Egypt national football team'] ['1990 FIFA World Cup', 'participating teams', 'Argentina national football team']
ASK WHERE { resource:1990_FIFA_World_Cup property:participating_teams ?a . VALUES ( ?a ) { ( resource:Egypt_national_football_team ) ( resource:Republic_of_Ireland_national_football_team ) ( resource:Czechoslovakia_national_football_team ) } }
[]
recurring event
SYSTEM
YES
(Q132529,P1923,Q182072) (Q132529,P1923,Q163534) (Q132529,P1923,Q235910) (Q132529,P1923,Q34044) (Q132529,P1923,Q175309) (Q132529,P1923,Q134916) (Q132529,P1923,Q212564) (Q132529,P1923,Q166776) (Q132529,P1923,Q28089) (Q132529,P1923,Q79800)
action is_in
entity prev_answer
action find
entity Q132529
relation P1923
[ANSWER]
['Q132529', 'P1923', 'Q182072'] ['Q132529', 'P1923', 'Q163534'] ['Q132529', 'P1923', 'Q235910'] ['Q132529', 'P1923', 'Q34044'] ['Q132529', 'P1923', 'Q175309'] ['Q132529', 'P1923', 'Q134916'] ['Q132529', 'P1923', 'Q212564'] ['Q132529', 'P1923', 'Q166776'] ['Q132529', 'P1923', 'Q28089'] ['Q132529', 'P1923', 'Q79800']
ASK WHERE { resource:Q132529 property:P1923 ?a . VALUES ( ?a ) { ( resource:Q28089 ) ( resource:Q163547 ) ( resource:Q182072 ) } }
Yes
action is_in
entity prev_answer
action find
entity 1990 FIFA World Cup
relation participating teams
['1990 FIFA World Cup', 'participating teams', 'Czechoslovakia national football team'] ['1990 FIFA World Cup', 'participating teams', 'Austria national football team'] ['1990 FIFA World Cup', 'participating teams', 'United Arab Emirates national football team'] ['1990 FIFA World Cup', 'participating teams', 'Scotland national football team'] ['1990 FIFA World Cup', 'participating teams', 'Cameroon national football team'] ['1990 FIFA World Cup', 'participating teams', 'Uruguay national football team'] ['1990 FIFA World Cup', 'participating teams', 'Colombia national football team'] ['1990 FIFA World Cup', 'participating teams', 'Belgium national football team'] ['1990 FIFA World Cup', 'participating teams', 'Egypt national football team'] ['1990 FIFA World Cup', 'participating teams', 'Argentina national football team']
ASK WHERE { resource:1990_FIFA_World_Cup property:participating_teams ?a . VALUES ( ?a ) { ( resource:Egypt_national_football_team ) ( resource:Republic_of_Ireland_national_football_team ) ( resource:Czechoslovakia_national_football_team ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q225
P6
Q502895
USER
Which people do Bosnia and Herzegovina serve as the head of government for ?
(Q225,P6,c(Q502895))
action filter_type
action find
entity Q225
relation P6
type Q502895
['Q225', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q225 property:P6 ?h }
Bosnia and Herzegovina
action filter_type
action find
entity Bosnia and Herzegovina
relation head of government
type common name
['Bosnia and Herzegovina', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Bosnia_and_Herzegovina property:head_of_government ?h }
[]
common name
Q57844 Q19514718
SYSTEM
Vjekoslav Bevanda, Denis Zvizdić
Q57844 Q19514718
(Q225,P6,c(Q502895))
action filter_type
action find
entity Q225
relation P6
type Q502895
[ANSWERS] Bosnia and Herzegovina serve as the head of government
['Q225', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q225 property:P6 ?h }
Vjekoslav Bevanda Denis Zvizdić
Vjekoslav Bevanda and Denis Zvizdić Bosnia and Herzegovina serve as the head of government
Vjekoslav Bevanda Denis Zvizdić
action filter_type
action find
entity Bosnia and Herzegovina
relation head of government
type common name
['Bosnia and Herzegovina', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Bosnia_and_Herzegovina property:head_of_government ?h }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q842716
Q502895
USER
And what about Muros de Nalón?
(Q842716,P6,c(Q502895))
action filter_type
action find
entity Q842716
relation P6
type Q502895
['Q842716', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q842716 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Muros de Nalón
action filter_type
action find
entity Muros de Nalón
relation head of government
type common name
['Muros de Nalón', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Muros_de_Nalón property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
common name
Q14026792
SYSTEM
Maria del Carmen Arango Sanchez
Q14026792
(Q842716,P6,c(Q502895))
action filter_type
action find
entity Q842716
relation P6
type Q502895
[ANSWER]
['Q842716', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q842716 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Maria del Carmen Arango Sanchez
Maria del Carmen Arango Sanchez
action filter_type
action find
entity Muros de Nalón
relation head of government
type common name
['Muros de Nalón', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Muros_de_Nalón property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q842716
P1001
Q12737077
USER
Which occupation has jurisdiction over that municipality of Spain ?
(c(Q12737077),P1001,Q14026792)
action filter_type
action find_reverse
entity Q842716
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q14026792']
SELECT DISTINCT ?d WHERE { ?d property:P1001 resource:Q842716 . ?d rdf:type ontology:Q12737077 }
Muros de Nalón
action filter_type
action find_reverse
entity Muros de Nalón
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Maria del Carmen Arango Sanchez']
SELECT DISTINCT ?d WHERE { ?d property:applies_to_jurisdiction resource:Muros_de_Nalón . ?d rdf:type ontology:occupation }
[]
occupation
Q26700873
SYSTEM
mayor of Muros de Nalón
Q26700873
(c(Q12737077),P1001,Q14026792)
action filter_type
action find_reverse
entity Q842716
relation P1001
type Q12737077
The [ANSWER] has jurisdiction over that municipality of Spain
[{'concept': 'Q12737077'}, 'P1001', 'Q14026792']
SELECT DISTINCT ?d WHERE { ?d property:P1001 resource:Q842716 . ?d rdf:type ontology:Q12737077 }
mayor of Muros de Nalón
The mayor of Muros de Nalón has jurisdiction over that municipality of Spain
mayor of Muros de Nalón
action filter_type
action find_reverse
entity Muros de Nalón
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Maria del Carmen Arango Sanchez']
SELECT DISTINCT ?d WHERE { ?d property:applies_to_jurisdiction resource:Muros_de_Nalón . ?d rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q184602
P1923
Q1194951 Q15275719 Q13406554
USER
How many national sports teams were participants in more number of recurring events and sport competitions than Iran national football team ?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q184602
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?l WHERE { { ?c property:P1923 ?l . ?l rdf:type ontology:Q1194951 . ?c rdf:type ontology:Q15275719 } UNION { ?c rdf:type ontology:Q13406554 . ?l rdf:type ontology:Q1194951 . ?c property:P1923 ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:P1923 resource:Q184602 . { { ?a rdf:type ontology:Q15275719 } UNION { ?a rdf:type ontology:Q13406554 } } } } . FILTER ( ?h > ?o ) }
Iran national football team
action count
action greater
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Iran national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?l WHERE { { ?c property:participating_teams ?l . ?l rdf:type ontology:national_sports_team . ?c rdf:type ontology:recurring_event } UNION { ?c rdf:type ontology:sport_competition . ?l rdf:type ontology:national_sports_team . ?c property:participating_teams ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:participating_teams resource:Iran_national_football_team . { { ?a rdf:type ontology:recurring_event } UNION { ?a rdf:type ontology:sport_competition } } } } . FILTER ( ?h > ?o ) }
[]
national sports team recurring event sport competition
SYSTEM
41
Q212166 Q34044 Q174512 Q190978 Q43310 Q212564 Q180845 Q267245 Q166776 Q160826 Q180857 Q543842 Q726080 Q170561 Q172025 Q172020 Q170566 Q194387 Q134479 Q47050 Q42267 Q189275 Q166196 Q83459 Q175309 Q164089 Q163534 Q188363 Q676899 Q168397 Q483856 Q165141 Q47774 Q189198 Q163547 Q182072 Q164134 Q79800 Q134916 Q47762 Q181930
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q184602
relation P1923
type Q15275719
type Q13406554
[ANSWER]
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?l WHERE { { ?c property:P1923 ?l . ?l rdf:type ontology:Q1194951 . ?c rdf:type ontology:Q15275719 } UNION { ?c rdf:type ontology:Q13406554 . ?l rdf:type ontology:Q1194951 . ?c property:P1923 ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:P1923 resource:Q184602 . { { ?a rdf:type ontology:Q15275719 } UNION { ?a rdf:type ontology:Q13406554 } } } } . FILTER ( ?h > ?o ) }
Peru national football team Scotland national football team Slovakia national football team Northern Ireland national football team Germany national football team Colombia national football team Bulgaria national football team Portugal national football team Belgium national football team Sweden national football team Wales national football team South Korea national football team Russia national football team Hungary national football team Chile national football team Paraguay national football team Japan national football team Costa Rica national football team Croatia national football team Netherlands national football team Spain national football team Soviet Union national football team Poland national football team Brazil national football team Cameroon national football team Mexico national football team Austria national football team Yugoslavia national football team Italy national football team Romania national football team Turkey national football team Swiss national football team France national football team Iceland national football team Republic of Ireland national football team Czechoslovakia national football team United States men's national soccer team Argentina national football team Uruguay national football team England national football team Nigeria national football team
41
action count
action greater
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Iran national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?l WHERE { { ?c property:participating_teams ?l . ?l rdf:type ontology:national_sports_team . ?c rdf:type ontology:recurring_event } UNION { ?c rdf:type ontology:sport_competition . ?l rdf:type ontology:national_sports_team . ?c property:participating_teams ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:participating_teams resource:Iran_national_football_team . { { ?a rdf:type ontology:recurring_event } UNION { ?a rdf:type ontology:sport_competition } } } } . FILTER ( ?h > ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q235910
P1923
Q1194951 Q15275719 Q13406554
USER
And what about United Arab Emirates national football team?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q235910
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?p WHERE { VALUES ( ?z ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } . ?j rdf:type ?z } GROUP BY ?p } . FILTER ( ?n > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P1923 resource:Q235910 . { { ?y rdf:type ontology:Q15275719 } UNION { ?y rdf:type ontology:Q13406554 } } } } }
United Arab Emirates national football team
action count
action greater
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity United Arab Emirates national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?p WHERE { VALUES ( ?z ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } . ?j rdf:type ?z } GROUP BY ?p } . FILTER ( ?n > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:participating_teams resource:United_Arab_Emirates_national_football_team . { { ?y rdf:type ontology:recurring_event } UNION { ?y rdf:type ontology:sport_competition } } } } }
[]
national sports team recurring event sport competition
SYSTEM
66
Q170327 Q212166 Q34044 Q174512 Q193386 Q172014 Q180187 Q188228 Q190978 Q43310 Q212564 Q180845 Q987584 Q267245 Q166776 Q160826 Q180857 Q543842 Q726080 Q27971 Q170403 Q170561 Q172025 Q172020 Q170566 Q268208 Q175315 Q186262 Q194387 Q172221 Q175145 Q134479 Q47050 Q42267 Q181903 Q189275 Q166196 Q83459 Q175309 Q207337 Q164089 Q163534 Q188363 Q131785 Q676899 Q184387 Q168397 Q235399 Q483856 Q165141 Q47774 Q189198 Q28089 Q163547 Q236006 Q182072 Q184602 Q164134 Q14132 Q483868 Q79800 Q134916 Q47762 Q181930 Q189723 Q134925
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q235910
relation P1923
type Q15275719
type Q13406554
[ANSWER]
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?p WHERE { VALUES ( ?z ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } . ?j rdf:type ?z } GROUP BY ?p } . FILTER ( ?n > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P1923 resource:Q235910 . { { ?y rdf:type ontology:Q15275719 } UNION { ?y rdf:type ontology:Q13406554 } } } } }
South Africa national football team Peru national football team Scotland national football team Slovakia national football team Bolivia national football team Ghana national football team Honduras national football team El Salvador national football team Northern Ireland national football team Germany national football team Colombia national football team Bulgaria national football team Ecuador national football team Portugal national football team Belgium national football team Sweden national football team Wales national football team South Korea national football team Russia national football team Tunisia national football team Ukraine national football team Hungary national football team Chile national football team Paraguay national football team Japan national football team Australia national association football team New Zealand national football team Albania national football team Costa Rica national football team Slovenia national football team Ivory Coast national football team Croatia national football team Netherlands national football team Spain national football team Algeria national football team Soviet Union national football team Poland national football team Brazil national football team Cameroon national football team Morocco national football team Mexico national football team Austria national football team Yugoslavia national football team Denmark national football team Italy national football team Norway national football team Romania national football team Jamaica national football team Turkey national football team Swiss national football team France national football team Iceland national football team Egypt national football team Republic of Ireland national football team Haiti national football team Czechoslovakia national football team Iran national football team United States men's national soccer team North Korea national football team Czech Republic national football team Argentina national football team Uruguay national football team England national football team Nigeria national football team Saudi Arabia national football team Greece national football team
66
action count
action greater
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity United Arab Emirates national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?p WHERE { VALUES ( ?z ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } . ?j rdf:type ?z } GROUP BY ?p } . FILTER ( ?n > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:participating_teams resource:United_Arab_Emirates_national_football_team . { { ?y rdf:type ontology:recurring_event } UNION { ?y rdf:type ontology:sport_competition } } } } }
[]