Simple Question (Direct)
Simple Question
Q1264226
P166
Q618779
USER
Which award was Guinevere Kauffmann awarded with ?
(Q1264226,P166,c(Q618779))
action filter_type
action find
entity Q1264226
relation P166
type Q618779
['Q1264226', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q1264226 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Guinevere Kauffmann
action filter_type
action find
entity Guinevere Kauffmann
relation award received
type award
['Guinevere Kauffmann', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Guinevere_Kauffmann property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Q10905380
SYSTEM
Cross of the Order of Merit of the Federal Republic of Germany
Q10905380
(Q1264226,P166,c(Q618779))
action filter_type
action find
entity Q1264226
relation P166
type Q618779
Guinevere Kauffmann was awarded the [ANSWER]
['Q1264226', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q1264226 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Cross of the Order of Merit of the Federal Republic of Germany
Guinevere Kauffmann was awarded the Cross of the Order of Merit of the Federal Republic of Germany
Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Guinevere Kauffmann
relation award received
type award
['Guinevere Kauffmann', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Guinevere_Kauffmann property:award_received ?s . ?s rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1264226
P69
Q3918
USER
Where was that person educated ?
(Q10905380,P69,c(Q3918))
action filter_type
action find
entity Q1264226
relation P69
type Q3918
['Q10905380', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?i WHERE { resource:Q1264226 property:P69 ?i . ?i rdf:type ontology:Q3918 }
Guinevere Kauffmann
action filter_type
action find
entity Guinevere Kauffmann
relation educated at
type university
['Cross of the Order of Merit of the Federal Republic of Germany', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?i WHERE { resource:Guinevere_Kauffmann property:educated_at ?i . ?i rdf:type ontology:university }
[]
university
Q951305
SYSTEM
University of Cape Town
Q951305
(Q10905380,P69,c(Q3918))
action filter_type
action find
entity Q1264226
relation P69
type Q3918
Educated that person was the [ANSWER]
['Q10905380', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?i WHERE { resource:Q1264226 property:P69 ?i . ?i rdf:type ontology:Q3918 }
University of Cape Town
Educated that person was the University of Cape Town
University of Cape Town
action filter_type
action find
entity Guinevere Kauffmann
relation educated at
type university
['Cross of the Order of Merit of the Federal Republic of Germany', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?i WHERE { resource:Guinevere_Kauffmann property:educated_at ?i . ?i rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q951305
P17
Q15617994
USER
Which administrative territory is that university located in ?
(Q951305,P17,c(Q15617994))
action filter_type
action find
entity Q951305
relation P17
type Q15617994
['Q951305', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q951305 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
University of Cape Town
action filter_type
action find
entity University of Cape Town
relation country
type designation for an administrative territorial entity
['University of Cape Town', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:University_of_Cape_Town property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q258
SYSTEM
South Africa
Q258
(Q951305,P17,c(Q15617994))
action filter_type
action find
entity Q951305
relation P17
type Q15617994
That university is located in [ANSWER]
['Q951305', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q951305 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
South Africa
That university is located in South Africa
South Africa
action filter_type
action find
entity University of Cape Town
relation country
type designation for an administrative territorial entity
['University of Cape Town', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:University_of_Cape_Town property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with atmost 99 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 99
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { FILTER ( ?m <= 99 ) . { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?m ) WHERE { ?o property:P530 ?w . ?o rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 } GROUP BY ?o } }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 99
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { FILTER ( ?m <= 99 ) . { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?m ) WHERE { ?o property:diplomatic_relation ?w . ?o rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 99
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { FILTER ( ?m <= 99 ) . { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?m ) WHERE { ?o property:P530 ?w . ?o rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 } GROUP BY ?o } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 99
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { FILTER ( ?m <= 99 ) . { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?m ) WHERE { ?o property:diplomatic_relation ?w . ?o rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with max number of administrative territories ?
(c(Q15617994),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?c ) { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?m ) WHERE { ?r property:P530 ?o . ?r rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?r } } . { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 . ?g property:P530 ?y } GROUP BY ?g } . FILTER ( ?a = ?c ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?c ) { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?m ) WHERE { ?r property:diplomatic_relation ?o . ?r rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } } . { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity . ?g property:diplomatic_relation ?y } GROUP BY ?g } . FILTER ( ?a = ?c ) }
[]
political territorial entity designation for an administrative territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q15617994),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWER] have a diplomatic relationship with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?c ) { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?m ) WHERE { ?r property:P530 ?o . ?r rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?r } } . { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 . ?g property:P530 ?y } GROUP BY ?g } . FILTER ( ?a = ?c ) }
Germany
Germany have a diplomatic relationship with max number of administrative territories
Germany
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?c ) { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?m ) WHERE { ?r property:diplomatic_relation ?o . ?r rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } } . { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity . ?g property:diplomatic_relation ?y } GROUP BY ?g } . FILTER ( ?a = ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q258
P1001
Q4164871
USER
Which positions have jurisdiction over South Africa ?
(c(Q4164871),P1001,Q258)
action filter_type
action find_reverse
entity Q258
relation P1001
type Q4164871
[{'concept': 'Q4164871'}, 'P1001', 'Q258']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q258 . ?i rdf:type ontology:Q4164871 }
South Africa
action filter_type
action find_reverse
entity South Africa
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'South Africa']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:South_Africa . ?i rdf:type ontology:position }
[]
position
Q20981749 Q20981744
SYSTEM
Minister of Trade and Industry, Minister of Social Development
Q20981749 Q20981744
(c(Q4164871),P1001,Q258)
action filter_type
action find_reverse
entity Q258
relation P1001
type Q4164871
[ANSWERS] have jurisdiction over South Africa
[{'concept': 'Q4164871'}, 'P1001', 'Q258']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q258 . ?i rdf:type ontology:Q4164871 }
Minister of Trade and Industry Minister of Social Development
Minister of Trade and Industry and Minister of Social Development have jurisdiction over South Africa
Minister of Trade and Industry Minister of Social Development
action filter_type
action find_reverse
entity South Africa
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'South Africa']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:South_Africa . ?i rdf:type ontology:position }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q258
P137
Q15056995
USER
Which aircraft model is the administrator of that administrative territory ?
(c(Q15056995),P137,Q20981749) (c(Q15056995),P137,Q20981744)
action filter_type
action find_reverse
entity Q258
relation P137
type Q15056995
[{'concept': 'Q15056995'}, 'P137', 'Q20981749'] [{'concept': 'Q15056995'}, 'P137', 'Q20981744']
SELECT DISTINCT ?q WHERE { ?q property:P137 resource:Q258 . ?q rdf:type ontology:Q15056995 }
South Africa
action filter_type
action find_reverse
entity South Africa
relation operator
type aircraft model
[{'concept': 'aircraft model'}, 'operator', 'Minister of Trade and Industry'] [{'concept': 'aircraft model'}, 'operator', 'Minister of Social Development']
SELECT DISTINCT ?q WHERE { ?q property:operator resource:South_Africa . ?q rdf:type ontology:aircraft_model }
[]
aircraft model
Q18011088
SYSTEM
Impala Mk I
Q18011088
(c(Q15056995),P137,Q20981749) (c(Q15056995),P137,Q20981744)
action filter_type
action find_reverse
entity Q258
relation P137
type Q15056995
[ANSWER] is the administrator of that administrative territory
[{'concept': 'Q15056995'}, 'P137', 'Q20981749'] [{'concept': 'Q15056995'}, 'P137', 'Q20981744']
SELECT DISTINCT ?q WHERE { ?q property:P137 resource:Q258 . ?q rdf:type ontology:Q15056995 }
Impala Mk I
Impala Mk I is the administrator of that administrative territory
Impala Mk I
action filter_type
action find_reverse
entity South Africa
relation operator
type aircraft model
[{'concept': 'aircraft model'}, 'operator', 'Minister of Trade and Industry'] [{'concept': 'aircraft model'}, 'operator', 'Minister of Social Development']
SELECT DISTINCT ?q WHERE { ?q property:operator resource:South_Africa . ?q rdf:type ontology:aircraft_model }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q258
P1532
Q1194951
USER
Whose national sports team is South Africa ?
(c(Q1194951),P1532,Q258)
action filter_type
action find_reverse
entity Q258
relation P1532
type Q1194951
[{'concept': 'Q1194951'}, 'P1532', 'Q258']
SELECT DISTINCT ?o WHERE { ?o property:P1532 resource:Q258 . ?o rdf:type ontology:Q1194951 }
South Africa
action filter_type
action find_reverse
entity South Africa
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'South Africa']
SELECT DISTINCT ?o WHERE { ?o property:country_for_sport resource:South_Africa . ?o rdf:type ontology:national_sports_team }
[]
national sports team
Q170327
SYSTEM
South Africa national football team
Q170327
(c(Q1194951),P1532,Q258)
action filter_type
action find_reverse
entity Q258
relation P1532
type Q1194951
And [ANSWER] is South Africa
[{'concept': 'Q1194951'}, 'P1532', 'Q258']
SELECT DISTINCT ?o WHERE { ?o property:P1532 resource:Q258 . ?o rdf:type ontology:Q1194951 }
South Africa national football team
And South Africa national football team is South Africa
South Africa national football team
action filter_type
action find_reverse
entity South Africa
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'South Africa']
SELECT DISTINCT ?o WHERE { ?o property:country_for_sport resource:South_Africa . ?o rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q170327
P641
Q349
USER
Which sport was that national sports team a part of ?
(Q170327,P641,c(Q349))
action filter_type
action find
entity Q170327
relation P641
type Q349
['Q170327', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q170327 property:P641 ?k . ?k rdf:type ontology:Q349 }
South Africa national football team
action filter_type
action find
entity South Africa national football team
relation sport
type sport
['South Africa national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:South_Africa_national_football_team property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q170327,P641,c(Q349))
action filter_type
action find
entity Q170327
relation P641
type Q349
The [ANSWER] was that national sports team a part of
['Q170327', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q170327 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
The association football was that national sports team a part of
association football
action filter_type
action find
entity South Africa national football team
relation sport
type sport
['South Africa national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:South_Africa_national_football_team property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170327
P1923
Q15275719
USER
Which recurring events did South Africa national football team take part in ?
(c(Q15275719),P1923,Q170327)
action filter_type
action find_reverse
entity Q170327
relation P1923
type Q15275719
[{'concept': 'Q15275719'}, 'P1923', 'Q170327']
SELECT DISTINCT ?d WHERE { ?d property:P1923 resource:Q170327 . ?d rdf:type ontology:Q15275719 }
South Africa national football team
action filter_type
action find_reverse
entity South Africa national football team
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', 'South Africa national football team']
SELECT DISTINCT ?d WHERE { ?d property:participating_teams resource:South_Africa_national_football_team . ?d rdf:type ontology:recurring_event }
[]
recurring event
Q47735 Q176883 Q101730
SYSTEM
2002 FIFA World Cup, 2010 FIFA World Cup, 1998 FIFA World Cup
Q47735 Q176883 Q101730
(c(Q15275719),P1923,Q170327)
action filter_type
action find_reverse
entity Q170327
relation P1923
type Q15275719
[ANSWERS] South Africa national football team took in part
[{'concept': 'Q15275719'}, 'P1923', 'Q170327']
SELECT DISTINCT ?d WHERE { ?d property:P1923 resource:Q170327 . ?d rdf:type ontology:Q15275719 }
2002 FIFA World Cup 2010 FIFA World Cup 1998 FIFA World Cup
2002 FIFA World Cup, 2010 FIFA World Cup and 1998 FIFA World Cup South Africa national football team took in part
2002 FIFA World Cup 2010 FIFA World Cup 1998 FIFA World Cup
action filter_type
action find_reverse
entity South Africa national football team
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', 'South Africa national football team']
SELECT DISTINCT ?d WHERE { ?d property:participating_teams resource:South_Africa_national_football_team . ?d rdf:type ontology:recurring_event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q47735
P793
Q15617994
USER
Which administrative territory is that one a key event of ?
(c(Q15617994),P793,Q47735)
action filter_type
action find_reverse
entity Q47735
relation P793
type Q15617994
[{'concept': 'Q15617994'}, 'P793', 'Q47735']
SELECT DISTINCT ?q WHERE { ?q property:P793 resource:Q47735 . ?q rdf:type ontology:Q15617994 }
2002 FIFA World Cup
action filter_type
action find_reverse
entity 2002 FIFA World Cup
relation significant event
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'significant event', '2002 FIFA World Cup']
SELECT DISTINCT ?q WHERE { ?q property:significant_event resource:2002_FIFA_World_Cup . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q101730
SYSTEM
Did you mean 1998 FIFA World Cup ?
Q47735 Q176883 Q101730
(c(Q15617994),P793,Q47735) (c(Q15617994),P793,Q176883) (c(Q15617994),P793,Q101730)
[ANSWER]
[{'concept': 'Q15617994'}, 'P793', 'Q47735'] [{'concept': 'Q15617994'}, 'P793', 'Q176883'] [{'concept': 'Q15617994'}, 'P793', 'Q101730']
SELECT DISTINCT ?q WHERE { ?q property:P793 resource:Q47735 . ?q rdf:type ontology:Q15617994 }
2002 FIFA World Cup 2010 FIFA World Cup 1998 FIFA World Cup
Did you mean 1998 FIFA World Cup ?
1998 FIFA World Cup
[{'concept': 'designation for an administrative territorial entity'}, 'significant event', '2002 FIFA World Cup'] [{'concept': 'designation for an administrative territorial entity'}, 'significant event', '2010 FIFA World Cup'] [{'concept': 'designation for an administrative territorial entity'}, 'significant event', '1998 FIFA World Cup']
SELECT DISTINCT ?q WHERE { ?q property:significant_event resource:2002_FIFA_World_Cup . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant 2002 FIFA World Cup. Could you tell me the answer for that?
(c(Q15617994),P793,Q47735)
Q47735
[{'concept': 'Q15617994'}, 'P793', 'Q47735']
[{'concept': 'designation for an administrative territorial entity'}, 'significant event', '2002 FIFA World Cup']
[]
Q17
SYSTEM
Japan
Q17
(c(Q15617994),P793,Q47735)
action filter_type
action find_reverse
entity Q47735
relation P793
type Q15617994
[ANSWER] is that one a key event of
[{'concept': 'Q15617994'}, 'P793', 'Q47735']
SELECT DISTINCT ?q WHERE { ?q property:P793 resource:Q47735 . ?q rdf:type ontology:Q15617994 }
Japan
Japan is that one a key event of
Japan
action filter_type
action find_reverse
entity 2002 FIFA World Cup
relation significant event
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'significant event', '2002 FIFA World Cup']
SELECT DISTINCT ?q WHERE { ?q property:significant_event resource:2002_FIFA_World_Cup . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]