Simple Question (Direct)
Simple Question
Q367881
P54
Q1194951
USER
What is Jurica Buljat a member of ?
(Q367881,P54,c(Q1194951))
action filter_type
action find
entity Q367881
relation P54
type Q1194951
['Q367881', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { resource:Q367881 property:P54 ?q . ?q rdf:type ontology:Q1194951 }
Jurica Buljat
action filter_type
action find
entity Jurica Buljat
relation member of sports team
type national sports team
['Jurica Buljat', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { resource:Jurica_Buljat property:member_of_sports_team ?q . ?q rdf:type ontology:national_sports_team }
[]
national sports team
Q134479
SYSTEM
Croatia national football team
Q134479
(Q367881,P54,c(Q1194951))
action filter_type
action find
entity Q367881
relation P54
type Q1194951
Jurica Buljat a member of is [ANSWER]
['Q367881', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { resource:Q367881 property:P54 ?q . ?q rdf:type ontology:Q1194951 }
Croatia national football team
Jurica Buljat a member of is Croatia national football team
Croatia national football team
action filter_type
action find
entity Jurica Buljat
relation member of sports team
type national sports team
['Jurica Buljat', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { resource:Jurica_Buljat property:member_of_sports_team ?q . ?q rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q367881
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q134479,P27,c(Q15617994))
action filter_type
action find
entity Q367881
relation P27
type Q15617994
['Q134479', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q367881 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Jurica Buljat
action filter_type
action find
entity Jurica Buljat
relation country of citizenship
type designation for an administrative territorial entity
['Croatia national football team', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Jurica_Buljat property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q224
SYSTEM
Croatia
Q224
(Q134479,P27,c(Q15617994))
action filter_type
action find
entity Q367881
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q134479', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q367881 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Croatia
The Croatia is that person a civilian of
Croatia
action filter_type
action find
entity Jurica Buljat
relation country of citizenship
type designation for an administrative territorial entity
['Croatia national football team', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Jurica_Buljat property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q224
P463
Q484652
USER
How many international organizations were Croatia a member of ?
(Q224,P463,c(Q484652))
action count
action filter_type
action find
entity Q224
relation P463
type Q484652
['Q224', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Q224 property:P463 ?j . ?j rdf:type ontology:Q484652 }
Croatia
action count
action filter_type
action find
entity Croatia
relation member of
type international organization
['Croatia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Croatia property:member_of ?j . ?j rdf:type ontology:international_organization }
[]
international organization
SYSTEM
4
Q81299 Q1065 Q1043527 Q7184
(Q224,P463,c(Q484652))
action count
action filter_type
action find
entity Q224
relation P463
type Q484652
[ANSWER]
['Q224', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Q224 property:P463 ?j . ?j rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations Multilateral Investment Guarantee Agency North Atlantic Treaty Organisation
4
action count
action filter_type
action find
entity Croatia
relation member of
type international organization
['Croatia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Croatia property:member_of ?j . ?j rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1354420
P463
Q484652
USER
And what about Erika Lotz?
(Q1354420,P463,c(Q484652))
action count
action filter_type
action find
entity Q1354420
relation P463
type Q484652
['Q1354420', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Q1354420 property:P463 ?k . ?k rdf:type ontology:Q484652 }
Erika Lotz
action count
action filter_type
action find
entity Erika Lotz
relation member of
type international organization
['Erika Lotz', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Erika_Lotz property:member_of ?k . ?k rdf:type ontology:international_organization }
[]
international organization
SYSTEM
1
Q939743
(Q1354420,P463,c(Q484652))
action count
action filter_type
action find
entity Q1354420
relation P463
type Q484652
[ANSWER]
['Q1354420', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Q1354420 property:P463 ?k . ?k rdf:type ontology:Q484652 }
Parliamentary Assembly of the Council of Europe
1
action count
action filter_type
action find
entity Erika Lotz
relation member of
type international organization
['Erika Lotz', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Erika_Lotz property:member_of ?k . ?k rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q184
Q484652
USER
And how about Belarus?
(Q184,P463,c(Q484652))
action count
action filter_type
action find
entity Q184
relation P463
type Q484652
['Q184', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Q184 property:P463 ?i . ?i rdf:type ontology:Q484652 }
Belarus
action count
action filter_type
action find
entity Belarus
relation member of
type international organization
['Belarus', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Belarus property:member_of ?i . ?i rdf:type ontology:international_organization }
[]
international organization
SYSTEM
4
(Q184,P463,c(Q484652))
action count
action filter_type
action find
entity Q184
relation P463
type Q484652
[ANSWER]
['Q184', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Q184 property:P463 ?i . ?i rdf:type ontology:Q484652 }
4
action count
action filter_type
action find
entity Belarus
relation member of
type international organization
['Belarus', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Belarus property:member_of ?i . ?i rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q134479
P1923
Q15275719 Q1375427
USER
How many recurring events or European Championships did Croatia national football team take part in ?
(c(Q15275719),P1923,Q134479) (c(Q1375427),P1923,Q134479)
action count
action union
action filter_type
action find_reverse
entity Q134479
relation P1923
type Q15275719
action filter_type
action find_reverse
entity Q134479
relation P1923
type Q1375427
[{'concept': 'Q15275719'}, 'P1923', 'Q134479'] [{'concept': 'Q1375427'}, 'P1923', 'Q134479']
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { ?v property:P1923 resource:Q134479 . ?v rdf:type ontology:Q1375427 } UNION { ?v property:P1923 resource:Q134479 . ?v rdf:type ontology:Q15275719 } }
Croatia national football team
action count
action union
action filter_type
action find_reverse
entity Croatia national football team
relation participating teams
type recurring event
action filter_type
action find_reverse
entity Croatia national football team
relation participating teams
type European Championship
[{'concept': 'recurring event'}, 'participating teams', 'Croatia national football team'] [{'concept': 'European Championship'}, 'participating teams', 'Croatia national football team']
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { ?v property:participating_teams resource:Croatia_national_football_team . ?v rdf:type ontology:European_Championship } UNION { ?v property:participating_teams resource:Croatia_national_football_team . ?v rdf:type ontology:recurring_event } }
[]
recurring event European Championship
SYSTEM
9
Q37285 Q102920 Q180563 Q47735 Q22669 Q79859 Q101730 Q241864 Q189571
(c(Q15275719),P1923,Q134479) (c(Q1375427),P1923,Q134479)
action count
action union
action filter_type
action find_reverse
entity Q134479
relation P1923
type Q15275719
action filter_type
action find_reverse
entity Q134479
relation P1923
type Q1375427
[ANSWER]
[{'concept': 'Q15275719'}, 'P1923', 'Q134479'] [{'concept': 'Q1375427'}, 'P1923', 'Q134479']
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { ?v property:P1923 resource:Q134479 . ?v rdf:type ontology:Q1375427 } UNION { ?v property:P1923 resource:Q134479 . ?v rdf:type ontology:Q15275719 } }
2006 FIFA World Cup UEFA Euro 2004 UEFA Euro 1996 2002 FIFA World Cup UEFA Euro 2012 2014 FIFA World Cup 1998 FIFA World Cup UEFA Euro 2008 UEFA Euro 2016
9
action count
action union
action filter_type
action find_reverse
entity Croatia national football team
relation participating teams
type recurring event
action filter_type
action find_reverse
entity Croatia national football team
relation participating teams
type European Championship
[{'concept': 'recurring event'}, 'participating teams', 'Croatia national football team'] [{'concept': 'European Championship'}, 'participating teams', 'Croatia national football team']
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { ?v property:participating_teams resource:Croatia_national_football_team . ?v rdf:type ontology:European_Championship } UNION { ?v property:participating_teams resource:Croatia_national_football_team . ?v rdf:type ontology:recurring_event } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4334697 Q224
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Croatia or are Berinjak present in ?
OR((Q224,P530,c(Q15617994)), (Q4334697,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q224
relation P530
action find
entity Q4334697
relation P17
type Q15617994
{'OR': [['Q224', 'P530', {'concept': 'Q15617994'}], ['Q4334697', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q224 property:P530 ?x } UNION { resource:Q4334697 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Berinjak Croatia
action filter_type
action union
action find
entity Croatia
relation diplomatic relation
action find
entity Berinjak
relation country
type designation for an administrative territorial entity
{'OR': [['Croatia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Berinjak', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Croatia property:diplomatic_relation ?x } UNION { resource:Berinjak property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q215
SYSTEM
Italy, Slovenia
Q38 Q215
OR((Q224,P530,c(Q15617994)), (Q4334697,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q224
relation P530
action find
entity Q4334697
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with Croatia or are Berinjak present in
{'OR': [['Q224', 'P530', {'concept': 'Q15617994'}], ['Q4334697', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q224 property:P530 ?x } UNION { resource:Q4334697 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Italy Slovenia
Italy and Slovenia have diplomatic relationships with Croatia or are Berinjak present in
Italy Slovenia
action filter_type
action union
action find
entity Croatia
relation diplomatic relation
action find
entity Berinjak
relation country
type designation for an administrative territorial entity
{'OR': [['Croatia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Berinjak', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Croatia property:diplomatic_relation ?x } UNION { resource:Berinjak property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q215
P159
Q131257
USER
Which intellectual property has its HQ location at that administrative territory ?
(c(Q131257),P159,Q215)
action filter_type
action find_reverse
entity Q215
relation P159
type Q131257
[{'concept': 'Q131257'}, 'P159', 'Q215']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q131257 . ?a property:P159 resource:Q215 }
Slovenia
action filter_type
action find_reverse
entity Slovenia
relation headquarters location
type intellectual property
[{'concept': 'intellectual property'}, 'headquarters location', 'Slovenia']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:intellectual_property . ?a property:headquarters_location resource:Slovenia }
[]
intellectual property
Clarification for simple ques.
Q38
SYSTEM
Did you mean Italy ?
Q38 Q215
(c(Q131257),P159,Q38) (c(Q131257),P159,Q215)
[ANSWER]
[{'concept': 'Q131257'}, 'P159', 'Q38'] [{'concept': 'Q131257'}, 'P159', 'Q215']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q131257 . ?a property:P159 resource:Q215 }
Italy Slovenia
Did you mean Italy ?
Italy
[{'concept': 'intellectual property'}, 'headquarters location', 'Italy'] [{'concept': 'intellectual property'}, 'headquarters location', 'Slovenia']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:intellectual_property . ?a property:headquarters_location resource:Slovenia }
[]
Simple Question (Coreferenced)
USER
No, I meant Slovenia. Could you tell me the answer for that?
(c(Q131257),P159,Q215)
Q215
[{'concept': 'Q131257'}, 'P159', 'Q215']
[{'concept': 'intellectual property'}, 'headquarters location', 'Slovenia']
[]
Q1322238
SYSTEM
Radenska
Q1322238
(c(Q131257),P159,Q215)
action filter_type
action find_reverse
entity Q215
relation P159
type Q131257
[ANSWER] has its HQ location at that administrative territory
[{'concept': 'Q131257'}, 'P159', 'Q215']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q131257 . ?a property:P159 resource:Q215 }
Radenska
Radenska has its HQ location at that administrative territory
Radenska
action filter_type
action find_reverse
entity Slovenia
relation headquarters location
type intellectual property
[{'concept': 'intellectual property'}, 'headquarters location', 'Slovenia']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:intellectual_property . ?a property:headquarters_location resource:Slovenia }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1322238 Q6674317
P159
Q15617994
USER
Is Longstock Park the head office for Radenska located ?
(Q1322238,P159,Q6674317)
action is_in
entity Q6674317
action find
entity Q1322238
relation P159
['Q1322238', 'P159', 'Q6674317']
ASK WHERE { resource:Q1322238 property:P159 resource:Q6674317 }
Radenska Longstock Park
action is_in
entity Longstock Park
action find
entity Radenska
relation headquarters location
['Radenska', 'headquarters location', 'Longstock Park']
ASK WHERE { resource:Radenska property:headquarters_location resource:Longstock_Park }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1322238,P159,Q6674317)
action is_in
entity Q6674317
action find
entity Q1322238
relation P159
[ANSWER]
['Q1322238', 'P159', 'Q6674317']
ASK WHERE { resource:Q1322238 property:P159 resource:Q6674317 }
No
action is_in
entity Longstock Park
action find
entity Radenska
relation headquarters location
['Radenska', 'headquarters location', 'Longstock Park']
ASK WHERE { resource:Radenska property:headquarters_location resource:Longstock_Park }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q213
P27
Q502895
USER
How many people are a citizen of Italy and Czech Republic ?
(c(Q502895),P27,Q38) (c(Q502895),P27,Q213)
action count
action intersection
action filter_type
action find_reverse
entity Q38
relation P27
type Q502895
action filter_type
action find_reverse
entity Q213
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q38'] [{'concept': 'Q502895'}, 'P27', 'Q213']
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P27 resource:Q213 . ?m rdf:type ontology:Q502895 . ?m property:P27 resource:Q38 . ?m rdf:type ontology:Q502895 }
Italy Czech Republic
action count
action intersection
action filter_type
action find_reverse
entity Italy
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Czech Republic
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Italy'] [{'concept': 'common name'}, 'country of citizenship', 'Czech Republic']
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:country_of_citizenship resource:Czech_Republic . ?m rdf:type ontology:common_name . ?m property:country_of_citizenship resource:Italy . ?m rdf:type ontology:common_name }
[]
common name
SYSTEM
5
Q71819 Q6379091 Q621428 Q1670598 Q3179259
(c(Q502895),P27,Q38) (c(Q502895),P27,Q213)
action count
action intersection
action filter_type
action find_reverse
entity Q38
relation P27
type Q502895
action filter_type
action find_reverse
entity Q213
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q38'] [{'concept': 'Q502895'}, 'P27', 'Q213']
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P27 resource:Q213 . ?m rdf:type ontology:Q502895 . ?m property:P27 resource:Q38 . ?m rdf:type ontology:Q502895 }
Elisabeth Mann-Borgese Mario Cartelli Felicita Frai Ondřej Hotárek Jiří Kovář
5
action count
action intersection
action filter_type
action find_reverse
entity Italy
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Czech Republic
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Italy'] [{'concept': 'common name'}, 'country of citizenship', 'Czech Republic']
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:country_of_citizenship resource:Czech_Republic . ?m rdf:type ontology:common_name . ?m property:country_of_citizenship resource:Italy . ?m rdf:type ontology:common_name }
[]