Simple Question (Direct)
Simple Question
Q1232604
P2348
Q3024240
USER
When did Julius Valerius Alexander Polemius take place ?
(Q1232604,P2348,c(Q3024240))
action filter_type
action find
entity Q1232604
relation P2348
type Q3024240
['Q1232604', 'P2348', {'concept': 'Q3024240'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q3024240 . resource:Q1232604 property:P2348 ?q }
Julius Valerius Alexander Polemius
action filter_type
action find
entity Julius Valerius Alexander Polemius
relation period
type former country
['Julius Valerius Alexander Polemius', 'period', {'concept': 'former country'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:former_country . resource:Julius_Valerius_Alexander_Polemius property:period ?q }
[]
former country
Q2277
SYSTEM
Roman Empire
Q2277
(Q1232604,P2348,c(Q3024240))
action filter_type
action find
entity Q1232604
relation P2348
type Q3024240
Place Julius Valerius Alexander Polemius took the [ANSWER]
['Q1232604', 'P2348', {'concept': 'Q3024240'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q3024240 . resource:Q1232604 property:P2348 ?q }
Roman Empire
Place Julius Valerius Alexander Polemius took the Roman Empire
Roman Empire
action filter_type
action find
entity Julius Valerius Alexander Polemius
relation period
type former country
['Julius Valerius Alexander Polemius', 'period', {'concept': 'former country'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:former_country . resource:Julius_Valerius_Alexander_Polemius property:period ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1232604
P27
Q1048835
USER
Which political territory is the country of citizenship of Julius Valerius Alexander Polemius ?
(Q1232604,P27,c(Q1048835))
action filter_type
action find
entity Q1232604
relation P27
type Q1048835
['Q1232604', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q1232604 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Julius Valerius Alexander Polemius
action filter_type
action find
entity Julius Valerius Alexander Polemius
relation country of citizenship
type political territorial entity
['Julius Valerius Alexander Polemius', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Julius_Valerius_Alexander_Polemius property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1747689
SYSTEM
Ancient Rome
Q1747689
(Q1232604,P27,c(Q1048835))
action filter_type
action find
entity Q1232604
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Julius Valerius Alexander Polemius
['Q1232604', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q1232604 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Ancient Rome
Ancient Rome is the country of citizenship of Julius Valerius Alexander Polemius
Ancient Rome
action filter_type
action find
entity Julius Valerius Alexander Polemius
relation country of citizenship
type political territorial entity
['Julius Valerius Alexander Polemius', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Julius_Valerius_Alexander_Polemius property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q13786
P127
Q1048835 Q2668072 Q2235308
USER
How many political territories owned less number of collections and ship types than Cebu ?
(c(Q2668072)|c(Q2235308),P127,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2668072
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q13786
relation P127
type Q2668072
type Q2235308
[[{'concept': 'Q2668072'}, {'concept': 'Q2235308'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?f WHERE { VALUES ( ?o ) { ( ontology:Q2668072 ) ( ontology:Q2235308 ) } . ?s rdf:type ?o } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { VALUES ( ?d ) { ( ontology:Q2235308 ) ( ontology:Q2668072 ) } . ?b rdf:type ?d } . ?b property:P127 resource:Q13786 } } . FILTER ( ?x < ?l ) }
Cebu
action count
action less
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type collection
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type ship type
action count
action filter_multi_types
action find_reverse
entity Cebu
relation owned by
type collection
type ship type
[[{'concept': 'collection'}, {'concept': 'ship type'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?f WHERE { VALUES ( ?o ) { ( ontology:collection ) ( ontology:ship_type ) } . ?s rdf:type ?o } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { VALUES ( ?d ) { ( ontology:ship_type ) ( ontology:collection ) } . ?b rdf:type ?d } . ?b property:owned_by resource:Cebu } } . FILTER ( ?x < ?l ) }
[]
political territorial entity collection ship type
SYSTEM
64
Q192536 Q170322 Q1648590 Q318314 Q3741 Q20937 Q2321093 Q5691 Q188399 Q183 Q490638 Q6040 Q126514 Q211091 Q6053 Q192387 Q133083 Q217838 Q74881 Q8543 Q6041 Q2379199 Q6139 Q8178 Q6339 Q7379734 Q1823 Q8551 Q5783 Q741765 Q193317 Q35 Q191091 Q2947 Q13862 Q276176 Q1135166 Q46070 Q211106 Q54902 Q192697 Q188373 Q190930 Q192702 Q2175 Q849584 Q2271 Q6142 Q909707 Q234 Q100166 Q231 Q40 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q207111 Q16 Q206926 Q5756
(c(Q2668072)|c(Q2235308),P127,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2668072
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q13786
relation P127
type Q2668072
type Q2235308
[ANSWER]
[[{'concept': 'Q2668072'}, {'concept': 'Q2235308'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?f WHERE { VALUES ( ?o ) { ( ontology:Q2668072 ) ( ontology:Q2235308 ) } . ?s rdf:type ?o } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { VALUES ( ?d ) { ( ontology:Q2235308 ) ( ontology:Q2668072 ) } . ?b rdf:type ?d } . ?b property:P127 resource:Q13786 } } . FILTER ( ?x < ?l ) }
Zlín Region Qingdao Manises Ipatinga Special Region of Yogyakarta Gyeonggi Province Chorrillos South Karelia Central Bohemian Region Germany Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Londrina Gauteng Stirling Dalian Germersheim Wolfenbüttel politics of Edinburgh Havelland Karlsruhe Erzgebirgskreis Aachen Aceh Südliche Weinstraße Andalusia San Fernando Pardubice Region Denmark Karlovy Vary Region Dithmarschen Negros Occidental Volta Redonda Greater London Authority Plzeň Region Moray Fuenlabrada South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province Jaraguá do Sul South Sumatra Potsdam-Mittelmark Sestao Flemish Region Orkney Islands Walloon Region Austria Helmstedt Peine Flemish Region Rastatt Bermuda Australia Olomouc Region North Lanarkshire Canada North Ayrshire Community of Madrid
64
action count
action less
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type collection
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type ship type
action count
action filter_multi_types
action find_reverse
entity Cebu
relation owned by
type collection
type ship type
[[{'concept': 'collection'}, {'concept': 'ship type'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?f WHERE { VALUES ( ?o ) { ( ontology:collection ) ( ontology:ship_type ) } . ?s rdf:type ?o } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { VALUES ( ?d ) { ( ontology:ship_type ) ( ontology:collection ) } . ?b rdf:type ?d } . ?b property:owned_by resource:Cebu } } . FILTER ( ?x < ?l ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q619842 Q13786
P47
Q1048835
USER
Which political territories share the border with Cebu or Villamena ?
OR((Q13786,P47,c(Q1048835)), (Q619842,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q13786
relation P47
action find
entity Q619842
relation P47
type Q1048835
{'OR': [['Q13786', 'P47', {'concept': 'Q1048835'}], ['Q619842', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?n ) { ( resource:Q13786 ) ( resource:Q619842 ) } . ?n property:P47 ?h } . ?h rdf:type ontology:Q1048835 }
Villamena Cebu
action filter_type
action union
action find
entity Cebu
relation shares border with
action find
entity Villamena
relation shares border with
type political territorial entity
{'OR': [['Cebu', 'shares border with', {'concept': 'political territorial entity'}], ['Villamena', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?n ) { ( resource:Cebu ) ( resource:Villamena ) } . ?n property:shares_border_with ?h } . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q606160 Q618366 Q559839 Q339160 Q564780 Q13847 Q13752 Q605397 Q13862
SYSTEM
Nigüelas, El Valle, Dúrcal, Lecrín, Albuñuelas, Masbate, Bohol, El Padul, Negros Occidental
Q606160 Q618366 Q559839 Q339160 Q564780 Q13847 Q13752 Q605397 Q13862
OR((Q13786,P47,c(Q1048835)), (Q619842,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q13786
relation P47
action find
entity Q619842
relation P47
type Q1048835
[ANSWERS] share the border with Cebu or Villamena
{'OR': [['Q13786', 'P47', {'concept': 'Q1048835'}], ['Q619842', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?n ) { ( resource:Q13786 ) ( resource:Q619842 ) } . ?n property:P47 ?h } . ?h rdf:type ontology:Q1048835 }
Nigüelas El Valle Dúrcal Lecrín Albuñuelas Masbate Bohol El Padul Negros Occidental
Nigüelas, El Valle, Dúrcal, Lecrín, Albuñuelas, Masbate, Bohol, El Padul and Negros Occidental share the border with Cebu or Villamena
Nigüelas El Valle Dúrcal Lecrín Albuñuelas Masbate Bohol El Padul Negros Occidental
action filter_type
action union
action find
entity Cebu
relation shares border with
action find
entity Villamena
relation shares border with
type political territorial entity
{'OR': [['Cebu', 'shares border with', {'concept': 'political territorial entity'}], ['Villamena', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?n ) { ( resource:Cebu ) ( resource:Villamena ) } . ?n property:shares_border_with ?h } . ?h rdf:type ontology:political_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q339160
P1001
Q12737077
USER
Which occupation applies to jurisdiction over that political territory ?
(c(Q12737077),P1001,Q339160)
action filter_type
action find_reverse
entity Q339160
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q339160']
SELECT DISTINCT ?q WHERE { ?q property:P1001 resource:Q339160 . ?q rdf:type ontology:Q12737077 }
Lecrín
action filter_type
action find_reverse
entity Lecrín
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Lecrín']
SELECT DISTINCT ?q WHERE { ?q property:applies_to_jurisdiction resource:Lecrín . ?q rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q606160
SYSTEM
Did you mean Nigüelas ?
Q606160 Q618366 Q559839 Q339160 Q564780 Q13847 Q13752 Q605397 Q13862
(c(Q12737077),P1001,Q606160) (c(Q12737077),P1001,Q618366) (c(Q12737077),P1001,Q559839) (c(Q12737077),P1001,Q339160) (c(Q12737077),P1001,Q564780) (c(Q12737077),P1001,Q13847) (c(Q12737077),P1001,Q13752) (c(Q12737077),P1001,Q605397) (c(Q12737077),P1001,Q13862)
[ANSWER]
[{'concept': 'Q12737077'}, 'P1001', 'Q606160'] [{'concept': 'Q12737077'}, 'P1001', 'Q618366'] [{'concept': 'Q12737077'}, 'P1001', 'Q559839'] [{'concept': 'Q12737077'}, 'P1001', 'Q339160'] [{'concept': 'Q12737077'}, 'P1001', 'Q564780'] [{'concept': 'Q12737077'}, 'P1001', 'Q13847'] [{'concept': 'Q12737077'}, 'P1001', 'Q13752'] [{'concept': 'Q12737077'}, 'P1001', 'Q605397'] [{'concept': 'Q12737077'}, 'P1001', 'Q13862']
SELECT DISTINCT ?q WHERE { ?q property:P1001 resource:Q339160 . ?q rdf:type ontology:Q12737077 }
Nigüelas El Valle Dúrcal Lecrín Albuñuelas Masbate Bohol El Padul Negros Occidental
Did you mean Nigüelas ?
Nigüelas
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Nigüelas'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'El Valle'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Dúrcal'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Lecrín'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Albuñuelas'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Masbate'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Bohol'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'El Padul'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Negros Occidental']
SELECT DISTINCT ?q WHERE { ?q property:applies_to_jurisdiction resource:Lecrín . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Lecrín. Could you tell me the answer for that?
(c(Q12737077),P1001,Q339160)
Q339160
[{'concept': 'Q12737077'}, 'P1001', 'Q339160']
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Lecrín']
[]
Q26697976
SYSTEM
mayor of Lecrín
Q26697976
(c(Q12737077),P1001,Q339160)
action filter_type
action find_reverse
entity Q339160
relation P1001
type Q12737077
The [ANSWER] applies to jurisdiction over that political territory
[{'concept': 'Q12737077'}, 'P1001', 'Q339160']
SELECT DISTINCT ?q WHERE { ?q property:P1001 resource:Q339160 . ?q rdf:type ontology:Q12737077 }
mayor of Lecrín
The mayor of Lecrín applies to jurisdiction over that political territory
mayor of Lecrín
action filter_type
action find_reverse
entity Lecrín
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Lecrín']
SELECT DISTINCT ?q WHERE { ?q property:applies_to_jurisdiction resource:Lecrín . ?q rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q29 Q606160
P47 P17
Q1048835
USER
Which political territories are bordered by Nigüelas and are located in Spain ?
AND((c(Q1048835),P47,Q606160), (c(Q1048835),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q606160
relation P47
action find_reverse
entity Q29
relation P17
type Q1048835
{'AND': [[{'concept': 'Q1048835'}, 'P47', 'Q606160'], [{'concept': 'Q1048835'}, 'P17', 'Q29']]}
SELECT DISTINCT ?v WHERE { ?v property:P17 resource:Q29 . ?v property:P47 resource:Q606160 . ?v rdf:type ontology:Q1048835 }
Spain Nigüelas
action filter_type
action intersection
action find_reverse
entity Nigüelas
relation shares border with
action find_reverse
entity Spain
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'shares border with', 'Nigüelas'], [{'concept': 'political territorial entity'}, 'country', 'Spain']]}
SELECT DISTINCT ?v WHERE { ?v property:country resource:Spain . ?v property:shares_border_with resource:Nigüelas . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q339160 Q619842 Q559839 Q582995
SYSTEM
Lecrín, Villamena, Dúrcal, Lanjarón
Q339160 Q619842 Q559839 Q582995
AND((c(Q1048835),P47,Q606160), (c(Q1048835),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q606160
relation P47
action find_reverse
entity Q29
relation P17
type Q1048835
[ANSWERS] are bordered by Nigüelas and are located in Spain
{'AND': [[{'concept': 'Q1048835'}, 'P47', 'Q606160'], [{'concept': 'Q1048835'}, 'P17', 'Q29']]}
SELECT DISTINCT ?v WHERE { ?v property:P17 resource:Q29 . ?v property:P47 resource:Q606160 . ?v rdf:type ontology:Q1048835 }
Lecrín Villamena Dúrcal Lanjarón
Lecrín, Villamena, Dúrcal and Lanjarón are bordered by Nigüelas and are located in Spain
Lecrín Villamena Dúrcal Lanjarón
action filter_type
action intersection
action find_reverse
entity Nigüelas
relation shares border with
action find_reverse
entity Spain
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'shares border with', 'Nigüelas'], [{'concept': 'political territorial entity'}, 'country', 'Spain']]}
SELECT DISTINCT ?v WHERE { ?v property:country resource:Spain . ?v property:shares_border_with resource:Nigüelas . ?v rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q606160
P47
Q1048835
USER
Do those ones share a border with Nigüelas ?
(Q606160,P47,Q339160) (Q606160,P47,Q619842) (Q606160,P47,Q559839) (Q606160,P47,Q582995)
action is_in
entity prev_answer
action find
entity Q606160
relation P47
['Q606160', 'P47', 'Q339160'] ['Q606160', 'P47', 'Q619842'] ['Q606160', 'P47', 'Q559839'] ['Q606160', 'P47', 'Q582995']
ASK WHERE { resource:Q606160 property:P47 ?s . VALUES ( ?s ) { ( resource:Q339160 ) ( resource:Q619842 ) ( resource:Q559839 ) } }
Nigüelas
action is_in
entity prev_answer
action find
entity Nigüelas
relation shares border with
['Nigüelas', 'shares border with', 'Lecrín'] ['Nigüelas', 'shares border with', 'Villamena'] ['Nigüelas', 'shares border with', 'Dúrcal'] ['Nigüelas', 'shares border with', 'Lanjarón']
ASK WHERE { resource:Nigüelas property:shares_border_with ?s . VALUES ( ?s ) { ( resource:Lecrín ) ( resource:Villamena ) ( resource:Dúrcal ) } }
[]
political territorial entity
SYSTEM
YES
(Q606160,P47,Q339160) (Q606160,P47,Q619842) (Q606160,P47,Q559839) (Q606160,P47,Q582995)
action is_in
entity prev_answer
action find
entity Q606160
relation P47
[ANSWER]
['Q606160', 'P47', 'Q339160'] ['Q606160', 'P47', 'Q619842'] ['Q606160', 'P47', 'Q559839'] ['Q606160', 'P47', 'Q582995']
ASK WHERE { resource:Q606160 property:P47 ?s . VALUES ( ?s ) { ( resource:Q339160 ) ( resource:Q619842 ) ( resource:Q559839 ) } }
Yes
action is_in
entity prev_answer
action find
entity Nigüelas
relation shares border with
['Nigüelas', 'shares border with', 'Lecrín'] ['Nigüelas', 'shares border with', 'Villamena'] ['Nigüelas', 'shares border with', 'Dúrcal'] ['Nigüelas', 'shares border with', 'Lanjarón']
ASK WHERE { resource:Nigüelas property:shares_border_with ?s . VALUES ( ?s ) { ( resource:Lecrín ) ( resource:Villamena ) ( resource:Dúrcal ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q582995
P190
Q1048835
USER
Which political territory is twin town of Lanjarón ?
(c(Q1048835),P190,Q582995)
action filter_type
action find
entity Q582995
relation P190
type Q1048835
[{'concept': 'Q1048835'}, 'P190', 'Q582995']
SELECT DISTINCT ?x WHERE { resource:Q582995 property:P190 ?x . ?x rdf:type ontology:Q1048835 }
Lanjarón
action filter_type
action find
entity Lanjarón
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', 'Lanjarón']
SELECT DISTINCT ?x WHERE { resource:Lanjarón property:sister_city ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1649698
SYSTEM
Alaquàs
Q1649698
(c(Q1048835),P190,Q582995)
action filter_type
action find
entity Q582995
relation P190
type Q1048835
[ANSWER] is twin town of Lanjarón
[{'concept': 'Q1048835'}, 'P190', 'Q582995']
SELECT DISTINCT ?x WHERE { resource:Q582995 property:P190 ?x . ?x rdf:type ontology:Q1048835 }
Alaquàs
Alaquàs is twin town of Lanjarón
Alaquàs
action filter_type
action find
entity Lanjarón
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', 'Lanjarón']
SELECT DISTINCT ?x WHERE { resource:Lanjarón property:sister_city ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1649698
P1001
Q12737077
USER
Which occupation applies to jurisdiction over that political territory ?
(c(Q12737077),P1001,Q1649698)
action filter_type
action find_reverse
entity Q1649698
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q1649698']
SELECT DISTINCT ?j WHERE { ?j property:P1001 resource:Q1649698 . ?j rdf:type ontology:Q12737077 }
Alaquàs
action filter_type
action find_reverse
entity Alaquàs
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Alaquàs']
SELECT DISTINCT ?j WHERE { ?j property:applies_to_jurisdiction resource:Alaquàs . ?j rdf:type ontology:occupation }
[]
occupation
Q26694613
SYSTEM
mayor of Alacuás
Q26694613
(c(Q12737077),P1001,Q1649698)
action filter_type
action find_reverse
entity Q1649698
relation P1001
type Q12737077
The [ANSWER] applies to jurisdiction over that political territory
[{'concept': 'Q12737077'}, 'P1001', 'Q1649698']
SELECT DISTINCT ?j WHERE { ?j property:P1001 resource:Q1649698 . ?j rdf:type ontology:Q12737077 }
mayor of Alacuás
The mayor of Alacuás applies to jurisdiction over that political territory
mayor of Alacuás
action filter_type
action find_reverse
entity Alaquàs
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Alaquàs']
SELECT DISTINCT ?j WHERE { ?j property:applies_to_jurisdiction resource:Alaquàs . ?j rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q1048835 Q7743 Q56061
USER
How many political territories are atleast 203 homes and administrative territories located in ?
(c(Q7743)|c(Q56061),P17,c(Q1048835))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q7743
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q56061
value 203
[[{'concept': 'Q7743'}, {'concept': 'Q56061'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?d WHERE { { ?r property:P17 ?d . ?d rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q7743 } UNION { ?r property:P17 ?d . ?d rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q56061 } } GROUP BY ?d } . FILTER ( ?i >= 203 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type home
action find_reverse_tuple_counts
relation country
type political territorial entity
type administrative territorial entity
value 203
[[{'concept': 'home'}, {'concept': 'administrative territorial entity'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?d WHERE { { ?r property:country ?d . ?d rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:home } UNION { ?r property:country ?d . ?d rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:administrative_territorial_entity } } GROUP BY ?d } . FILTER ( ?i >= 203 ) }
[]
political territorial entity home administrative territorial entity
SYSTEM
6
Q183 Q664 Q16 Q35 Q408 Q40
(c(Q7743)|c(Q56061),P17,c(Q1048835))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q7743
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q56061
value 203
[ANSWER]
[[{'concept': 'Q7743'}, {'concept': 'Q56061'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?d WHERE { { ?r property:P17 ?d . ?d rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q7743 } UNION { ?r property:P17 ?d . ?d rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q56061 } } GROUP BY ?d } . FILTER ( ?i >= 203 ) }
Germany New Zealand Canada Denmark Australia Austria
6
action count
action atleast
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type home
action find_reverse_tuple_counts
relation country
type political territorial entity
type administrative territorial entity
value 203
[[{'concept': 'home'}, {'concept': 'administrative territorial entity'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?d WHERE { { ?r property:country ?d . ?d rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:home } UNION { ?r property:country ?d . ?d rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:administrative_territorial_entity } } GROUP BY ?d } . FILTER ( ?i >= 203 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13862
P20
Q502895
USER
Which person has Negros Occidental as place of death ?
(c(Q502895),P20,Q13862)
action filter_type
action find_reverse
entity Q13862
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q13862']
SELECT DISTINCT ?l WHERE { ?l property:P20 resource:Q13862 . ?l rdf:type ontology:Q502895 }
Negros Occidental
action filter_type
action find_reverse
entity Negros Occidental
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Negros Occidental']
SELECT DISTINCT ?l WHERE { ?l property:place_of_death resource:Negros_Occidental . ?l rdf:type ontology:common_name }
[]
common name
Q6298900
SYSTEM
Juan Araneta
Q6298900
(c(Q502895),P20,Q13862)
action filter_type
action find_reverse
entity Q13862
relation P20
type Q502895
[ANSWER] has Negros Occidental as place of death
[{'concept': 'Q502895'}, 'P20', 'Q13862']
SELECT DISTINCT ?l WHERE { ?l property:P20 resource:Q13862 . ?l rdf:type ontology:Q502895 }
Juan Araneta
Juan Araneta has Negros Occidental as place of death
Juan Araneta
action filter_type
action find_reverse
entity Negros Occidental
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Negros Occidental']
SELECT DISTINCT ?l WHERE { ?l property:place_of_death resource:Negros_Occidental . ?l rdf:type ontology:common_name }
[]