Simple Question (Direct)
Simple Question
Q1976458
P1344
Q15900616
USER
Which event sequences did Eddie Rudolph participate in ?
(Q1976458,P1344,c(Q15900616))
action filter_type
action find
entity Q1976458
relation P1344
type Q15900616
['Q1976458', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?p WHERE { resource:Q1976458 property:P1344 ?p . ?p rdf:type ontology:Q15900616 }
Eddie Rudolph
action filter_type
action find
entity Eddie Rudolph
relation participant of
type event sequence
['Eddie Rudolph', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?p WHERE { resource:Eddie_Rudolph property:participant_of ?p . ?p rdf:type ontology:event_sequence }
[]
event sequence
Q9634 Q9636
SYSTEM
1960 Winter Olympics, 1964 Winter Olympics
Q9634 Q9636
(Q1976458,P1344,c(Q15900616))
action filter_type
action find
entity Q1976458
relation P1344
type Q15900616
Eddie Rudolph participated in [ANSWERS]
['Q1976458', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?p WHERE { resource:Q1976458 property:P1344 ?p . ?p rdf:type ontology:Q15900616 }
1960 Winter Olympics 1964 Winter Olympics
Eddie Rudolph participated in 1960 Winter Olympics and 1964 Winter Olympics
1960 Winter Olympics 1964 Winter Olympics
action filter_type
action find
entity Eddie Rudolph
relation participant of
type event sequence
['Eddie Rudolph', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?p WHERE { resource:Eddie_Rudolph property:participant_of ?p . ?p rdf:type ontology:event_sequence }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q9634 Q9636
P361
Q16510064
USER
Which sporting events are a component of 1960 Winter Olympics and 1964 Winter Olympics ?
(c(Q16510064),P361,Q9634) (c(Q16510064),P361,Q9636)
action union
action filter_type
action find_reverse
entity Q9634
relation P361
type Q16510064
action filter_type
action find_reverse
entity Q9636
relation P361
type Q16510064
[{'concept': 'Q16510064'}, 'P361', 'Q9634'] [{'concept': 'Q16510064'}, 'P361', 'Q9636']
SELECT DISTINCT ?p WHERE { { ?p property:P361 resource:Q9634 . ?p rdf:type ontology:Q16510064 } UNION { ?p rdf:type ontology:Q16510064 . ?p property:P361 resource:Q9636 } }
1960 Winter Olympics 1964 Winter Olympics
action union
action filter_type
action find_reverse
entity 1960 Winter Olympics
relation part of
type sporting event
action filter_type
action find_reverse
entity 1964 Winter Olympics
relation part of
type sporting event
[{'concept': 'sporting event'}, 'part of', '1960 Winter Olympics'] [{'concept': 'sporting event'}, 'part of', '1964 Winter Olympics']
SELECT DISTINCT ?p WHERE { { ?p property:part_of resource:1960_Winter_Olympics . ?p rdf:type ontology:sporting_event } UNION { ?p rdf:type ontology:sporting_event . ?p property:part_of resource:1964_Winter_Olympics } }
[]
sporting event
Q836987 Q661229 Q1079597
SYSTEM
Speed skating at the 1960 Winter Olympics, Speed skating at the 1964 Winter Olympics, Ski jumping at the 1960 Winter Olympics
Q1222509 Q4960744 Q794559 Q825202 Q825212 Q825268 Q825244 Q825257 Q1222694 Q825193 Q825183 Q825162 Q1005791 Q842707 Q1079597 Q16980667 Q16980665 Q1411141 Q660664 Q1005624 Q15908179 Q616095 Q1067126 Q1222449 Q836987 Q1005561 Q1067451 Q1005449 Q1222508 Q1079618 Q794557 Q1222695 Q1005789 Q1004904 Q489027 Q988352 Q1005147 Q668032 Q1005177 Q988334 Q667191 Q15889859 Q650515 Q667114 Q1005665 Q1004954 Q667101 Q1005629 Q726515 Q1221900 Q221509 Q1067119 Q1222243 Q1221979 Q1222444 Q660694 Q1005564 Q1005315 Q5985530 Q661229 Q1005469
(c(Q16510064),P361,Q9634) (c(Q16510064),P361,Q9636)
action union
action filter_type
action find_reverse
entity Q9634
relation P361
type Q16510064
action filter_type
action find_reverse
entity Q9636
relation P361
type Q16510064
[ANSWERS] are a component of 1960 Winter Olympics and 1964 Winter Olympics
[{'concept': 'Q16510064'}, 'P361', 'Q9634'] [{'concept': 'Q16510064'}, 'P361', 'Q9636']
SELECT DISTINCT ?p WHERE { { ?p property:P361 resource:Q9634 . ?p rdf:type ontology:Q16510064 } UNION { ?p rdf:type ontology:Q16510064 . ?p property:P361 resource:Q9636 } }
Alpine skiing at the 1960 Winter Olympics – Women's slalom Figure skating at the 1960 Winter Olympics – Men's singles Biathlon at the 1960 Winter Olympics Speed skating at the 1960 Winter Olympics – Men's 500 metres Speed skating at the 1960 Winter Olympics – Men's 5000 metres Speed skating at the 1960 Winter Olympics – Men's 10000 metres Speed skating at the 1960 Winter Olympics – Women's 500 metres Speed skating at the 1960 Winter Olympics – Women's 3000 metres Alpine skiing at the 1960 Winter Olympics – Women's giant slalom Speed skating at the 1960 Winter Olympics – Women's 1500 metres Speed skating at the 1960 Winter Olympics – Women's 1000 metres Speed skating at the 1960 Winter Olympics – Men's 1500 metres Alpine skiing at the 1960 Winter Olympics – Men's giant slalom Ice hockey at the 1960 Winter Olympics Ski jumping at the 1960 Winter Olympics Figure skating at the 1960 Winter Olympics – Women's singles Figure skating at the 1960 Winter Olympics - Pairs skating Nordic skiing at the 1960 Winter Olympics Alpine skiing at the 1960 Winter Olympics Alpine skiing at the 1960 Winter Olympics – Men's slalom Biathlon at the 1960 Winter Olympics – Individual Figure skating at the 1960 Winter Olympics cross-country skiing at the 1960 Winter Olympics Alpine skiing at the 1960 Winter Olympics – Women's downhill Speed skating at the 1960 Winter Olympics Alpine skiing at the 1960 Winter Olympics – Men's downhill Nordic combined at the 1960 Winter Olympics Luge at the 1964 Winter Olympics – Doubles Alpine skiing at the 1964 Winter Olympics – Women's slalom Ski jumping at the 1964 Winter Olympics Biathlon at the 1964 Winter Olympics Alpine skiing at the 1964 Winter Olympics – Women's giant slalom Alpine skiing at the 1964 Winter Olympics – Men's giant slalom Speed skating at the 1964 Winter Olympics – Men's 10000 metres Nordic skiing at the 1964 Winter Olympics Ski jumping at the 1964 Winter Olympics – Normal hill individual Speed skating at the 1964 Winter Olympics – Men's 5000 metres Luge at the 1964 Winter Olympics Speed skating at the 1964 Winter Olympics – Men's 500 metres Ski jumping at the 1964 Winter Olympics – Large hill individual Figure skating at the 1964 Winter Olympics Biathlon at the 1964 Winter Olympics – Individual Speed skating at the 1964 Winter Olympics – Women's 1000 metres Ice hockey at the 1964 Winter Olympics Bobsleigh at the 1964 Winter Olympics – Four-man Speed skating at the 1964 Winter Olympics – Men's 1500 metres Bobsleigh at the 1964 Winter Olympics Alpine skiing at the 1964 Winter Olympics – Men's slalom Speed skating at the 1964 Winter Olympics – Women's 500 metres Speed skating at the 1964 Winter Olympics – Women's 1500 metres Nordic combined at the 1964 Winter Olympics Cross-country skiing at the 1964 Winter Olympics Luge at the 1964 Winter Olympics – Women's singles Speed skating at the 1964 Winter Olympics – Women's 3000 metres Alpine skiing at the 1964 Winter Olympics – Women's downhill Alpine skiing at the 1964 Winter Olympics Alpine skiing at the 1964 Winter Olympics – Men's downhill Luge at the 1964 Winter Olympics – Men's singles Ice stock sport at the Winter Olympics Speed skating at the 1964 Winter Olympics Bobsleigh at the 1964 Winter Olympics – Two-man
Speed skating at the 1960 Winter Olympics, Speed skating at the 1964 Winter Olympics and Ski jumping at the 1960 Winter Olympics are a component of 1960 Winter Olympics and 1964 Winter Olympics
Speed skating at the 1960 Winter Olympics Speed skating at the 1964 Winter Olympics Ski jumping at the 1960 Winter Olympics
action union
action filter_type
action find_reverse
entity 1960 Winter Olympics
relation part of
type sporting event
action filter_type
action find_reverse
entity 1964 Winter Olympics
relation part of
type sporting event
[{'concept': 'sporting event'}, 'part of', '1960 Winter Olympics'] [{'concept': 'sporting event'}, 'part of', '1964 Winter Olympics']
SELECT DISTINCT ?p WHERE { { ?p property:part_of resource:1960_Winter_Olympics . ?p rdf:type ontology:sporting_event } UNION { ?p rdf:type ontology:sporting_event . ?p property:part_of resource:1964_Winter_Olympics } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q836987 Q661229 Q1079597
P361
Q15900616
USER
Which event sequences are Speed skating at the 1960 Winter Olympics, Speed skating at the 1964 Winter Olympics and Ski jumping at the 1960 Winter Olympics a portion of ?
(Q836987,P361,c(Q15900616)) (Q661229,P361,c(Q15900616)) (Q1079597,P361,c(Q15900616))
action union
action filter_type
action find
entity Q836987
relation P361
type Q15900616
action filter_type
action find
entity Q661229
relation P361
type Q15900616
action filter_type
action find
entity Q1079597
relation P361
type Q15900616
['Q836987', 'P361', {'concept': 'Q15900616'}] ['Q661229', 'P361', {'concept': 'Q15900616'}] ['Q1079597', 'P361', {'concept': 'Q15900616'}]
SELECT DISTINCT ?w WHERE { { resource:Q836987 property:P361 ?w . ?w rdf:type ontology:Q15900616 } UNION { ?w rdf:type ontology:Q15900616 . resource:Q661229 property:P361 ?w } }
Speed skating at the 1960 Winter Olympics Speed skating at the 1964 Winter Olympics Ski jumping at the 1960 Winter Olympics
action union
action filter_type
action find
entity Speed skating at the 1960 Winter Olympics
relation part of
type event sequence
action filter_type
action find
entity Speed skating at the 1964 Winter Olympics
relation part of
type event sequence
action filter_type
action find
entity Ski jumping at the 1960 Winter Olympics
relation part of
type event sequence
['Speed skating at the 1960 Winter Olympics', 'part of', {'concept': 'event sequence'}] ['Speed skating at the 1964 Winter Olympics', 'part of', {'concept': 'event sequence'}] ['Ski jumping at the 1960 Winter Olympics', 'part of', {'concept': 'event sequence'}]
SELECT DISTINCT ?w WHERE { { resource:Speed_skating_at_the_1960_Winter_Olympics property:part_of ?w . ?w rdf:type ontology:event_sequence } UNION { ?w rdf:type ontology:event_sequence . resource:Speed_skating_at_the_1964_Winter_Olympics property:part_of ?w } }
[]
event sequence
Q9634 Q9636 Q9634
SYSTEM
1960 Winter Olympics for 1st, 3rd, 1964 Winter Olympics for 2nd
Q9634 Q9636 Q9634
(Q836987,P361,c(Q15900616)) (Q661229,P361,c(Q15900616)) (Q1079597,P361,c(Q15900616))
action union
action filter_type
action find
entity Q836987
relation P361
type Q15900616
action filter_type
action find
entity Q661229
relation P361
type Q15900616
action filter_type
action find
entity Q1079597
relation P361
type Q15900616
[ANSWERS]
['Q836987', 'P361', {'concept': 'Q15900616'}] ['Q661229', 'P361', {'concept': 'Q15900616'}] ['Q1079597', 'P361', {'concept': 'Q15900616'}]
SELECT DISTINCT ?w WHERE { { resource:Q836987 property:P361 ?w . ?w rdf:type ontology:Q15900616 } UNION { ?w rdf:type ontology:Q15900616 . resource:Q661229 property:P361 ?w } }
1960 Winter Olympics 1964 Winter Olympics 1960 Winter Olympics
The 1960 Winter Olympics, 1964 Winter Olympics and 1960 Winter Olympics are Speed skating at the 1960 Winter Olympics, Speed skating at the 1964 Winter Olympics and Ski jumping at the 1960 Winter Olympics a portion of
1960 Winter Olympics 1964 Winter Olympics 1960 Winter Olympics
action union
action filter_type
action find
entity Speed skating at the 1960 Winter Olympics
relation part of
type event sequence
action filter_type
action find
entity Speed skating at the 1964 Winter Olympics
relation part of
type event sequence
action filter_type
action find
entity Ski jumping at the 1960 Winter Olympics
relation part of
type event sequence
['Speed skating at the 1960 Winter Olympics', 'part of', {'concept': 'event sequence'}] ['Speed skating at the 1964 Winter Olympics', 'part of', {'concept': 'event sequence'}] ['Ski jumping at the 1960 Winter Olympics', 'part of', {'concept': 'event sequence'}]
SELECT DISTINCT ?w WHERE { { resource:Speed_skating_at_the_1960_Winter_Olympics property:part_of ?w . ?w rdf:type ontology:event_sequence } UNION { ?w rdf:type ontology:event_sequence . resource:Speed_skating_at_the_1964_Winter_Olympics property:part_of ?w } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9636
P466
Q811979
USER
What was inhabited by 1964 Winter Olympics ?
(c(Q811979),P466,Q9636)
action filter_type
action find_reverse
entity Q9636
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q9636']
SELECT DISTINCT ?u WHERE { ?u property:P466 resource:Q9636 . ?u rdf:type ontology:Q811979 }
1964 Winter Olympics
action filter_type
action find_reverse
entity 1964 Winter Olympics
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', '1964 Winter Olympics']
SELECT DISTINCT ?u WHERE { ?u property:occupant resource:1964_Winter_Olympics . ?u rdf:type ontology:architectural_structure }
[]
architectural structure
Q1053761
SYSTEM
Eisschnellaufbahn Innsbruck
Q1053761
(c(Q811979),P466,Q9636)
action filter_type
action find_reverse
entity Q9636
relation P466
type Q811979
[ANSWER] was inhabited by 1964 Winter Olympics
[{'concept': 'Q811979'}, 'P466', 'Q9636']
SELECT DISTINCT ?u WHERE { ?u property:P466 resource:Q9636 . ?u rdf:type ontology:Q811979 }
Eisschnellaufbahn Innsbruck
Eisschnellaufbahn Innsbruck was inhabited by 1964 Winter Olympics
Eisschnellaufbahn Innsbruck
action filter_type
action find_reverse
entity 1964 Winter Olympics
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', '1964 Winter Olympics']
SELECT DISTINCT ?u WHERE { ?u property:occupant resource:1964_Winter_Olympics . ?u rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q262673
P137
Q4830453 Q811979
USER
Which business enterprises operates greater number of architectural structures than Seaboard Coast Line Railroad ?
(c(Q811979),P137,c(Q4830453))
action greater
action find_reverse_tuple_counts
relation P137
type Q4830453
type Q811979
action count
action filter_type
action find
entity Q262673
relation P137
type Q4830453
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q4830453'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?u ) WHERE { ?t rdf:type ontology:Q4830453 . ?k rdf:type ontology:Q811979 . ?k property:P137 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Q262673 property:P137 ?f . ?f rdf:type ontology:Q4830453 } } . FILTER ( ?u > ?d ) }
Seaboard Coast Line Railroad
action greater
action find_reverse_tuple_counts
relation operator
type business enterprise
type architectural structure
action count
action filter_type
action find
entity Seaboard Coast Line Railroad
relation operator
type business enterprise
[{'concept': 'architectural structure'}, 'operator', {'concept': 'business enterprise'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?u ) WHERE { ?t rdf:type ontology:business_enterprise . ?k rdf:type ontology:architectural_structure . ?k property:operator ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Seaboard_Coast_Line_Railroad property:operator ?f . ?f rdf:type ontology:business_enterprise } } . FILTER ( ?u > ?d ) }
[]
business enterprise architectural structure
Q158276 Q20438616 Q378181
SYSTEM
AEG, KMKK Középkelet-magyarországi Közlekedési Központ, Chemins de fer du Midi
Q20438616 Q378181 Q158276 Q2990097
(c(Q811979),P137,c(Q4830453))
action greater
action find_reverse_tuple_counts
relation P137
type Q4830453
type Q811979
action count
action filter_type
action find
entity Q262673
relation P137
type Q4830453
[ANSWERS] operate greater number of architectural structures than Seaboard Coast Line Railroad
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q4830453'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?u ) WHERE { ?t rdf:type ontology:Q4830453 . ?k rdf:type ontology:Q811979 . ?k property:P137 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Q262673 property:P137 ?f . ?f rdf:type ontology:Q4830453 } } . FILTER ( ?u > ?d ) }
KMKK Középkelet-magyarországi Közlekedési Központ Chemins de fer du Midi AEG Compagnie du chemin de fer de Bordeaux à La Teste
AEG, KMKK Középkelet-magyarországi Közlekedési Központ and Chemins de fer du Midi operate greater number of architectural structures than Seaboard Coast Line Railroad
AEG KMKK Középkelet-magyarországi Közlekedési Központ Chemins de fer du Midi
action greater
action find_reverse_tuple_counts
relation operator
type business enterprise
type architectural structure
action count
action filter_type
action find
entity Seaboard Coast Line Railroad
relation operator
type business enterprise
[{'concept': 'architectural structure'}, 'operator', {'concept': 'business enterprise'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?u ) WHERE { ?t rdf:type ontology:business_enterprise . ?k rdf:type ontology:architectural_structure . ?k property:operator ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Seaboard_Coast_Line_Railroad property:operator ?f . ?f rdf:type ontology:business_enterprise } } . FILTER ( ?u > ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q125908
P137
Q4830453 Q811979
USER
And what about Metro-North Railroad?
(c(Q811979),P137,c(Q4830453))
action greater
action find_reverse_tuple_counts
relation P137
type Q4830453
type Q811979
action count
action filter_type
action find
entity Q125908
relation P137
type Q4830453
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q4830453'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ontology:Q4830453 . resource:Q125908 property:P137 ?d } } . FILTER ( ?v > ?c ) . { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P137 ?i . ?i rdf:type ontology:Q4830453 . ?a rdf:type ontology:Q811979 } GROUP BY ?i } }
Metro-North Railroad
action greater
action find_reverse_tuple_counts
relation operator
type business enterprise
type architectural structure
action count
action filter_type
action find
entity Metro-North Railroad
relation operator
type business enterprise
[{'concept': 'architectural structure'}, 'operator', {'concept': 'business enterprise'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ontology:business_enterprise . resource:Metro-North_Railroad property:operator ?d } } . FILTER ( ?v > ?c ) . { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:operator ?i . ?i rdf:type ontology:business_enterprise . ?a rdf:type ontology:architectural_structure } GROUP BY ?i } }
[]
business enterprise architectural structure
Q158276 Q20438616 Q378181
SYSTEM
AEG, KMKK Középkelet-magyarországi Közlekedési Központ, Chemins de fer du Midi
Q20438616 Q378181 Q158276 Q2990097
(c(Q811979),P137,c(Q4830453))
action greater
action find_reverse_tuple_counts
relation P137
type Q4830453
type Q811979
action count
action filter_type
action find
entity Q125908
relation P137
type Q4830453
[ANSWERS]
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q4830453'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ontology:Q4830453 . resource:Q125908 property:P137 ?d } } . FILTER ( ?v > ?c ) . { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P137 ?i . ?i rdf:type ontology:Q4830453 . ?a rdf:type ontology:Q811979 } GROUP BY ?i } }
KMKK Középkelet-magyarországi Közlekedési Központ Chemins de fer du Midi AEG Compagnie du chemin de fer de Bordeaux à La Teste
AEG KMKK Középkelet-magyarországi Közlekedési Központ Chemins de fer du Midi
action greater
action find_reverse_tuple_counts
relation operator
type business enterprise
type architectural structure
action count
action filter_type
action find
entity Metro-North Railroad
relation operator
type business enterprise
[{'concept': 'architectural structure'}, 'operator', {'concept': 'business enterprise'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ontology:business_enterprise . resource:Metro-North_Railroad property:operator ?d } } . FILTER ( ?v > ?c ) . { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:operator ?i . ?i rdf:type ontology:business_enterprise . ?a rdf:type ontology:architectural_structure } GROUP BY ?i } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26573962 Q262673
P17
Q15617994
USER
Which administrative territories are Seaboard Coast Line Railroad or Lime Tree Cottage present in ?
OR((Q262673,P17,c(Q15617994)), (Q26573962,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q262673
relation P17
action find
entity Q26573962
relation P17
type Q15617994
{'OR': [['Q262673', 'P17', {'concept': 'Q15617994'}], ['Q26573962', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?i ) { ( resource:Q262673 ) ( resource:Q26573962 ) } . ?i property:P17 ?u } . ?u rdf:type ontology:Q15617994 }
Lime Tree Cottage Seaboard Coast Line Railroad
action filter_type
action union
action find
entity Seaboard Coast Line Railroad
relation country
action find
entity Lime Tree Cottage
relation country
type designation for an administrative territorial entity
{'OR': [['Seaboard Coast Line Railroad', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Lime Tree Cottage', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?i ) { ( resource:Seaboard_Coast_Line_Railroad ) ( resource:Lime_Tree_Cottage ) } . ?i property:country ?u } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q262673,P17,c(Q15617994)), (Q26573962,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q262673
relation P17
action find
entity Q26573962
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q262673', 'P17', {'concept': 'Q15617994'}], ['Q26573962', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?i ) { ( resource:Q262673 ) ( resource:Q26573962 ) } . ?i property:P17 ?u } . ?u rdf:type ontology:Q15617994 }
United States of America United Kingdom
Which administrative territories are Seaboard Coast Line Railroad or Lime Tree Cottage present in
United States of America United Kingdom
action filter_type
action union
action find
entity Seaboard Coast Line Railroad
relation country
action find
entity Lime Tree Cottage
relation country
type designation for an administrative territorial entity
{'OR': [['Seaboard Coast Line Railroad', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Lime Tree Cottage', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?i ) { ( resource:Seaboard_Coast_Line_Railroad ) ( resource:Lime_Tree_Cottage ) } . ?i property:country ?u } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q4830453 Q83620 Q355304
USER
Which business enterprises are around 1 thoroughfares and watercourses a part of ?
(c(Q83620)|c(Q355304),P361,c(Q4830453))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q4830453
type Q83620
action find_reverse_tuple_counts
relation P361
type Q4830453
type Q355304
value 1
[[{'concept': 'Q83620'}, {'concept': 'Q355304'}], 'P361', {'concept': 'Q4830453'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) ?d WHERE { { ?n property:P361 ?d . ?d rdf:type ontology:Q4830453 . ?n rdf:type ontology:Q83620 } UNION { ?n property:P361 ?d . ?d rdf:type ontology:Q4830453 . ?n rdf:type ontology:Q355304 } } GROUP BY ?d } . FILTER ( ?z = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation part of
type business enterprise
type thoroughfare
action find_reverse_tuple_counts
relation part of
type business enterprise
type watercourse
value 1
[[{'concept': 'thoroughfare'}, {'concept': 'watercourse'}], 'part of', {'concept': 'business enterprise'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) ?d WHERE { { ?n property:part_of ?d . ?d rdf:type ontology:business_enterprise . ?n rdf:type ontology:thoroughfare } UNION { ?n property:part_of ?d . ?d rdf:type ontology:business_enterprise . ?n rdf:type ontology:watercourse } } GROUP BY ?d } . FILTER ( ?z = 1 ) }
[]
business enterprise thoroughfare watercourse
Q1262248 Q1765011
SYSTEM
Venetian Arsenal, Moscow Railway
Q1262248 Q1765011
(c(Q83620)|c(Q355304),P361,c(Q4830453))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q4830453
type Q83620
action find_reverse_tuple_counts
relation P361
type Q4830453
type Q355304
value 1
[ANSWERS] are around 1 thoroughfares and watercourses a part of
[[{'concept': 'Q83620'}, {'concept': 'Q355304'}], 'P361', {'concept': 'Q4830453'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) ?d WHERE { { ?n property:P361 ?d . ?d rdf:type ontology:Q4830453 . ?n rdf:type ontology:Q83620 } UNION { ?n property:P361 ?d . ?d rdf:type ontology:Q4830453 . ?n rdf:type ontology:Q355304 } } GROUP BY ?d } . FILTER ( ?z = 1 ) }
Venetian Arsenal Moscow Railway
Venetian Arsenal and Moscow Railway are around 1 thoroughfares and watercourses a part of
Venetian Arsenal Moscow Railway
action approx
action union
action find_reverse_tuple_counts
relation part of
type business enterprise
type thoroughfare
action find_reverse_tuple_counts
relation part of
type business enterprise
type watercourse
value 1
[[{'concept': 'thoroughfare'}, {'concept': 'watercourse'}], 'part of', {'concept': 'business enterprise'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) ?d WHERE { { ?n property:part_of ?d . ?d rdf:type ontology:business_enterprise . ?n rdf:type ontology:thoroughfare } UNION { ?n property:part_of ?d . ?d rdf:type ontology:business_enterprise . ?n rdf:type ontology:watercourse } } GROUP BY ?d } . FILTER ( ?z = 1 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P361
Q43229
USER
How many organizations are that business enterprise a portion of ?
(Q1765011,P361,c(Q43229))
['Q1765011', 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1765011 property:P361 ?z . ?z rdf:type ontology:Q43229 }
['Moscow Railway', 'part of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Moscow_Railway property:part_of ?z . ?z rdf:type ontology:organization }
[]
organization
Quantitative|Count|Single entity type|Clarification
Q1262248
SYSTEM
Did you mean Venetian Arsenal ?
(Q1262248,P361,c(Q43229)) (Q1765011,P361,c(Q43229))
[ANSWER]
['Q1262248', 'P361', {'concept': 'Q43229'}] ['Q1765011', 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1765011 property:P361 ?z . ?z rdf:type ontology:Q43229 }
Did you mean Venetian Arsenal ?
Venetian Arsenal
['Venetian Arsenal', 'part of', {'concept': 'organization'}] ['Moscow Railway', 'part of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Moscow_Railway property:part_of ?z . ?z rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Moscow Railway. Could you tell me the answer for that?
(Q1765011,P361,c(Q43229))
Q1765011
['Q1765011', 'P361', {'concept': 'Q43229'}]
['Moscow Railway', 'part of', {'concept': 'organization'}]
[]
SYSTEM
1
Q660770
(Q1765011,P361,c(Q43229))
[ANSWER]
['Q1765011', 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1765011 property:P361 ?z . ?z rdf:type ontology:Q43229 }
OJSC Russian Railways
1
['Moscow Railway', 'part of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Moscow_Railway property:part_of ?z . ?z rdf:type ontology:organization }
[]