Simple Question (Direct)
Simple Question
Q3426371
P106
Q12737077
USER
What are the job of René Homier-Roy ?
(Q3426371,P106,c(Q12737077))
action filter_type
action find
entity Q3426371
relation P106
type Q12737077
['Q3426371', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . resource:Q3426371 property:P106 ?w }
René Homier-Roy
action filter_type
action find
entity René Homier-Roy
relation occupation
type occupation
['René Homier-Roy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . resource:René_Homier-Roy property:occupation ?w }
[]
occupation
Q1930187 Q947873 Q1086863
SYSTEM
journalist, television presenter, columnist
Q1930187 Q1086863 Q15809665 Q2722764 Q947873
(Q3426371,P106,c(Q12737077))
action filter_type
action find
entity Q3426371
relation P106
type Q12737077
The job of René Homier-Roy are a [ANSWERS]
['Q3426371', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . resource:Q3426371 property:P106 ?w }
journalist columnist film critic radio personality television presenter
The job of René Homier-Roy are a journalist, television presenter and columnist
journalist television presenter columnist
action filter_type
action find
entity René Homier-Roy
relation occupation
type occupation
['René Homier-Roy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . resource:René_Homier-Roy property:occupation ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3426371
P1412
Q34770
USER
Which language can René Homier-Roy read ?
(Q3426371,P1412,c(Q34770))
action filter_type
action find
entity Q3426371
relation P1412
type Q34770
['Q3426371', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q3426371 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
René Homier-Roy
action filter_type
action find
entity René Homier-Roy
relation languages spoken, written or signed
type language
['René Homier-Roy', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:René_Homier-Roy property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3426371,P1412,c(Q34770))
action filter_type
action find
entity Q3426371
relation P1412
type Q34770
René Homier-Roy can read in [ANSWER]
['Q3426371', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q3426371 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
English
René Homier-Roy can read in English
English
action filter_type
action find
entity René Homier-Roy
relation languages spoken, written or signed
type language
['René Homier-Roy', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:René_Homier-Roy property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1538053
Q34770
USER
And how about Gordon MacDonald?
(Q1538053,P1412,c(Q34770))
action filter_type
action find
entity Q1538053
relation P1412
type Q34770
['Q1538053', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q1538053 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Gordon MacDonald
action filter_type
action find
entity Gordon MacDonald
relation languages spoken, written or signed
type language
['Gordon MacDonald', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Gordon_MacDonald property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1538053,P1412,c(Q34770))
action filter_type
action find
entity Q1538053
relation P1412
type Q34770
[ANSWER]
['Q1538053', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q1538053 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Gordon MacDonald
relation languages spoken, written or signed
type language
['Gordon MacDonald', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Gordon_MacDonald property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1860 Q4367180 Q1800152
P361
Q5962346
USER
Is English a portion of Hrabri-class submarine and Lafayette-class submarine ?
(Q1860,P361,Q4367180) (Q1860,P361,Q1800152)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q4367180
relation P361
action find_reverse
entity Q1800152
relation P361
['Q1860', 'P361', 'Q4367180'] ['Q1860', 'P361', 'Q1800152']
ASK WHERE { resource:Q1860 property:P361 resource:Q1800152 . resource:Q1860 property:P361 resource:Q4367180 }
English Hrabri-class submarine Lafayette-class submarine
action is_in
entity English
action intersection
action find_reverse
entity Hrabri-class submarine
relation part of
action find_reverse
entity Lafayette-class submarine
relation part of
['English', 'part of', 'Hrabri-class submarine'] ['English', 'part of', 'Lafayette-class submarine']
ASK WHERE { resource:English property:part_of resource:Lafayette-class_submarine . resource:English property:part_of resource:Hrabri-class_submarine }
[]
classification scheme
SYSTEM
NO
(Q1860,P361,Q4367180) (Q1860,P361,Q1800152)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q4367180
relation P361
action find_reverse
entity Q1800152
relation P361
[ANSWER]
['Q1860', 'P361', 'Q4367180'] ['Q1860', 'P361', 'Q1800152']
ASK WHERE { resource:Q1860 property:P361 resource:Q1800152 . resource:Q1860 property:P361 resource:Q4367180 }
No
action is_in
entity English
action intersection
action find_reverse
entity Hrabri-class submarine
relation part of
action find_reverse
entity Lafayette-class submarine
relation part of
['English', 'part of', 'Hrabri-class submarine'] ['English', 'part of', 'Lafayette-class submarine']
ASK WHERE { resource:English property:part_of resource:Lafayette-class_submarine . resource:English property:part_of resource:Hrabri-class_submarine }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1086863 Q20540607 Q267628
P425
Q483394
USER
Does New Journalism and column belong to columnist ?
(Q1086863,P425,Q20540607) (Q1086863,P425,Q267628)
action is_in
entity Q1086863
action intersection
action find_reverse
entity Q20540607
relation P425
action find_reverse
entity Q267628
relation P425
['Q1086863', 'P425', 'Q20540607'] ['Q1086863', 'P425', 'Q267628']
ASK WHERE { resource:Q1086863 property:P425 resource:Q267628 . resource:Q1086863 property:P425 resource:Q20540607 }
columnist New Journalism column
action is_in
entity columnist
action intersection
action find_reverse
entity New Journalism
relation field of this occupation
action find_reverse
entity column
relation field of this occupation
['columnist', 'field of this occupation', 'New Journalism'] ['columnist', 'field of this occupation', 'column']
ASK WHERE { resource:columnist property:field_of_this_occupation resource:column . resource:columnist property:field_of_this_occupation resource:New_Journalism }
[]
genre
SYSTEM
NO and YES respectively
(Q1086863,P425,Q20540607) (Q1086863,P425,Q267628)
action is_in
entity Q1086863
action intersection
action find_reverse
entity Q20540607
relation P425
action find_reverse
entity Q267628
relation P425
[ANSWER]
['Q1086863', 'P425', 'Q20540607'] ['Q1086863', 'P425', 'Q267628']
ASK WHERE { resource:Q1086863 property:P425 resource:Q267628 . resource:Q1086863 property:P425 resource:Q20540607 }
NO and YES respectively
action is_in
entity columnist
action intersection
action find_reverse
entity New Journalism
relation field of this occupation
action find_reverse
entity column
relation field of this occupation
['columnist', 'field of this occupation', 'New Journalism'] ['columnist', 'field of this occupation', 'column']
ASK WHERE { resource:columnist property:field_of_this_occupation resource:column . resource:columnist property:field_of_this_occupation resource:New_Journalism }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2660499 Q1930187
P106 P425
Q12737077
USER
What have journalist as the associated fields of occupation and are the job of Rick van der Ploeg ?
AND((Q1930187,P425,c(Q12737077)), (Q2660499,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q1930187
relation P425
action find
entity Q2660499
relation P106
type Q12737077
{'AND': [['Q1930187', 'P425', {'concept': 'Q12737077'}], ['Q2660499', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?x WHERE { resource:Q1930187 property:P425 ?x . resource:Q2660499 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Rick van der Ploeg journalist
action filter_type
action intersection
action find
entity journalist
relation field of this occupation
action find
entity Rick van der Ploeg
relation occupation
type occupation
{'AND': [['journalist', 'field of this occupation', {'concept': 'occupation'}], ['Rick van der Ploeg', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?x WHERE { resource:journalist property:field_of_this_occupation ?x . resource:Rick_van_der_Ploeg property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
AND((Q1930187,P425,c(Q12737077)), (Q2660499,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q1930187
relation P425
action find
entity Q2660499
relation P106
type Q12737077
The [ANSWER] have journalist as the associated fields of occupation and are the job of Rick van der Ploeg
{'AND': [['Q1930187', 'P425', {'concept': 'Q12737077'}], ['Q2660499', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?x WHERE { resource:Q1930187 property:P425 ?x . resource:Q2660499 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
writer
The writer have journalist as the associated fields of occupation and are the job of Rick van der Ploeg
writer
action filter_type
action intersection
action find
entity journalist
relation field of this occupation
action find
entity Rick van der Ploeg
relation occupation
type occupation
{'AND': [['journalist', 'field of this occupation', {'concept': 'occupation'}], ['Rick van der Ploeg', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?x WHERE { resource:journalist property:field_of_this_occupation ?x . resource:Rick_van_der_Ploeg property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2660499
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q36180,P102,c(Q7210356))
action filter_type
action find
entity Q2660499
relation P102
type Q7210356
['Q36180', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q2660499 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Rick van der Ploeg
action filter_type
action find
entity Rick van der Ploeg
relation member of political party
type political organization
['writer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Rick_van_der_Ploeg property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
political organization
Q275441
SYSTEM
Labour Party
Q275441
(Q36180,P102,c(Q7210356))
action filter_type
action find
entity Q2660499
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q36180', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q2660499 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Labour Party
That person is affiliated with Labour Party
Labour Party
action filter_type
action find
entity Rick van der Ploeg
relation member of political party
type political organization
['writer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Rick_van_der_Ploeg property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2660499
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q275441,P27,c(Q15617994))
action filter_type
action find
entity Q2660499
relation P27
type Q15617994
['Q275441', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q2660499 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Rick van der Ploeg
action filter_type
action find
entity Rick van der Ploeg
relation country of citizenship
type designation for an administrative territorial entity
['Labour Party', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Rick_van_der_Ploeg property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q275441,P27,c(Q15617994))
action filter_type
action find
entity Q2660499
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q275441', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q2660499 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
Kingdom of the Netherlands is the country of citizenship of that person
Kingdom of the Netherlands
action filter_type
action find
entity Rick van der Ploeg
relation country of citizenship
type designation for an administrative territorial entity
['Labour Party', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Rick_van_der_Ploeg property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29999
P17
Q7275
USER
Which states are situated in that administrative territory ?
(c(Q7275),P17,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P17
type Q7275
[{'concept': 'Q7275'}, 'P17', 'Q29999']
SELECT DISTINCT ?x WHERE { ?x property:P17 resource:Q29999 . ?x rdf:type ontology:Q7275 }
Kingdom of the Netherlands
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country
type state
[{'concept': 'state'}, 'country', 'Kingdom of the Netherlands']
SELECT DISTINCT ?x WHERE { ?x property:country resource:Kingdom_of_the_Netherlands . ?x rdf:type ontology:state }
[]
state
Q26273 Q25279 Q21203
SYSTEM
Sint Maarten, Curaçao, Aruba
Q15304003 Q21203 Q25279 Q26273 Q25227
(c(Q7275),P17,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P17
type Q7275
[ANSWERS] are situated in that administrative territory
[{'concept': 'Q7275'}, 'P17', 'Q29999']
SELECT DISTINCT ?x WHERE { ?x property:P17 resource:Q29999 . ?x rdf:type ontology:Q7275 }
country of the Kingdom of the Netherlands Aruba Curaçao Sint Maarten Netherlands Antilles
Sint Maarten, Curaçao and Aruba are situated in that administrative territory
Sint Maarten Curaçao Aruba
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country
type state
[{'concept': 'state'}, 'country', 'Kingdom of the Netherlands']
SELECT DISTINCT ?x WHERE { ?x property:country resource:Kingdom_of_the_Netherlands . ?x rdf:type ontology:state }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q5347180
P194
Q1752346 Q7275
USER
How many assemblies govern greater number of states than Eeyou Istchee James Bay Territory ?
(c(Q7275),P194,c(Q1752346))
action count
action greater
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q5347180
relation P194
type Q1752346
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:P194 ?v . ?x rdf:type ontology:Q7275 . ?v rdf:type ontology:Q1752346 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Q5347180 property:P194 ?y . ?y rdf:type ontology:Q1752346 } } . FILTER ( ?b > ?m ) }
Eeyou Istchee James Bay Territory
action count
action greater
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity Eeyou Istchee James Bay Territory
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:legislative_body ?v . ?x rdf:type ontology:state . ?v rdf:type ontology:assembly } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Eeyou_Istchee_James_Bay_Territory property:legislative_body ?y . ?y rdf:type ontology:assembly } } . FILTER ( ?b > ?m ) }
[]
assembly state
SYSTEM
35
Q949699 Q17063844 Q1283189 Q1889821 Q1813360 Q650248 Q641439 Q2282872 Q11010 Q1371388 Q371576 Q1116283 Q643412 Q17064146 Q2739604 Q1130737 Q648716 Q35749 Q1484825 Q157638 Q219825 Q321246 Q7253170 Q697775 Q632552 Q1269552 Q878525 Q639704 Q1320418 Q7447087 Q3393882 Q219692 Q637829 Q667464 Q189445
(c(Q7275),P194,c(Q1752346))
action count
action greater
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q5347180
relation P194
type Q1752346
[ANSWER]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:P194 ?v . ?x rdf:type ontology:Q7275 . ?v rdf:type ontology:Q1752346 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Q5347180 property:P194 ?y . ?y rdf:type ontology:Q1752346 } } . FILTER ( ?b > ?m ) }
National Congress of Brasil Kampuchean People's Representative Assembly Estates of Aruba Irish Parliament Parliament of Romania Landtag of Prussia Landtag of Bavaria diet Parliament of the United Kingdom States General Parliament of Croatia National Assembly Parliament of Finland Parliament of the Khmer Republic Parliament of Great Britain Parliament of England National Assembly parliament Congress of the Union Frankfurt Parliament National Convention Reichstag Prussian estates Imperial Council French Parliament Dáil Éireann Reichstag National Assembly Parliament of Cambodia Sejm of the Duchy of Warsaw Junta of the Kingdom of Galicia Cortes Generales Reichstag Diet of Galicia and Lodomeria bicameral legislature
35
action count
action greater
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity Eeyou Istchee James Bay Territory
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:legislative_body ?v . ?x rdf:type ontology:state . ?v rdf:type ontology:assembly } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Eeyou_Istchee_James_Bay_Territory property:legislative_body ?y . ?y rdf:type ontology:assembly } } . FILTER ( ?b > ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q946944
P194
Q1752346 Q7275
USER
And also tell me about States of Jersey?
(c(Q7275),P194,c(Q1752346))
action count
action greater
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q946944
relation P194
type Q1752346
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:P194 ?f . ?f rdf:type ontology:Q1752346 . ?y rdf:type ontology:Q7275 } GROUP BY ?f } . FILTER ( ?b > ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q946944 property:P194 ?r . ?r rdf:type ontology:Q1752346 } } }
States of Jersey
action count
action greater
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity States of Jersey
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:legislative_body ?f . ?f rdf:type ontology:assembly . ?y rdf:type ontology:state } GROUP BY ?f } . FILTER ( ?b > ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:States_of_Jersey property:legislative_body ?r . ?r rdf:type ontology:assembly } } }
[]
assembly state
SYSTEM
35
Q949699 Q17063844 Q1283189 Q1889821 Q1813360 Q650248 Q641439 Q2282872 Q11010 Q1371388 Q371576 Q1116283 Q643412 Q17064146 Q2739604 Q1130737 Q648716 Q35749 Q1484825 Q157638 Q219825 Q321246 Q7253170 Q697775 Q632552 Q1269552 Q878525 Q639704 Q1320418 Q7447087 Q3393882 Q219692 Q637829 Q667464 Q189445
(c(Q7275),P194,c(Q1752346))
action count
action greater
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q946944
relation P194
type Q1752346
[ANSWER]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:P194 ?f . ?f rdf:type ontology:Q1752346 . ?y rdf:type ontology:Q7275 } GROUP BY ?f } . FILTER ( ?b > ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q946944 property:P194 ?r . ?r rdf:type ontology:Q1752346 } } }
National Congress of Brasil Kampuchean People's Representative Assembly Estates of Aruba Irish Parliament Parliament of Romania Landtag of Prussia Landtag of Bavaria diet Parliament of the United Kingdom States General Parliament of Croatia National Assembly Parliament of Finland Parliament of the Khmer Republic Parliament of Great Britain Parliament of England National Assembly parliament Congress of the Union Frankfurt Parliament National Convention Reichstag Prussian estates Imperial Council French Parliament Dáil Éireann Reichstag National Assembly Parliament of Cambodia Sejm of the Duchy of Warsaw Junta of the Kingdom of Galicia Cortes Generales Reichstag Diet of Galicia and Lodomeria bicameral legislature
35
action count
action greater
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity States of Jersey
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:legislative_body ?f . ?f rdf:type ontology:assembly . ?y rdf:type ontology:state } GROUP BY ?f } . FILTER ( ?b > ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:States_of_Jersey property:legislative_body ?r . ?r rdf:type ontology:assembly } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25279
P37
Q25295
USER
What is the official language of Curaçao ?
(Q25279,P37,c(Q25295))
action filter_type
action find
entity Q25279
relation P37
type Q25295
['Q25279', 'P37', {'concept': 'Q25295'}]
SELECT DISTINCT ?s WHERE { resource:Q25279 property:P37 ?s . ?s rdf:type ontology:Q25295 }
Curaçao
action filter_type
action find
entity Curaçao
relation official language
type language family
['Curaçao', 'official language', {'concept': 'language family'}]
SELECT DISTINCT ?s WHERE { resource:Curaçao property:official_language ?s . ?s rdf:type ontology:language_family }
[]
language family
Q33856
SYSTEM
Papiamento
Q33856
(Q25279,P37,c(Q25295))
action filter_type
action find
entity Q25279
relation P37
type Q25295
The official language of Curaçao is the [ANSWER]
['Q25279', 'P37', {'concept': 'Q25295'}]
SELECT DISTINCT ?s WHERE { resource:Q25279 property:P37 ?s . ?s rdf:type ontology:Q25295 }
Papiamento
The official language of Curaçao is the Papiamento
Papiamento
action filter_type
action find
entity Curaçao
relation official language
type language family
['Curaçao', 'official language', {'concept': 'language family'}]
SELECT DISTINCT ?s WHERE { resource:Curaçao property:official_language ?s . ?s rdf:type ontology:language_family }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25279
P706
Q14524493
USER
Which terrain has its location as that state ?
(c(Q14524493),P706,Q33856)
action filter_type
action find_reverse
entity Q25279
relation P706
type Q14524493
[{'concept': 'Q14524493'}, 'P706', 'Q33856']
SELECT DISTINCT ?f WHERE { ?f property:P706 resource:Q25279 . ?f rdf:type ontology:Q14524493 }
Curaçao
action filter_type
action find_reverse
entity Curaçao
relation located on terrain feature
type terrain
[{'concept': 'terrain'}, 'located on terrain feature', 'Papiamento']
SELECT DISTINCT ?f WHERE { ?f property:located_on_terrain_feature resource:Curaçao . ?f rdf:type ontology:terrain }
[]
terrain
Q1430850
SYSTEM
Christoffelberg
Q1430850
(c(Q14524493),P706,Q33856)
action filter_type
action find_reverse
entity Q25279
relation P706
type Q14524493
[ANSWER] has its location as that state
[{'concept': 'Q14524493'}, 'P706', 'Q33856']
SELECT DISTINCT ?f WHERE { ?f property:P706 resource:Q25279 . ?f rdf:type ontology:Q14524493 }
Christoffelberg
Christoffelberg has its location as that state
Christoffelberg
action filter_type
action find_reverse
entity Curaçao
relation located on terrain feature
type terrain
[{'concept': 'terrain'}, 'located on terrain feature', 'Papiamento']
SELECT DISTINCT ?f WHERE { ?f property:located_on_terrain_feature resource:Curaçao . ?f rdf:type ontology:terrain }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1430850 Q828 Q7084532
P30
Q2221906
USER
Does that terrain have its location in Americas and Old Mill at Tinton Falls ?
(Q1430850,P30,Q828) (Q1430850,P30,Q7084532)
action is_in
entity Q1430850
action intersection
action find_reverse
entity Q828
relation P30
action find_reverse
entity Q7084532
relation P30
['Q1430850', 'P30', 'Q828'] ['Q1430850', 'P30', 'Q7084532']
ASK WHERE { resource:Q1430850 property:P30 resource:Q828 . resource:Q1430850 property:P30 resource:Q7084532 }
Christoffelberg Americas Old Mill at Tinton Falls
action is_in
entity Christoffelberg
action intersection
action find_reverse
entity Americas
relation continent
action find_reverse
entity Old Mill at Tinton Falls
relation continent
['Christoffelberg', 'continent', 'Americas'] ['Christoffelberg', 'continent', 'Old Mill at Tinton Falls']
ASK WHERE { resource:Christoffelberg property:continent resource:Americas . resource:Christoffelberg property:continent resource:Old_Mill_at_Tinton_Falls }
[]
geographic location
SYSTEM
YES and NO respectively
(Q1430850,P30,Q828) (Q1430850,P30,Q7084532)
action is_in
entity Q1430850
action intersection
action find_reverse
entity Q828
relation P30
action find_reverse
entity Q7084532
relation P30
[ANSWER]
['Q1430850', 'P30', 'Q828'] ['Q1430850', 'P30', 'Q7084532']
ASK WHERE { resource:Q1430850 property:P30 resource:Q828 . resource:Q1430850 property:P30 resource:Q7084532 }
YES and NO respectively
action is_in
entity Christoffelberg
action intersection
action find_reverse
entity Americas
relation continent
action find_reverse
entity Old Mill at Tinton Falls
relation continent
['Christoffelberg', 'continent', 'Americas'] ['Christoffelberg', 'continent', 'Old Mill at Tinton Falls']
ASK WHERE { resource:Christoffelberg property:continent resource:Americas . resource:Christoffelberg property:continent resource:Old_Mill_at_Tinton_Falls }
[]