Simple Question (Direct)
Simple Question
Q1521597
P641
Q349
USER
Which sport was Gheorghe Mulțescu a part of ?
(Q1521597,P641,c(Q349))
action filter_type
action find
entity Q1521597
relation P641
type Q349
['Q1521597', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q1521597 property:P641 ?y }
Gheorghe Mulțescu
action filter_type
action find
entity Gheorghe Mulțescu
relation sport
type sport
['Gheorghe Mulțescu', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Gheorghe_Mulțescu property:sport ?y }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1521597,P641,c(Q349))
action filter_type
action find
entity Q1521597
relation P641
type Q349
Which sport was Gheorghe Mulțescu a part of
['Q1521597', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q1521597 property:P641 ?y }
association football
Which sport was Gheorghe Mulțescu a part of
association football
action filter_type
action find
entity Gheorghe Mulțescu
relation sport
type sport
['Gheorghe Mulțescu', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Gheorghe_Mulțescu property:sport ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1521597
P54
Q1194951
USER
What is that person a member of ?
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q1521597
relation P54
type Q1194951
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?j WHERE { resource:Q1521597 property:P54 ?j . ?j rdf:type ontology:Q1194951 }
Gheorghe Mulțescu
action filter_type
action find
entity Gheorghe Mulțescu
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?j WHERE { resource:Gheorghe_Mulțescu property:member_of_sports_team ?j . ?j rdf:type ontology:national_sports_team }
[]
national sports team
Q168397
SYSTEM
Romania national football team
Q168397
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q1521597
relation P54
type Q1194951
That person a member of is the [ANSWER]
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?j WHERE { resource:Q1521597 property:P54 ?j . ?j rdf:type ontology:Q1194951 }
Romania national football team
That person a member of is the Romania national football team
Romania national football team
action filter_type
action find
entity Gheorghe Mulțescu
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?j WHERE { resource:Gheorghe_Mulțescu property:member_of_sports_team ?j . ?j rdf:type ontology:national_sports_team }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q168397 Q1133233
P54
Q502895
USER
Is Cornel Popa one of the members of that national sports team ?
(Q1133233,P54,Q168397)
action is_in
entity Q168397
action find
entity Q1133233
relation P54
['Q1133233', 'P54', 'Q168397']
ASK WHERE { resource:Q1133233 property:P54 resource:Q168397 }
Romania national football team Cornel Popa
action is_in
entity Romania national football team
action find
entity Cornel Popa
relation member of sports team
['Cornel Popa', 'member of sports team', 'Romania national football team']
ASK WHERE { resource:Cornel_Popa property:member_of_sports_team resource:Romania_national_football_team }
[]
common name
SYSTEM
YES
(Q1133233,P54,Q168397)
action is_in
entity Q168397
action find
entity Q1133233
relation P54
[ANSWER]
['Q1133233', 'P54', 'Q168397']
ASK WHERE { resource:Q1133233 property:P54 resource:Q168397 }
Yes
action is_in
entity Romania national football team
action find
entity Cornel Popa
relation member of sports team
['Cornel Popa', 'member of sports team', 'Romania national football team']
ASK WHERE { resource:Cornel_Popa property:member_of_sports_team resource:Romania_national_football_team }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q849786 Q168397
P1532 P17
Q15617994
USER
Which administrative territories do Romania national football team play for and are Trajan's Bridge a part of ?
AND((Q168397,P1532,c(Q15617994)), (Q849786,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q168397
relation P1532
action find
entity Q849786
relation P17
type Q15617994
{'AND': [['Q168397', 'P1532', {'concept': 'Q15617994'}], ['Q849786', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { resource:Q168397 property:P1532 ?m . resource:Q849786 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Trajan's Bridge Romania national football team
action filter_type
action intersection
action find
entity Romania national football team
relation country for sport
action find
entity Trajan's Bridge
relation country
type designation for an administrative territorial entity
{'AND': [['Romania national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}], ["Trajan's Bridge", 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { resource:Romania_national_football_team property:country_for_sport ?m . resource:Trajan's_Bridge property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
AND((Q168397,P1532,c(Q15617994)), (Q849786,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q168397
relation P1532
action find
entity Q849786
relation P17
type Q15617994
[ANSWER] and are a part of [ANSWER] national football team Trajan's Bridge play
{'AND': [['Q168397', 'P1532', {'concept': 'Q15617994'}], ['Q849786', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { resource:Q168397 property:P1532 ?m . resource:Q849786 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Romania
Romania and are a part of Romania national football team Trajan's Bridge play
Romania
action filter_type
action intersection
action find
entity Romania national football team
relation country for sport
action find
entity Trajan's Bridge
relation country
type designation for an administrative territorial entity
{'AND': [['Romania national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}], ["Trajan's Bridge", 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { resource:Romania_national_football_team property:country_for_sport ?m . resource:Trajan's_Bridge property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q218 Q1410315 Q564258
P530
Q15617994
USER
Is that administrative territory known to have diplomatic connections with Fezile Dabi District Municipality and Biesdorf ?
(Q218,P530,Q1410315) (Q218,P530,Q564258)
action is_in
entity Q218
action intersection
action find_reverse
entity Q1410315
relation P530
action find_reverse
entity Q564258
relation P530
['Q218', 'P530', 'Q1410315'] ['Q218', 'P530', 'Q564258']
ASK WHERE { resource:Q218 property:P530 resource:Q1410315 . resource:Q218 property:P530 resource:Q564258 }
Romania Fezile Dabi District Municipality Biesdorf
action is_in
entity Romania
action intersection
action find_reverse
entity Fezile Dabi District Municipality
relation diplomatic relation
action find_reverse
entity Biesdorf
relation diplomatic relation
['Romania', 'diplomatic relation', 'Fezile Dabi District Municipality'] ['Romania', 'diplomatic relation', 'Biesdorf']
ASK WHERE { resource:Romania property:diplomatic_relation resource:Fezile_Dabi_District_Municipality . resource:Romania property:diplomatic_relation resource:Biesdorf }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q218,P530,Q1410315) (Q218,P530,Q564258)
action is_in
entity Q218
action intersection
action find_reverse
entity Q1410315
relation P530
action find_reverse
entity Q564258
relation P530
[ANSWER]
['Q218', 'P530', 'Q1410315'] ['Q218', 'P530', 'Q564258']
ASK WHERE { resource:Q218 property:P530 resource:Q1410315 . resource:Q218 property:P530 resource:Q564258 }
No
action is_in
entity Romania
action intersection
action find_reverse
entity Fezile Dabi District Municipality
relation diplomatic relation
action find_reverse
entity Biesdorf
relation diplomatic relation
['Romania', 'diplomatic relation', 'Fezile Dabi District Municipality'] ['Romania', 'diplomatic relation', 'Biesdorf']
ASK WHERE { resource:Romania property:diplomatic_relation resource:Fezile_Dabi_District_Municipality . resource:Romania property:diplomatic_relation resource:Biesdorf }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q168397 Q47413 Q541
P1532
Q15617994
USER
Does Romania national football team play for Rodero and Orvieto ?
(Q168397,P1532,Q47413) (Q168397,P1532,Q541)
action is_in
entity Q168397
action intersection
action find_reverse
entity Q47413
relation P1532
action find_reverse
entity Q541
relation P1532
['Q168397', 'P1532', 'Q47413'] ['Q168397', 'P1532', 'Q541']
ASK WHERE { resource:Q168397 property:P1532 resource:Q47413 . resource:Q168397 property:P1532 resource:Q541 }
Romania national football team Rodero Orvieto
action is_in
entity Romania national football team
action intersection
action find_reverse
entity Rodero
relation country for sport
action find_reverse
entity Orvieto
relation country for sport
['Romania national football team', 'country for sport', 'Rodero'] ['Romania national football team', 'country for sport', 'Orvieto']
ASK WHERE { resource:Romania_national_football_team property:country_for_sport resource:Rodero . resource:Romania_national_football_team property:country_for_sport resource:Orvieto }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q168397,P1532,Q47413) (Q168397,P1532,Q541)
action is_in
entity Q168397
action intersection
action find_reverse
entity Q47413
relation P1532
action find_reverse
entity Q541
relation P1532
[ANSWER]
['Q168397', 'P1532', 'Q47413'] ['Q168397', 'P1532', 'Q541']
ASK WHERE { resource:Q168397 property:P1532 resource:Q47413 . resource:Q168397 property:P1532 resource:Q541 }
No
action is_in
entity Romania national football team
action intersection
action find_reverse
entity Rodero
relation country for sport
action find_reverse
entity Orvieto
relation country for sport
['Romania national football team', 'country for sport', 'Rodero'] ['Romania national football team', 'country for sport', 'Orvieto']
ASK WHERE { resource:Romania_national_football_team property:country_for_sport resource:Rodero . resource:Romania_national_football_team property:country_for_sport resource:Orvieto }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q168397
P1344
Q15275719
USER
What recurring events did Romania national football team participate in ?
(Q168397,P1344,c(Q15275719))
action filter_type
action find
entity Q168397
relation P1344
type Q15275719
['Q168397', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15275719 . resource:Q168397 property:P1344 ?z }
Romania national football team
action filter_type
action find
entity Romania national football team
relation participant of
type recurring event
['Romania national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:recurring_event . resource:Romania_national_football_team property:participant_of ?z }
[]
recurring event
Q101730 Q132529 Q101751
SYSTEM
1998 FIFA World Cup, 1990 FIFA World Cup, 1994 FIFA World Cup
Q132664 Q48432 Q101751 Q1477177 Q132529 Q131591 Q101730
(Q168397,P1344,c(Q15275719))
action filter_type
action find
entity Q168397
relation P1344
type Q15275719
Romania national football team participated in [ANSWERS]
['Q168397', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15275719 . resource:Q168397 property:P1344 ?z }
1970 FIFA World Cup 1930 FIFA World Cup 1994 FIFA World Cup 1934 FIFA World Cup 1990 FIFA World Cup 1938 FIFA World Cup 1998 FIFA World Cup
Romania national football team participated in 1998 FIFA World Cup, 1990 FIFA World Cup and 1994 FIFA World Cup
1998 FIFA World Cup 1990 FIFA World Cup 1994 FIFA World Cup
action filter_type
action find
entity Romania national football team
relation participant of
type recurring event
['Romania national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:recurring_event . resource:Romania_national_football_team property:participant_of ?z }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1427541
Q15275719
USER
And what about Flavius Domide?
(Q1427541,P1344,c(Q15275719))
action filter_type
action find
entity Q1427541
relation P1344
type Q15275719
['Q1427541', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?s WHERE { resource:Q1427541 property:P1344 ?s . ?s rdf:type ontology:Q15275719 }
Flavius Domide
action filter_type
action find
entity Flavius Domide
relation participant of
type recurring event
['Flavius Domide', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?s WHERE { resource:Flavius_Domide property:participant_of ?s . ?s rdf:type ontology:recurring_event }
[]
recurring event
Q132664
SYSTEM
1970 FIFA World Cup
Q132664
(Q1427541,P1344,c(Q15275719))
action filter_type
action find
entity Q1427541
relation P1344
type Q15275719
[ANSWER]
['Q1427541', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?s WHERE { resource:Q1427541 property:P1344 ?s . ?s rdf:type ontology:Q15275719 }
1970 FIFA World Cup
1970 FIFA World Cup
action filter_type
action find
entity Flavius Domide
relation participant of
type recurring event
['Flavius Domide', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?s WHERE { resource:Flavius_Domide property:participant_of ?s . ?s rdf:type ontology:recurring_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q132664
P664
Q1346006
USER
Who is the organizer of that recurring event ?
(Q132664,P664,c(Q1346006))
action filter_type
action find
entity Q132664
relation P664
type Q1346006
['Q132664', 'P664', {'concept': 'Q1346006'}]
SELECT DISTINCT ?d WHERE { resource:Q132664 property:P664 ?d . ?d rdf:type ontology:Q1346006 }
1970 FIFA World Cup
action filter_type
action find
entity 1970 FIFA World Cup
relation organizer
type international sport governing body
['1970 FIFA World Cup', 'organizer', {'concept': 'international sport governing body'}]
SELECT DISTINCT ?d WHERE { resource:1970_FIFA_World_Cup property:organizer ?d . ?d rdf:type ontology:international_sport_governing_body }
[]
international sport governing body
Q253414
SYSTEM
FIFA
Q253414
(Q132664,P664,c(Q1346006))
action filter_type
action find
entity Q132664
relation P664
type Q1346006
The organizer of that recurring event is a [ANSWER]
['Q132664', 'P664', {'concept': 'Q1346006'}]
SELECT DISTINCT ?d WHERE { resource:Q132664 property:P664 ?d . ?d rdf:type ontology:Q1346006 }
FIFA
The organizer of that recurring event is a FIFA
FIFA
action filter_type
action find
entity 1970 FIFA World Cup
relation organizer
type international sport governing body
['1970 FIFA World Cup', 'organizer', {'concept': 'international sport governing body'}]
SELECT DISTINCT ?d WHERE { resource:1970_FIFA_World_Cup property:organizer ?d . ?d rdf:type ontology:international_sport_governing_body }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q253414 Q6425382
P159
Q56061
USER
Is Kodli the headquarter location of that international sport governing body ?
(Q253414,P159,Q6425382)
action is_in
entity Q6425382
action find
entity Q253414
relation P159
['Q253414', 'P159', 'Q6425382']
ASK WHERE { resource:Q253414 property:P159 resource:Q6425382 }
FIFA Kodli
action is_in
entity Kodli
action find
entity FIFA
relation headquarters location
['FIFA', 'headquarters location', 'Kodli']
ASK WHERE { resource:FIFA property:headquarters_location resource:Kodli }
[]
administrative territorial entity
SYSTEM
NO
(Q253414,P159,Q6425382)
action is_in
entity Q6425382
action find
entity Q253414
relation P159
[ANSWER]
['Q253414', 'P159', 'Q6425382']
ASK WHERE { resource:Q253414 property:P159 resource:Q6425382 }
No
action is_in
entity Kodli
action find
entity FIFA
relation headquarters location
['FIFA', 'headquarters location', 'Kodli']
ASK WHERE { resource:FIFA property:headquarters_location resource:Kodli }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q132529 Q183
P17
Q1048835
USER
Is that recurring event located in Germany ?
(Q132529,P17,Q183)
action is_in
entity Q183
action find
entity Q132529
relation P17
['Q132529', 'P17', 'Q183']
ASK WHERE { resource:Q132529 property:P17 resource:Q183 }
1990 FIFA World Cup Germany
action is_in
entity Germany
action find
entity 1990 FIFA World Cup
relation country
['1990 FIFA World Cup', 'country', 'Germany']
ASK WHERE { resource:1990_FIFA_World_Cup property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q132529,P17,Q183)
action is_in
entity Q183
action find
entity Q132529
relation P17
[ANSWER]
['Q132529', 'P17', 'Q183']
ASK WHERE { resource:Q132529 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity 1990 FIFA World Cup
relation country
['1990 FIFA World Cup', 'country', 'Germany']
ASK WHERE { resource:1990_FIFA_World_Cup property:country resource:Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q132529
P1923
Q1194951
USER
Which national sports teams contested in that recurring event ?
action filter_type
action find
entity Q132529
relation P1923
type Q1194951
SELECT DISTINCT ?i WHERE { resource:Q132529 property:P1923 ?i . ?i rdf:type ontology:Q1194951 }
1990 FIFA World Cup
action filter_type
action find
entity 1990 FIFA World Cup
relation participating teams
type national sports team
SELECT DISTINCT ?i WHERE { resource:1990_FIFA_World_Cup property:participating_teams ?i . ?i rdf:type ontology:national_sports_team }
[]
national sports team
Q43310 Q83459 Q676899
SYSTEM
Germany national football team, Brazil national football team, Italy national football team
Q28089 Q163547 Q182072 Q47050 Q42267 Q166776 Q164134 Q189275 Q34044 Q83459 Q175309 Q160826 Q79800 Q134916 Q47762 Q212564 Q163534 Q188363 Q543842 Q43310 Q676899 Q235910 Q194387 Q168397
action filter_type
action find
entity Q132529
relation P1923
type Q1194951
[ANSWERS] contested in that recurring event
SELECT DISTINCT ?i WHERE { resource:Q132529 property:P1923 ?i . ?i rdf:type ontology:Q1194951 }
Egypt national football team Republic of Ireland national football team Czechoslovakia national football team Netherlands national football team Spain national football team Belgium national football team United States men's national soccer team Soviet Union national football team Scotland national football team Brazil national football team Cameroon national football team Sweden national football team Argentina national football team Uruguay national football team England national football team Colombia national football team Austria national football team Yugoslavia national football team South Korea national football team Germany national football team Italy national football team United Arab Emirates national football team Costa Rica national football team Romania national football team
Germany national football team, Brazil national football team and Italy national football team contested in that recurring event
Germany national football team Brazil national football team Italy national football team
action filter_type
action find
entity 1990 FIFA World Cup
relation participating teams
type national sports team
SELECT DISTINCT ?i WHERE { resource:1990_FIFA_World_Cup property:participating_teams ?i . ?i rdf:type ontology:national_sports_team }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1194269
P366
Q349 Q6671777 Q811979
USER
How many sports are the main uses of approximately the same number of structures or architectural structures as harness racing ?
(c(Q6671777)|c(Q811979),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q1194269
relation P366
type Q6671777
type Q811979
[[{'concept': 'Q6671777'}, {'concept': 'Q811979'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) ?s WHERE { { ?x property:P366 ?s . ?s rdf:type ontology:Q349 . ?x rdf:type ontology:Q6671777 } UNION { ?x property:P366 ?s . ?s rdf:type ontology:Q349 . ?x rdf:type ontology:Q811979 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { { ?e rdf:type ontology:Q6671777 } UNION { ?e rdf:type ontology:Q811979 } } . ?e property:P366 resource:Q1194269 } } . FILTER ( ?j = ?l ) }
harness racing
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action count
action filter_multi_types
action find_reverse
entity harness racing
relation use
type structure
type architectural structure
[[{'concept': 'structure'}, {'concept': 'architectural structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) ?s WHERE { { ?x property:use ?s . ?s rdf:type ontology:sport . ?x rdf:type ontology:structure } UNION { ?x property:use ?s . ?s rdf:type ontology:sport . ?x rdf:type ontology:architectural_structure } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { { ?e rdf:type ontology:structure } UNION { ?e rdf:type ontology:architectural_structure } } . ?e property:use resource:harness_racing } } . FILTER ( ?j = ?l ) }
[]
sport structure architectural structure
SYSTEM
15
Q7856 Q206989 Q14300548 Q183018 Q500050 Q1875777 Q108429 Q177275 Q2736 Q61065 Q847 Q41466 Q1194269 Q41323 Q7291
(c(Q6671777)|c(Q811979),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q1194269
relation P366
type Q6671777
type Q811979
[ANSWER]
[[{'concept': 'Q6671777'}, {'concept': 'Q811979'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) ?s WHERE { { ?x property:P366 ?s . ?s rdf:type ontology:Q349 . ?x rdf:type ontology:Q6671777 } UNION { ?x property:P366 ?s . ?s rdf:type ontology:Q349 . ?x rdf:type ontology:Q811979 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { { ?e rdf:type ontology:Q6671777 } UNION { ?e rdf:type ontology:Q811979 } } . ?e property:P366 resource:Q1194269 } } . FILTER ( ?j = ?l ) }
rallying shooting sport skating bandy cross country running air racing archery bobsleigh association football water sport tennis ice hockey harness racing American football badminton
15
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action count
action filter_multi_types
action find_reverse
entity harness racing
relation use
type structure
type architectural structure
[[{'concept': 'structure'}, {'concept': 'architectural structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) ?s WHERE { { ?x property:use ?s . ?s rdf:type ontology:sport . ?x rdf:type ontology:structure } UNION { ?x property:use ?s . ?s rdf:type ontology:sport . ?x rdf:type ontology:architectural_structure } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { { ?e rdf:type ontology:structure } UNION { ?e rdf:type ontology:architectural_structure } } . ?e property:use resource:harness_racing } } . FILTER ( ?j = ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q7291
P366
Q349 Q6671777 Q811979
USER
And what about badminton?
(c(Q6671777)|c(Q811979),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q7291
relation P366
type Q6671777
type Q811979
[[{'concept': 'Q6671777'}, {'concept': 'Q811979'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?u WHERE { VALUES ( ?z ) { ( ontology:Q6671777 ) ( ontology:Q811979 ) } . ?r rdf:type ?z } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:P366 resource:Q7291 . { { ?m rdf:type ontology:Q6671777 } UNION { ?m rdf:type ontology:Q811979 } } } } . FILTER ( ?n = ?k ) }
badminton
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action count
action filter_multi_types
action find_reverse
entity badminton
relation use
type structure
type architectural structure
[[{'concept': 'structure'}, {'concept': 'architectural structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?u WHERE { VALUES ( ?z ) { ( ontology:structure ) ( ontology:architectural_structure ) } . ?r rdf:type ?z } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:use resource:badminton . { { ?m rdf:type ontology:structure } UNION { ?m rdf:type ontology:architectural_structure } } } } . FILTER ( ?n = ?k ) }
[]
sport structure architectural structure
SYSTEM
15
Q7856 Q206989 Q14300548 Q183018 Q500050 Q1875777 Q108429 Q177275 Q2736 Q61065 Q847 Q41466 Q1194269 Q41323 Q7291
(c(Q6671777)|c(Q811979),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q7291
relation P366
type Q6671777
type Q811979
[ANSWER]
[[{'concept': 'Q6671777'}, {'concept': 'Q811979'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?u WHERE { VALUES ( ?z ) { ( ontology:Q6671777 ) ( ontology:Q811979 ) } . ?r rdf:type ?z } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:P366 resource:Q7291 . { { ?m rdf:type ontology:Q6671777 } UNION { ?m rdf:type ontology:Q811979 } } } } . FILTER ( ?n = ?k ) }
rallying shooting sport skating bandy cross country running air racing archery bobsleigh association football water sport tennis ice hockey harness racing American football badminton
15
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action count
action filter_multi_types
action find_reverse
entity badminton
relation use
type structure
type architectural structure
[[{'concept': 'structure'}, {'concept': 'architectural structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?u WHERE { VALUES ( ?z ) { ( ontology:structure ) ( ontology:architectural_structure ) } . ?r rdf:type ?z } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:use resource:badminton . { { ?m rdf:type ontology:structure } UNION { ?m rdf:type ontology:architectural_structure } } } } . FILTER ( ?n = ?k ) }
[]