Simple Question (Direct)
Simple Question
Q1792243
P106
Q12737077
USER
Which occupation has Otto Graf as his/her 's career ?
(Q1792243,P106,c(Q12737077))
action filter_type
action find
entity Q1792243
relation P106
type Q12737077
['Q1792243', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q1792243 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Otto Graf
action filter_type
action find
entity Otto Graf
relation occupation
type occupation
['Otto Graf', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Otto_Graf property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1792243,P106,c(Q12737077))
action filter_type
action find
entity Q1792243
relation P106
type Q12737077
The [ANSWER] has Otto Graf as his/her 's career
['Q1792243', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q1792243 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
politician
The politician has Otto Graf as his/her 's career
politician
action filter_type
action find
entity Otto Graf
relation occupation
type occupation
['Otto Graf', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Otto_Graf property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1792243
P607
Q198
USER
Which war did that person take part in ?
(Q82955,P607,c(Q198))
action filter_type
action find
entity Q1792243
relation P607
type Q198
['Q82955', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?o WHERE { resource:Q1792243 property:P607 ?o . ?o rdf:type ontology:Q198 }
Otto Graf
action filter_type
action find
entity Otto Graf
relation conflict
type war
['politician', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?o WHERE { resource:Otto_Graf property:conflict ?o . ?o rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q82955,P607,c(Q198))
action filter_type
action find
entity Q1792243
relation P607
type Q198
That person took part in [ANSWER]
['Q82955', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?o WHERE { resource:Q1792243 property:P607 ?o . ?o rdf:type ontology:Q198 }
World War I
That person took part in World War I
World War I
action filter_type
action find
entity Otto Graf
relation conflict
type war
['politician', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?o WHERE { resource:Otto_Graf property:conflict ?o . ?o rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q361
P361
Q198
USER
Which war is a component of that one ?
(c(Q198),P361,Q361)
action filter_type
action find_reverse
entity Q361
relation P361
type Q198
[{'concept': 'Q198'}, 'P361', 'Q361']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q198 . ?x property:P361 resource:Q361 }
World War I
action filter_type
action find_reverse
entity World War I
relation part of
type war
[{'concept': 'war'}, 'part of', 'World War I']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:war . ?x property:part_of resource:World_War_I }
[]
war
Q211855
SYSTEM
Finnish Civil War
Q211855
(c(Q198),P361,Q361)
action filter_type
action find_reverse
entity Q361
relation P361
type Q198
The [ANSWER] is a component of that one
[{'concept': 'Q198'}, 'P361', 'Q361']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q198 . ?x property:P361 resource:Q361 }
Finnish Civil War
The Finnish Civil War is a component of that one
Finnish Civil War
action filter_type
action find_reverse
entity World War I
relation part of
type war
[{'concept': 'war'}, 'part of', 'World War I']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:war . ?x property:part_of resource:World_War_I }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q211855 Q6086414
P361
Q198
USER
Is Finnish Civil War a part of first war between Unitarians and Federalists in the Argentine Civil Wars ?
(Q211855,P361,Q6086414)
action is_in
entity Q6086414
action find
entity Q211855
relation P361
['Q211855', 'P361', 'Q6086414']
ASK WHERE { resource:Q211855 property:P361 resource:Q6086414 }
Finnish Civil War first war between Unitarians and Federalists in the Argentine Civil Wars
action is_in
entity first war between Unitarians and Federalists in the Argentine Civil Wars
action find
entity Finnish Civil War
relation part of
['Finnish Civil War', 'part of', 'first war between Unitarians and Federalists in the Argentine Civil Wars']
ASK WHERE { resource:Finnish_Civil_War property:part_of resource:first_war_between_Unitarians_and_Federalists_in_the_Argentine_Civil_Wars }
[]
war
SYSTEM
NO
(Q211855,P361,Q6086414)
action is_in
entity Q6086414
action find
entity Q211855
relation P361
[ANSWER]
['Q211855', 'P361', 'Q6086414']
ASK WHERE { resource:Q211855 property:P361 resource:Q6086414 }
No
action is_in
entity first war between Unitarians and Federalists in the Argentine Civil Wars
action find
entity Finnish Civil War
relation part of
['Finnish Civil War', 'part of', 'first war between Unitarians and Federalists in the Argentine Civil Wars']
ASK WHERE { resource:Finnish_Civil_War property:part_of resource:first_war_between_Unitarians_and_Federalists_in_the_Argentine_Civil_Wars }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1792243 Q1645908 Q183
P27
Q1048835
USER
Is Otto Graf a native of San Román de Cameros and Germany ?
(Q1792243,P27,Q1645908) (Q1792243,P27,Q183)
action is_in
entity Q1792243
action intersection
action find_reverse
entity Q1645908
relation P27
action find_reverse
entity Q183
relation P27
['Q1792243', 'P27', 'Q1645908'] ['Q1792243', 'P27', 'Q183']
ASK WHERE { resource:Q1792243 property:P27 resource:Q1645908 . resource:Q1792243 property:P27 resource:Q183 }
Otto Graf San Román de Cameros Germany
action is_in
entity Otto Graf
action intersection
action find_reverse
entity San Román de Cameros
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Otto Graf', 'country of citizenship', 'San Román de Cameros'] ['Otto Graf', 'country of citizenship', 'Germany']
ASK WHERE { resource:Otto_Graf property:country_of_citizenship resource:San_Román_de_Cameros . resource:Otto_Graf property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q1792243,P27,Q1645908) (Q1792243,P27,Q183)
action is_in
entity Q1792243
action intersection
action find_reverse
entity Q1645908
relation P27
action find_reverse
entity Q183
relation P27
[ANSWER]
['Q1792243', 'P27', 'Q1645908'] ['Q1792243', 'P27', 'Q183']
ASK WHERE { resource:Q1792243 property:P27 resource:Q1645908 . resource:Q1792243 property:P27 resource:Q183 }
NO and YES respectively
action is_in
entity Otto Graf
action intersection
action find_reverse
entity San Román de Cameros
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Otto Graf', 'country of citizenship', 'San Román de Cameros'] ['Otto Graf', 'country of citizenship', 'Germany']
ASK WHERE { resource:Otto_Graf property:country_of_citizenship resource:San_Román_de_Cameros . resource:Otto_Graf property:country_of_citizenship resource:Germany }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q361 Q16911838
P361
Q178561
USER
How many battles are a portion of World War I or Libyan civil war ?
(c(Q178561),P361,Q361) (c(Q178561),P361,Q16911838)
action count
action union
action filter_type
action find_reverse
entity Q361
relation P361
type Q178561
action filter_type
action find_reverse
entity Q16911838
relation P361
type Q178561
[{'concept': 'Q178561'}, 'P361', 'Q361'] [{'concept': 'Q178561'}, 'P361', 'Q16911838']
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { ?w property:P361 resource:Q361 . ?w rdf:type ontology:Q178561 } UNION { ?w rdf:type ontology:Q178561 . ?w property:P361 resource:Q16911838 } }
World War I Libyan civil war
action count
action union
action filter_type
action find_reverse
entity World War I
relation part of
type battle
action filter_type
action find_reverse
entity Libyan civil war
relation part of
type battle
[{'concept': 'battle'}, 'part of', 'World War I'] [{'concept': 'battle'}, 'part of', 'Libyan civil war']
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { ?w property:part_of resource:World_War_I . ?w rdf:type ontology:battle } UNION { ?w rdf:type ontology:battle . ?w property:part_of resource:Libyan_civil_war } }
[]
battle
SYSTEM
20
Q4677411 Q871617 Q700864 Q1778176 Q702255 Q677660 Q2053006 Q2237192 Q4871836 Q15076387 Q2657479 Q156554 Q73194 Q1034037 Q2013772 Q263245 Q160011 Q4677371 Q766015 Q3090819
(c(Q178561),P361,Q361) (c(Q178561),P361,Q16911838)
action count
action union
action filter_type
action find_reverse
entity Q361
relation P361
type Q178561
action filter_type
action find_reverse
entity Q16911838
relation P361
type Q178561
[ANSWER]
[{'concept': 'Q178561'}, 'P361', 'Q361'] [{'concept': 'Q178561'}, 'P361', 'Q16911838']
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { ?w property:P361 resource:Q361 . ?w rdf:type ontology:Q178561 } UNION { ?w rdf:type ontology:Q178561 . ?w property:P361 resource:Q16911838 } }
Action off Lerwick Operation Albion Zeebrugge Raid Battle of Antivari Battle of the Gulf of Riga Battle of Heligoland Bight (1914) pursuit of Goeben and Breslau Battle of Moon Sound Battle of Más a Tierra Skirmish at Joncherey raid on Scarborough, Hartlepool and Whitby Battle of Jutland Battle of Dogger Bank Battle of the Strait of Otranto Battle of Dogger Bank Bombardment of Yarmouth and Lowestoft Battle of the Falkland Islands Action of 4 May 1917 Battle of Dover Strait Battle of Dover Strait
20
action count
action union
action filter_type
action find_reverse
entity World War I
relation part of
type battle
action filter_type
action find_reverse
entity Libyan civil war
relation part of
type battle
[{'concept': 'battle'}, 'part of', 'World War I'] [{'concept': 'battle'}, 'part of', 'Libyan civil war']
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { ?w property:part_of resource:World_War_I . ?w rdf:type ontology:battle } UNION { ?w rdf:type ontology:battle . ?w property:part_of resource:Libyan_civil_war } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q1307214 Q502895 Q12737077
USER
Which occupations are appointed by around 1 forms of government and people ?
(c(Q12737077),P748,c(Q1307214)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q502895
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?r WHERE { { ?r property:P748 ?p . ?r rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q1307214 } UNION { ?r property:P748 ?p . ?r rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q502895 } } GROUP BY ?r } . FILTER ( ?z = 1 ) }
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type common name
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'common name'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?r WHERE { { ?r property:appointed_by ?p . ?r rdf:type ontology:occupation . ?p rdf:type ontology:form_of_government } UNION { ?r property:appointed_by ?p . ?r rdf:type ontology:occupation . ?p rdf:type ontology:common_name } } GROUP BY ?r } . FILTER ( ?z = 1 ) }
[]
form of government common name occupation
Q25860233 Q3246797 Q14984399
SYSTEM
Secretary of State for Exiting the European Union, Secretary of State for Transport, Secretary of State for Environment, Food and Rural Affairs
Q1846384 Q1355456 Q2631987 Q1507619 Q14984399 Q910308 Q1753754 Q2484309 Q2012061 Q7444357 Q7444352 Q943379 Q3246797 Q1371091 Q3315116 Q3477307 Q1369302 Q835586 Q531471 Q2636053 Q464103 Q3858507 Q1124265 Q3477306 Q866756 Q583809 Q565424 Q862559 Q182762 Q2962001 Q1060844 Q3397406 Q691615 Q152814 Q213107 Q195965 Q1975365 Q609884 Q1123764 Q7240368 Q3297079 Q6865995 Q3315134 Q162754 Q217217 Q3777749 Q111784 Q1362216 Q1281611 Q1752225 Q687908 Q25860233
(c(Q12737077),P748,c(Q1307214)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q502895
value 1
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?r WHERE { { ?r property:P748 ?p . ?r rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q1307214 } UNION { ?r property:P748 ?p . ?r rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q502895 } } GROUP BY ?r } . FILTER ( ?z = 1 ) }
Secretary of State for Wales Lord Chamberlain Attorney General for England and Wales Deputy Prime Minister of the United Kingdom Secretary of State for Environment, Food and Rural Affairs Lord Privy Seal Master of the Rolls Secretary of State for the Home Department Leader of the House of Lords Secretary of State for Work and Pensions Secretary of State for International Development Lord President of the Council Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service Secretary of State for Justice Secretary of State for Northern Ireland Prime Minister of Serbia Chancellor of the Exchequer Leader of the House of Commons Speaker of the House of Commons Secretary of State for Business, Energy and Industrial Strategy List of Presidents of the Basque Autonomous Community Secretary of State for Education Prime Minister of Singapore Solicitor General for England and Wales Prime Minister of the Bahamas Prime Minister of Malaysia Prime Minister of Algeria Chief of the Defence Staff Paymaster General Secretary of State for Health Governor of the Virgin Islands Prime Minister of Malta Prime Minister of Belgium Governor of Gibraltar Prime Minister of Georgia First Lord of the Treasury Prime Minister of Armenia Premier of the Northwest Territories Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Minister for Women and Equalities Chancellor of the Duchy of Lancaster Lord Chancellor Attorney General of Ireland Secretary of State for Scotland First Minister of Scotland Lieutenant Governor of Jersey Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Secretary of State for Exiting the European Union
Secretary of State for exiting the European Union, Secretary of State for Transport and Secretary of State for Environment, Food and Rural Affairs are appointed by around 1 forms of government and people
Secretary of State for Exiting the European Union Secretary of State for Transport Secretary of State for Environment, Food and Rural Affairs
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type common name
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'common name'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?r WHERE { { ?r property:appointed_by ?p . ?r rdf:type ontology:occupation . ?p rdf:type ontology:form_of_government } UNION { ?r property:appointed_by ?p . ?r rdf:type ontology:occupation . ?p rdf:type ontology:common_name } } GROUP BY ?r } . FILTER ( ?z = 1 ) }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19039311
Q1048835
USER
And also tell me about An account of a voyage to establish a colony at Port Philip in Bass's Strait on the south coast of New South Wales?
(Q19039311,P921,c(Q1048835))
action filter_type
action find
entity Q19039311
relation P921
type Q1048835
['Q19039311', 'P921', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q19039311 property:P921 ?q }
An account of a voyage to establish a colony at Port Philip in Bass's Strait on the south coast of New South Wales
action filter_type
action find
entity An account of a voyage to establish a colony at Port Philip in Bass's Strait on the south coast of New South Wales
relation main subject
type political territorial entity
["An account of a voyage to establish a colony at Port Philip in Bass's Strait on the south coast of New South Wales", 'main subject', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:An_account_of_a_voyage_to_establish_a_colony_at_Port_Philip_in_Bass's_Strait_on_the_south_coast_of_New_South_Wales property:main_subject ?q }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q19039311,P921,c(Q1048835))
action filter_type
action find
entity Q19039311
relation P921
type Q1048835
[ANSWER]
['Q19039311', 'P921', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q19039311 property:P921 ?q }
Australia
Australia
action filter_type
action find
entity An account of a voyage to establish a colony at Port Philip in Bass's Strait on the south coast of New South Wales
relation main subject
type political territorial entity
["An account of a voyage to establish a colony at Port Philip in Bass's Strait on the south coast of New South Wales", 'main subject', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:An_account_of_a_voyage_to_establish_a_colony_at_Port_Philip_in_Bass's_Strait_on_the_south_coast_of_New_South_Wales property:main_subject ?q }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q408 Q23681
P27
Q502895
USER
How many people are a citizen of Australia and Turkish Republic of Northern Cyprus ?
(c(Q502895),P27,Q408) (c(Q502895),P27,Q23681)
action count
action intersection
action filter_type
action find_reverse
entity Q408
relation P27
type Q502895
action filter_type
action find_reverse
entity Q23681
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q408'] [{'concept': 'Q502895'}, 'P27', 'Q23681']
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:P27 resource:Q408 . ?o rdf:type ontology:Q502895 . ?o rdf:type ontology:Q502895 . ?o property:P27 resource:Q23681 }
Australia Turkish Republic of Northern Cyprus
action count
action intersection
action filter_type
action find_reverse
entity Australia
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Turkish Republic of Northern Cyprus
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Australia'] [{'concept': 'common name'}, 'country of citizenship', 'Turkish Republic of Northern Cyprus']
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:country_of_citizenship resource:Australia . ?o rdf:type ontology:common_name . ?o rdf:type ontology:common_name . ?o property:country_of_citizenship resource:Turkish_Republic_of_Northern_Cyprus }
[]
common name
SYSTEM
4
Q744024 Q16016387 Q2947963 Q16215600
(c(Q502895),P27,Q408) (c(Q502895),P27,Q23681)
action count
action intersection
action filter_type
action find_reverse
entity Q408
relation P27
type Q502895
action filter_type
action find_reverse
entity Q23681
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q408'] [{'concept': 'Q502895'}, 'P27', 'Q23681']
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:P27 resource:Q408 . ?o rdf:type ontology:Q502895 . ?o rdf:type ontology:Q502895 . ?o property:P27 resource:Q23681 }
Levent Osman Mutlu Çerkez Aziz Behich Ismail Tosun
4
action count
action intersection
action filter_type
action find_reverse
entity Australia
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Turkish Republic of Northern Cyprus
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Australia'] [{'concept': 'common name'}, 'country of citizenship', 'Turkish Republic of Northern Cyprus']
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:country_of_citizenship resource:Australia . ?o rdf:type ontology:common_name . ?o rdf:type ontology:common_name . ?o property:country_of_citizenship resource:Turkish_Republic_of_Northern_Cyprus }
[]