Simple Question (Direct)
Simple Question
Q195499
P39
Q12737077
USER
Which occupation was a position occupied by Mireille Dumont ?
(Q195499,P39,c(Q12737077))
action filter_type
action find
entity Q195499
relation P39
type Q12737077
['Q195499', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q195499 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
Mireille Dumont
action filter_type
action find
entity Mireille Dumont
relation position held
type occupation
['Mireille Dumont', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Mireille_Dumont property:position_held ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q21032552
SYSTEM
Senator of the Fourth Republic
Q21032552
(Q195499,P39,c(Q12737077))
action filter_type
action find
entity Q195499
relation P39
type Q12737077
[ANSWER] was a position occupied by Mireille Dumont
['Q195499', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q195499 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
Senator of the Fourth Republic
Senator of the Fourth Republic was a position occupied by Mireille Dumont
Senator of the Fourth Republic
action filter_type
action find
entity Mireille Dumont
relation position held
type occupation
['Mireille Dumont', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Mireille_Dumont property:position_held ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21032552
P17
Q15617994
USER
Which administrative territory is that occupation present in ?
(Q21032552,P17,c(Q15617994))
action filter_type
action find
entity Q21032552
relation P17
type Q15617994
['Q21032552', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q21032552 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Senator of the Fourth Republic
action filter_type
action find
entity Senator of the Fourth Republic
relation country
type designation for an administrative territorial entity
['Senator of the Fourth Republic', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Senator_of_the_Fourth_Republic property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q21032552,P17,c(Q15617994))
action filter_type
action find
entity Q21032552
relation P17
type Q15617994
That occupation is [ANSWER]
['Q21032552', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q21032552 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
France
That occupation is France
France
action filter_type
action find
entity Senator of the Fourth Republic
relation country
type designation for an administrative territorial entity
['Senator of the Fourth Republic', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Senator_of_the_Fourth_Republic property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P123
Q2342494 Q166142
USER
How many collectables or applications were released by that administrative territory ?
(c(Q2342494),P123,Q142) (c(Q166142),P123,Q142) (c(Q2342494),P123,Q142) (c(Q166142),P123,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P123
type Q2342494
action filter_type
action find_reverse
entity Q142
relation P123
type Q166142
[{'concept': 'Q2342494'}, 'P123', 'Q142'] [{'concept': 'Q166142'}, 'P123', 'Q142'] [{'concept': 'Q2342494'}, 'P123', 'Q142'] [{'concept': 'Q166142'}, 'P123', 'Q142']
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { ?b rdf:type ontology:Q2342494 . ?b property:P123 resource:Q142 } UNION { ?b property:P123 resource:Q142 . ?b rdf:type ontology:Q166142 } }
action count
action union
action filter_type
action find_reverse
entity France
relation publisher
type collectable
action filter_type
action find_reverse
entity France
relation publisher
type application
[{'concept': 'collectable'}, 'publisher', 'France'] [{'concept': 'application'}, 'publisher', 'France'] [{'concept': 'collectable'}, 'publisher', 'France'] [{'concept': 'application'}, 'publisher', 'France']
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { ?b rdf:type ontology:collectable . ?b property:publisher resource:France } UNION { ?b property:publisher resource:France . ?b rdf:type ontology:application } }
[]
collectable application
SYSTEM
3
Q1165469 Q22338335 Q3038553
(c(Q2342494),P123,Q142) (c(Q166142),P123,Q142) (c(Q2342494),P123,Q142) (c(Q166142),P123,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P123
type Q2342494
action filter_type
action find_reverse
entity Q142
relation P123
type Q166142
[ANSWER]
[{'concept': 'Q2342494'}, 'P123', 'Q142'] [{'concept': 'Q166142'}, 'P123', 'Q142'] [{'concept': 'Q2342494'}, 'P123', 'Q142'] [{'concept': 'Q166142'}, 'P123', 'Q142']
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { ?b rdf:type ontology:Q2342494 . ?b property:P123 resource:Q142 } UNION { ?b property:P123 resource:Q142 . ?b rdf:type ontology:Q166142 } }
Post Mortem Recueil général des anciennes lois françaises, depuis l'an 420 jusqu'à la Révolution de 1789, Tome XIX Dracula: Origin
3
action count
action union
action filter_type
action find_reverse
entity France
relation publisher
type collectable
action filter_type
action find_reverse
entity France
relation publisher
type application
[{'concept': 'collectable'}, 'publisher', 'France'] [{'concept': 'application'}, 'publisher', 'France'] [{'concept': 'collectable'}, 'publisher', 'France'] [{'concept': 'application'}, 'publisher', 'France']
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { ?b rdf:type ontology:collectable . ?b property:publisher resource:France } UNION { ?b property:publisher resource:France . ?b rdf:type ontology:application } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with atmost 57 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 57
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?t ) WHERE { ?o property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?t <= 57 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 57
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?t ) WHERE { ?o property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?t <= 57 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
159
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 57
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?t ) WHERE { ?o property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?t <= 57 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
159
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 57
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?t ) WHERE { ?o property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?t <= 57 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q195499
P734
Q82799
USER
Who is associated with Mireille Dumont ?
(Q195499,P734,c(Q82799))
action filter_type
action find
entity Q195499
relation P734
type Q82799
['Q195499', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q195499 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Mireille Dumont
action filter_type
action find
entity Mireille Dumont
relation family name
type name
['Mireille Dumont', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Mireille_Dumont property:family_name ?l . ?l rdf:type ontology:name }
[]
name
Q16647357
SYSTEM
Dumont
Q16647357
(Q195499,P734,c(Q82799))
action filter_type
action find
entity Q195499
relation P734
type Q82799
De [ANSWER] is associated with Mireille [ANSWER]
['Q195499', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q195499 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Dumont
De Dumont is associated with Mireille Dumont
Dumont
action filter_type
action find
entity Mireille Dumont
relation family name
type name
['Mireille Dumont', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Mireille_Dumont property:family_name ?l . ?l rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1553096
Q82799
USER
And also tell me about Gudrun Holbe?
(Q1553096,P734,c(Q82799))
action filter_type
action find
entity Q1553096
relation P734
type Q82799
['Q1553096', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q1553096 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Gudrun Holbe
action filter_type
action find
entity Gudrun Holbe
relation family name
type name
['Gudrun Holbe', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Gudrun_Holbe property:family_name ?e . ?e rdf:type ontology:name }
[]
name
Q23636395
SYSTEM
Holbe
Q23636395
(Q1553096,P734,c(Q82799))
action filter_type
action find
entity Q1553096
relation P734
type Q82799
[ANSWER]
['Q1553096', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q1553096 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Holbe
Holbe
action filter_type
action find
entity Gudrun Holbe
relation family name
type name
['Gudrun Holbe', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Gudrun_Holbe property:family_name ?e . ?e rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q23636395 Q1553096
P734
Q502895
USER
Does Gudrun Holbe have that one as family name ?
(Q1553096,P734,Q23636395)
action is_in
entity Q23636395
action find
entity Q1553096
relation P734
['Q1553096', 'P734', 'Q23636395']
ASK WHERE { resource:Q1553096 property:P734 resource:Q23636395 }
Holbe Gudrun Holbe
action is_in
entity Holbe
action find
entity Gudrun Holbe
relation family name
['Gudrun Holbe', 'family name', 'Holbe']
ASK WHERE { resource:Gudrun_Holbe property:family_name resource:Holbe }
[]
common name
SYSTEM
YES
(Q1553096,P734,Q23636395)
action is_in
entity Q23636395
action find
entity Q1553096
relation P734
[ANSWER]
['Q1553096', 'P734', 'Q23636395']
ASK WHERE { resource:Q1553096 property:P734 resource:Q23636395 }
Yes
action is_in
entity Holbe
action find
entity Gudrun Holbe
relation family name
['Gudrun Holbe', 'family name', 'Holbe']
ASK WHERE { resource:Gudrun_Holbe property:family_name resource:Holbe }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2526132 Q1553096
P27
Q1048835
USER
Which political territories do Gudrun Holbe or Kolouei O'Brien belong to ?
OR((Q1553096,P27,c(Q1048835)), (Q2526132,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1553096
relation P27
action find
entity Q2526132
relation P27
type Q1048835
{'OR': [['Q1553096', 'P27', {'concept': 'Q1048835'}], ['Q2526132', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q1553096 property:P27 ?h } UNION { resource:Q2526132 property:P27 ?h } } . ?h rdf:type ontology:Q1048835 }
Kolouei O'Brien Gudrun Holbe
action filter_type
action union
action find
entity Gudrun Holbe
relation country of citizenship
action find
entity Kolouei O'Brien
relation country of citizenship
type political territorial entity
{'OR': [['Gudrun Holbe', 'country of citizenship', {'concept': 'political territorial entity'}], ["Kolouei O'Brien", 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Gudrun_Holbe property:country_of_citizenship ?h } UNION { resource:Kolouei_O'Brien property:country_of_citizenship ?h } } . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q183
SYSTEM
New Zealand, Germany
Q664 Q183
OR((Q1553096,P27,c(Q1048835)), (Q2526132,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1553096
relation P27
action find
entity Q2526132
relation P27
type Q1048835
Gudrun Holbe or Kolouei O'Brien belong to both [ANSWERS]
{'OR': [['Q1553096', 'P27', {'concept': 'Q1048835'}], ['Q2526132', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q1553096 property:P27 ?h } UNION { resource:Q2526132 property:P27 ?h } } . ?h rdf:type ontology:Q1048835 }
New Zealand Germany
Gudrun Holbe or Kolouei O'Brien belong to both New Zealand and Germany
New Zealand Germany
action filter_type
action union
action find
entity Gudrun Holbe
relation country of citizenship
action find
entity Kolouei O'Brien
relation country of citizenship
type political territorial entity
{'OR': [['Gudrun Holbe', 'country of citizenship', {'concept': 'political territorial entity'}], ["Kolouei O'Brien", 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Gudrun_Holbe property:country_of_citizenship ?h } UNION { resource:Kolouei_O'Brien property:country_of_citizenship ?h } } . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2526132
P19
Q107425
USER
Where was Kolouei O'Brien born ?
(Q664,P19,c(Q107425)) (Q183,P19,c(Q107425))
action filter_type
action find
entity Q2526132
relation P19
type Q107425
['Q664', 'P19', {'concept': 'Q107425'}] ['Q183', 'P19', {'concept': 'Q107425'}]
SELECT DISTINCT ?b WHERE { resource:Q2526132 property:P19 ?b . ?b rdf:type ontology:Q107425 }
Kolouei O'Brien
action filter_type
action find
entity Kolouei O'Brien
relation place of birth
type landscape
['New Zealand', 'place of birth', {'concept': 'landscape'}] ['Germany', 'place of birth', {'concept': 'landscape'}]
SELECT DISTINCT ?b WHERE { resource:Kolouei_O'Brien property:place_of_birth ?b . ?b rdf:type ontology:landscape }
[]
landscape
Q650847
SYSTEM
Fakaofo
Q650847
(Q664,P19,c(Q107425)) (Q183,P19,c(Q107425))
action filter_type
action find
entity Q2526132
relation P19
type Q107425
Kolouei O'Brien was born in [ANSWER]
['Q664', 'P19', {'concept': 'Q107425'}] ['Q183', 'P19', {'concept': 'Q107425'}]
SELECT DISTINCT ?b WHERE { resource:Q2526132 property:P19 ?b . ?b rdf:type ontology:Q107425 }
Fakaofo
Kolouei O'Brien was born in Fakaofo
Fakaofo
action filter_type
action find
entity Kolouei O'Brien
relation place of birth
type landscape
['New Zealand', 'place of birth', {'concept': 'landscape'}] ['Germany', 'place of birth', {'concept': 'landscape'}]
SELECT DISTINCT ?b WHERE { resource:Kolouei_O'Brien property:place_of_birth ?b . ?b rdf:type ontology:landscape }
[]