Simple Question (Direct)
Simple Question
Q3082917
P27
Q1048835
USER
Which political territory does Frankie Sheahan belong to ?
(Q3082917,P27,c(Q1048835))
action filter_type
action find
entity Q3082917
relation P27
type Q1048835
['Q3082917', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q3082917 property:P27 ?f }
Frankie Sheahan
action filter_type
action find
entity Frankie Sheahan
relation country of citizenship
type political territorial entity
['Frankie Sheahan', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Frankie_Sheahan property:country_of_citizenship ?f }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q3082917,P27,c(Q1048835))
action filter_type
action find
entity Q3082917
relation P27
type Q1048835
Frankie Sheahan belongs to [ANSWER]
['Q3082917', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q3082917 property:P27 ?f }
Canada
Frankie Sheahan belongs to Canada
Canada
action filter_type
action find
entity Frankie Sheahan
relation country of citizenship
type political territorial entity
['Frankie Sheahan', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Frankie_Sheahan property:country_of_citizenship ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3082917
P19
Q56061
USER
Where was Frankie Sheahan born ?
(Q3082917,P19,c(Q56061))
action filter_type
action find
entity Q3082917
relation P19
type Q56061
['Q3082917', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3082917 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Frankie Sheahan
action filter_type
action find
entity Frankie Sheahan
relation place of birth
type administrative territorial entity
['Frankie Sheahan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Frankie_Sheahan property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q172
SYSTEM
Toronto
Q172
(Q3082917,P19,c(Q56061))
action filter_type
action find
entity Q3082917
relation P19
type Q56061
Frankie Sheahan was born in [ANSWER]
['Q3082917', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3082917 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Toronto
Frankie Sheahan was born in Toronto
Toronto
action filter_type
action find
entity Frankie Sheahan
relation place of birth
type administrative territorial entity
['Frankie Sheahan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Frankie_Sheahan property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types are the registry port of approximately 3 administrative territories ?
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?e = 3 ) . { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?e ) WHERE { ?b property:P532 ?t . ?b rdf:type ontology:Q2235308 . ?t rdf:type ontology:Q56061 } GROUP BY ?b } }
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?e = 3 ) . { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?e ) WHERE { ?b property:port_of_registry ?t . ?b rdf:type ontology:ship_type . ?t rdf:type ontology:administrative_territorial_entity } GROUP BY ?b } }
[]
administrative territorial entity ship type
Q11707059
SYSTEM
MS Arrow
Q11707059
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[ANSWER] is the registry port of approximately 3 administrative territories
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?e = 3 ) . { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?e ) WHERE { ?b property:P532 ?t . ?b rdf:type ontology:Q2235308 . ?t rdf:type ontology:Q56061 } GROUP BY ?b } }
MS Arrow
MS Arrow is the registry port of approximately 3 administrative territories
MS Arrow
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?e = 3 ) . { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?e ) WHERE { ?b property:port_of_registry ?t . ?b rdf:type ontology:ship_type . ?t rdf:type ontology:administrative_territorial_entity } GROUP BY ?b } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11707059
P127
Q43229
USER
Which organization does that ship type belong to ?
(Q11707059,P127,c(Q43229))
action filter_type
action find
entity Q11707059
relation P127
type Q43229
['Q11707059', 'P127', {'concept': 'Q43229'}]
SELECT DISTINCT ?s WHERE { resource:Q11707059 property:P127 ?s . ?s rdf:type ontology:Q43229 }
MS Arrow
action filter_type
action find
entity MS Arrow
relation owned by
type organization
['MS Arrow', 'owned by', {'concept': 'organization'}]
SELECT DISTINCT ?s WHERE { resource:MS_Arrow property:owned_by ?s . ?s rdf:type ontology:organization }
[]
organization
Q7442038
SYSTEM
Seatruck Ferries
Q7442038
(Q11707059,P127,c(Q43229))
action filter_type
action find
entity Q11707059
relation P127
type Q43229
That ship type belongs to [ANSWER]
['Q11707059', 'P127', {'concept': 'Q43229'}]
SELECT DISTINCT ?s WHERE { resource:Q11707059 property:P127 ?s . ?s rdf:type ontology:Q43229 }
Seatruck Ferries
That ship type belongs to Seatruck Ferries
Seatruck Ferries
action filter_type
action find
entity MS Arrow
relation owned by
type organization
['MS Arrow', 'owned by', {'concept': 'organization'}]
SELECT DISTINCT ?s WHERE { resource:MS_Arrow property:owned_by ?s . ?s rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P127
Q2235308
USER
How many ship types are under posessision of that organization ?
(c(Q2235308),P127,Q7442038)
action count
action filter_type
action find_reverse
entity Q7442038
relation P127
type Q2235308
[{'concept': 'Q2235308'}, 'P127', 'Q7442038']
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i rdf:type ontology:Q2235308 . ?i property:P127 resource:Q7442038 }
action count
action filter_type
action find_reverse
entity Seatruck Ferries
relation owned by
type ship type
[{'concept': 'ship type'}, 'owned by', 'Seatruck Ferries']
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i rdf:type ontology:ship_type . ?i property:owned_by resource:Seatruck_Ferries }
[]
ship type
SYSTEM
7
Q6718235 Q6718233 Q6718194 Q6718193 Q6718120 Q6718080 Q11707059
(c(Q2235308),P127,Q7442038)
action count
action filter_type
action find_reverse
entity Q7442038
relation P127
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P127', 'Q7442038']
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i rdf:type ontology:Q2235308 . ?i property:P127 resource:Q7442038 }
MS Stena Performer MS Stena Precision MS Seatruck Progress MS Seatruck Power MS Moondance MS Hildasay MS Arrow
7
action count
action filter_type
action find_reverse
entity Seatruck Ferries
relation owned by
type ship type
[{'concept': 'ship type'}, 'owned by', 'Seatruck Ferries']
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i rdf:type ontology:ship_type . ?i property:owned_by resource:Seatruck_Ferries }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q172
P190
Q13220204 Q56061
USER
How many administrative country subdivisions and administrative territories are twin cities of Toronto ?
(Q172,P190,c(Q13220204)) (Q172,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q172
relation P190
type Q13220204
action filter_type
action find
entity Q172
relation P190
type Q56061
['Q172', 'P190', {'concept': 'Q13220204'}] ['Q172', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } }
Toronto
action count
action union
action filter_type
action find
entity Toronto
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Toronto
relation sister city
type administrative territorial entity
['Toronto', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Toronto', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } }
[]
second-level administrative country subdivision administrative territorial entity
SYSTEM
1 administrative country subdivisions and 13 administrative territories
Q174 Q216 Q9361 Q270 Q134762 Q3766 Q1297 Q490 Q6346 Q2634 Q1489 Q914 Q9899 Q406
(Q172,P190,c(Q13220204)) (Q172,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q172
relation P190
type Q13220204
action filter_type
action find
entity Q172
relation P190
type Q56061
[ANSWER]
['Q172', 'P190', {'concept': 'Q13220204'}] ['Q172', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } }
São Paulo Vilnius Bishkek Warsaw Eilat Damascus Chicago Milan Indianapolis Naples Mexico City Volgograd Amsterdam Istanbul
1 administrative country subdivisions and 13 administrative territories
action count
action union
action filter_type
action find
entity Toronto
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Toronto
relation sister city
type administrative territorial entity
['Toronto', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Toronto', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P36
Q56061
USER
Which administrative territories are the capitals of United States of America ?
(Q30,P36,c(Q56061))
action filter_type
action find
entity Q30
relation P36
type Q56061
['Q30', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q30 property:P36 ?s . ?s rdf:type ontology:Q56061 }
United States of America
action filter_type
action find
entity United States of America
relation capital
type administrative territorial entity
['United States of America', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:United_States_of_America property:capital ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60 Q61
SYSTEM
New York City, Washington, D.C.
Q60 Q61
(Q30,P36,c(Q56061))
action filter_type
action find
entity Q30
relation P36
type Q56061
[ANSWERS]
['Q30', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q30 property:P36 ?s . ?s rdf:type ontology:Q56061 }
New York City Washington, D.C.
New York City and Washington, D.C. are the capitals of United States of America
New York City Washington, D.C.
action filter_type
action find
entity United States of America
relation capital
type administrative territorial entity
['United States of America', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:United_States_of_America property:capital ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P163
Q14660
USER
What is associated with that administrative territory ?
(Q60,P163,c(Q14660)) (Q61,P163,c(Q14660))
action filter_type
action find
entity Q30
relation P163
type Q14660
['Q60', 'P163', {'concept': 'Q14660'}] ['Q61', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?u WHERE { resource:Q30 property:P163 ?u . ?u rdf:type ontology:Q14660 }
United States of America
action filter_type
action find
entity United States of America
relation flag
type flag
['New York City', 'flag', {'concept': 'flag'}] ['Washington, D.C.', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?u WHERE { resource:United_States_of_America property:flag ?u . ?u rdf:type ontology:flag }
[]
flag
Q42537
SYSTEM
flag of the United States of America
Q42537
(Q60,P163,c(Q14660)) (Q61,P163,c(Q14660))
action filter_type
action find
entity Q30
relation P163
type Q14660
The [ANSWER] is associated with that administrative territory
['Q60', 'P163', {'concept': 'Q14660'}] ['Q61', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?u WHERE { resource:Q30 property:P163 ?u . ?u rdf:type ontology:Q14660 }
flag of the United States of America
The flag of the United States of America is associated with that administrative territory
flag of the United States of America
action filter_type
action find
entity United States of America
relation flag
type flag
['New York City', 'flag', {'concept': 'flag'}] ['Washington, D.C.', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?u WHERE { resource:United_States_of_America property:flag ?u . ?u rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P610
Q14524493
USER
Which terrain is the highest point of United States of America ?
(Q30,P610,c(Q14524493))
action filter_type
action find
entity Q30
relation P610
type Q14524493
['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?b WHERE { resource:Q30 property:P610 ?b . ?b rdf:type ontology:Q14524493 }
United States of America
action filter_type
action find
entity United States of America
relation highest point
type terrain
['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?b WHERE { resource:United_States_of_America property:highest_point ?b . ?b rdf:type ontology:terrain }
[]
terrain
Q130018
SYSTEM
Denali
Q130018
(Q30,P610,c(Q14524493))
action filter_type
action find
entity Q30
relation P610
type Q14524493
[ANSWER] is the highest point of United States of America
['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?b WHERE { resource:Q30 property:P610 ?b . ?b rdf:type ontology:Q14524493 }
Denali
Denali is the highest point of United States of America
Denali
action filter_type
action find
entity United States of America
relation highest point
type terrain
['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?b WHERE { resource:United_States_of_America property:highest_point ?b . ?b rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q130018
P276
Q5408678
USER
Where is that terrain located ?
(Q130018,P276,c(Q5408678))
action filter_type
action find
entity Q130018
relation P276
type Q5408678
['Q130018', 'P276', {'concept': 'Q5408678'}]
SELECT DISTINCT ?o WHERE { resource:Q130018 property:P276 ?o . ?o rdf:type ontology:Q5408678 }
Denali
action filter_type
action find
entity Denali
relation location
type national parks of the United States
['Denali', 'location', {'concept': 'national parks of the United States'}]
SELECT DISTINCT ?o WHERE { resource:Denali property:location ?o . ?o rdf:type ontology:national_parks_of_the_United_States }
[]
national parks of the United States
Q217136
SYSTEM
Denali National Park and Preserve
Q217136
(Q130018,P276,c(Q5408678))
action filter_type
action find
entity Q130018
relation P276
type Q5408678
That terrain is located in [ANSWER]
['Q130018', 'P276', {'concept': 'Q5408678'}]
SELECT DISTINCT ?o WHERE { resource:Q130018 property:P276 ?o . ?o rdf:type ontology:Q5408678 }
Denali National Park and Preserve
That terrain is located in Denali National Park and Preserve
Denali National Park and Preserve
action filter_type
action find
entity Denali
relation location
type national parks of the United States
['Denali', 'location', {'concept': 'national parks of the United States'}]
SELECT DISTINCT ?o WHERE { resource:Denali property:location ?o . ?o rdf:type ontology:national_parks_of_the_United_States }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3027805
Q5408678
USER
And also tell me about Old Faithful Inn?
(Q3027805,P276,c(Q5408678))
action filter_type
action find
entity Q3027805
relation P276
type Q5408678
['Q3027805', 'P276', {'concept': 'Q5408678'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q5408678 . resource:Q3027805 property:P276 ?k }
Old Faithful Inn
action filter_type
action find
entity Old Faithful Inn
relation location
type national parks of the United States
['Old Faithful Inn', 'location', {'concept': 'national parks of the United States'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:national_parks_of_the_United_States . resource:Old_Faithful_Inn property:location ?k }
[]
national parks of the United States
Q351
SYSTEM
Yellowstone National Park
Q351
(Q3027805,P276,c(Q5408678))
action filter_type
action find
entity Q3027805
relation P276
type Q5408678
[ANSWER]
['Q3027805', 'P276', {'concept': 'Q5408678'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q5408678 . resource:Q3027805 property:P276 ?k }
Yellowstone National Park
Yellowstone National Park
action filter_type
action find
entity Old Faithful Inn
relation location
type national parks of the United States
['Old Faithful Inn', 'location', {'concept': 'national parks of the United States'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:national_parks_of_the_United_States . resource:Old_Faithful_Inn property:location ?k }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3341211 Q351
P17
Q15617994
USER
Which administrative territories are Yellowstone National Park or Louredo located in ?
OR((Q351,P17,c(Q15617994)), (Q3341211,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q351
relation P17
action find
entity Q3341211
relation P17
type Q15617994
{'OR': [['Q351', 'P17', {'concept': 'Q15617994'}], ['Q3341211', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q351 property:P17 ?p } UNION { resource:Q3341211 property:P17 ?p } } }
Louredo Yellowstone National Park
action filter_type
action union
action find
entity Yellowstone National Park
relation country
action find
entity Louredo
relation country
type designation for an administrative territorial entity
{'OR': [['Yellowstone National Park', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Louredo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Yellowstone_National_Park property:country ?p } UNION { resource:Louredo property:country ?p } } }
[]
designation for an administrative territorial entity
Q30 Q45
SYSTEM
United States of America, Portugal
Q30 Q45
OR((Q351,P17,c(Q15617994)), (Q3341211,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q351
relation P17
action find
entity Q3341211
relation P17
type Q15617994
Yellowstone National Park or Louredo are located in [ANSWERS]
{'OR': [['Q351', 'P17', {'concept': 'Q15617994'}], ['Q3341211', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q351 property:P17 ?p } UNION { resource:Q3341211 property:P17 ?p } } }
United States of America Portugal
Yellowstone National Park or Louredo are located in United States of America and Portugal
United States of America Portugal
action filter_type
action union
action find
entity Yellowstone National Park
relation country
action find
entity Louredo
relation country
type designation for an administrative territorial entity
{'OR': [['Yellowstone National Park', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Louredo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Yellowstone_National_Park property:country ?p } UNION { resource:Louredo property:country ?p } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3341211 Q7375725
P17
Q15617994
USER
How many administrative territories are Louredo or Ruangwa District a part of ?
(Q3341211,P17,c(Q15617994)) (Q7375725,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q3341211
relation P17
type Q15617994
action filter_type
action find
entity Q7375725
relation P17
type Q15617994
['Q3341211', 'P17', {'concept': 'Q15617994'}] ['Q7375725', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { ?r rdf:type ontology:Q15617994 . resource:Q3341211 property:P17 ?r } UNION { resource:Q7375725 property:P17 ?r . ?r rdf:type ontology:Q15617994 } }
Louredo Ruangwa District
action count
action union
action filter_type
action find
entity Louredo
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Ruangwa District
relation country
type designation for an administrative territorial entity
['Louredo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ruangwa District', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Louredo property:country ?r } UNION { resource:Ruangwa_District property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q45 Q924
(Q3341211,P17,c(Q15617994)) (Q7375725,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q3341211
relation P17
type Q15617994
action filter_type
action find
entity Q7375725
relation P17
type Q15617994
[ANSWER]
['Q3341211', 'P17', {'concept': 'Q15617994'}] ['Q7375725', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { ?r rdf:type ontology:Q15617994 . resource:Q3341211 property:P17 ?r } UNION { resource:Q7375725 property:P17 ?r . ?r rdf:type ontology:Q15617994 } }
Portugal Tanzania
2
action count
action union
action filter_type
action find
entity Louredo
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Ruangwa District
relation country
type designation for an administrative territorial entity
['Louredo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ruangwa District', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Louredo property:country ?r } UNION { resource:Ruangwa_District property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]