Simple Question (Direct)
Simple Question
Q1874520
P21
Q290
USER
What is the sex of Ludwig Heinrich Nordmann ?
(Q1874520,P21,c(Q290))
action filter_type
action find
entity Q1874520
relation P21
type Q290
['Q1874520', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q1874520 property:P21 ?z }
Ludwig Heinrich Nordmann
action filter_type
action find
entity Ludwig Heinrich Nordmann
relation gender
type sex
['Ludwig Heinrich Nordmann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Ludwig_Heinrich_Nordmann property:gender ?z }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1874520,P21,c(Q290))
action filter_type
action find
entity Q1874520
relation P21
type Q290
The sex of Ludwig Heinrich Nordmann is a [ANSWER]
['Q1874520', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q1874520 property:P21 ?z }
male
The sex of Ludwig Heinrich Nordmann is a male
male
action filter_type
action find
entity Ludwig Heinrich Nordmann
relation gender
type sex
['Ludwig Heinrich Nordmann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Ludwig_Heinrich_Nordmann property:gender ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1874520
P106
Q151885
USER
Which concept is the profession of Ludwig Heinrich Nordmann ?
(Q1874520,P106,c(Q151885))
action filter_type
action find
entity Q1874520
relation P106
type Q151885
['Q1874520', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q151885 . resource:Q1874520 property:P106 ?e }
Ludwig Heinrich Nordmann
action filter_type
action find
entity Ludwig Heinrich Nordmann
relation occupation
type concept
['Ludwig Heinrich Nordmann', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:concept . resource:Ludwig_Heinrich_Nordmann property:occupation ?e }
[]
concept
Q482980
SYSTEM
author
Q482980
(Q1874520,P106,c(Q151885))
action filter_type
action find
entity Q1874520
relation P106
type Q151885
The [ANSWER] is the profession of Ludwig Heinrich Nordmann
['Q1874520', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q151885 . resource:Q1874520 property:P106 ?e }
author
The author is the profession of Ludwig Heinrich Nordmann
author
action filter_type
action find
entity Ludwig Heinrich Nordmann
relation occupation
type concept
['Ludwig Heinrich Nordmann', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:concept . resource:Ludwig_Heinrich_Nordmann property:occupation ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1874520
P27
Q1048835
USER
Which political territory is that person an inhabitant of ?
(Q482980,P27,c(Q1048835))
action filter_type
action find
entity Q1874520
relation P27
type Q1048835
['Q482980', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q1874520 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Ludwig Heinrich Nordmann
action filter_type
action find
entity Ludwig Heinrich Nordmann
relation country of citizenship
type political territorial entity
['author', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Ludwig_Heinrich_Nordmann property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q482980,P27,c(Q1048835))
action filter_type
action find
entity Q1874520
relation P27
type Q1048835
[ANSWER] is that person an inhabitant of
['Q482980', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q1874520 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Germany
Germany is that person an inhabitant of
Germany
action filter_type
action find
entity Ludwig Heinrich Nordmann
relation country of citizenship
type political territorial entity
['author', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Ludwig_Heinrich_Nordmann property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
How many political territories have diplomatic relationships with around 2 political territories ?
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 2
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?d ) WHERE { ?x property:P530 ?a . ?x rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q1048835 } GROUP BY ?x } . FILTER ( ?d = 2 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 2
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?d ) WHERE { ?x property:diplomatic_relation ?a . ?x rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?x } . FILTER ( ?d = 2 ) }
[]
political territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 2
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?d ) WHERE { ?x property:P530 ?a . ?x rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q1048835 } GROUP BY ?x } . FILTER ( ?d = 2 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 2
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?d ) WHERE { ?x property:diplomatic_relation ?a . ?x rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?x } . FILTER ( ?d = 2 ) }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q1089651 Q183
P530 P495
Q15617994
USER
Which administrative territories holds diplomatic relationship with Germany and are not the countries of origin of Ten Paciencia ?
AND((Q183,P530,c(Q15617994)), NOT((Q1089651,P495,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q1089651
relation P495
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q1089651', 'P495', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?o WHERE { FILTER NOT EXISTS { resource:Q1089651 property:P495 ?o } . resource:Q183 property:P530 ?o . ?o rdf:type ontology:Q15617994 }
Ten Paciencia Germany
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Ten Paciencia
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Ten Paciencia', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?o WHERE { FILTER NOT EXISTS { resource:Ten_Paciencia property:country_of_origin ?o } . resource:Germany property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q215 Q794 Q347 Q403 Q298 Q843 Q668 Q189 Q774 Q214
SYSTEM
Some of them are Slovenia, Iran, Liechtenstein, Serbia, Chile, Pakistan, India, Iceland, Guatemala, Slovakia
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
AND((Q183,P530,c(Q15617994)), NOT((Q1089651,P495,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q1089651
relation P495
type Q15617994
[ANSWERS] hold diplomatic relationship with Germany and are not the countries of origin of Ten Paciencia
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q1089651', 'P495', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?o WHERE { FILTER NOT EXISTS { resource:Q1089651 property:P495 ?o } . resource:Q183 property:P530 ?o . ?o rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Slovenia, Iran, Liechtenstein, Serbia, Chile, Pakistan, India, Iceland, Guatemala and Slovakia hold diplomatic relationship with Germany and are not the countries of origin of Ten Paciencia
Slovenia Iran Liechtenstein Serbia Chile Pakistan India Iceland Guatemala Slovakia
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Ten Paciencia
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Ten Paciencia', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?o WHERE { FILTER NOT EXISTS { resource:Ten_Paciencia property:country_of_origin ?o } . resource:Germany property:diplomatic_relation ?o . ?o 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 holds diplomatic relationship with atleast 53 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 53
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?c ) WHERE { ?a property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1048835 } GROUP BY ?a } . FILTER ( ?c >= 53 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 53
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?c ) WHERE { ?a property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?a } . FILTER ( ?c >= 53 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 53
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?c ) WHERE { ?a property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1048835 } GROUP BY ?a } . FILTER ( ?c >= 53 ) }
Germany Australia
2
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 53
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?c ) WHERE { ?a property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?a } . FILTER ( ?c >= 53 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1089651
P264
Q334453
USER
Which division is the record brand of Ten Paciencia ?
(Q1089651,P264,c(Q334453))
action filter_type
action find
entity Q1089651
relation P264
type Q334453
['Q1089651', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?l WHERE { resource:Q1089651 property:P264 ?l . ?l rdf:type ontology:Q334453 }
Ten Paciencia
action filter_type
action find
entity Ten Paciencia
relation record label
type division
['Ten Paciencia', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?l WHERE { resource:Ten_Paciencia property:record_label ?l . ?l rdf:type ontology:division }
[]
division
Q3298975
SYSTEM
EMI Latin
Q3298975
(Q1089651,P264,c(Q334453))
action filter_type
action find
entity Q1089651
relation P264
type Q334453
The [ANSWER] is the record brand of Ten Paciencia
['Q1089651', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?l WHERE { resource:Q1089651 property:P264 ?l . ?l rdf:type ontology:Q334453 }
EMI Latin
The EMI Latin is the record brand of Ten Paciencia
EMI Latin
action filter_type
action find
entity Ten Paciencia
relation record label
type division
['Ten Paciencia', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?l WHERE { resource:Ten_Paciencia property:record_label ?l . ?l rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3298975
P750
Q838948
USER
Which work of art is that division a distributor of ?
(c(Q838948),P750,Q3298975)
action filter_type
action find_reverse
entity Q3298975
relation P750
type Q838948
[{'concept': 'Q838948'}, 'P750', 'Q3298975']
SELECT DISTINCT ?n WHERE { ?n property:P750 resource:Q3298975 . ?n rdf:type ontology:Q838948 }
EMI Latin
action filter_type
action find_reverse
entity EMI Latin
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'EMI Latin']
SELECT DISTINCT ?n WHERE { ?n property:distributor resource:EMI_Latin . ?n rdf:type ontology:work_of_art }
[]
work of art
Q7447823
SYSTEM
Selena: Greatest Hits
Q7447823
(c(Q838948),P750,Q3298975)
action filter_type
action find_reverse
entity Q3298975
relation P750
type Q838948
[ANSWER] is that division a distributor of
[{'concept': 'Q838948'}, 'P750', 'Q3298975']
SELECT DISTINCT ?n WHERE { ?n property:P750 resource:Q3298975 . ?n rdf:type ontology:Q838948 }
Selena: Greatest Hits
Selena: Greatest Hits is that division a distributor of
Selena: Greatest Hits
action filter_type
action find_reverse
entity EMI Latin
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'EMI Latin']
SELECT DISTINCT ?n WHERE { ?n property:distributor resource:EMI_Latin . ?n rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7447823
P840
Q852446
USER
Which narrative location is that work of art set in ?
(Q7447823,P840,c(Q852446))
action filter_type
action find
entity Q7447823
relation P840
type Q852446
['Q7447823', 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q852446 . resource:Q7447823 property:P840 ?o }
Selena: Greatest Hits
action filter_type
action find
entity Selena: Greatest Hits
relation narrative location
type administrative territorial entity of the United States
['Selena: Greatest Hits', 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Selena:_Greatest_Hits property:narrative_location ?o }
[]
administrative territorial entity of the United States
Q99
SYSTEM
California
Q99
(Q7447823,P840,c(Q852446))
action filter_type
action find
entity Q7447823
relation P840
type Q852446
That work of art is set in [ANSWER]
['Q7447823', 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q852446 . resource:Q7447823 property:P840 ?o }
California
That work of art is set in California
California
action filter_type
action find
entity Selena: Greatest Hits
relation narrative location
type administrative territorial entity of the United States
['Selena: Greatest Hits', 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Selena:_Greatest_Hits property:narrative_location ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5274739
P19
Q1048835
USER
Which political territory was Diego Martins born at ?
(Q5274739,P19,c(Q1048835))
action filter_type
action find
entity Q5274739
relation P19
type Q1048835
['Q5274739', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1048835 . resource:Q5274739 property:P19 ?o }
Diego Martins
action filter_type
action find
entity Diego Martins
relation place of birth
type political territorial entity
['Diego Martins', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_territorial_entity . resource:Diego_Martins property:place_of_birth ?o }
[]
political territorial entity
Q1806864
SYSTEM
Porangatu
Q1806864
(Q5274739,P19,c(Q1048835))
action filter_type
action find
entity Q5274739
relation P19
type Q1048835
Diego Martins was born in [ANSWER]
['Q5274739', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1048835 . resource:Q5274739 property:P19 ?o }
Porangatu
Diego Martins was born in Porangatu
Porangatu
action filter_type
action find
entity Diego Martins
relation place of birth
type political territorial entity
['Diego Martins', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_territorial_entity . resource:Diego_Martins property:place_of_birth ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that political territory located in ?
(Q1806864,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1806864
relation P17
type Q15617994
['Q1806864', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { resource:Q1806864 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Porangatu
relation country
type designation for an administrative territorial entity
['Porangatu', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { resource:Porangatu property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q155
(Q1806864,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1806864
relation P17
type Q15617994
[ANSWER]
['Q1806864', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { resource:Q1806864 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Brazil
1
action count
action filter_type
action find
entity Porangatu
relation country
type designation for an administrative territorial entity
['Porangatu', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { resource:Porangatu property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q99
P30
Q2221906
USER
Where is California situated ?
(Q99,P30,c(Q2221906))
action filter_type
action find
entity Q99
relation P30
type Q2221906
['Q99', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2221906 . resource:Q99 property:P30 ?r }
California
action filter_type
action find
entity California
relation continent
type geographic location
['California', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:geographic_location . resource:California property:continent ?r }
[]
geographic location
Q49
SYSTEM
North America
Q49
(Q99,P30,c(Q2221906))
action filter_type
action find
entity Q99
relation P30
type Q2221906
California is situated in [ANSWER]
['Q99', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2221906 . resource:Q99 property:P30 ?r }
North America
California is situated in North America
North America
action filter_type
action find
entity California
relation continent
type geographic location
['California', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:geographic_location . resource:California property:continent ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q99
P37
Q34770
USER
What is the official language of California ?
(Q99,P37,c(Q34770))
action filter_type
action find
entity Q99
relation P37
type Q34770
['Q99', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q99 property:P37 ?j . ?j rdf:type ontology:Q34770 }
California
action filter_type
action find
entity California
relation official language
type language
['California', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:California property:official_language ?j . ?j rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q99,P37,c(Q34770))
action filter_type
action find
entity Q99
relation P37
type Q34770
The official language of California is the [ANSWER]
['Q99', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q99 property:P37 ?j . ?j rdf:type ontology:Q34770 }
English
The official language of California is the English
English
action filter_type
action find
entity California
relation official language
type language
['California', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:California property:official_language ?j . ?j rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1194329
Q34770
USER
And how about Nova Roma?
(Q1194329,P37,c(Q34770))
action filter_type
action find
entity Q1194329
relation P37
type Q34770
['Q1194329', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q1194329 property:P37 ?q }
Nova Roma
action filter_type
action find
entity Nova Roma
relation official language
type language
['Nova Roma', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Nova_Roma property:official_language ?q }
[]
language
Q397 Q1860
SYSTEM
Latin, English
Q397 Q1860
(Q1194329,P37,c(Q34770))
action filter_type
action find
entity Q1194329
relation P37
type Q34770
[ANSWERS]
['Q1194329', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q1194329 property:P37 ?q }
Latin English
Latin English
action filter_type
action find
entity Nova Roma
relation official language
type language
['Nova Roma', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Nova_Roma property:official_language ?q }
[]