Simple Question (Direct)
Simple Question
Q777184
P54
Q1194951
USER
What is Shabir Isoufi a member of ?
(Q777184,P54,c(Q1194951))
action filter_type
action find
entity Q777184
relation P54
type Q1194951
['Q777184', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1194951 . resource:Q777184 property:P54 ?k }
Shabir Isoufi
action filter_type
action find
entity Shabir Isoufi
relation member of sports team
type national sports team
['Shabir Isoufi', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:national_sports_team . resource:Shabir_Isoufi property:member_of_sports_team ?k }
[]
national sports team
Q192966
SYSTEM
Afghanistan national football team
Q192966
(Q777184,P54,c(Q1194951))
action filter_type
action find
entity Q777184
relation P54
type Q1194951
Shabir Isoufi a member of is [ANSWER]
['Q777184', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1194951 . resource:Q777184 property:P54 ?k }
Afghanistan national football team
Shabir Isoufi a member of is Afghanistan national football team
Afghanistan national football team
action filter_type
action find
entity Shabir Isoufi
relation member of sports team
type national sports team
['Shabir Isoufi', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:national_sports_team . resource:Shabir_Isoufi property:member_of_sports_team ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q777184
P19
Q56061
USER
Where was that person born ?
(Q192966,P19,c(Q56061))
action filter_type
action find
entity Q777184
relation P19
type Q56061
['Q192966', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q777184 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Shabir Isoufi
action filter_type
action find
entity Shabir Isoufi
relation place of birth
type administrative territorial entity
['Afghanistan national football team', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Shabir_Isoufi property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q45604
SYSTEM
Kandahar
Q45604
(Q192966,P19,c(Q56061))
action filter_type
action find
entity Q777184
relation P19
type Q56061
That person was born in [ANSWER]
['Q192966', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q777184 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Kandahar
That person was born in Kandahar
Kandahar
action filter_type
action find
entity Shabir Isoufi
relation place of birth
type administrative territorial entity
['Afghanistan national football team', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Shabir_Isoufi property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q45604 Q8409
P138
Q502895
USER
Is Alexander the Great Kandahar named after ?
(Q45604,P138,Q8409)
action is_in
entity Q8409
action find
entity Q45604
relation P138
['Q45604', 'P138', 'Q8409']
ASK WHERE { resource:Q45604 property:P138 resource:Q8409 }
Kandahar Alexander the Great
action is_in
entity Alexander the Great
action find
entity Kandahar
relation named after
['Kandahar', 'named after', 'Alexander the Great']
ASK WHERE { resource:Kandahar property:named_after resource:Alexander_the_Great }
[]
common name
SYSTEM
YES
(Q45604,P138,Q8409)
action is_in
entity Q8409
action find
entity Q45604
relation P138
[ANSWER]
['Q45604', 'P138', 'Q8409']
ASK WHERE { resource:Q45604 property:P138 resource:Q8409 }
Yes
action is_in
entity Alexander the Great
action find
entity Kandahar
relation named after
['Kandahar', 'named after', 'Alexander the Great']
ASK WHERE { resource:Kandahar property:named_after resource:Alexander_the_Great }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q45604
P1376
Q7275
USER
Which state has that administrative territory as its county seat ?
action filter_type
action find
entity Q45604
relation P1376
type Q7275
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q7275 . resource:Q45604 property:P1376 ?z }
Kandahar
action filter_type
action find
entity Kandahar
relation capital of
type state
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:state . resource:Kandahar property:capital_of ?z }
[]
state
Q467627
SYSTEM
Durrani Empire
Q467627
action filter_type
action find
entity Q45604
relation P1376
type Q7275
[ANSWER] has that administrative territory as its county seat
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q7275 . resource:Q45604 property:P1376 ?z }
Durrani Empire
Durrani Empire has that administrative territory as its county seat
Durrani Empire
action filter_type
action find
entity Kandahar
relation capital of
type state
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:state . resource:Kandahar property:capital_of ?z }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q337567 Q1267889 Q56061
USER
Which administrative territories are located in the neighbourhood of around 12 still waterss or waterways ?
(c(Q56061),P206,c(Q337567)|c(Q1267889))
action approx
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q1267889
value 12
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) ?r WHERE { { ?r property:P206 ?b . ?r rdf:type ontology:Q56061 . ?b rdf:type ontology:Q337567 } UNION { ?r property:P206 ?b . ?r rdf:type ontology:Q56061 . ?b rdf:type ontology:Q1267889 } } GROUP BY ?r } . FILTER ( ?p = 12 ) }
action approx
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
value 12
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) ?r WHERE { { ?r property:located_next_to_body_of_water ?b . ?r rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:still_waters } UNION { ?r property:located_next_to_body_of_water ?b . ?r rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:waterway } } GROUP BY ?r } . FILTER ( ?p = 12 ) }
[]
still waters waterway administrative territorial entity
Q1709
SYSTEM
Schwerin
Q1709
(c(Q56061),P206,c(Q337567)|c(Q1267889))
action approx
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q1267889
value 12
[ANSWER] is located in the neighbourhood of around 12 still waterss or waterways
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) ?r WHERE { { ?r property:P206 ?b . ?r rdf:type ontology:Q56061 . ?b rdf:type ontology:Q337567 } UNION { ?r property:P206 ?b . ?r rdf:type ontology:Q56061 . ?b rdf:type ontology:Q1267889 } } GROUP BY ?r } . FILTER ( ?p = 12 ) }
Schwerin
Schwerin is located in the neighbourhood of around 12 still waterss or waterways
Schwerin
action approx
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
value 12
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) ?r WHERE { { ?r property:located_next_to_body_of_water ?b . ?r rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:still_waters } UNION { ?r property:located_next_to_body_of_water ?b . ?r rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:waterway } } GROUP BY ?r } . FILTER ( ?p = 12 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P291
Q56061 Q21114848 Q2342494
USER
Which administrative territories are the locations of publication of atleast 38 magazine genres and collectables ?
(c(Q21114848)|c(Q2342494),P291,c(Q56061))
action atleast
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
value 38
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?k WHERE { { ?e property:P291 ?k . ?k rdf:type ontology:Q56061 . ?e rdf:type ontology:Q2342494 } UNION { ?e property:P291 ?k . ?e rdf:type ontology:Q21114848 . ?k rdf:type ontology:Q56061 } } GROUP BY ?k } . FILTER ( ?c >= 38 ) }
action atleast
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
value 38
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?k WHERE { { ?e property:place_of_publication ?k . ?k rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:collectable } UNION { ?e property:place_of_publication ?k . ?e rdf:type ontology:magazine_genre . ?k rdf:type ontology:administrative_territorial_entity } } GROUP BY ?k } . FILTER ( ?c >= 38 ) }
[]
administrative territorial entity magazine genre collectable
Q90 Q84 Q60
SYSTEM
Paris, London, New York City
Q90 Q84 Q60 Q269
(c(Q21114848)|c(Q2342494),P291,c(Q56061))
action atleast
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
value 38
[ANSWERS] are the locations of publication of atleast 38 magazine genres and collectables
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?k WHERE { { ?e property:P291 ?k . ?k rdf:type ontology:Q56061 . ?e rdf:type ontology:Q2342494 } UNION { ?e property:P291 ?k . ?e rdf:type ontology:Q21114848 . ?k rdf:type ontology:Q56061 } } GROUP BY ?k } . FILTER ( ?c >= 38 ) }
Paris London New York City Tashkent
Paris, London and New York City are the locations of publication of atleast 38 magazine genres and collectables
Paris London New York City
action atleast
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
value 38
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?k WHERE { { ?e property:place_of_publication ?k . ?k rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:collectable } UNION { ?e property:place_of_publication ?k . ?e rdf:type ontology:magazine_genre . ?k rdf:type ontology:administrative_territorial_entity } } GROUP BY ?k } . FILTER ( ?c >= 38 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q24905649
P840
Q838948
USER
Do Litri and His Shadow have their setting located at those administrative territories ?
(Q24905649,P840,Q90) (Q24905649,P840,Q84) (Q24905649,P840,Q60)
action is_in
entity prev_answer
action find
entity Q24905649
relation P840
['Q24905649', 'P840', 'Q90'] ['Q24905649', 'P840', 'Q84'] ['Q24905649', 'P840', 'Q60']
ASK WHERE { VALUES ( ?a ) { ( resource:Q90 ) ( resource:Q84 ) ( resource:Q60 ) } . resource:Q24905649 property:P840 ?a }
Litri and His Shadow
action is_in
entity prev_answer
action find
entity Litri and His Shadow
relation narrative location
['Litri and His Shadow', 'narrative location', 'Paris'] ['Litri and His Shadow', 'narrative location', 'London'] ['Litri and His Shadow', 'narrative location', 'New York City']
ASK WHERE { VALUES ( ?a ) { ( resource:Paris ) ( resource:London ) ( resource:New_York_City ) } . resource:Litri_and_His_Shadow property:narrative_location ?a }
[]
work of art
SYSTEM
NO
(Q24905649,P840,Q90) (Q24905649,P840,Q84) (Q24905649,P840,Q60)
action is_in
entity prev_answer
action find
entity Q24905649
relation P840
[ANSWER]
['Q24905649', 'P840', 'Q90'] ['Q24905649', 'P840', 'Q84'] ['Q24905649', 'P840', 'Q60']
ASK WHERE { VALUES ( ?a ) { ( resource:Q90 ) ( resource:Q84 ) ( resource:Q60 ) } . resource:Q24905649 property:P840 ?a }
No
action is_in
entity prev_answer
action find
entity Litri and His Shadow
relation narrative location
['Litri and His Shadow', 'narrative location', 'Paris'] ['Litri and His Shadow', 'narrative location', 'London'] ['Litri and His Shadow', 'narrative location', 'New York City']
ASK WHERE { VALUES ( ?a ) { ( resource:Paris ) ( resource:London ) ( resource:New_York_City ) } . resource:Litri_and_His_Shadow property:narrative_location ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1709
P190
Q56061
USER
How many administrative territories are sister towns of Schwerin ?
(Q1709,P190,c(Q56061))
action count
action filter_type
action find
entity Q1709
relation P190
type Q56061
['Q1709', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Q1709 property:P190 ?t . ?t rdf:type ontology:Q56061 }
Schwerin
action count
action filter_type
action find
entity Schwerin
relation sister city
type administrative territorial entity
['Schwerin', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Schwerin property:sister_city ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
4
Q13360 Q25331 Q1770 Q125080
(Q1709,P190,c(Q56061))
action count
action filter_type
action find
entity Q1709
relation P190
type Q56061
[ANSWER]
['Q1709', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Q1709 property:P190 ?t . ?t rdf:type ontology:Q56061 }
Reggio Emilia Odense Tallinn Vaasa
4
action count
action filter_type
action find
entity Schwerin
relation sister city
type administrative territorial entity
['Schwerin', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Schwerin property:sister_city ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q319282
P190
Q56061
USER
And what about Baccarat?
(Q319282,P190,c(Q56061))
action count
action filter_type
action find
entity Q319282
relation P190
type Q56061
['Q319282', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Q319282 property:P190 ?j . ?j rdf:type ontology:Q56061 }
Baccarat
action count
action filter_type
action find
entity Baccarat
relation sister city
type administrative territorial entity
['Baccarat', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Baccarat property:sister_city ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q520119
(Q319282,P190,c(Q56061))
action count
action filter_type
action find
entity Q319282
relation P190
type Q56061
[ANSWER]
['Q319282', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Q319282 property:P190 ?j . ?j rdf:type ontology:Q56061 }
Gernsbach
1
action count
action filter_type
action find
entity Baccarat
relation sister city
type administrative territorial entity
['Baccarat', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Baccarat property:sister_city ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q842854
Q56061
USER
And also tell me about Ali Sabieh?
(Q842854,P190,c(Q56061))
action count
action filter_type
action find
entity Q842854
relation P190
type Q56061
['Q842854', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:Q56061 . resource:Q842854 property:P190 ?s }
Ali Sabieh
action count
action filter_type
action find
entity Ali Sabieh
relation sister city
type administrative territorial entity
['Ali Sabieh', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Ali_Sabieh property:sister_city ?s }
[]
administrative territorial entity
SYSTEM
6
(Q842854,P190,c(Q56061))
action count
action filter_type
action find
entity Q842854
relation P190
type Q56061
[ANSWER]
['Q842854', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:Q56061 . resource:Q842854 property:P190 ?s }
6
action count
action filter_type
action find
entity Ali Sabieh
relation sister city
type administrative territorial entity
['Ali Sabieh', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Ali_Sabieh property:sister_city ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q90 Q7730
P237
Q17335294
USER
How many coats of arms serves as the heraldic designs for Paris or Jewish Autonomous Oblast ?
(Q90,P237,c(Q17335294)) (Q7730,P237,c(Q17335294))
action count
action union
action filter_type
action find
entity Q90
relation P237
type Q17335294
action filter_type
action find
entity Q7730
relation P237
type Q17335294
['Q90', 'P237', {'concept': 'Q17335294'}] ['Q7730', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { resource:Q90 property:P237 ?g . ?g rdf:type ontology:Q17335294 } UNION { resource:Q7730 property:P237 ?g . ?g rdf:type ontology:Q17335294 } }
Paris Jewish Autonomous Oblast
action count
action union
action filter_type
action find
entity Paris
relation coat of arms
type flag or coat of arms
action filter_type
action find
entity Jewish Autonomous Oblast
relation coat of arms
type flag or coat of arms
['Paris', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Jewish Autonomous Oblast', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { resource:Paris property:coat_of_arms ?g . ?g rdf:type ontology:flag_or_coat_of_arms } UNION { resource:Jewish_Autonomous_Oblast property:coat_of_arms ?g . ?g rdf:type ontology:flag_or_coat_of_arms } }
[]
flag or coat of arms
SYSTEM
2
Q2617984 Q1925366
(Q90,P237,c(Q17335294)) (Q7730,P237,c(Q17335294))
action count
action union
action filter_type
action find
entity Q90
relation P237
type Q17335294
action filter_type
action find
entity Q7730
relation P237
type Q17335294
[ANSWER]
['Q90', 'P237', {'concept': 'Q17335294'}] ['Q7730', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { resource:Q90 property:P237 ?g . ?g rdf:type ontology:Q17335294 } UNION { resource:Q7730 property:P237 ?g . ?g rdf:type ontology:Q17335294 } }
Coat of arms of the Jewish Autonomous Oblast coat of arms of Paris
2
action count
action union
action filter_type
action find
entity Paris
relation coat of arms
type flag or coat of arms
action filter_type
action find
entity Jewish Autonomous Oblast
relation coat of arms
type flag or coat of arms
['Paris', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Jewish Autonomous Oblast', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { resource:Paris property:coat_of_arms ?g . ?g rdf:type ontology:flag_or_coat_of_arms } UNION { resource:Jewish_Autonomous_Oblast property:coat_of_arms ?g . ?g rdf:type ontology:flag_or_coat_of_arms } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q548043 Q45604
P17
Q15617994
USER
Which administrative territories are Kandahar or Charmont located in ?
OR((Q45604,P17,c(Q15617994)), (Q548043,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q45604
relation P17
action find
entity Q548043
relation P17
type Q15617994
{'OR': [['Q45604', 'P17', {'concept': 'Q15617994'}], ['Q548043', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . { ?g property:P17 ?r . VALUES ( ?g ) { ( resource:Q45604 ) ( resource:Q548043 ) } } }
Charmont Kandahar
action filter_type
action union
action find
entity Kandahar
relation country
action find
entity Charmont
relation country
type designation for an administrative territorial entity
{'OR': [['Kandahar', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Charmont', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?g property:country ?r . VALUES ( ?g ) { ( resource:Kandahar ) ( resource:Charmont ) } } }
[]
designation for an administrative territorial entity
Q142 Q889
SYSTEM
France, Afghanistan
Q142 Q889
OR((Q45604,P17,c(Q15617994)), (Q548043,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q45604
relation P17
action find
entity Q548043
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q45604', 'P17', {'concept': 'Q15617994'}], ['Q548043', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . { ?g property:P17 ?r . VALUES ( ?g ) { ( resource:Q45604 ) ( resource:Q548043 ) } } }
France Afghanistan
Which administrative territories are Kandahar or Charmont located in
France Afghanistan
action filter_type
action union
action find
entity Kandahar
relation country
action find
entity Charmont
relation country
type designation for an administrative territorial entity
{'OR': [['Kandahar', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Charmont', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?g property:country ?r . VALUES ( ?g ) { ( resource:Kandahar ) ( resource:Charmont ) } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q90
P915
Q201658 Q838948
USER
How many film genres or works of art were filmed at Paris ?
(c(Q201658),P915,Q90) (c(Q838948),P915,Q90)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P915
type Q201658
action filter_type
action find_reverse
entity Q90
relation P915
type Q838948
[{'concept': 'Q201658'}, 'P915', 'Q90'] [{'concept': 'Q838948'}, 'P915', 'Q90']
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { ?w property:P915 resource:Q90 . ?w rdf:type ontology:Q201658 } UNION { ?w property:P915 resource:Q90 . ?w rdf:type ontology:Q838948 } }
Paris
action count
action union
action filter_type
action find_reverse
entity Paris
relation filming location
type film genre
action filter_type
action find_reverse
entity Paris
relation filming location
type work of art
[{'concept': 'film genre'}, 'filming location', 'Paris'] [{'concept': 'work of art'}, 'filming location', 'Paris']
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { ?w property:filming_location resource:Paris . ?w rdf:type ontology:film_genre } UNION { ?w property:filming_location resource:Paris . ?w rdf:type ontology:work_of_art } }
[]
film genre work of art
SYSTEM
510
Q1679822 Q2755366 Q1168531 Q16671761 Q152456 Q164813 Q1961742 Q2012425 Q3413468 Q3220821 Q129873 Q16864725 Q3230901 Q2873169 Q3108895 Q3100038 Q5478692 Q19263880 Q499851 Q666707 Q498109 Q1827484 Q16962707 Q1508611 Q1449551 Q1347278 Q654154 Q542527 Q3156874 Q2559937 Q2922091 Q2528652 Q751401 Q388360 Q2315036 Q484675 Q1140906 Q17640258 Q1858133 Q3817970 Q1142181 Q3208863 Q1166180 Q679429 Q1015901 Q828566 Q1400547 Q1430568 Q332368 Q206124 Q2010277 Q689005 Q2856966 Q878964 Q482436 Q590444 Q7774830 Q686653 Q15907466 Q2846067 Q380848 Q1653284 Q3016384 Q1169975 Q1340986 Q126652 Q382629 Q1144055 Q277527 Q215319 Q470393 Q1497343 Q232217 Q938851 Q3696453 Q208988 Q1807786 Q288645 Q595 Q3143107 Q550248 Q1676240 Q2079962 Q751550 Q2356667 Q1439722 Q1198323 Q2713325 Q911775 Q3233421 Q1169399 Q1398997 Q1189690 Q2824971 Q3212207 Q511332 Q1812211 Q14549501 Q2863634 Q7578065 Q3234141 Q3430270 Q2558048 Q16928500 Q431660 Q2925981 Q4928014 Q18736650 Q906639 Q14948617 Q141557 Q3225040 Q3373881 Q468868 Q2028403 Q691916 Q211954 Q500359 Q232020 Q469708 Q17297839 Q128646 Q232170 Q14836211 Q1138798 Q2471653 Q475286 Q3525931 Q1305048 Q11390744 Q738916 Q2966752 Q3431845 Q3005861 Q319171 Q474531 Q191100 Q657607 Q865346 Q313764 Q892965 Q16320113 Q865580 Q1198812 Q829365 Q1144080 Q324933 Q1169666 Q822946 Q4959480 Q3148586 Q1621899 Q2907529 Q3213705 Q1196532 Q627975 Q1217981 Q652186 Q1133395 Q3412875 Q1557635 Q3482860 Q2843580 Q900708 Q63278 Q2908983 Q545616 Q820501 Q3201927 Q601113 Q165847 Q2871979 Q3339863 Q496266 Q15990773 Q1768311 Q3228079 Q16675434 Q1218143 Q107724 Q3225924 Q528871 Q3149930 Q304739 Q14901494 Q1235550 Q3567052 Q3286029 Q661693 Q10307713 Q932814 Q2471731 Q3278366 Q822426 Q1199530 Q780384 Q3506673 Q2609724 Q1122571 Q1343120 Q550558 Q19405 Q3966787 Q471951 Q1061541 Q769712 Q3365258 Q1127625 Q2326899 Q3265938 Q3235299 Q16661269 Q6750638 Q4455542 Q2922219 Q16800962 Q3489295 Q3234838 Q223316 Q3235762 Q618499 Q2045006 Q3220218 Q3212058 Q211009 Q586836 Q392834 Q1262927 Q4142083 Q470375 Q3167518 Q939410 Q3535716 Q6078224 Q3555451 Q1664534 Q739046 Q1774309 Q467283 Q3233232 Q17019453 Q25069 Q17363277 Q162331 Q3201747 Q3061609 Q3088260 Q2299961 Q13059695 Q681092 Q1455280 Q1170481 Q151737 Q3236871 Q542688 Q105624 Q1057015 Q1171334 Q3493985 Q15271016 Q4290514 Q1578604 Q2873482 Q629975 Q1794408 Q1033136 Q6357059 Q1124617 Q2547714 Q1313289 Q232161 Q795223 Q1753626 Q471913 Q1082924 Q151606 Q507285 Q1211971 Q5911818 Q2606467 Q1617964 Q3086650 Q1124867 Q18610820 Q16202837 Q13642776 Q1192319 Q576371 Q2446893 Q903930 Q533789 Q2571471 Q290796 Q1062362 Q153723 Q3223681 Q277281 Q3421612 Q2000427 Q13380366 Q18154116 Q160560 Q1383269 Q831717 Q16960397 Q1171090 Q25188 Q805111 Q747346 Q1323261 Q38561 Q1031262 Q265965 Q2688375 Q2016952 Q730765 Q3895938 Q230616 Q3073628 Q15146913 Q3210569 Q634729 Q1090322 Q504053 Q634809 Q509605 Q1538224 Q107226 Q933437 Q542507 Q3058423 Q2609145 Q2605684 Q476311 Q604083 Q185490 Q2387864 Q3548393 Q1844760 Q850238 Q2806855 Q380349 Q3094987 Q310617 Q18578055 Q206388 Q14912519 Q3575541 Q847629 Q3223315 Q426332 Q1405921 Q522962 Q3561465 Q849454 Q18636368 Q2301215 Q1756571 Q700726 Q3820032 Q14901478 Q873564 Q2162087 Q3024113 Q3233639 Q2329314 Q497308 Q1211929 Q3366044 Q1535201 Q3336530 Q302403 Q2979521 Q2033439 Q3548431 Q2625031 Q2925310 Q18421 Q1962929 Q819972 Q16677629 Q736420 Q484048 Q1195727 Q6945858 Q931671 Q531261 Q5732431 Q15624215 Q3522995 Q1405943 Q3223074 Q740285 Q1197861 Q17003709 Q12145585 Q5988150 Q1056903 Q3228289 Q499512 Q3365358 Q267672 Q6012853 Q206576 Q3470948 Q347260 Q3221540 Q1579358 Q476439 Q1151219 Q3576939 Q3400630 Q736508 Q277080 Q815550 Q18170549 Q137098 Q391143 Q5320222 Q16335945 Q1365797 Q694781 Q2910266 Q73803 Q664234 Q3542287 Q767416 Q2327100 Q1217879 Q681225 Q12339733 Q169564 Q386210 Q1416440 Q5627325 Q1394424 Q3317191 Q2614123 Q3336853 Q2251852 Q3576623 Q245205 Q1216559 Q1338470 Q3234504 Q1784824 Q1171645 Q3227788 Q625780 Q3230495 Q1500287 Q1306265 Q3139399 Q3022007 Q17525460 Q3367173 Q4371720 Q1171747 Q2884090 Q1140623 Q4242495 Q4865356 Q2275081 Q2394581 Q2860192 Q3209331 Q1571956 Q1512168 Q11602165 Q232091 Q7820305 Q19829024 Q606935 Q115214 Q594469 Q2537080 Q16928477 Q383173 Q3407439 Q1193469 Q2870435 Q6928990 Q1475617 Q3072304 Q248289 Q3148540 Q941279 Q2251564 Q17264698 Q3024224 Q1736777 Q1186490 Q1199513 Q3538167 Q392424 Q3411666 Q489564 Q3474192 Q544607 Q636093 Q3570478 Q2873117 Q1271407 Q174785 Q1092932 Q16641860 Q3203810 Q1168705 Q3354995 Q547120
(c(Q201658),P915,Q90) (c(Q838948),P915,Q90)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P915
type Q201658
action filter_type
action find_reverse
entity Q90
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q201658'}, 'P915', 'Q90'] [{'concept': 'Q838948'}, 'P915', 'Q90']
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { ?w property:P915 resource:Q90 . ?w rdf:type ontology:Q201658 } UNION { ?w property:P915 resource:Q90 . ?w rdf:type ontology:Q838948 } }
Outside the Law L'Atlantide The Lavender Hill Mob Qu'est-ce qu'on a fait au Bon Dieu? Munich Perfume: The Story of a Murderer Banzaï Head Against the Wall Four Adventures of Reinette and Mirabelle Le Capital The Tenant Gemma Bovery Les Aveux de l'innocent Aux yeux de tous Sagan Gebo and the Shadow Frances Ha Le Paon de Nuit Now You See Me The Bridesmaid Rush Hour 3 Read My Lips Paris Pranaya Moulin Rouge Fréquence meurtre Valmont Aria My Night at Maud's JC comme Jésus Christ Love Can Seriously Damage Your Health Bedevilled Arch of Triumph Ronin National Treasure: Book of Secrets Mister Lonely Léon: The Professional To the Wonder Nobody from Nowhere Nada L'Autrichienne Revenge of the Pink Panther The 15 Year Old Girl Julia Le vieux fusil Aces Go Places 3 Cannabis LOL (Laughing Out Loud) The Marseille Contract A View to a Kill Midnight in Paris Happy End Frontier(s) Antoine and Colette Bitter Moon An Education LOL The Wild, Wild World of Jayne Mansfield Naughty Girl Queen Andalucia Julie & Julia 360 Darling The Secret Two Men in Town Frantic Just Before Nightfall District 13: Ultimatum Love in Paris 22 Bullets The Fourth Angel Shots in Threequarter Time Two or Three Things I Know About Her Pierrot le Fou Antonieta The Last Day My Nights Are More Beautiful Than Your Days G.I. Joe: The Rise of Cobra The Intouchables Humains Monte Carlo The Spirit of St. Louis The Art of Love Marie-Chantal contre le docteur Kha Flesh and the Woman My Life on Ice Rider on the Rain Les Enfants Terribles Prêt-à-Porter Les Jeux de l'amour Le Concert Fay Grim De l'autre côté du lit Adorable Liar The Queen of Hearts Bonjour tristesse If Looks Could Kill Quai d'Orsay The Goodbye Kiss Spiritismes Les Nanas A Tale of Five Cities Disco United Passions Godzilla: Final Wars Broken English Bloodstained Memoirs Dealer Wasabi Yves Saint Laurent Les Cousins Le Nouveau monde Banana Peel The Return of the Tall Blond Man with One Black Shoe Under the Sand Hitman Love Me No More À nous les petites Anglaises Les Biches It's All About Love Paris Follies 2 Days in Paris Two for the Road La Naissance de l'amour That Obscure Object of Desire The Beloved Animal 3 Days to Kill Le Pion Venus in Fur The Blonde with Bare Breasts Chronique d'un été Riens du tout Mood Indigo That Man from Rio Hotel Chevalier Transformers: Revenge of the Fallen Deadly Circuit From Paris with Love The Tin Drum The Christmas Tree The Search Children of Paradise The Conformist Don't Touch the White Woman! Till Marriage Do Us Part Stolen Kisses Quiet Days in Clichy The Dreamers Breakfast in Paris Once Upon a Time in the Oued Coup de tête Boarding Gate La vie promise The Breach Bed and Board Bay of Angels Before Sunset The Pink Panther Strikes Again Quand je serai petit Boulevard des Italiens If You Die, I'll Kill You Amitiés sincères Sabrina The Woman in the Fifth Bois de Boulogne The Tango Lesson Housewives on the Job Love at Sea House of Cards 102 Dalmatians Aurélia Steiner Nico Icon Charade Diplomacy Bloodline Le Viager Samba Five Miles to Midnight Thunderball Spring, Autumn and Love Le Tigre aime la chair fraiche Incognito Holy Motors Age of Panic W.E. Innocents in Paris Manmadan Ambu Anything for Her The Hunger Games: Mockingjay – Part 2 Three Colors: Blue Lights Out Meet the Twins 4 The Trial Trail of the Pink Panther Crime Spree Switch L'amour braque The Unbearable Lightness of Being Enigma The Muppets The Ninth Gate Foreign Intrigue The Man Who Cried A Prophet Dr. Popaul Paris Connections Take Her, She's Mine The Reluctant Debutante Lucky Jo Bastards Lou ! Journal infime Manmadhudu Therese and Isabelle Final Arrangements Picture Paris Soleil Gates of the Night The Devil Wears Prada Beneath the Rooftops of Paris Le Samouraï Peut-être The Ball of the Actresses The King's Whore Van Helsing The Witnesses Secret Agents Polisse The Hunger Games: Mockingjay – Part 1 Belle de Jour Anatomy of a Marriage: My Days with Jean-Marc The Rebound All Is Forgiven Isabelle Eberhardt Vendredi soir Inside Les Diaboliques L'Arbre, le maire et la médiathèque An American Werewolf in Paris Free Men Our Kind of Traitor The Ogre Kvadrat The 400 Blows L'Amant de cinq jours Malavita Pola X A Soldier's Daughter Never Cries Lal Tip The Happening French Kiss The Brain Nathalie... Let My People Go! Alphaville The Bourne Identity Taken 2 The Green Ray A Burning Hot Summer Saint Laurent Ménilmontant Goodbye Again Adventure in Paris The Tourist Brief Crossing Declaration of War The Past Condorman The Mother and the Whore Emmanuelle One Day B. Monkey Woman Times Seven Kiss of the Dragon Sky Fighters Place Vendôme Lumière and Company The Things of Life Hotel Paradiso The Night of the Following Day Highlander: Endgame Anatomy of a Marriage: My Days with Françoise A Tale of Springtime Babysitting 2 China White Last Song in Paris Heartbreaker Round Midnight My Wife Is an Actress RED 2 La Boîte noire The Corsican File Sans Soleil Love Songs Inglourious Basterds Le Jour et l'Heure Love on the Run The Man Who Watched Trains Go By Ricky Me, Myself and Mum The Smell of Us The Da Vinci Code Ex Salt on Our Skin Afflicted The Only Game in Town Inception Le Boulet Winged Migration Count Your Blessings The Madwoman of Chaillot Hellraiser: Bloodline Eden Is West Absinthe Dans Paris Blame It on Fidel Parigi o cara Hunting and Gathering Flowers of Evil The Easy Way Out The Mark of the Angels – Miserere Subway Come Fly with Me Ocean's Twelve Paris Blues Time Regained National Lampoon's European Vacation The Bourne Ultimatum Three Colors: White Angoroj Spy(ies) Love in the Afternoon Strayed The Left-Handed Woman The Informant! Hereafter Bon Voyage Happiness Never Comes Alone Meeting People Is Easy Betty 10th District Court The Extraordinary Adventures of Adèle Blanc-Sec Gamer Paris, je t'aime L'Affaire SK1 Once Upon a Time in America Process Zim and Co. It's Easier for a Camel... The Big Gamble Les Bonnes Femmes The Twist Ten Days' Wonder Vive la France Taxi, Roulotte et Corrida Bastille Day The Road to Corinthe Un monde nouveau The Night of the Generals The Man on the Eiffel Tower 16 ans... ou presque Everyman's Feast Orpheus Des gens qui s'embrassent Les mains libres Bobby Deerfield Americano The Lady in the Car with Glasses and a Gun Have Mercy on Us All Nighthawks The Foxiest Girl in Paris Callas Forever My Way The Stone Council A Certain Smile A Woman Is a Woman Victims of Vice The Clowns Jupiter's Thigh The Transporter Sous les jupes des filles Belle Toujours Amélie Marathon Man My Life and Times with Antonin Artaud The Beat That My Heart Skipped Night and Day Her Triumph Lucy Third Person Wise Guys Le Garçu Beyond Therapy What's in a Name? Girlhood Walking a Tightrope Idem Paris Quai des Orfèvres Stowaway in the Sky Reprise Paris or Perish Superman II In the Shadow Hugo Samson ...And If We All Lived Together The Apocalypse Code La Chamade Shoot the Piano Player C'était un rendez-vous À votre bon cœur, mesdames Bachelor Days Are Over The Lacemaker Taken Transporter 3 The Transporter Legacy Grace of Monaco Chinese Zodiac Déjà Vu 3 Hearts L'Auberge espagnole The American Friend One Step to Eternity Rust and Bone Itinéraire d'un enfant gâté Turf Chinese in Paris Gardens in Autumn Romantics Anonymous Army of Shadows Three Girls in Paris Carnage Le Dernier Combat Le Cercle rouge Le Gitan Fall Mitsou The Players His Brother F for Fake Because, Because of a Woman The Thirteen Chairs L'Étudiante Emmanuelle 4 The Patriots Micmacs The Nest Gunman in the Streets The Red Shoes The Friends Killing Zoe Le Divorce Hollywoo Tomorrow We Move High Society No Scandal Killer Tomatoes Eat France Love at the Top Villa Amalia Clowning Around Iddarammayilatho Bartleby en coulisses Paris When It Sizzles Les Misérables Archimède le clochard Holiday for Henrietta Sangam I'm Fine, Don't Worry Young & Beautiful Two English Girls Tomorrowland Love The Swindle The Lady Banker The Unfaithful Wife Le Beau Mariage Ne fais pas ça! Caché Promotion canapé Curse of the Pink Panther Wall Engravings Mr. Morgan's Last Love The Young Lions Fin de concession The Accidental Tourist Bacon on the Side Carnival in Flanders In una notte di chiaro di luna My Old Lady Headwinds Mauvaise Graine Demonlover Armour of God Housewarming Act of Love Pédale dure And Now... Ladies and Gentlemen Burnt Out The Blood of Others Love from Paris XXL Aux abois Delicacy Savage Nights Circus World Hippocrate The Man in the Buick The Affair of the Necklace Orage The Fall
510
action count
action union
action filter_type
action find_reverse
entity Paris
relation filming location
type film genre
action filter_type
action find_reverse
entity Paris
relation filming location
type work of art
[{'concept': 'film genre'}, 'filming location', 'Paris'] [{'concept': 'work of art'}, 'filming location', 'Paris']
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { ?w property:filming_location resource:Paris . ?w rdf:type ontology:film_genre } UNION { ?w property:filming_location resource:Paris . ?w rdf:type ontology:work_of_art } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P194
Q11204
USER
Which legislature is the legislative body for that administrative territory ?
action filter_type
action find
entity Q90
relation P194
type Q11204
SELECT DISTINCT ?v WHERE { resource:Q90 property:P194 ?v . ?v rdf:type ontology:Q11204 }
Paris
action filter_type
action find
entity Paris
relation legislative body
type legislature
SELECT DISTINCT ?v WHERE { resource:Paris property:legislative_body ?v . ?v rdf:type ontology:legislature }
[]
legislature
Q775994
SYSTEM
Council of Paris
Q775994
action filter_type
action find
entity Q90
relation P194
type Q11204
[ANSWER] is the legislative body for that administrative territory
SELECT DISTINCT ?v WHERE { resource:Q90 property:P194 ?v . ?v rdf:type ontology:Q11204 }
Council of Paris
Council of Paris is the legislative body for that administrative territory
Council of Paris
action filter_type
action find
entity Paris
relation legislative body
type legislature
SELECT DISTINCT ?v WHERE { resource:Paris property:legislative_body ?v . ?v rdf:type ontology:legislature }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P194
Q11204 Q515 Q1048835
USER
How many legislatures are the representative bodies for less number of cities and political territories than that legislature ?
(c(Q515)|c(Q1048835),P194,c(Q11204))
action count
action less
action union
action find_reverse_tuple_counts
relation P194
type Q11204
type Q515
action find_reverse_tuple_counts
relation P194
type Q11204
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q775994
relation P194
type Q515
type Q1048835
[[{'concept': 'Q515'}, {'concept': 'Q1048835'}], 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?z ) WHERE { { ?r property:P194 ?u . ?u rdf:type ontology:Q11204 . ?r rdf:type ontology:Q515 } UNION { ?r property:P194 ?u . ?u rdf:type ontology:Q11204 . ?r rdf:type ontology:Q1048835 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P194 resource:Q775994 . { { ?q rdf:type ontology:Q515 } UNION { ?q rdf:type ontology:Q1048835 } } } } . FILTER ( ?z < ?k ) }
action count
action less
action union
action find_reverse_tuple_counts
relation legislative body
type legislature
type city
action find_reverse_tuple_counts
relation legislative body
type legislature
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Council of Paris
relation legislative body
type city
type political territorial entity
[[{'concept': 'city'}, {'concept': 'political territorial entity'}], 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?z ) WHERE { { ?r property:legislative_body ?u . ?u rdf:type ontology:legislature . ?r rdf:type ontology:city } UNION { ?r property:legislative_body ?u . ?u rdf:type ontology:legislature . ?r rdf:type ontology:political_territorial_entity } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:legislative_body resource:Council_of_Paris . { { ?q rdf:type ontology:city } UNION { ?q rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?z < ?k ) }
[]
legislature city political territorial entity
SYSTEM
0
(c(Q515)|c(Q1048835),P194,c(Q11204))
action count
action less
action union
action find_reverse_tuple_counts
relation P194
type Q11204
type Q515
action find_reverse_tuple_counts
relation P194
type Q11204
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q775994
relation P194
type Q515
type Q1048835
[ANSWER]
[[{'concept': 'Q515'}, {'concept': 'Q1048835'}], 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?z ) WHERE { { ?r property:P194 ?u . ?u rdf:type ontology:Q11204 . ?r rdf:type ontology:Q515 } UNION { ?r property:P194 ?u . ?u rdf:type ontology:Q11204 . ?r rdf:type ontology:Q1048835 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P194 resource:Q775994 . { { ?q rdf:type ontology:Q515 } UNION { ?q rdf:type ontology:Q1048835 } } } } . FILTER ( ?z < ?k ) }
0
action count
action less
action union
action find_reverse_tuple_counts
relation legislative body
type legislature
type city
action find_reverse_tuple_counts
relation legislative body
type legislature
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Council of Paris
relation legislative body
type city
type political territorial entity
[[{'concept': 'city'}, {'concept': 'political territorial entity'}], 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?z ) WHERE { { ?r property:legislative_body ?u . ?u rdf:type ontology:legislature . ?r rdf:type ontology:city } UNION { ?r property:legislative_body ?u . ?u rdf:type ontology:legislature . ?r rdf:type ontology:political_territorial_entity } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:legislative_body resource:Council_of_Paris . { { ?q rdf:type ontology:city } UNION { ?q rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?z < ?k ) }
[]