Simple Question (Direct)
Simple Question
Q18544945
P22
Q502895
USER
Who was the father of Sir William Abdy, 4th Baronet ?
(Q18544945,P22,c(Q502895))
action filter_type
action find
entity Q18544945
relation P22
type Q502895
['Q18544945', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q18544945 property:P22 ?m . ?m rdf:type ontology:Q502895 }
Sir William Abdy, 4th Baronet
action filter_type
action find
entity Sir William Abdy, 4th Baronet
relation father
type common name
['Sir William Abdy, 4th Baronet', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Sir_William_Abdy,_4th_Baronet property:father ?m . ?m rdf:type ontology:common_name }
[]
common name
Q18544937
SYSTEM
Sir Anthony Abdy, 2nd Baronet
Q18544937
(Q18544945,P22,c(Q502895))
action filter_type
action find
entity Q18544945
relation P22
type Q502895
The father of Sir William Abdy , 4th Baronet was born [ANSWER]
['Q18544945', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q18544945 property:P22 ?m . ?m rdf:type ontology:Q502895 }
Sir Anthony Abdy, 2nd Baronet
The father of Sir William Abdy , 4th Baronet was born Sir Anthony Abdy, 2nd Baronet
Sir Anthony Abdy, 2nd Baronet
action filter_type
action find
entity Sir William Abdy, 4th Baronet
relation father
type common name
['Sir William Abdy, 4th Baronet', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Sir_William_Abdy,_4th_Baronet property:father ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18544937
P69
Q41176
USER
Where was that person educated ?
(Q18544937,P69,c(Q41176))
action filter_type
action find
entity Q18544937
relation P69
type Q41176
['Q18544937', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q41176 . resource:Q18544937 property:P69 ?f }
Sir Anthony Abdy, 2nd Baronet
action filter_type
action find
entity Sir Anthony Abdy, 2nd Baronet
relation educated at
type building
['Sir Anthony Abdy, 2nd Baronet', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:building . resource:Sir_Anthony_Abdy,_2nd_Baronet property:educated_at ?f }
[]
building
Q332342
SYSTEM
Trinity College, Cambridge
Q332342
(Q18544937,P69,c(Q41176))
action filter_type
action find
entity Q18544937
relation P69
type Q41176
That person was educated at [ANSWER]
['Q18544937', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q41176 . resource:Q18544937 property:P69 ?f }
Trinity College, Cambridge
That person was educated at Trinity College, Cambridge
Trinity College, Cambridge
action filter_type
action find
entity Sir Anthony Abdy, 2nd Baronet
relation educated at
type building
['Sir Anthony Abdy, 2nd Baronet', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:building . resource:Sir_Anthony_Abdy,_2nd_Baronet property:educated_at ?f }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q811979 Q486972 Q41176
USER
Which buildings are a portion of atleast 1 architectural structures or human settlements ?
(c(Q41176),P361,c(Q811979)|c(Q486972))
action atleast
action union
action find_tuple_counts
relation P361
type Q41176
type Q811979
action find_tuple_counts
relation P361
type Q41176
type Q486972
value 1
[{'concept': 'Q41176'}, 'P361', [{'concept': 'Q811979'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) ?l WHERE { { ?l property:P361 ?c . ?l rdf:type ontology:Q41176 . ?c rdf:type ontology:Q811979 } UNION { ?l rdf:type ontology:Q41176 . ?c rdf:type ontology:Q486972 . ?l property:P361 ?c } } GROUP BY ?l } . FILTER ( ?y >= 1 ) }
action atleast
action union
action find_tuple_counts
relation part of
type building
type architectural structure
action find_tuple_counts
relation part of
type building
type human settlement
value 1
[{'concept': 'building'}, 'part of', [{'concept': 'architectural structure'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) ?l WHERE { { ?l property:part_of ?c . ?l rdf:type ontology:building . ?c rdf:type ontology:architectural_structure } UNION { ?l rdf:type ontology:building . ?c rdf:type ontology:human_settlement . ?l property:part_of ?c } } GROUP BY ?l } . FILTER ( ?y >= 1 ) }
[]
architectural structure human settlement building
Q926373 Q1240015 Q2885653
SYSTEM
Oulu Ice Hall, Rotonde de la Villette, Barrière d’Enfer
Q1128327 Q17331173 Q5265867 Q23303444 Q797481 Q926373 Q676733 Q5077165 Q2957384 Q3145390 Q1240015 Q524833 Q13402 Q2845797 Q1150357 Q18032209 Q1179222 Q2885653 Q6458856 Q17061809
(c(Q41176),P361,c(Q811979)|c(Q486972))
action atleast
action union
action find_tuple_counts
relation P361
type Q41176
type Q811979
action find_tuple_counts
relation P361
type Q41176
type Q486972
value 1
[ANSWERS] are a portion of atleast 1 architectural structures or human settlements
[{'concept': 'Q41176'}, 'P361', [{'concept': 'Q811979'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) ?l WHERE { { ?l property:P361 ?c . ?l rdf:type ontology:Q41176 . ?c rdf:type ontology:Q811979 } UNION { ?l rdf:type ontology:Q41176 . ?c rdf:type ontology:Q486972 . ?l property:P361 ?c } } GROUP BY ?l } . FILTER ( ?y >= 1 ) }
El Castillo, Chichen Itza Station building Detroit Building Loyola House / National School Building Temple of Bel Oulu Ice Hall Theater im OP Charles E. Roberts Stable Jesuit Chapel Hôtel-Dieu de Québec Rotonde de la Villette Notre-Dame-de-Bon-Secours Chapel Barrière d'Italie Grey Nuns' Hospital Midtown Tower Klarakapelle Dayton Masonic Center Barrière d’Enfer LIWA Heights South Camden Trust Company
Oulu Ice Hall, Rotonde de la Villette and Barrière d’Enfer are a portion of atleast 1 architectural structures or human settlements
Oulu Ice Hall Rotonde de la Villette Barrière d’Enfer
action atleast
action union
action find_tuple_counts
relation part of
type building
type architectural structure
action find_tuple_counts
relation part of
type building
type human settlement
value 1
[{'concept': 'building'}, 'part of', [{'concept': 'architectural structure'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) ?l WHERE { { ?l property:part_of ?c . ?l rdf:type ontology:building . ?c rdf:type ontology:architectural_structure } UNION { ?l rdf:type ontology:building . ?c rdf:type ontology:human_settlement . ?l property:part_of ?c } } GROUP BY ?l } . FILTER ( ?y >= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3145892 Q1240015
P669
Q79007
USER
Which streets can Rotonde de la Villette or Hôtel de Marigny be located ?
OR((Q1240015,P669,c(Q79007)), (Q3145892,P669,c(Q79007)))
action filter_type
action union
action find
entity Q1240015
relation P669
action find
entity Q3145892
relation P669
type Q79007
{'OR': [['Q1240015', 'P669', {'concept': 'Q79007'}], ['Q3145892', 'P669', {'concept': 'Q79007'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q3145892 property:P669 ?w } UNION { resource:Q1240015 property:P669 ?w } } . ?w rdf:type ontology:Q79007 }
Hôtel de Marigny Rotonde de la Villette
action filter_type
action union
action find
entity Rotonde de la Villette
relation located on street
action find
entity Hôtel de Marigny
relation located on street
type street
{'OR': [['Rotonde de la Villette', 'located on street', {'concept': 'street'}], ['Hôtel de Marigny', 'located on street', {'concept': 'street'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Hôtel_de_Marigny property:located_on_street ?w } UNION { resource:Rotonde_de_la_Villette property:located_on_street ?w } } . ?w rdf:type ontology:street }
[]
street
Q2922032 Q2873923
SYSTEM
boulevard de la Villette, avenue de Marigny
Q2922032 Q2873923
OR((Q1240015,P669,c(Q79007)), (Q3145892,P669,c(Q79007)))
action filter_type
action union
action find
entity Q1240015
relation P669
action find
entity Q3145892
relation P669
type Q79007
[ANSWERS] can Rotonde de la Villette or Hôtel de Marigny be located
{'OR': [['Q1240015', 'P669', {'concept': 'Q79007'}], ['Q3145892', 'P669', {'concept': 'Q79007'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q3145892 property:P669 ?w } UNION { resource:Q1240015 property:P669 ?w } } . ?w rdf:type ontology:Q79007 }
boulevard de la Villette avenue de Marigny
Boulevard de la Villette and avenue de Marigny can Rotonde de la Villette or Hôtel de Marigny be located
boulevard de la Villette avenue de Marigny
action filter_type
action union
action find
entity Rotonde de la Villette
relation located on street
action find
entity Hôtel de Marigny
relation located on street
type street
{'OR': [['Rotonde de la Villette', 'located on street', {'concept': 'street'}], ['Hôtel de Marigny', 'located on street', {'concept': 'street'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Hôtel_de_Marigny property:located_on_street ?w } UNION { resource:Rotonde_de_la_Villette property:located_on_street ?w } } . ?w rdf:type ontology:street }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q926373
P466
Q618123 Q12973014
USER
How many geographical objects or sports teams were the tenants of Oulu Ice Hall ?
(Q926373,P466,c(Q618123)) (Q926373,P466,c(Q12973014))
action count
action union
action filter_type
action find
entity Q926373
relation P466
type Q618123
action filter_type
action find
entity Q926373
relation P466
type Q12973014
['Q926373', 'P466', {'concept': 'Q618123'}] ['Q926373', 'P466', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { resource:Q926373 property:P466 ?x . ?x rdf:type ontology:Q618123 } UNION { resource:Q926373 property:P466 ?x . ?x rdf:type ontology:Q12973014 } }
Oulu Ice Hall
action count
action union
action filter_type
action find
entity Oulu Ice Hall
relation occupant
type geographical object
action filter_type
action find
entity Oulu Ice Hall
relation occupant
type sports team
['Oulu Ice Hall', 'occupant', {'concept': 'geographical object'}] ['Oulu Ice Hall', 'occupant', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { resource:Oulu_Ice_Hall property:occupant ?x . ?x rdf:type ontology:geographical_object } UNION { resource:Oulu_Ice_Hall property:occupant ?x . ?x rdf:type ontology:sports_team } }
[]
geographical object sports team
SYSTEM
3
Q1130636 Q18661118 Q11889561
(Q926373,P466,c(Q618123)) (Q926373,P466,c(Q12973014))
action count
action union
action filter_type
action find
entity Q926373
relation P466
type Q618123
action filter_type
action find
entity Q926373
relation P466
type Q12973014
[ANSWER]
['Q926373', 'P466', {'concept': 'Q618123'}] ['Q926373', 'P466', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { resource:Q926373 property:P466 ?x . ?x rdf:type ontology:Q618123 } UNION { resource:Q926373 property:P466 ?x . ?x rdf:type ontology:Q12973014 } }
Oulun Kärpät Oulun Luistelukerho RB-Oulu
3
action count
action union
action filter_type
action find
entity Oulu Ice Hall
relation occupant
type geographical object
action filter_type
action find
entity Oulu Ice Hall
relation occupant
type sports team
['Oulu Ice Hall', 'occupant', {'concept': 'geographical object'}] ['Oulu Ice Hall', 'occupant', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { resource:Oulu_Ice_Hall property:occupant ?x . ?x rdf:type ontology:geographical_object } UNION { resource:Oulu_Ice_Hall property:occupant ?x . ?x rdf:type ontology:sports_team } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1435
Q41176 Q44539 Q7743
USER
Which buildings give the heritage status of min number of temples and homes ?
(c(Q44539)|c(Q7743),P1435,c(Q41176))
action argmin
action union
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q44539
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q7743
[[{'concept': 'Q44539'}, {'concept': 'Q7743'}], 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?o WHERE { { ?o rdf:type ontology:Q41176 . ?f rdf:type ontology:Q44539 . ?f property:P1435 ?o } UNION { ?f property:P1435 ?o . ?o rdf:type ontology:Q41176 . ?f rdf:type ontology:Q7743 } } GROUP BY ?o } } . FILTER ( ?d = ?v ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?p WHERE { { ?p rdf:type ontology:Q41176 . ?l rdf:type ontology:Q7743 . ?l property:P1435 ?p } UNION { ?l property:P1435 ?p . ?l rdf:type ontology:Q44539 . ?p rdf:type ontology:Q41176 } } GROUP BY ?p } }
action argmin
action union
action find_reverse_tuple_counts
relation heritage status
type building
type temple
action find_reverse_tuple_counts
relation heritage status
type building
type home
[[{'concept': 'temple'}, {'concept': 'home'}], 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?o WHERE { { ?o rdf:type ontology:building . ?f rdf:type ontology:temple . ?f property:heritage_status ?o } UNION { ?f property:heritage_status ?o . ?o rdf:type ontology:building . ?f rdf:type ontology:home } } GROUP BY ?o } } . FILTER ( ?d = ?v ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?p WHERE { { ?p rdf:type ontology:building . ?l rdf:type ontology:home . ?l property:heritage_status ?p } UNION { ?l property:heritage_status ?p . ?l rdf:type ontology:temple . ?p rdf:type ontology:building } } GROUP BY ?p } }
[]
building temple home
Q18575424
SYSTEM
Grade B listed structure
Q18575424
(c(Q44539)|c(Q7743),P1435,c(Q41176))
action argmin
action union
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q44539
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q7743
[ANSWER] give the heritage status of min number of temples and homes
[[{'concept': 'Q44539'}, {'concept': 'Q7743'}], 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?o WHERE { { ?o rdf:type ontology:Q41176 . ?f rdf:type ontology:Q44539 . ?f property:P1435 ?o } UNION { ?f property:P1435 ?o . ?o rdf:type ontology:Q41176 . ?f rdf:type ontology:Q7743 } } GROUP BY ?o } } . FILTER ( ?d = ?v ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?p WHERE { { ?p rdf:type ontology:Q41176 . ?l rdf:type ontology:Q7743 . ?l property:P1435 ?p } UNION { ?l property:P1435 ?p . ?l rdf:type ontology:Q44539 . ?p rdf:type ontology:Q41176 } } GROUP BY ?p } }
Grade B listed structure
Grade B listed structure give the heritage status of min number of temples and homes
Grade B listed structure
action argmin
action union
action find_reverse_tuple_counts
relation heritage status
type building
type temple
action find_reverse_tuple_counts
relation heritage status
type building
type home
[[{'concept': 'temple'}, {'concept': 'home'}], 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?o WHERE { { ?o rdf:type ontology:building . ?f rdf:type ontology:temple . ?f property:heritage_status ?o } UNION { ?f property:heritage_status ?o . ?o rdf:type ontology:building . ?f rdf:type ontology:home } } GROUP BY ?o } } . FILTER ( ?d = ?v ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?p WHERE { { ?p rdf:type ontology:building . ?l rdf:type ontology:home . ?l property:heritage_status ?p } UNION { ?l property:heritage_status ?p . ?l rdf:type ontology:temple . ?p rdf:type ontology:building } } GROUP BY ?p } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q926373
P115
Q618123
USER
Which geographical objects have Oulu Ice Hall as their home venue ?
(c(Q618123),P115,Q926373)
action filter_type
action find_reverse
entity Q926373
relation P115
type Q618123
[{'concept': 'Q618123'}, 'P115', 'Q926373']
SELECT DISTINCT ?s WHERE { ?s property:P115 resource:Q926373 . ?s rdf:type ontology:Q618123 }
Oulu Ice Hall
action filter_type
action find_reverse
entity Oulu Ice Hall
relation home venue
type geographical object
[{'concept': 'geographical object'}, 'home venue', 'Oulu Ice Hall']
SELECT DISTINCT ?s WHERE { ?s property:home_venue resource:Oulu_Ice_Hall . ?s rdf:type ontology:geographical_object }
[]
geographical object
Q18661118 Q11889561
SYSTEM
Oulun Luistelukerho, RB-Oulu
Q18661118 Q11889561
(c(Q618123),P115,Q926373)
action filter_type
action find_reverse
entity Q926373
relation P115
type Q618123
[ANSWERS] have Oulu Ice Hall as their home venue
[{'concept': 'Q618123'}, 'P115', 'Q926373']
SELECT DISTINCT ?s WHERE { ?s property:P115 resource:Q926373 . ?s rdf:type ontology:Q618123 }
Oulun Luistelukerho RB-Oulu
Oulun Luistelukerho and RB-Oulu have Oulu Ice Hall as their home venue
Oulun Luistelukerho RB-Oulu
action filter_type
action find_reverse
entity Oulu Ice Hall
relation home venue
type geographical object
[{'concept': 'geographical object'}, 'home venue', 'Oulu Ice Hall']
SELECT DISTINCT ?s WHERE { ?s property:home_venue resource:Oulu_Ice_Hall . ?s rdf:type ontology:geographical_object }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q926373
P276
Q123705
USER
Where can Oulu Ice Hall be found ?
(Q926373,P276,c(Q123705))
action filter_type
action find
entity Q926373
relation P276
type Q123705
['Q926373', 'P276', {'concept': 'Q123705'}]
SELECT DISTINCT ?t WHERE { resource:Q926373 property:P276 ?t . ?t rdf:type ontology:Q123705 }
Oulu Ice Hall
action filter_type
action find
entity Oulu Ice Hall
relation location
type neighborhood
['Oulu Ice Hall', 'location', {'concept': 'neighborhood'}]
SELECT DISTINCT ?t WHERE { resource:Oulu_Ice_Hall property:location ?t . ?t rdf:type ontology:neighborhood }
[]
neighborhood
Q3815334
SYSTEM
Raksila
Q3815334
(Q926373,P276,c(Q123705))
action filter_type
action find
entity Q926373
relation P276
type Q123705
[ANSWER]
['Q926373', 'P276', {'concept': 'Q123705'}]
SELECT DISTINCT ?t WHERE { resource:Q926373 property:P276 ?t . ?t rdf:type ontology:Q123705 }
Raksila
Raksila
action filter_type
action find
entity Oulu Ice Hall
relation location
type neighborhood
['Oulu Ice Hall', 'location', {'concept': 'neighborhood'}]
SELECT DISTINCT ?t WHERE { resource:Oulu_Ice_Hall property:location ?t . ?t rdf:type ontology:neighborhood }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2922032
P47
Q34442
USER
How many roads have a shared border with boulevard de la Villette ?
(Q2922032,P47,c(Q34442))
action count
action filter_type
action find
entity Q2922032
relation P47
type Q34442
['Q2922032', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q2922032 property:P47 ?w . ?w rdf:type ontology:Q34442 }
boulevard de la Villette
action count
action filter_type
action find
entity boulevard de la Villette
relation shares border with
type road
['boulevard de la Villette', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:boulevard_de_la_Villette property:shares_border_with ?w . ?w rdf:type ontology:road }
[]
road
SYSTEM
20
Q3448893 Q2391741 Q3450780 Q3450571 Q3451205 Q3452302 Q1037624 Q3367837 Q3448685 Q3448312 Q3447275 Q3451076 Q3447461 Q3451036 Q3448273 Q3450502 Q3450302 Q3452179 Q3448289 Q3449815
(Q2922032,P47,c(Q34442))
action count
action filter_type
action find
entity Q2922032
relation P47
type Q34442
[ANSWER]
['Q2922032', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q2922032 property:P47 ?w . ?w rdf:type ontology:Q34442 }
rue Louis-Blanc rue du Buisson-Saint-Louis rue de Kabylie rue de Belleville rue de l'Aqueduc rue du Faubourg-Saint-Martin rue du Faubourg-du-Temple passage Barthélemy rue La Fayette rue Henri-Turot rue Burnouf rue de Tanger rue Civiale rue de Sambre-et-Meuse rue Hector-Guimard rue d'Aubervilliers rue Vicq-d'Azir rue du Château-Landon rue Henri-Feulard rue Rébeval
20
action count
action filter_type
action find
entity boulevard de la Villette
relation shares border with
type road
['boulevard de la Villette', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:boulevard_de_la_Villette property:shares_border_with ?w . ?w rdf:type ontology:road }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3001024
Q34442
USER
And what about cour de la Métairie?
(Q3001024,P47,c(Q34442))
action count
action filter_type
action find
entity Q3001024
relation P47
type Q34442
['Q3001024', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t rdf:type ontology:Q34442 . resource:Q3001024 property:P47 ?t }
cour de la Métairie
action count
action filter_type
action find
entity cour de la Métairie
relation shares border with
type road
['cour de la Métairie', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t rdf:type ontology:road . resource:cour_de_la_Métairie property:shares_border_with ?t }
[]
road
SYSTEM
2
(Q3001024,P47,c(Q34442))
action count
action filter_type
action find
entity Q3001024
relation P47
type Q34442
[ANSWER]
['Q3001024', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t rdf:type ontology:Q34442 . resource:Q3001024 property:P47 ?t }
2
action count
action filter_type
action find
entity cour de la Métairie
relation shares border with
type road
['cour de la Métairie', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t rdf:type ontology:road . resource:cour_de_la_Métairie property:shares_border_with ?t }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3001024 Q12075964
P17
Q15617994
USER
How many administrative territories are cour de la Métairie or Autozavodskoy Raion a part of ?
(Q3001024,P17,c(Q15617994)) (Q12075964,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q3001024
relation P17
type Q15617994
action filter_type
action find
entity Q12075964
relation P17
type Q15617994
['Q3001024', 'P17', {'concept': 'Q15617994'}] ['Q12075964', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?n property:P17 ?p . VALUES ( ?n ) { ( resource:Q3001024 ) ( resource:Q12075964 ) } }
cour de la Métairie Autozavodskoy Raion
action count
action union
action filter_type
action find
entity cour de la Métairie
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Autozavodskoy Raion
relation country
type designation for an administrative territorial entity
['cour de la Métairie', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Autozavodskoy Raion', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?n property:country ?p . VALUES ( ?n ) { ( resource:cour_de_la_Métairie ) ( resource:Autozavodskoy_Raion ) } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q142 Q212
(Q3001024,P17,c(Q15617994)) (Q12075964,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q3001024
relation P17
type Q15617994
action filter_type
action find
entity Q12075964
relation P17
type Q15617994
[ANSWER]
['Q3001024', 'P17', {'concept': 'Q15617994'}] ['Q12075964', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?n property:P17 ?p . VALUES ( ?n ) { ( resource:Q3001024 ) ( resource:Q12075964 ) } }
France Ukraine
2
action count
action union
action filter_type
action find
entity cour de la Métairie
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Autozavodskoy Raion
relation country
type designation for an administrative territorial entity
['cour de la Métairie', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Autozavodskoy Raion', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?n property:country ?p . VALUES ( ?n ) { ( resource:cour_de_la_Métairie ) ( resource:Autozavodskoy_Raion ) } }
[]