Simple Question (Direct)
Simple Question
Q886800
P39
Q12737077
USER
What were the positions for which Nathaniel Mitchell were appointed ?
(Q886800,P39,c(Q12737077))
action filter_type
action find
entity Q886800
relation P39
type Q12737077
['Q886800', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q886800 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Nathaniel Mitchell
action filter_type
action find
entity Nathaniel Mitchell
relation position held
type occupation
['Nathaniel Mitchell', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Nathaniel_Mitchell property:position_held ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q20801656 Q21362489
SYSTEM
Governor of Delaware, member of the State Senate of Delaware
Q20801656 Q21362489
(Q886800,P39,c(Q12737077))
action filter_type
action find
entity Q886800
relation P39
type Q12737077
[ANSWERS]
['Q886800', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q886800 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Governor of Delaware member of the State Senate of Delaware
Governor of Delaware and member of the State Senate of Delaware
Governor of Delaware member of the State Senate of Delaware
action filter_type
action find
entity Nathaniel Mitchell
relation position held
type occupation
['Nathaniel Mitchell', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Nathaniel_Mitchell property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20801656
P1001
Q852446
USER
Which US administrative territory applies to jurisdiction of Governor of Delaware ?
(Q20801656,P1001,c(Q852446))
action filter_type
action find
entity Q20801656
relation P1001
type Q852446
['Q20801656', 'P1001', {'concept': 'Q852446'}]
SELECT DISTINCT ?l WHERE { resource:Q20801656 property:P1001 ?l . ?l rdf:type ontology:Q852446 }
Governor of Delaware
action filter_type
action find
entity Governor of Delaware
relation applies to jurisdiction
type administrative territorial entity of the United States
['Governor of Delaware', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?l WHERE { resource:Governor_of_Delaware property:applies_to_jurisdiction ?l . ?l rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1393
SYSTEM
Delaware
Q1393
(Q20801656,P1001,c(Q852446))
action filter_type
action find
entity Q20801656
relation P1001
type Q852446
[ANSWER] applies to jurisdiction of Governor of [ANSWER]
['Q20801656', 'P1001', {'concept': 'Q852446'}]
SELECT DISTINCT ?l WHERE { resource:Q20801656 property:P1001 ?l . ?l rdf:type ontology:Q852446 }
Delaware
Delaware applies to jurisdiction of Governor of Delaware
Delaware
action filter_type
action find
entity Governor of Delaware
relation applies to jurisdiction
type administrative territorial entity of the United States
['Governor of Delaware', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?l WHERE { resource:Governor_of_Delaware property:applies_to_jurisdiction ?l . ?l rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7101257
Q852446
USER
And what about Oregon Legislative Assembly?
(Q7101257,P1001,c(Q852446))
action filter_type
action find
entity Q7101257
relation P1001
type Q852446
['Q7101257', 'P1001', {'concept': 'Q852446'}]
SELECT DISTINCT ?c WHERE { resource:Q7101257 property:P1001 ?c . ?c rdf:type ontology:Q852446 }
Oregon Legislative Assembly
action filter_type
action find
entity Oregon Legislative Assembly
relation applies to jurisdiction
type administrative territorial entity of the United States
['Oregon Legislative Assembly', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?c WHERE { resource:Oregon_Legislative_Assembly property:applies_to_jurisdiction ?c . ?c rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q824
SYSTEM
Oregon
Q824
(Q7101257,P1001,c(Q852446))
action filter_type
action find
entity Q7101257
relation P1001
type Q852446
[ANSWER]
['Q7101257', 'P1001', {'concept': 'Q852446'}]
SELECT DISTINCT ?c WHERE { resource:Q7101257 property:P1001 ?c . ?c rdf:type ontology:Q852446 }
Oregon
Oregon
action filter_type
action find
entity Oregon Legislative Assembly
relation applies to jurisdiction
type administrative territorial entity of the United States
['Oregon Legislative Assembly', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?c WHERE { resource:Oregon_Legislative_Assembly property:applies_to_jurisdiction ?c . ?c rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q824 Q16853938 Q23301466
P6
Q502895
USER
Is Domenico Parodi and Christos Staikouras the head of the goverment of Q824 ?
(Q824,P6,Q16853938) (Q824,P6,Q23301466)
action is_in
entity Q824
action intersection
action find_reverse
entity Q16853938
relation P6
action find_reverse
entity Q23301466
relation P6
['Q824', 'P6', 'Q16853938'] ['Q824', 'P6', 'Q23301466']
ASK WHERE { resource:Q824 property:P6 resource:Q16853938 . resource:Q824 property:P6 resource:Q23301466 }
Oregon Domenico Parodi Christos Staikouras
action is_in
entity Oregon
action intersection
action find_reverse
entity Domenico Parodi
relation head of government
action find_reverse
entity Christos Staikouras
relation head of government
['Oregon', 'head of government', 'Domenico Parodi'] ['Oregon', 'head of government', 'Christos Staikouras']
ASK WHERE { resource:Oregon property:head_of_government resource:Domenico_Parodi . resource:Oregon property:head_of_government resource:Christos_Staikouras }
[]
common name
SYSTEM
NO
(Q824,P6,Q16853938) (Q824,P6,Q23301466)
action is_in
entity Q824
action intersection
action find_reverse
entity Q16853938
relation P6
action find_reverse
entity Q23301466
relation P6
[ANSWER]
['Q824', 'P6', 'Q16853938'] ['Q824', 'P6', 'Q23301466']
ASK WHERE { resource:Q824 property:P6 resource:Q16853938 . resource:Q824 property:P6 resource:Q23301466 }
No
action is_in
entity Oregon
action intersection
action find_reverse
entity Domenico Parodi
relation head of government
action find_reverse
entity Christos Staikouras
relation head of government
['Oregon', 'head of government', 'Domenico Parodi'] ['Oregon', 'head of government', 'Christos Staikouras']
ASK WHERE { resource:Oregon property:head_of_government resource:Domenico_Parodi . resource:Oregon property:head_of_government resource:Christos_Staikouras }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q39631
P921
Q12737077 Q191067 Q838948
USER
How many occupations were discussed in around the same number of articles or works of art as physician ?
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q39631
relation P921
type Q191067
type Q838948
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?y ) WHERE { VALUES ( ?h ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } . ?p rdf:type ?h } GROUP BY ?b } . FILTER ( ?y = ?j ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { VALUES ( ?f ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } . ?s rdf:type ?f } . ?s property:P921 resource:Q39631 } } }
physician
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity physician
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?y ) WHERE { VALUES ( ?h ) { ( ontology:article ) ( ontology:work_of_art ) } . ?p rdf:type ?h } GROUP BY ?b } . FILTER ( ?y = ?j ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { VALUES ( ?f ) { ( ontology:article ) ( ontology:work_of_art ) } . ?s rdf:type ?f } . ?s property:main_subject resource:physician } } }
[]
occupation article work of art
SYSTEM
96
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q39631
relation P921
type Q191067
type Q838948
[ANSWER]
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?y ) WHERE { VALUES ( ?h ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } . ?p rdf:type ?h } GROUP BY ?b } . FILTER ( ?y = ?j ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { VALUES ( ?f ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } . ?s rdf:type ?f } . ?s property:P921 resource:Q39631 } } }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
96
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity physician
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?y ) WHERE { VALUES ( ?h ) { ( ontology:article ) ( ontology:work_of_art ) } . ?p rdf:type ?h } GROUP BY ?b } . FILTER ( ?y = ?j ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { VALUES ( ?f ) { ( ontology:article ) ( ontology:work_of_art ) } . ?s rdf:type ?f } . ?s property:main_subject resource:physician } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1477129
P921
Q12737077 Q191067 Q838948
USER
And how about völva?
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1477129
relation P921
type Q191067
type Q838948
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?n WHERE { { ?x property:P921 ?n . ?n rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q191067 } UNION { ?x property:P921 ?n . ?n rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q838948 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { { ?h rdf:type ontology:Q191067 } UNION { ?h rdf:type ontology:Q838948 } } . ?h property:P921 resource:Q1477129 } } . FILTER ( ?p = ?z ) }
völva
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity völva
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?n WHERE { { ?x property:main_subject ?n . ?n rdf:type ontology:occupation . ?x rdf:type ontology:article } UNION { ?x property:main_subject ?n . ?n rdf:type ontology:occupation . ?x rdf:type ontology:work_of_art } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { { ?h rdf:type ontology:article } UNION { ?h rdf:type ontology:work_of_art } } . ?h property:main_subject resource:völva } } . FILTER ( ?p = ?z ) }
[]
occupation article work of art
SYSTEM
96
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1477129
relation P921
type Q191067
type Q838948
[ANSWER]
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?n WHERE { { ?x property:P921 ?n . ?n rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q191067 } UNION { ?x property:P921 ?n . ?n rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q838948 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { { ?h rdf:type ontology:Q191067 } UNION { ?h rdf:type ontology:Q838948 } } . ?h property:P921 resource:Q1477129 } } . FILTER ( ?p = ?z ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
96
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity völva
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?n WHERE { { ?x property:main_subject ?n . ?n rdf:type ontology:occupation . ?x rdf:type ontology:article } UNION { ?x property:main_subject ?n . ?n rdf:type ontology:occupation . ?x rdf:type ontology:work_of_art } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { { ?h rdf:type ontology:article } UNION { ?h rdf:type ontology:work_of_art } } . ?h property:main_subject resource:völva } } . FILTER ( ?p = ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q7876357
P194
Q701632 Q852446
USER
Which municipal councils govern lesser number of US administrative territories than Uashat-Maliotenam ?
(c(Q852446),P194,c(Q701632))
action less
action find_reverse_tuple_counts
relation P194
type Q701632
type Q852446
action count
action filter_type
action find_reverse
entity Q7876357
relation P194
type Q852446
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q701632'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:P194 ?d . ?d rdf:type ontology:Q701632 . ?o rdf:type ontology:Q852446 } GROUP BY ?d } . FILTER ( ?j < ?f ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P194 resource:Q7876357 . ?h rdf:type ontology:Q852446 } } }
Uashat-Maliotenam
action less
action find_reverse_tuple_counts
relation legislative body
type municipal council
type administrative territorial entity of the United States
action count
action filter_type
action find_reverse
entity Uashat-Maliotenam
relation legislative body
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'municipal council'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:legislative_body ?d . ?d rdf:type ontology:municipal_council . ?o rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?d } . FILTER ( ?j < ?f ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:legislative_body resource:Uashat-Maliotenam . ?h rdf:type ontology:administrative_territorial_entity_of_the_United_States } } }
[]
municipal council administrative territorial entity of the United States
Q19961118 Q27664348 Q27655510
SYSTEM
Båstad Municipal Council, Atikamekw d'Opitciwan, Conseil des Atikamekw de Wemotaci
Q4813169 Q27664348 Q27655424 Q20198781 Q27655510 Q27671513 Q27691912 Q27671767 Q19961118 Q4721499 Q6528155 Q4718854 Q27691982 Q4804754 Q23074103 Q27691927 Q27691835 Q27666941
(c(Q852446),P194,c(Q701632))
action less
action find_reverse_tuple_counts
relation P194
type Q701632
type Q852446
action count
action filter_type
action find_reverse
entity Q7876357
relation P194
type Q852446
[ANSWERS] govern lesser number of US administrative territories than Uashat-Maliotenam
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q701632'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:P194 ?d . ?d rdf:type ontology:Q701632 . ?o rdf:type ontology:Q852446 } GROUP BY ?d } . FILTER ( ?j < ?f ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P194 resource:Q7876357 . ?h rdf:type ontology:Q852446 } } }
Athabasca Chipewyan First Nation Atikamekw d'Opitciwan Oujé-Bougoumou Cree Nation Eagle Village First Nation - Kipawa Conseil des Atikamekw de Wemotaci Mohawks of Kahnawá:ke nation innu Matimekush-Lac John Mohawks of Kanesatake Båstad Municipal Council Alexis Nakota Sioux First Nation Luxembourg communal council Alexander Montagnais du Lac St-Jean Ashcroft First Nation Mikisew Cree First Nation Innus de Ekuanitshit Cree Nation of Chisasibi Atikamekw de Manawan
Båstad Municipal Council, Atikamekw d'Opitciwan and Conseil des Atikamekw de Wemotaci govern lesser number of US administrative territories than Uashat-Maliotenam
Båstad Municipal Council Atikamekw d'Opitciwan Conseil des Atikamekw de Wemotaci
action less
action find_reverse_tuple_counts
relation legislative body
type municipal council
type administrative territorial entity of the United States
action count
action filter_type
action find_reverse
entity Uashat-Maliotenam
relation legislative body
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'municipal council'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:legislative_body ?d . ?d rdf:type ontology:municipal_council . ?o rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?d } . FILTER ( ?j < ?f ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:legislative_body resource:Uashat-Maliotenam . ?h rdf:type ontology:administrative_territorial_entity_of_the_United_States } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1393
P47
Q852446
USER
Which US administrative territories are next to the border of Delaware ?
(c(Q852446),P47,Q1393)
action filter_type
action find
entity Q1393
relation P47
type Q852446
[{'concept': 'Q852446'}, 'P47', 'Q1393']
SELECT DISTINCT ?c WHERE { resource:Q1393 property:P47 ?c . ?c rdf:type ontology:Q852446 }
Delaware
action filter_type
action find
entity Delaware
relation shares border with
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'shares border with', 'Delaware']
SELECT DISTINCT ?c WHERE { resource:Delaware property:shares_border_with ?c . ?c rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1400 Q1391 Q1408
SYSTEM
Pennsylvania, Maryland, New Jersey
Q1400 Q1391 Q1408
(c(Q852446),P47,Q1393)
action filter_type
action find
entity Q1393
relation P47
type Q852446
[ANSWERS] are next to the border of Delaware
[{'concept': 'Q852446'}, 'P47', 'Q1393']
SELECT DISTINCT ?c WHERE { resource:Q1393 property:P47 ?c . ?c rdf:type ontology:Q852446 }
Pennsylvania Maryland New Jersey
Pennsylvania, Maryland and New Jersey are next to the border of Delaware
Pennsylvania Maryland New Jersey
action filter_type
action find
entity Delaware
relation shares border with
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'shares border with', 'Delaware']
SELECT DISTINCT ?c WHERE { resource:Delaware property:shares_border_with ?c . ?c rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1400 Q1391 Q1408
P740
Q43229
USER
Which organizations were formed at those US administrative territories ?
(c(Q43229),P740,Q1400) (c(Q43229),P740,Q1391) (c(Q43229),P740,Q1408)
action filter_type
action find_reverse
entity prev_answer
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q1400'] [{'concept': 'Q43229'}, 'P740', 'Q1391'] [{'concept': 'Q43229'}, 'P740', 'Q1408']
SELECT DISTINCT ?a WHERE { ?a property:P740 ?v . ?a rdf:type ontology:Q43229 . VALUES ( ?v ) { ( resource:Q1400 ) ( resource:Q1391 ) ( resource:Q1408 ) } }
Pennsylvania Maryland New Jersey
action filter_type
action find_reverse
entity prev_answer
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Pennsylvania'] [{'concept': 'organization'}, 'location of formation', 'Maryland'] [{'concept': 'organization'}, 'location of formation', 'New Jersey']
SELECT DISTINCT ?a WHERE { ?a property:location_of_formation ?v . ?a rdf:type ontology:organization . VALUES ( ?v ) { ( resource:Pennsylvania ) ( resource:Maryland ) ( resource:New_Jersey ) } }
[]
organization
Q7715469 Q1971987 Q4051440
SYSTEM
The Balloon Farm, Wright Aeronautical, Three Rivers Computer Corporation
Q5121896 Q4051440 Q5192200 Q6036711 Q5376427 Q7887501 Q5014651 Q7715469 Q7499895 Q1165626 Q19903575 Q1971987
(c(Q43229),P740,Q1400) (c(Q43229),P740,Q1391) (c(Q43229),P740,Q1408)
action filter_type
action find_reverse
entity prev_answer
relation P740
type Q43229
[ANSWERS] were formed at those US administrative territories
[{'concept': 'Q43229'}, 'P740', 'Q1400'] [{'concept': 'Q43229'}, 'P740', 'Q1391'] [{'concept': 'Q43229'}, 'P740', 'Q1408']
SELECT DISTINCT ?a WHERE { ?a property:P740 ?v . ?a rdf:type ontology:Q43229 . VALUES ( ?v ) { ( resource:Q1400 ) ( resource:Q1391 ) ( resource:Q1408 ) } }
Ciright Systems Three Rivers Computer Corporation CubeSmart Inovalon Endotec United Bank Card CT The Balloon Farm Shocker Toys Accoona ProSight Specialty Insurance Wright Aeronautical
The Balloon Farm, Wright Aeronautical and Three Rivers Computer Corporation were formed at those US administrative territories
The Balloon Farm Wright Aeronautical Three Rivers Computer Corporation
action filter_type
action find_reverse
entity prev_answer
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Pennsylvania'] [{'concept': 'organization'}, 'location of formation', 'Maryland'] [{'concept': 'organization'}, 'location of formation', 'New Jersey']
SELECT DISTINCT ?a WHERE { ?a property:location_of_formation ?v . ?a rdf:type ontology:organization . VALUES ( ?v ) { ( resource:Pennsylvania ) ( resource:Maryland ) ( resource:New_Jersey ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1393
P551
Q502895
USER
Which people have residence at Delaware ?
(c(Q502895),P551,Q1393)
action filter_type
action find_reverse
entity Q1393
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1393']
SELECT DISTINCT ?o WHERE { ?o property:P551 resource:Q1393 . ?o rdf:type ontology:Q502895 }
Delaware
action filter_type
action find_reverse
entity Delaware
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Delaware']
SELECT DISTINCT ?o WHERE { ?o property:residence resource:Delaware . ?o rdf:type ontology:common_name }
[]
common name
Q15532610 Q6370119
SYSTEM
Edward Williams Clay, Karen Weldin Stewart
Q15532610 Q6370119
(c(Q502895),P551,Q1393)
action filter_type
action find_reverse
entity Q1393
relation P551
type Q502895
[ANSWERS] have residence at Delaware
[{'concept': 'Q502895'}, 'P551', 'Q1393']
SELECT DISTINCT ?o WHERE { ?o property:P551 resource:Q1393 . ?o rdf:type ontology:Q502895 }
Edward Williams Clay Karen Weldin Stewart
Edward Williams Clay and Karen Weldin Stewart have residence at Delaware
Edward Williams Clay Karen Weldin Stewart
action filter_type
action find_reverse
entity Delaware
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Delaware']
SELECT DISTINCT ?o WHERE { ?o property:residence resource:Delaware . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q15532610 Q6370119
P27
Q15617994
USER
Which administrative territories are those people an inhabitant of ?
(Q15532610,P27,c(Q15617994)) (Q6370119,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
['Q15532610', 'P27', {'concept': 'Q15617994'}] ['Q6370119', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . ?z property:P27 ?p . VALUES ( ?z ) { ( resource:Q15532610 ) ( resource:Q6370119 ) } }
Edward Williams Clay Karen Weldin Stewart
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Edward Williams Clay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Karen Weldin Stewart', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:country_of_citizenship ?p . VALUES ( ?z ) { ( resource:Edward_Williams_Clay ) ( resource:Karen_Weldin_Stewart ) } }
[]
designation for an administrative territorial entity
Q30 Q30
SYSTEM
United States of America
Q30 Q30
(Q15532610,P27,c(Q15617994)) (Q6370119,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
The [ANSWER] and [ANSWER] are those people an inhabitant of
['Q15532610', 'P27', {'concept': 'Q15617994'}] ['Q6370119', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . ?z property:P27 ?p . VALUES ( ?z ) { ( resource:Q15532610 ) ( resource:Q6370119 ) } }
United States of America United States of America
The United States of America and United States of America are those people an inhabitant of
United States of America United States of America
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Edward Williams Clay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Karen Weldin Stewart', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:country_of_citizenship ?p . VALUES ( ?z ) { ( resource:Edward_Williams_Clay ) ( resource:Karen_Weldin_Stewart ) } }
[]