Simple Question (Direct)
Simple Question
Q7597569
P54
Q874405
USER
What sports teams are Stan Brogden a member of ?
(Q7597569,P54,c(Q874405))
action filter_type
action find
entity Q7597569
relation P54
type Q874405
['Q7597569', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q874405 . resource:Q7597569 property:P54 ?d }
Stan Brogden
action filter_type
action find
entity Stan Brogden
relation member of sports team
type social group
['Stan Brogden', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:social_group . resource:Stan_Brogden property:member_of_sports_team ?d }
[]
social group
Q2352689 Q3469726 Q1202117
SYSTEM
Bradford Bulls, Salford Red Devils, Leeds Rhinos
Q863661 Q2352689 Q3469726 Q1202117 Q3142169
(Q7597569,P54,c(Q874405))
action filter_type
action find
entity Q7597569
relation P54
type Q874405
Stan Brogden are of the [ANSWERS]
['Q7597569', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q874405 . resource:Q7597569 property:P54 ?d }
Hull F.C. Bradford Bulls Salford Red Devils Leeds Rhinos Huddersfield Giants
Stan Brogden are of the Bradford Bulls, Salford Red Devils and Leeds Rhinos
Bradford Bulls Salford Red Devils Leeds Rhinos
action filter_type
action find
entity Stan Brogden
relation member of sports team
type social group
['Stan Brogden', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:social_group . resource:Stan_Brogden property:member_of_sports_team ?d }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2352689 Q3469726 Q1202117
P466
Q811979
USER
Which architectural structures are inhabited by those social groups ?
(c(Q811979),P466,Q2352689) (c(Q811979),P466,Q3469726) (c(Q811979),P466,Q1202117)
action filter_type
action find_reverse
entity prev_answer
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q2352689'] [{'concept': 'Q811979'}, 'P466', 'Q3469726'] [{'concept': 'Q811979'}, 'P466', 'Q1202117']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q811979 . ?j property:P466 ?a . VALUES ( ?a ) { ( resource:Q863661 ) ( resource:Q2352689 ) ( resource:Q3469726 ) } }
Bradford Bulls Salford Red Devils Leeds Rhinos
action filter_type
action find_reverse
entity prev_answer
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Bradford Bulls'] [{'concept': 'architectural structure'}, 'occupant', 'Salford Red Devils'] [{'concept': 'architectural structure'}, 'occupant', 'Leeds Rhinos']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:architectural_structure . ?j property:occupant ?a . VALUES ( ?a ) { ( resource:Hull_F.C. ) ( resource:Bradford_Bulls ) ( resource:Salford_Red_Devils ) } }
[]
architectural structure
Q3469727 Q3115714 Q1187032
SYSTEM
AJ Bell Stadium, Odsal Stadium, Headingley Stadium
Q3115714 Q5603951 Q3469727 Q3523384 Q1187032
(c(Q811979),P466,Q2352689) (c(Q811979),P466,Q3469726) (c(Q811979),P466,Q1202117)
action filter_type
action find_reverse
entity prev_answer
relation P466
type Q811979
[ANSWERS] are inhabited by those social groups
[{'concept': 'Q811979'}, 'P466', 'Q2352689'] [{'concept': 'Q811979'}, 'P466', 'Q3469726'] [{'concept': 'Q811979'}, 'P466', 'Q1202117']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q811979 . ?j property:P466 ?a . VALUES ( ?a ) { ( resource:Q863661 ) ( resource:Q2352689 ) ( resource:Q3469726 ) } }
Odsal Stadium Greenfield Athletic Ground AJ Bell Stadium The Willows, Salford Headingley Stadium
AJ Bell Stadium, Odsal Stadium and Headingley Stadium are inhabited by those social groups
AJ Bell Stadium Odsal Stadium Headingley Stadium
action filter_type
action find_reverse
entity prev_answer
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Bradford Bulls'] [{'concept': 'architectural structure'}, 'occupant', 'Salford Red Devils'] [{'concept': 'architectural structure'}, 'occupant', 'Leeds Rhinos']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:architectural_structure . ?j property:occupant ?a . VALUES ( ?a ) { ( resource:Hull_F.C. ) ( resource:Bradford_Bulls ) ( resource:Salford_Red_Devils ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1187032
P127
Q874405
USER
Who is the owner of that architectural structure ?
(Q1187032,P127,c(Q874405))
action filter_type
action find
entity Q1187032
relation P127
type Q874405
['Q1187032', 'P127', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q1187032 property:P127 ?h . ?h rdf:type ontology:Q874405 }
Headingley Stadium
action filter_type
action find
entity Headingley Stadium
relation owned by
type social group
['Headingley Stadium', 'owned by', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Headingley_Stadium property:owned_by ?h . ?h rdf:type ontology:social_group }
[]
social group
Clarification for simple ques.
Q3469727
SYSTEM
Did you mean AJ Bell Stadium ?
Q3469727 Q3115714 Q1187032
(Q3469727,P127,c(Q874405)) (Q3115714,P127,c(Q874405)) (Q1187032,P127,c(Q874405))
[ANSWER]
['Q3469727', 'P127', {'concept': 'Q874405'}] ['Q3115714', 'P127', {'concept': 'Q874405'}] ['Q1187032', 'P127', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q1187032 property:P127 ?h . ?h rdf:type ontology:Q874405 }
AJ Bell Stadium Odsal Stadium Headingley Stadium
Did you mean AJ Bell Stadium ?
AJ Bell Stadium
['AJ Bell Stadium', 'owned by', {'concept': 'social group'}] ['Odsal Stadium', 'owned by', {'concept': 'social group'}] ['Headingley Stadium', 'owned by', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Headingley_Stadium property:owned_by ?h . ?h rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
USER
No, I meant Headingley Stadium. Could you tell me the answer for that?
(Q1187032,P127,c(Q874405))
Q1187032
['Q1187032', 'P127', {'concept': 'Q874405'}]
['Headingley Stadium', 'owned by', {'concept': 'social group'}]
[]
Q1202117
SYSTEM
Leeds Rhinos
Q1202117
(Q1187032,P127,c(Q874405))
action filter_type
action find
entity Q1187032
relation P127
type Q874405
The owner of that architectural structure is the [ANSWER]
['Q1187032', 'P127', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q1187032 property:P127 ?h . ?h rdf:type ontology:Q874405 }
Leeds Rhinos
The owner of that architectural structure is the Leeds Rhinos
Leeds Rhinos
action filter_type
action find
entity Headingley Stadium
relation owned by
type social group
['Headingley Stadium', 'owned by', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Headingley_Stadium property:owned_by ?h . ?h rdf:type ontology:social_group }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1202117 Q6543487 Q221086
P17
Q15617994
USER
Is that social group present in Licking Heights School District and Generalski Stol ?
(Q1202117,P17,Q6543487) (Q1202117,P17,Q221086)
action is_in
entity Q1202117
action intersection
action find_reverse
entity Q6543487
relation P17
action find_reverse
entity Q221086
relation P17
['Q1202117', 'P17', 'Q6543487'] ['Q1202117', 'P17', 'Q221086']
ASK WHERE { resource:Q1202117 property:P17 resource:Q221086 . resource:Q1202117 property:P17 resource:Q6543487 }
Leeds Rhinos Licking Heights School District Generalski Stol
action is_in
entity Leeds Rhinos
action intersection
action find_reverse
entity Licking Heights School District
relation country
action find_reverse
entity Generalski Stol
relation country
['Leeds Rhinos', 'country', 'Licking Heights School District'] ['Leeds Rhinos', 'country', 'Generalski Stol']
ASK WHERE { resource:Leeds_Rhinos property:country resource:Generalski_Stol . resource:Leeds_Rhinos property:country resource:Licking_Heights_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1202117,P17,Q6543487) (Q1202117,P17,Q221086)
action is_in
entity Q1202117
action intersection
action find_reverse
entity Q6543487
relation P17
action find_reverse
entity Q221086
relation P17
[ANSWER]
['Q1202117', 'P17', 'Q6543487'] ['Q1202117', 'P17', 'Q221086']
ASK WHERE { resource:Q1202117 property:P17 resource:Q221086 . resource:Q1202117 property:P17 resource:Q6543487 }
No
action is_in
entity Leeds Rhinos
action intersection
action find_reverse
entity Licking Heights School District
relation country
action find_reverse
entity Generalski Stol
relation country
['Leeds Rhinos', 'country', 'Licking Heights School District'] ['Leeds Rhinos', 'country', 'Generalski Stol']
ASK WHERE { resource:Leeds_Rhinos property:country resource:Generalski_Stol . resource:Leeds_Rhinos property:country resource:Licking_Heights_School_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1187032 Q145
P17
Q15617994
USER
Is Headingley Stadium situated in United Kingdom ?
(Q1187032,P17,Q145)
action is_in
entity Q145
action find
entity Q1187032
relation P17
['Q1187032', 'P17', 'Q145']
ASK WHERE { resource:Q1187032 property:P17 resource:Q145 }
Headingley Stadium United Kingdom
action is_in
entity United Kingdom
action find
entity Headingley Stadium
relation country
['Headingley Stadium', 'country', 'United Kingdom']
ASK WHERE { resource:Headingley_Stadium property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1187032,P17,Q145)
action is_in
entity Q145
action find
entity Q1187032
relation P17
[ANSWER]
['Q1187032', 'P17', 'Q145']
ASK WHERE { resource:Q1187032 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Headingley Stadium
relation country
['Headingley Stadium', 'country', 'United Kingdom']
ASK WHERE { resource:Headingley_Stadium property:country resource:United_Kingdom }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q874405 Q83620
USER
How many thoroughfares can be described as facility operator of exactly 2 social groups ?
(c(Q83620),P137,c(Q874405))
action count
action equal
action find_tuple_counts
relation P137
type Q83620
type Q874405
value 2
[{'concept': 'Q83620'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?o ) WHERE { ?f property:P137 ?a . ?f rdf:type ontology:Q83620 . ?a rdf:type ontology:Q874405 } GROUP BY ?f } . FILTER ( ?o = 2 ) }
action count
action equal
action find_tuple_counts
relation operator
type thoroughfare
type social group
value 2
[{'concept': 'thoroughfare'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?o ) WHERE { ?f property:operator ?a . ?f rdf:type ontology:thoroughfare . ?a rdf:type ontology:social_group } GROUP BY ?f } . FILTER ( ?o = 2 ) }
[]
social group thoroughfare
SYSTEM
1
Q6708162
(c(Q83620),P137,c(Q874405))
action count
action equal
action find_tuple_counts
relation P137
type Q83620
type Q874405
value 2
[ANSWER]
[{'concept': 'Q83620'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?o ) WHERE { ?f property:P137 ?a . ?f rdf:type ontology:Q83620 . ?a rdf:type ontology:Q874405 } GROUP BY ?f } . FILTER ( ?o = 2 ) }
Lyme Regis branch line
1
action count
action equal
action find_tuple_counts
relation operator
type thoroughfare
type social group
value 2
[{'concept': 'thoroughfare'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?o ) WHERE { ?f property:operator ?a . ?f rdf:type ontology:thoroughfare . ?a rdf:type ontology:social_group } GROUP BY ?f } . FILTER ( ?o = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6037139 Q3469726
P17
Q15617994
USER
Which administrative territories are Salford Red Devils or Banafsheh Daraq a part of ?
OR((Q3469726,P17,c(Q15617994)), (Q6037139,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3469726
relation P17
action find
entity Q6037139
relation P17
type Q15617994
{'OR': [['Q3469726', 'P17', {'concept': 'Q15617994'}], ['Q6037139', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?v ) { ( resource:Q6037139 ) ( resource:Q3469726 ) } . ?v property:P17 ?t } . ?t rdf:type ontology:Q15617994 }
Banafsheh Daraq Salford Red Devils
action filter_type
action union
action find
entity Salford Red Devils
relation country
action find
entity Banafsheh Daraq
relation country
type designation for an administrative territorial entity
{'OR': [['Salford Red Devils', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Banafsheh Daraq', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?v ) { ( resource:Banafsheh_Daraq ) ( resource:Salford_Red_Devils ) } . ?v property:country ?t } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145 Q794
SYSTEM
United Kingdom, Iran
Q145 Q794
OR((Q3469726,P17,c(Q15617994)), (Q6037139,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3469726
relation P17
action find
entity Q6037139
relation P17
type Q15617994
[ANSWERS] are Salford Red Devils or Banafsheh Daraq a part of
{'OR': [['Q3469726', 'P17', {'concept': 'Q15617994'}], ['Q6037139', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?v ) { ( resource:Q6037139 ) ( resource:Q3469726 ) } . ?v property:P17 ?t } . ?t rdf:type ontology:Q15617994 }
United Kingdom Iran
United Kingdom and Iran are Salford Red Devils or Banafsheh Daraq a part of
United Kingdom Iran
action filter_type
action union
action find
entity Salford Red Devils
relation country
action find
entity Banafsheh Daraq
relation country
type designation for an administrative territorial entity
{'OR': [['Salford Red Devils', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Banafsheh Daraq', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?v ) { ( resource:Banafsheh_Daraq ) ( resource:Salford_Red_Devils ) } . ?v property:country ?t } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q503284
P530
Q15617994
USER
Do Werdum have diplomatic relations with those ones ?
(Q503284,P530,Q145) (Q503284,P530,Q794)
action is_in
entity prev_answer
action find
entity Q503284
relation P530
['Q503284', 'P530', 'Q145'] ['Q503284', 'P530', 'Q794']
ASK WHERE { resource:Q503284 property:P530 ?f . VALUES ( ?f ) { ( resource:Q145 ) ( resource:Q794 ) } }
Werdum
action is_in
entity prev_answer
action find
entity Werdum
relation diplomatic relation
['Werdum', 'diplomatic relation', 'United Kingdom'] ['Werdum', 'diplomatic relation', 'Iran']
ASK WHERE { resource:Werdum property:diplomatic_relation ?f . VALUES ( ?f ) { ( resource:United_Kingdom ) ( resource:Iran ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q503284,P530,Q145) (Q503284,P530,Q794)
action is_in
entity prev_answer
action find
entity Q503284
relation P530
[ANSWER]
['Q503284', 'P530', 'Q145'] ['Q503284', 'P530', 'Q794']
ASK WHERE { resource:Q503284 property:P530 ?f . VALUES ( ?f ) { ( resource:Q145 ) ( resource:Q794 ) } }
No
action is_in
entity prev_answer
action find
entity Werdum
relation diplomatic relation
['Werdum', 'diplomatic relation', 'United Kingdom'] ['Werdum', 'diplomatic relation', 'Iran']
ASK WHERE { resource:Werdum property:diplomatic_relation ?f . VALUES ( ?f ) { ( resource:United_Kingdom ) ( resource:Iran ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1202117
P127
Q811979
USER
Which architectural structure is owned by Leeds Rhinos ?
(c(Q811979),P127,Q1202117)
action filter_type
action find_reverse
entity Q1202117
relation P127
type Q811979
[{'concept': 'Q811979'}, 'P127', 'Q1202117']
SELECT DISTINCT ?o WHERE { ?o property:P127 resource:Q1202117 . ?o rdf:type ontology:Q811979 }
Leeds Rhinos
action filter_type
action find_reverse
entity Leeds Rhinos
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Leeds Rhinos']
SELECT DISTINCT ?o WHERE { ?o property:owned_by resource:Leeds_Rhinos . ?o rdf:type ontology:architectural_structure }
[]
architectural structure
Q1187032
SYSTEM
Headingley Stadium
Q1187032
(c(Q811979),P127,Q1202117)
action filter_type
action find_reverse
entity Q1202117
relation P127
type Q811979
[ANSWER] is owned by Leeds Rhinos
[{'concept': 'Q811979'}, 'P127', 'Q1202117']
SELECT DISTINCT ?o WHERE { ?o property:P127 resource:Q1202117 . ?o rdf:type ontology:Q811979 }
Headingley Stadium
Headingley Stadium is owned by Leeds Rhinos
Headingley Stadium
action filter_type
action find_reverse
entity Leeds Rhinos
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Leeds Rhinos']
SELECT DISTINCT ?o WHERE { ?o property:owned_by resource:Leeds_Rhinos . ?o rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1202117
P641
Q349
USER
Which sport did that social group participate in ?
(Q1187032,P641,c(Q349))
action filter_type
action find
entity Q1202117
relation P641
type Q349
['Q1187032', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . resource:Q1202117 property:P641 ?p }
Leeds Rhinos
action filter_type
action find
entity Leeds Rhinos
relation sport
type sport
['Headingley Stadium', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . resource:Leeds_Rhinos property:sport ?p }
[]
sport
Q10962
SYSTEM
rugby league
Q10962
(Q1187032,P641,c(Q349))
action filter_type
action find
entity Q1202117
relation P641
type Q349
That social group participated in [ANSWER]
['Q1187032', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . resource:Q1202117 property:P641 ?p }
rugby league
That social group participated in rugby league
rugby league
action filter_type
action find
entity Leeds Rhinos
relation sport
type sport
['Headingley Stadium', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . resource:Leeds_Rhinos property:sport ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q794 Q29
P530
Q1048835
USER
How many political territories have diplomatic relationships with Iran and Spain ?
(Q794,P530,c(Q1048835)) (Q29,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q794
relation P530
type Q1048835
action filter_type
action find
entity Q29
relation P530
type Q1048835
['Q794', 'P530', {'concept': 'Q1048835'}] ['Q29', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Q794 property:P530 ?d . ?d rdf:type ontology:Q1048835 . resource:Q29 property:P530 ?d . ?d rdf:type ontology:Q1048835 }
Iran Spain
action count
action intersection
action filter_type
action find
entity Iran
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Spain
relation diplomatic relation
type political territorial entity
['Iran', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Spain', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Iran property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity . resource:Spain property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(Q794,P530,c(Q1048835)) (Q29,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q794
relation P530
type Q1048835
action filter_type
action find
entity Q29
relation P530
type Q1048835
[ANSWER]
['Q794', 'P530', {'concept': 'Q1048835'}] ['Q29', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Q794 property:P530 ?d . ?d rdf:type ontology:Q1048835 . resource:Q29 property:P530 ?d . ?d rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find
entity Iran
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Spain
relation diplomatic relation
type political territorial entity
['Iran', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Spain', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Iran property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity . resource:Spain property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q740752 Q811979
USER
Which transport companies manages atleast 1 architectural structure ?
(c(Q811979),P137,c(Q740752))
action atleast
action find_reverse_tuple_counts
relation P137
type Q740752
type Q811979
value 1
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:P137 ?x . ?x rdf:type ontology:Q740752 . ?o rdf:type ontology:Q811979 } GROUP BY ?x } . FILTER ( ?k >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation operator
type transport company
type architectural structure
value 1
[{'concept': 'architectural structure'}, 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:operator ?x . ?x rdf:type ontology:transport_company . ?o rdf:type ontology:architectural_structure } GROUP BY ?x } . FILTER ( ?k >= 1 ) }
[]
transport company architectural structure
Q794563 Q295619
SYSTEM
Aéroports de Paris, ANA – Aeroportos de Portugal
Q794563 Q295619
(c(Q811979),P137,c(Q740752))
action atleast
action find_reverse_tuple_counts
relation P137
type Q740752
type Q811979
value 1
[ANSWERS] manage atleast 1 architectural structure
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:P137 ?x . ?x rdf:type ontology:Q740752 . ?o rdf:type ontology:Q811979 } GROUP BY ?x } . FILTER ( ?k >= 1 ) }
Aéroports de Paris ANA – Aeroportos de Portugal
Aéroports de Paris and ANA – Aeroportos de Portugal manage atleast 1 architectural structure
Aéroports de Paris ANA – Aeroportos de Portugal
action atleast
action find_reverse_tuple_counts
relation operator
type transport company
type architectural structure
value 1
[{'concept': 'architectural structure'}, 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:operator ?x . ?x rdf:type ontology:transport_company . ?o rdf:type ontology:architectural_structure } GROUP BY ?x } . FILTER ( ?k >= 1 ) }
[]