Simple Question (Direct)
Simple Question
Q639372
P54
Q1194951
USER
Which national sports team is Ardico Magnini a member of ?
(Q639372,P54,c(Q1194951))
action filter_type
action find
entity Q639372
relation P54
type Q1194951
['Q639372', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { resource:Q639372 property:P54 ?r . ?r rdf:type ontology:Q1194951 }
Ardico Magnini
action filter_type
action find
entity Ardico Magnini
relation member of sports team
type national sports team
['Ardico Magnini', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { resource:Ardico_Magnini property:member_of_sports_team ?r . ?r rdf:type ontology:national_sports_team }
[]
national sports team
Q676899
SYSTEM
Italy national football team
Q676899
(Q639372,P54,c(Q1194951))
action filter_type
action find
entity Q639372
relation P54
type Q1194951
The [ANSWER] is Ardico Magnini a member of
['Q639372', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { resource:Q639372 property:P54 ?r . ?r rdf:type ontology:Q1194951 }
Italy national football team
The Italy national football team is Ardico Magnini a member of
Italy national football team
action filter_type
action find
entity Ardico Magnini
relation member of sports team
type national sports team
['Ardico Magnini', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { resource:Ardico_Magnini property:member_of_sports_team ?r . ?r rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q639372
P1344
Q15275719
USER
Which recurring event did that person participate in ?
(Q676899,P1344,c(Q15275719))
action filter_type
action find
entity Q639372
relation P1344
type Q15275719
['Q676899', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?u WHERE { resource:Q639372 property:P1344 ?u . ?u rdf:type ontology:Q15275719 }
Ardico Magnini
action filter_type
action find
entity Ardico Magnini
relation participant of
type recurring event
['Italy national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?u WHERE { resource:Ardico_Magnini property:participant_of ?u . ?u rdf:type ontology:recurring_event }
[]
recurring event
Q131075
SYSTEM
1954 FIFA World Cup
Q131075
(Q676899,P1344,c(Q15275719))
action filter_type
action find
entity Q639372
relation P1344
type Q15275719
That person participated in [ANSWER]
['Q676899', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?u WHERE { resource:Q639372 property:P1344 ?u . ?u rdf:type ontology:Q15275719 }
1954 FIFA World Cup
That person participated in 1954 FIFA World Cup
1954 FIFA World Cup
action filter_type
action find
entity Ardico Magnini
relation participant of
type recurring event
['Italy national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?u WHERE { resource:Ardico_Magnini property:participant_of ?u . ?u rdf:type ontology:recurring_event }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P1344
Q15275719 Q502895
USER
How many recurring events did less number of people compete in than that recurring event ?
(c(Q502895),P1344,c(Q15275719))
action count
action less
action find_reverse_tuple_counts
relation P1344
type Q15275719
type Q502895
action count
action filter_type
action find_reverse
entity Q131075
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:P1344 resource:Q131075 . ?j rdf:type ontology:Q502895 } } . FILTER ( ?z < ?y ) . { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:P1344 ?v . ?v rdf:type ontology:Q15275719 . ?d rdf:type ontology:Q502895 } GROUP BY ?v } }
action count
action less
action find_reverse_tuple_counts
relation participant of
type recurring event
type common name
action count
action filter_type
action find_reverse
entity 1954 FIFA World Cup
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:participant_of resource:1954_FIFA_World_Cup . ?j rdf:type ontology:common_name } } . FILTER ( ?z < ?y ) . { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:participant_of ?v . ?v rdf:type ontology:recurring_event . ?d rdf:type ontology:common_name } GROUP BY ?v } }
[]
recurring event common name
SYSTEM
130
Q240629 Q204010 Q1494216 Q1509609 Q648363 Q211478 Q287085 Q772726 Q386612 Q1415959 Q211474 Q1463291 Q689191 Q287649 Q13650943 Q287108 Q131591 Q5354210 Q1537962 Q869121 Q203245 Q194793 Q1477177 Q10152 Q10153 Q10151 Q10157 Q10155 Q10158 Q211469 Q287098 Q2301224 Q209751 Q1415949 Q203983 Q203987 Q700917 Q203254 Q179853 Q42369 Q213942 Q1202380 Q16913723 Q956843 Q629649 Q211754 Q211752 Q5389 Q335281 Q402434 Q211942 Q1415998 Q483279 Q207538 Q1191199 Q695884 Q208524 Q208523 Q14818140 Q3271471 Q890313 Q198544 Q209846 Q203329 Q205192 Q763822 Q335271 Q48432 Q335275 Q1974959 Q1536380 Q10162 Q10161 Q10160 Q10146 Q11062 Q179920 Q6015709 Q637844 Q132515 Q8483 Q203975 Q10148 Q19835278 Q171784 Q1343333 Q218761 Q1754568 Q930880 Q218769 Q194811 Q211241 Q1141795 Q11117 Q207815 Q188517 Q959755 Q15215081 Q25266570 Q166246 Q11113 Q250671 Q250677 Q203968 Q210578 Q211490 Q211494 Q209745 Q200794 Q216891 Q654995 Q154846 Q207541 Q769961 Q207889 Q218754 Q153578 Q211487 Q211484 Q208243 Q202110 Q250689 Q15787287 Q209678 Q209673 Q10150 Q226066 Q199924 Q209429 Q1413606
(c(Q502895),P1344,c(Q15275719))
action count
action less
action find_reverse_tuple_counts
relation P1344
type Q15275719
type Q502895
action count
action filter_type
action find_reverse
entity Q131075
relation P1344
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:P1344 resource:Q131075 . ?j rdf:type ontology:Q502895 } } . FILTER ( ?z < ?y ) . { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:P1344 ?v . ?v rdf:type ontology:Q15275719 . ?d rdf:type ontology:Q502895 } GROUP BY ?v } }
1991 CONCACAF Gold Cup Eurovision Song Contest 1968 15th Chess Olympiad 17th Chess Olympiad 3rd Chess Olympiad Eurovision Song Contest 1988 32nd Chess Olympiad 2000 CONCACAF Gold Cup 39th Chess Olympiad 6th Chess Olympiad Eurovision Song Contest 1987 10th Chess Olympiad 18th Chess Olympiad 30th Chess Olympiad 2013 European Beach Volleyball Championships 28th Chess Olympiad 1938 FIFA World Cup Eurovision Song Contest 2014 Gordon Bennett Cup European Figure Skating Championships Eurovision Song Contest 1960 3rd unofficial Chess Olympiad 1934 FIFA World Cup Eurovision Song Contest 2006 Eurovision Song Contest 2007 Eurovision Song Contest 2005 Eurovision Song Contest 2009 Eurovision Song Contest 2008 Eurovision Song Contest 2010 Eurovision Song Contest 1982 31st Chess Olympiad Yukon Quest Eurovision Song Contest 1976 5th Chess Olympiad Eurovision Song Contest 1964 Eurovision Song Contest 1997 14th Chess Olympiad Eurovision Song Contest 1962 Eurovision Song Contest 1985 Cannes Film Festival Eurovision Song Contest 1980 Panafrican Film and Television Festival of Ouagadougou 2014 European Beach Volleyball Championships 11th Chess Olympiad 2011 CONCACAF Gold Cup Eurovision Song Contest 1978 Eurovision Song Contest 1981 Olympic Games 36th Chess Olympiad 37th Chess Olympiad Eurovision Song Contest 1972 4th Chess Olympiad Wikimania Eurovision Song Contest 1990 World Artistic Gymnastics Championships 13th Chess Olympiad Eurovision Song Contest 1989 Eurovision Song Contest 1991 2015 CONCACAF Gold Cup Lahti Ski Games 40th Chess Olympiad 19th Chess Olympiad Eurovision Song Contest 1984 Eurovision Song Contest 1969 Eurovision Song Contest 1967 16th Chess Olympiad 33rd Chess Olympiad 1930 FIFA World Cup 35th Chess Olympiad World Rowing Cup 34th Chess Olympiad Eurovision Song Contest 2013 Eurovision Song Contest 2012 Eurovision Song Contest 2011 Eurovision Song Contest 2002 Eurovision Song Contest 2001 24th Chess Olympiad Eurovision Song Contest 2016 38th Chess Olympiad 1950 FIFA World Cup 1st Chess Olympiad Eurovision Song Contest 1965 Eurovision Song Contest 2003 2015 European Beach Volleyball Championships Eurovision Song Contest 1956 9th Chess Olympiad 23rd Chess Olympiad Paris–Bourges 7th Chess Olympiad 21st Chess Olympiad 2nd unofficial Chess Olympiad 20th Chess Olympiad Kentucky Derby Eurovision Song Contest 1999 Eurovision Song Contest 1996 Eurovision Song Contest 1958 South by Southwest Eurovision Song Contest 2015 GLAM on Tour 1st unofficial Chess Olympiad Eurovision Song Contest 2000 27th Chess Olympiad 26th Chess Olympiad Eurovision Song Contest 1963 Eurovision Song Contest 1986 Eurovision Song Contest 1973 Eurovision Song Contest 1977 Eurovision Song Contest 1975 Eurovision Song Contest 1961 Eurovision Song Contest 1979 8th Chess Olympiad Eurovision Song Contest 1957 Eurovision Song Contest 1974 41st Chess Olympiad Eurovision Song Contest 1966 22nd Chess Olympiad Eurovision Song Contest 1983 Eurovision Song Contest 1992 Eurovision Song Contest 1994 Eurovision Song Contest 1993 Eurovision Song Contest 1998 25th Chess Olympiad 2016 European Beach Volleyball Championships Eurovision Song Contest 1995 Eurovision Song Contest 1970 Eurovision Song Contest 2004 12th Chess Olympiad Eurovision Song Contest 1959 Eurovision Song Contest 1971 World Rowing Championships
130
action count
action less
action find_reverse_tuple_counts
relation participant of
type recurring event
type common name
action count
action filter_type
action find_reverse
entity 1954 FIFA World Cup
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:participant_of resource:1954_FIFA_World_Cup . ?j rdf:type ontology:common_name } } . FILTER ( ?z < ?y ) . { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:participant_of ?v . ?v rdf:type ontology:recurring_event . ?d rdf:type ontology:common_name } GROUP BY ?v } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q244595
P118
Q623109
USER
What does Újpest FC play in ?
(Q244595,P118,c(Q623109))
action filter_type
action find
entity Q244595
relation P118
type Q623109
['Q244595', 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ?m WHERE { resource:Q244595 property:P118 ?m . ?m rdf:type ontology:Q623109 }
Újpest FC
action filter_type
action find
entity Újpest FC
relation league
type sports league
['Újpest FC', 'league', {'concept': 'sports league'}]
SELECT DISTINCT ?m WHERE { resource:Újpest_FC property:league ?m . ?m rdf:type ontology:sports_league }
[]
sports league
Q276085
SYSTEM
Nemzeti Bajnokság I
Q276085
(Q244595,P118,c(Q623109))
action filter_type
action find
entity Q244595
relation P118
type Q623109
Újpest FC plays in [ANSWER]
['Q244595', 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ?m WHERE { resource:Q244595 property:P118 ?m . ?m rdf:type ontology:Q623109 }
Nemzeti Bajnokság I
Újpest FC plays in Nemzeti Bajnokság I
Nemzeti Bajnokság I
action filter_type
action find
entity Újpest FC
relation league
type sports league
['Újpest FC', 'league', {'concept': 'sports league'}]
SELECT DISTINCT ?m WHERE { resource:Újpest_FC property:league ?m . ?m rdf:type ontology:sports_league }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P118
Q623109 Q476028 Q618123
USER
How many sports leagues are the leagues played by more number of association football clubs or geographical objects than that sports league ?
(c(Q476028)|c(Q618123),P118,c(Q623109))
action count
action greater
action union
action find_reverse_tuple_counts
relation P118
type Q623109
type Q476028
action find_reverse_tuple_counts
relation P118
type Q623109
type Q618123
action count
action filter_multi_types
action find_reverse
entity Q276085
relation P118
type Q476028
type Q618123
[[{'concept': 'Q476028'}, {'concept': 'Q618123'}], 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P118 resource:Q276085 . { VALUES ( ?b ) { ( ontology:Q476028 ) ( ontology:Q618123 ) } . ?q rdf:type ?b } } } . FILTER ( ?y > ?a ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?c WHERE { { ?r property:P118 ?c . ?c rdf:type ontology:Q623109 . ?r rdf:type ontology:Q476028 } UNION { ?r property:P118 ?c . ?r rdf:type ontology:Q618123 . ?c rdf:type ontology:Q623109 } } GROUP BY ?c } }
action count
action greater
action union
action find_reverse_tuple_counts
relation league
type sports league
type association football club
action find_reverse_tuple_counts
relation league
type sports league
type geographical object
action count
action filter_multi_types
action find_reverse
entity Nemzeti Bajnokság I
relation league
type association football club
type geographical object
[[{'concept': 'association football club'}, {'concept': 'geographical object'}], 'league', {'concept': 'sports league'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:league resource:Nemzeti_Bajnokság_I . { VALUES ( ?b ) { ( ontology:association_football_club ) ( ontology:geographical_object ) } . ?q rdf:type ?b } } } . FILTER ( ?y > ?a ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?c WHERE { { ?r property:league ?c . ?c rdf:type ontology:sports_league . ?r rdf:type ontology:association_football_club } UNION { ?r property:league ?c . ?r rdf:type ontology:geographical_object . ?c rdf:type ontology:sports_league } } GROUP BY ?c } }
[]
sports league association football club geographical object
SYSTEM
42
Q1813595 Q1141692 Q2620916 Q44763 Q5511145 Q287453 Q3965465 Q152665 Q210262 Q610175 Q1158138 Q1231117 Q82595 Q1780954 Q1788088 Q7855307 Q2748885 Q570246 Q154069 Q206813 Q2331632 Q5798 Q749736 Q248512 Q618131 Q2301428 Q2951862 Q1340918 Q1146403 Q2675688 Q485568 Q518802 Q1522963 Q4776029 Q1470401 Q18543 Q317927 Q1698369 Q933242 Q1809510 Q931513 Q1093405
(c(Q476028)|c(Q618123),P118,c(Q623109))
action count
action greater
action union
action find_reverse_tuple_counts
relation P118
type Q623109
type Q476028
action find_reverse_tuple_counts
relation P118
type Q623109
type Q618123
action count
action filter_multi_types
action find_reverse
entity Q276085
relation P118
type Q476028
type Q618123
[ANSWER]
[[{'concept': 'Q476028'}, {'concept': 'Q618123'}], 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P118 resource:Q276085 . { VALUES ( ?b ) { ( ontology:Q476028 ) ( ontology:Q618123 ) } . ?q rdf:type ?b } } } . FILTER ( ?y > ?a ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?c WHERE { { ?r property:P118 ?c . ?c rdf:type ontology:Q623109 . ?r rdf:type ontology:Q476028 } UNION { ?r property:P118 ?c . ?r rdf:type ontology:Q618123 . ?c rdf:type ontology:Q623109 } } GROUP BY ?c } }
Serbian First League TFF First League Bonaire League Ekstraklasa Landesliga Bayern-Mitte Uruguayan Primera División South Australian National Football League 2. Bundesliga II liga Campeonato Brasileiro Série B Damallsvenskan Swedish Football Division 2 Fußball-Bundesliga TFF Second League Derde Divisie Turkish Regional Amateur League Vierde Klasse Botola German 3. Liga Campeonato Brasileiro Série A Tahiti First Division Top 14 Preferente Iraqi Premier League Portuguese Second Division Toppserien Macedonian women's football championship Hoofdklasse Primera B Metropolitana Eerste Klasse Süper Lig W-League Gibraltar Football League Derde Klasse TFF Third League Major League Soccer Oberliga Hamburg Kakkonen Ligue de football de la Martinique Segunda División de México Campeonato Brasileiro Série D Central African Republic League
42
action count
action greater
action union
action find_reverse_tuple_counts
relation league
type sports league
type association football club
action find_reverse_tuple_counts
relation league
type sports league
type geographical object
action count
action filter_multi_types
action find_reverse
entity Nemzeti Bajnokság I
relation league
type association football club
type geographical object
[[{'concept': 'association football club'}, {'concept': 'geographical object'}], 'league', {'concept': 'sports league'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:league resource:Nemzeti_Bajnokság_I . { VALUES ( ?b ) { ( ontology:association_football_club ) ( ontology:geographical_object ) } . ?q rdf:type ?b } } } . FILTER ( ?y > ?a ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?c WHERE { { ?r property:league ?c . ?c rdf:type ontology:sports_league . ?r rdf:type ontology:association_football_club } UNION { ?r property:league ?c . ?r rdf:type ontology:geographical_object . ?c rdf:type ontology:sports_league } } GROUP BY ?c } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q276085
P17
Q15617994
USER
Which administrative territory does Nemzeti Bajnokság I belong to ?
(Q276085,P17,c(Q15617994))
action filter_type
action find
entity Q276085
relation P17
type Q15617994
['Q276085', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q276085 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Nemzeti Bajnokság I
action filter_type
action find
entity Nemzeti Bajnokság I
relation country
type designation for an administrative territorial entity
['Nemzeti Bajnokság I', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Nemzeti_Bajnokság_I property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q276085,P17,c(Q15617994))
action filter_type
action find
entity Q276085
relation P17
type Q15617994
[ANSWER] Nemzeti Bajnokság I belongs to
['Q276085', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q276085 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Hungary
Hungary Nemzeti Bajnokság I belongs to
Hungary
action filter_type
action find
entity Nemzeti Bajnokság I
relation country
type designation for an administrative territorial entity
['Nemzeti Bajnokság I', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Nemzeti_Bajnokság_I property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q28
P138
Q3565868 Q17444909
USER
How many rail transports and astronomical object types have Hungary as their namesake ?
(c(Q3565868),P138,Q28) (c(Q17444909),P138,Q28)
action count
action union
action filter_type
action find_reverse
entity Q28
relation P138
type Q3565868
action filter_type
action find_reverse
entity Q28
relation P138
type Q17444909
[{'concept': 'Q3565868'}, 'P138', 'Q28'] [{'concept': 'Q17444909'}, 'P138', 'Q28']
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { ?u property:P138 resource:Q28 . ?u rdf:type ontology:Q17444909 } UNION { ?u property:P138 resource:Q28 . ?u rdf:type ontology:Q3565868 } }
Hungary
action count
action union
action filter_type
action find_reverse
entity Hungary
relation named after
type rail transport
action filter_type
action find_reverse
entity Hungary
relation named after
type astronomical object type
[{'concept': 'rail transport'}, 'named after', 'Hungary'] [{'concept': 'astronomical object type'}, 'named after', 'Hungary']
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { ?u property:named_after resource:Hungary . ?u rdf:type ontology:astronomical_object_type } UNION { ?u property:named_after resource:Hungary . ?u rdf:type ontology:rail_transport } }
[]
rail transport astronomical object type
SYSTEM
1 rail transports and 1 astronomical object types
Q1056427 Q153668
(c(Q3565868),P138,Q28) (c(Q17444909),P138,Q28)
action count
action union
action filter_type
action find_reverse
entity Q28
relation P138
type Q3565868
action filter_type
action find_reverse
entity Q28
relation P138
type Q17444909
[ANSWER]
[{'concept': 'Q3565868'}, 'P138', 'Q28'] [{'concept': 'Q17444909'}, 'P138', 'Q28']
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { ?u property:P138 resource:Q28 . ?u rdf:type ontology:Q17444909 } UNION { ?u property:P138 resource:Q28 . ?u rdf:type ontology:Q3565868 } }
Hungaria (train) 434 Hungaria
1 rail transports and 1 astronomical object types
action count
action union
action filter_type
action find_reverse
entity Hungary
relation named after
type rail transport
action filter_type
action find_reverse
entity Hungary
relation named after
type astronomical object type
[{'concept': 'rail transport'}, 'named after', 'Hungary'] [{'concept': 'astronomical object type'}, 'named after', 'Hungary']
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { ?u property:named_after resource:Hungary . ?u rdf:type ontology:astronomical_object_type } UNION { ?u property:named_after resource:Hungary . ?u rdf:type ontology:rail_transport } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28
P463
Q484652
USER
What international organizations had Hungary as their member ?
(Q28,P463,c(Q484652))
action filter_type
action find
entity Q28
relation P463
type Q484652
['Q28', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q484652 . resource:Q28 property:P463 ?z }
Hungary
action filter_type
action find
entity Hungary
relation member of
type international organization
['Hungary', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:international_organization . resource:Hungary property:member_of ?z }
[]
international organization
Q81299 Q1065 Q7184
SYSTEM
Organization for Security and Co-operation in Europe, United Nations, North Atlantic Treaty Organisation
Q7184 Q81299 Q1065 Q1043527
(Q28,P463,c(Q484652))
action filter_type
action find
entity Q28
relation P463
type Q484652
[ANSWERS] had Hungary as their member
['Q28', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q484652 . resource:Q28 property:P463 ?z }
North Atlantic Treaty Organisation Organization for Security and Co-operation in Europe United Nations Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe, United Nations and North Atlantic Treaty Organisation had Hungary as their member
Organization for Security and Co-operation in Europe United Nations North Atlantic Treaty Organisation
action filter_type
action find
entity Hungary
relation member of
type international organization
['Hungary', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:international_organization . resource:Hungary property:member_of ?z }
[]