Simple Question (Direct)
Simple Question
Q558869
P735
Q1799072
USER
What is forename of Tomoaki Makino ?
(Q558869,P735,c(Q1799072))
action filter_type
action find
entity Q558869
relation P735
type Q1799072
['Q558869', 'P735', {'concept': 'Q1799072'}]
SELECT DISTINCT ?a WHERE { resource:Q558869 property:P735 ?a . ?a rdf:type ontology:Q1799072 }
Tomoaki Makino
action filter_type
action find
entity Tomoaki Makino
relation given name
type method
['Tomoaki Makino', 'given name', {'concept': 'method'}]
SELECT DISTINCT ?a WHERE { resource:Tomoaki_Makino property:given_name ?a . ?a rdf:type ontology:method }
[]
method
Q7820080
SYSTEM
Tomoaki
Q7820080
(Q558869,P735,c(Q1799072))
action filter_type
action find
entity Q558869
relation P735
type Q1799072
Forename of [ANSWER] Makino is of [ANSWER]
['Q558869', 'P735', {'concept': 'Q1799072'}]
SELECT DISTINCT ?a WHERE { resource:Q558869 property:P735 ?a . ?a rdf:type ontology:Q1799072 }
Tomoaki
Forename of Tomoaki Makino is of Tomoaki
Tomoaki
action filter_type
action find
entity Tomoaki Makino
relation given name
type method
['Tomoaki Makino', 'given name', {'concept': 'method'}]
SELECT DISTINCT ?a WHERE { resource:Tomoaki_Makino property:given_name ?a . ?a rdf:type ontology:method }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q558869
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Tomoaki Makino ?
(Q558869,P27,c(Q15617994))
action filter_type
action find
entity Q558869
relation P27
type Q15617994
['Q558869', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q558869 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Tomoaki Makino
action filter_type
action find
entity Tomoaki Makino
relation country of citizenship
type designation for an administrative territorial entity
['Tomoaki Makino', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Tomoaki_Makino property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q558869,P27,c(Q15617994))
action filter_type
action find
entity Q558869
relation P27
type Q15617994
U [ANSWER] is the country of citizenship of Tomoaki Makino
['Q558869', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q558869 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Japan
U Japan is the country of citizenship of Tomoaki Makino
Japan
action filter_type
action find
entity Tomoaki Makino
relation country of citizenship
type designation for an administrative territorial entity
['Tomoaki Makino', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Tomoaki_Makino property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q558869
P21
Q290
USER
Which sex does that person belong to ?
(Q17,P21,c(Q290))
action filter_type
action find
entity Q558869
relation P21
type Q290
['Q17', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . resource:Q558869 property:P21 ?g }
Tomoaki Makino
action filter_type
action find
entity Tomoaki Makino
relation gender
type sex
['Japan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . resource:Tomoaki_Makino property:gender ?g }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q17,P21,c(Q290))
action filter_type
action find
entity Q558869
relation P21
type Q290
That person belongs to [ANSWER]
['Q17', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . resource:Q558869 property:P21 ?g }
male
That person belongs to male
male
action filter_type
action find
entity Tomoaki Makino
relation gender
type sex
['Japan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . resource:Tomoaki_Makino property:gender ?g }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P194
Q701632 Q35749 Q15617994
USER
Which administrative territories have atleast 1 municipal councils and parliaments as their legislative body ?
(c(Q15617994),P194,c(Q701632)|c(Q35749))
action atleast
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q35749
value 1
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?m >= 1 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?d WHERE { { ?d rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q701632 . ?d property:P194 ?n } UNION { ?d rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q35749 . ?d property:P194 ?n } } GROUP BY ?d } }
action atleast
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'parliament'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?m >= 1 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?d WHERE { { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:municipal_council . ?d property:legislative_body ?n } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:parliament . ?d property:legislative_body ?n } } GROUP BY ?d } }
[]
municipal council parliament designation for an administrative territorial entity
Q212 Q2007 Q1904
SYSTEM
Ukraine, Northwest Territories, Ontario
Q2806757 Q1948 Q1979 Q1974 Q2009 Q2007 Q2003 Q1904 Q1989 Q212 Q1951 Q2023
(c(Q15617994),P194,c(Q701632)|c(Q35749))
action atleast
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q35749
value 1
[ANSWERS] have atleast 1 municipal councils and parliaments as their legislative body
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?m >= 1 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?d WHERE { { ?d rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q701632 . ?d property:P194 ?n } UNION { ?d rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q35749 . ?d property:P194 ?n } } GROUP BY ?d } }
105 Mile Post Indian Reserve No. 2 Manitoba Prince Edward Island British Columbia Yukon Northwest Territories Newfoundland and Labrador Ontario Saskatchewan Ukraine Alberta Nunavut
Ukraine, Northwest Territories and Ontario have atleast 1 municipal councils and parliaments as their legislative body
Ukraine Northwest Territories Ontario
action atleast
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'parliament'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?m >= 1 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?d WHERE { { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:municipal_council . ?d property:legislative_body ?n } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:parliament . ?d property:legislative_body ?n } } GROUP BY ?d } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17299563 Q558869
P54
Q1194951
USER
Which national sports teams are Tomoaki Makino or Visitacao Lobo a member of ?
OR((Q558869,P54,c(Q1194951)), (Q17299563,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q558869
relation P54
action find
entity Q17299563
relation P54
type Q1194951
{'OR': [['Q558869', 'P54', {'concept': 'Q1194951'}], ['Q17299563', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?f WHERE { { ?z property:P54 ?f . VALUES ( ?z ) { ( resource:Q558869 ) ( resource:Q17299563 ) } } . ?f rdf:type ontology:Q1194951 }
Visitacao Lobo Tomoaki Makino
action filter_type
action union
action find
entity Tomoaki Makino
relation member of sports team
action find
entity Visitacao Lobo
relation member of sports team
type national sports team
{'OR': [['Tomoaki Makino', 'member of sports team', {'concept': 'national sports team'}], ['Visitacao Lobo', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?f WHERE { { ?z property:member_of_sports_team ?f . VALUES ( ?z ) { ( resource:Tomoaki_Makino ) ( resource:Visitacao_Lobo ) } } . ?f rdf:type ontology:national_sports_team }
[]
national sports team
Q170566 Q212206
SYSTEM
Japan national football team, India national football team
Q170566 Q212206
OR((Q558869,P54,c(Q1194951)), (Q17299563,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q558869
relation P54
action find
entity Q17299563
relation P54
type Q1194951
[ANSWERS] are Tomoaki Makino or Visitacao Lobo a member of
{'OR': [['Q558869', 'P54', {'concept': 'Q1194951'}], ['Q17299563', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?f WHERE { { ?z property:P54 ?f . VALUES ( ?z ) { ( resource:Q558869 ) ( resource:Q17299563 ) } } . ?f rdf:type ontology:Q1194951 }
Japan national football team India national football team
Japan national football team and India national football team are Tomoaki Makino or Visitacao Lobo a member of
Japan national football team India national football team
action filter_type
action union
action find
entity Tomoaki Makino
relation member of sports team
action find
entity Visitacao Lobo
relation member of sports team
type national sports team
{'OR': [['Tomoaki Makino', 'member of sports team', {'concept': 'national sports team'}], ['Visitacao Lobo', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?f WHERE { { ?z property:member_of_sports_team ?f . VALUES ( ?z ) { ( resource:Tomoaki_Makino ) ( resource:Visitacao_Lobo ) } } . ?f rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1923
Q1194951 Q15275719
USER
How many recurring events did atleast 8 national sports teams compete in ?
(c(Q15275719),P1923,c(Q1194951))
action count
action atleast
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
value 8
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { FILTER ( ?v >= 8 ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?v ) WHERE { ?y property:P1923 ?c . ?y rdf:type ontology:Q15275719 . ?c rdf:type ontology:Q1194951 } GROUP BY ?y } }
action count
action atleast
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
value 8
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { FILTER ( ?v >= 8 ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?v ) WHERE { ?y property:participating_teams ?c . ?y rdf:type ontology:recurring_event . ?c rdf:type ontology:national_sports_team } GROUP BY ?y } }
[]
national sports team recurring event
SYSTEM
20
Q176883 Q37285 Q132515 Q48432 Q132533 Q46938 Q131591 Q46934 Q166121 Q134202 Q1477177 Q132529 Q131075 Q132664 Q160813 Q101751 Q47735 Q46943 Q101730 Q79859
(c(Q15275719),P1923,c(Q1194951))
action count
action atleast
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
value 8
[ANSWER]
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { FILTER ( ?v >= 8 ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?v ) WHERE { ?y property:P1923 ?c . ?y rdf:type ontology:Q15275719 . ?c rdf:type ontology:Q1194951 } GROUP BY ?y } }
2010 FIFA World Cup 2006 FIFA World Cup 1950 FIFA World Cup 1930 FIFA World Cup 1958 FIFA World Cup 1986 FIFA World Cup 1938 FIFA World Cup 1982 FIFA World Cup 1974 FIFA World Cup 1966 FIFA World Cup 1934 FIFA World Cup 1990 FIFA World Cup 1954 FIFA World Cup 1970 FIFA World Cup 1962 FIFA World Cup 1994 FIFA World Cup 2002 FIFA World Cup 1978 FIFA World Cup 1998 FIFA World Cup 2014 FIFA World Cup
20
action count
action atleast
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
value 8
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { FILTER ( ?v >= 8 ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?v ) WHERE { ?y property:participating_teams ?c . ?y rdf:type ontology:recurring_event . ?c rdf:type ontology:national_sports_team } GROUP BY ?y } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q170566 Q722693
P1344
Q15275719
USER
How many recurring events did Japan national football team or Ireland in the Eurovision Song Contest participate in ?
(Q170566,P1344,c(Q15275719)) (Q722693,P1344,c(Q15275719))
action count
action union
action filter_type
action find
entity Q170566
relation P1344
type Q15275719
action filter_type
action find
entity Q722693
relation P1344
type Q15275719
['Q170566', 'P1344', {'concept': 'Q15275719'}] ['Q722693', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { resource:Q170566 property:P1344 ?w . ?w rdf:type ontology:Q15275719 } UNION { resource:Q722693 property:P1344 ?w . ?w rdf:type ontology:Q15275719 } }
Japan national football team Ireland in the Eurovision Song Contest
action count
action union
action filter_type
action find
entity Japan national football team
relation participant of
type recurring event
action filter_type
action find
entity Ireland in the Eurovision Song Contest
relation participant of
type recurring event
['Japan national football team', 'participant of', {'concept': 'recurring event'}] ['Ireland in the Eurovision Song Contest', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { resource:Japan_national_football_team property:participant_of ?w . ?w rdf:type ontology:recurring_event } UNION { resource:Ireland_in_the_Eurovision_Song_Contest property:participant_of ?w . ?w rdf:type ontology:recurring_event } }
[]
recurring event
SYSTEM
5
Q176883 Q37285 Q47735 Q101730 Q79859
(Q170566,P1344,c(Q15275719)) (Q722693,P1344,c(Q15275719))
action count
action union
action filter_type
action find
entity Q170566
relation P1344
type Q15275719
action filter_type
action find
entity Q722693
relation P1344
type Q15275719
[ANSWER]
['Q170566', 'P1344', {'concept': 'Q15275719'}] ['Q722693', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { resource:Q170566 property:P1344 ?w . ?w rdf:type ontology:Q15275719 } UNION { resource:Q722693 property:P1344 ?w . ?w rdf:type ontology:Q15275719 } }
2010 FIFA World Cup 2006 FIFA World Cup 2002 FIFA World Cup 1998 FIFA World Cup 2014 FIFA World Cup
5
action count
action union
action filter_type
action find
entity Japan national football team
relation participant of
type recurring event
action filter_type
action find
entity Ireland in the Eurovision Song Contest
relation participant of
type recurring event
['Japan national football team', 'participant of', {'concept': 'recurring event'}] ['Ireland in the Eurovision Song Contest', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { resource:Japan_national_football_team property:participant_of ?w . ?w rdf:type ontology:recurring_event } UNION { resource:Ireland_in_the_Eurovision_Song_Contest property:participant_of ?w . ?w rdf:type ontology:recurring_event } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q810599 Q17
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with Japan or are Bastian Baker a civilian of ?
OR((Q17,P530,c(Q15617994)), (Q810599,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17
relation P530
action find
entity Q810599
relation P27
type Q15617994
{'OR': [['Q17', 'P530', {'concept': 'Q15617994'}], ['Q810599', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q17 property:P530 ?p } UNION { resource:Q810599 property:P27 ?p } } }
Bastian Baker Japan
action filter_type
action union
action find
entity Japan
relation diplomatic relation
action find
entity Bastian Baker
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Bastian Baker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Japan property:diplomatic_relation ?p } UNION { resource:Bastian_Baker property:country_of_citizenship ?p } } }
[]
designation for an administrative territorial entity
Q39 Q884 Q227 Q145 Q869 Q711 Q159 Q801 Q142 Q38
SYSTEM
Some of them are Switzerland, South Korea, Azerbaijan, United Kingdom, Thailand, Mongolia, Russia, Israel, France, Italy
Q227 Q142 Q711 Q884 Q159 Q801 Q145 Q155 Q30 Q869 Q39 Q38
OR((Q17,P530,c(Q15617994)), (Q810599,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17
relation P530
action find
entity Q810599
relation P27
type Q15617994
[ANSWERS] have diplomatic relations with Japan or are Bastian Baker a civilian of
{'OR': [['Q17', 'P530', {'concept': 'Q15617994'}], ['Q810599', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q17 property:P530 ?p } UNION { resource:Q810599 property:P27 ?p } } }
Azerbaijan France Mongolia South Korea Russia Israel United Kingdom Brazil United States of America Thailand Switzerland Italy
Switzerland, South Korea, Azerbaijan, United Kingdom, Thailand, Mongolia, Russia, Israel, France and Italy have diplomatic relations with Japan or are Bastian Baker a civilian of
Switzerland South Korea Azerbaijan United Kingdom Thailand Mongolia Russia Israel France Italy
action filter_type
action union
action find
entity Japan
relation diplomatic relation
action find
entity Bastian Baker
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Bastian Baker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Japan property:diplomatic_relation ?p } UNION { resource:Bastian_Baker property:country_of_citizenship ?p } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q39 Q884 Q227 Q145 Q869 Q711 Q159 Q801 Q142 Q38
P17
Q15617994
USER
Which administrative territories do those ones belong to ?
(Q39,P17,c(Q15617994)) (Q884,P17,c(Q15617994)) (Q227,P17,c(Q15617994)) (Q145,P17,c(Q15617994)) (Q869,P17,c(Q15617994)) (Q711,P17,c(Q15617994)) (Q159,P17,c(Q15617994)) (Q801,P17,c(Q15617994)) (Q142,P17,c(Q15617994)) (Q38,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q39', 'P17', {'concept': 'Q15617994'}] ['Q884', 'P17', {'concept': 'Q15617994'}] ['Q227', 'P17', {'concept': 'Q15617994'}] ['Q145', 'P17', {'concept': 'Q15617994'}] ['Q869', 'P17', {'concept': 'Q15617994'}] ['Q711', 'P17', {'concept': 'Q15617994'}] ['Q159', 'P17', {'concept': 'Q15617994'}] ['Q801', 'P17', {'concept': 'Q15617994'}] ['Q142', 'P17', {'concept': 'Q15617994'}] ['Q38', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?w property:P17 ?n . VALUES ( ?w ) { ( resource:Q227 ) ( resource:Q142 ) ( resource:Q711 ) } . ?n rdf:type ontology:Q15617994 }
Switzerland South Korea Azerbaijan United Kingdom Thailand Mongolia Russia Israel France Italy
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Switzerland', 'country', {'concept': 'designation for an administrative territorial entity'}] ['South Korea', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Azerbaijan', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Thailand', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Mongolia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Russia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Israel', 'country', {'concept': 'designation for an administrative territorial entity'}] ['France', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?w property:country ?n . VALUES ( ?w ) { ( resource:Azerbaijan ) ( resource:France ) ( resource:Mongolia ) } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q159 Q142
SYSTEM
Italy, Russia, France
Q39 Q884 Q227 Q145 Q869 Q711 Q159 Q801 Q142 Q38
(Q39,P17,c(Q15617994)) (Q884,P17,c(Q15617994)) (Q227,P17,c(Q15617994)) (Q145,P17,c(Q15617994)) (Q869,P17,c(Q15617994)) (Q711,P17,c(Q15617994)) (Q159,P17,c(Q15617994)) (Q801,P17,c(Q15617994)) (Q142,P17,c(Q15617994)) (Q38,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those ones belong to [ANSWERS]
['Q39', 'P17', {'concept': 'Q15617994'}] ['Q884', 'P17', {'concept': 'Q15617994'}] ['Q227', 'P17', {'concept': 'Q15617994'}] ['Q145', 'P17', {'concept': 'Q15617994'}] ['Q869', 'P17', {'concept': 'Q15617994'}] ['Q711', 'P17', {'concept': 'Q15617994'}] ['Q159', 'P17', {'concept': 'Q15617994'}] ['Q801', 'P17', {'concept': 'Q15617994'}] ['Q142', 'P17', {'concept': 'Q15617994'}] ['Q38', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?w property:P17 ?n . VALUES ( ?w ) { ( resource:Q227 ) ( resource:Q142 ) ( resource:Q711 ) } . ?n rdf:type ontology:Q15617994 }
Switzerland South Korea Azerbaijan United Kingdom Thailand Mongolia Russia Israel France Italy
Those ones belong to Italy, Russia and France
Italy Russia France
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Switzerland', 'country', {'concept': 'designation for an administrative territorial entity'}] ['South Korea', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Azerbaijan', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Thailand', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Mongolia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Russia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Israel', 'country', {'concept': 'designation for an administrative territorial entity'}] ['France', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?w property:country ?n . VALUES ( ?w ) { ( resource:Azerbaijan ) ( resource:France ) ( resource:Mongolia ) } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q159 Q142
P17
Q12737077
USER
Which occupations are situated in those administrative territories ?
(c(Q12737077),P17,Q38) (c(Q12737077),P17,Q159) (c(Q12737077),P17,Q142)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q12737077
[{'concept': 'Q12737077'}, 'P17', 'Q38'] [{'concept': 'Q12737077'}, 'P17', 'Q159'] [{'concept': 'Q12737077'}, 'P17', 'Q142']
SELECT DISTINCT ?g WHERE { ?g property:P17 ?s . ?g rdf:type ontology:Q12737077 . VALUES ( ?s ) { ( resource:Q39 ) ( resource:Q884 ) ( resource:Q227 ) } }
Italy Russia France
action filter_type
action find_reverse
entity prev_answer
relation country
type occupation
[{'concept': 'occupation'}, 'country', 'Italy'] [{'concept': 'occupation'}, 'country', 'Russia'] [{'concept': 'occupation'}, 'country', 'France']
SELECT DISTINCT ?g WHERE { ?g property:country ?s . ?g rdf:type ontology:occupation . VALUES ( ?s ) { ( resource:Switzerland ) ( resource:South_Korea ) ( resource:Azerbaijan ) } }
[]
occupation
Q842386 Q23936560 Q23015483
SYSTEM
Prime Minister of Russia, mayor of Rome, Mayor of Brescia
Q4011167 Q13653224 Q3911042 Q23554157 Q18558478 Q23936560 Q3858501 Q23015483 Q26877839 Q17520382 Q24198574 Q6092845 Q6092842 Q26877879 Q3687266 Q796897 Q670106 Q1541071 Q15355639 Q826589 Q26912078 Q658082 Q332711 Q24290068 Q24702372 Q2032656 Q3705737 Q7477985 Q15309742 Q24198461 Q11805434 Q1058008 Q3721646 Q6360077 Q1714174 Q15355884 Q18683546 Q1538785 Q19399742 Q19742447 Q24932734 Q17287317 Q4376672 Q17276321 Q16056633 Q4376663 Q19908587 Q24930613 Q4109060 Q21638481 Q18634247 Q18238389 Q18238387 Q18406182 Q842386 Q16640476 Q16839806 Q21638478 Q4151340 Q4151343 Q4151344 Q4151336 Q4151330 Q4151331 Q4151338 Q4151339 Q16640482 Q16640485 Q16640491 Q17287321 Q5589671 Q21638485 Q14805701 Q16059954 Q2359870 Q23958341 Q283135 Q3128486 Q20202980 Q17618004 Q3780304 Q21750197 Q747123 Q15973153 Q20202948 Q17618137 Q19018261 Q2986308 Q25343330 Q3401779 Q23638977 Q3409237 Q1965891 Q20203006 Q12479878 Q1477945 Q3044918 Q21065832 Q3251880 Q15113603 Q2994367 Q3401663 Q3115767 Q17712741 Q3408923 Q12436652 Q3477294 Q3477299 Q21032519 Q2994439 Q14828018 Q21032547 Q7444344 Q21032552 Q21113166 Q7886203 Q20177062 Q1131971 Q3029430 Q3029404 Q21743287 Q16543547 Q20203208 Q16260691 Q27579823 Q382617 Q2986283 Q7444396 Q650012 Q15135541 Q3238298 Q19018174 Q19822522 Q2860249 Q3382119 Q19822699 Q21888124 Q16886136 Q2824533 Q23905996
(c(Q12737077),P17,Q38) (c(Q12737077),P17,Q159) (c(Q12737077),P17,Q142)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q12737077
[ANSWERS] are situated in those administrative territories
[{'concept': 'Q12737077'}, 'P17', 'Q38'] [{'concept': 'Q12737077'}, 'P17', 'Q159'] [{'concept': 'Q12737077'}, 'P17', 'Q142']
SELECT DISTINCT ?g WHERE { ?g property:P17 ?s . ?g rdf:type ontology:Q12737077 . VALUES ( ?s ) { ( resource:Q39 ) ( resource:Q884 ) ( resource:Q227 ) } }
Vice President of the Constitutional Court of Italy member of the Italian Senate Substitute President of Italy Minister of Federal Reforms member of the Chamber of Deputies of the Italian Republic mayor of Rome Italian minister Mayor of Brescia minister of War of Italy Bishop of Padua President of the Province of Varese Italian Minister of Transports Italian Minister of Infrastructures minister of the Navy of Italy member of City Council Prime Minister of Italy sindaco Italian Minister of the Interior President of Emilia-Romagna senatore a vita minister of Air Force of Italy Italian Minister of Agriculture President of Italy Minister of Treasury mayor of Torino Pentito member of the Constituent Assembly of Italy President of the Italian Senate Secretary of the Democratic Party President of the Province of Florence Italian Minister of Economic Development President of Trentino-Alto Adige/Südtirol Italian Minister of Education President of the Chamber of Deputies of Italy judge of the Constitutional Court of Italy General Secretary of the CGIL president of Sardinia Italian Minister of Defence member of the Federation Council of Russia Governor of Bryansk Oblast Governor of Tula Oblast Minister of Defense Speaker of the Federation Council of Russia member of the State Duma Governor of Murmansk Oblast Chairman of the State Duma Governor of Chelyabinsk Oblast Governor of Ulyanovsk Oblast Supreme Commander-in-Chief of the Armed Forces of the Russian Federation Governor of Kostroma Oblast Governor of Tomsk Oblast Governor of Kursk Oblast Governor of Vologda Oblast Governor of Tver Oblast Prime Minister of Russia Governor of Astrakhan Oblast Governor of Kaliningrad Oblast Governor of Kemerovo Oblast Governor of Oryol Oblast Governor of Sverdlovsk Oblast Governor of Tyumen Oblast Governor of Nizhny Novgorod Oblast Governor of Arkhangelsk Oblast Governor of Irkutsk Region Governor of Orenburg Oblast Governor of Moscow Oblast Governor of Vladimir Oblast Governor of Voronezh Oblast Governor of Kurgan Oblast Minister of Emergency Situations Governor of Krasnodar Krai Governor of Omsk Oblast Deputy Chairman of the Government of the Russian Federation Minister of National Education department prefect President of the Jury at the Cannes Festival Secretary of State of the Maison du Roi high-ranking civil servant in France Minister of Agriculture Secretary of State for Foreign Trade, Tourism Promotion and French overseas Member of the General Council Mayor of Annecy First Secretary of the French Socialist Party administrateur civil (France) Minister of the Economy, Finances and Industry French Minister of the Economy Deputy Prime Minister of France Commissaire de police President of Wikimedia France Premier peintre du Roi Mayor of Marseille Président à mortier Administrators of the Comédie-Française Minister of the Interior Minister of Information Grand Almoner of France member of the French National Assembly Governor of the Bastille Minister of Health municipal councillor Councillor of State Premier Architecte du Roi Chief Engraver of the Paris Mint Inspecteur des établissements sanitaires Prefect of Paris Minister of Culture (France) Secretary of State for War Secretary of State for Protestant Affairs Second Empire senator Conservateur des bibliothèques member of the Senate of France senator of the French Third Republic Secretary of State for Foreign Affairs Senator of the Fourth Republic Minister of City Affairs Governor of the Banque de France senator of community First Consul Director of Research at CNRS Hospital director in France superintendent (France) Member of the Departmental Council Minister of Foreign Affairs and International Development Secretary of State for Digital Bishop of Carcassonne maire Auctioneer Secretary of State of the Navy engineer of roads and bridges head of government of France Wolfcatcher Royal Minister of War Mayor of Nantes architecte des bâtiments de France sub-prefect mayor of Paris Minister of Commerce conseiller régional insolvency practitioner Member of the French Economic, Social and Environmental Council
Prime Minister of Russia, mayor of Rome and Mayor of Brescia are situated in those administrative territories
Prime Minister of Russia mayor of Rome Mayor of Brescia
action filter_type
action find_reverse
entity prev_answer
relation country
type occupation
[{'concept': 'occupation'}, 'country', 'Italy'] [{'concept': 'occupation'}, 'country', 'Russia'] [{'concept': 'occupation'}, 'country', 'France']
SELECT DISTINCT ?g WHERE { ?g property:country ?s . ?g rdf:type ontology:occupation . VALUES ( ?s ) { ( resource:Switzerland ) ( resource:South_Korea ) ( resource:Azerbaijan ) } }
[]